You don’t even need to solder, at least I don’t anymore. I just load my firmware once by plugging in a 4 or 5 pin header into the cable coming from the programmer and hold the pins in place on the Sonoff with a little bluetack on the top of the circuit board until it finishes receiving the code once. From then on I use OTA. I don’t solder them in anymore. It takes all of 1 minute to do.
The repo has issues usually in scripting. Using the Arduino IDE is quick, easy and proven.
@KmanOz, In your two years of using the Sonoffs, have you had any problems with surges drying the boards? What do you do to prevent surges from frying the Sonoffs?
Also, when putting the Sonoff into the gang box, do the electric wires interfere with the WiFi signal?
Hello. I’m new to using Sonoff basic and home control. I have a general question that may have been answered before but it may have been a while back. If I flash the SonOff basic so that I can use a regular on/off toggle switch can I still control the system with Goggle Home Assitant by voice?
Some of the custom firmwares will still allow you to connect to google home/alexa by emulating a device, for example, Tasmota says it can emulate hue and wemo devices: https://github.com/arendst/Sonoff-Tasmota/wiki
There is also another option, which is to connect Google Assistant to Home Assistant, in that scenario I believe Home Assistant would expose certain devices that are already configured in Home Assistant to Google Assistant. I’m not sure of the details of how this second option works. Can someone confirm if this is via emulation as well? https://home-assistant.io/components/google_assistant/
I use some Sonoff switches for lights and configured the Google Assistant component in home assistant. Basically you expose the light entities to Google assistant and then you are able to control them via voice. It’s pretty fast too.
From the picture they seem ESP8266 based (like the sonoff) so in theory any firmware like Tasmota or ESPEasy should work, at least with light modifications.
First you have to understand if the Mac can talk to the serial interface, if drivers are ok, if permission on port are ok. Then make sure the pins are connected correctly, the vcc is correct, the sonoff is booted in flash mode.
Having gone through this process a week or so ago on a Mac, a couple of issues I found with the various instructions on the web etc that caught me out.
The USB to MicroUSB cable I was initially using (pulled out of my ‘box of wires’) was a charging cable and so didn’t have data lines. Spent a while not being able to find the port due to this! Swapped to a proper cable and all was good.
The latest Sonoff’s have changed the chipset used. Most of the instructions online refer to the earlier Sonoffs and say to use the ‘Generic ESP8266 Module’. I have some TH version 2.0 and 2.1 and for both of these use ‘Generic ESP8285 Module’ instead.