Author Archives: Jim Eli

About Jim Eli

µC experimenter

Controlling an Itead Sonoff B1 Color LED Bulb Using Blynk

The Itead Sonoff B1 color LED bulb is a 6W (2A maximum), 600lm output RGB full color, dimmable bulb with an integrated ESP8285 WIFI chip. As purchased it can be controlled via the EWeLink application. However, I wanted to incorporate … Continue reading

Posted in iot | Tagged , , | Leave a comment

Using a Sonoff S31 with Blynk

This post will describe how the Itead Sonofff S31 can control a household AC electric device with a cellphone loaded with the Blynk application. Additionally, it can monitor energy usage by keeping track of real-time power, current and voltage of … Continue reading

Posted in arduino, iot | Tagged , , | Leave a comment

Blynk & Amazon Echo (Alexa) Controlled Lights via Smart Wall Switch

Works like a charm. See this post for a discussion about reverse-engineering the wifi smart wall switch and how to program it. The Blynk application uploaded to the Lyasi smart switch is below.

Posted in arduino, iot | Tagged , , | 2 Comments

Using Blynk to Control an RGB LED Strip with an ESP-8266

I am installing recessed RGB LED strip lighting under our kitchen cabinets and wanted to control them via Wifi and Amazon Alexa. I found and purchased an inexpensive ESP-8266 based Wifi controller on Amazon (see photo below). After a quick … Continue reading

Posted in iot | Tagged , , | Leave a comment

Re-programming a Lyasi ESP-8285 WiFi Wall Switch

I purchased a couple of Lyasi wall switches from amazon.com for $24.99 USD. There are several versions (GresaTek, Jesiya, NewRice, etc) available through amazon, ebay and various other web outlets, however they appear to be very similar with only minor … Continue reading

Posted in arduino, iot | Tagged , , , , | 6 Comments

Modify Arduino Optimization Levels on the Fly

Do you know and understand how compiler optimization is altering your code? Higher optimization levels can reveal problems in some programs that are not apparent at lower optimization levels. Volatility One method to prevent optimization issues with variables is to … Continue reading

Posted in arduino, avr | Tagged , , , | 1 Comment

Controlling an IoT Yunshan ESP8266 WIFI Network Relay via an Amazon Echo/Alexa

Easy-Peasy, if you’re standing on the shoulders of giants! Here’s the demo code: Details The following libraries are required: 1. ESPAsyncTCP library 2. FauxMoESP library (to download, select download repository) References Emulate a WeMo device with ESP8266 Easy Alexa (or … Continue reading

Posted in iot | Tagged , , | 1 Comment