💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway
-
How do you load the relay sensor in Vera after connecting the Sonoff as a wifi gateway as described?
-
Hi, I see in the instruction a note about not being tested against 220v so just to confirm it is working fine, I've uploaded the sketch to one of those with the power socket plug embedded and I'm able to control it remotely. Great job!
As a side note, I'd copy and paste the "Sonoff specific details" instructions from the sketch also into the build page. My bad because I've missed them and had to google a bit on how to upload the sketch but maybe also others may experience the same.
Thanks -
Hi, I see in the instruction a note about not being tested against 220v so just to confirm it is working fine, I've uploaded the sketch to one of those with the power socket plug embedded and I'm able to control it remotely. Great job!
As a side note, I'd copy and paste the "Sonoff specific details" instructions from the sketch also into the build page. My bad because I've missed them and had to google a bit on how to upload the sketch but maybe also others may experience the same.
Thanks -
Great work!
I was wondering if some of you already know if Espeasy supports the pow versions power usage reporting. I checked the github and couldn't find it. I know Espurna supports it (as a domoticz MQTT). However when I check the REST API of Esputna there is nothing noted about the power consumption (only humidity and temp) requests.
Any help is much appreciated.
Regards, and keep up the good work. -
Hi, I have a sonoff device running this sketch since a few weeks now and everything is working great :-) However I've noticed that when the wireless network goes off and then is restored back again the sonoff results still unreachable. When I unplug and plug it again the connection it comes back online. Is this a known behavior? Thanks
-
Totally unresponsive like once disconnected from the wifi (I turn it off from time to time), it is no more able to reconnect. I still need to understand if it happens every time so I was wondering if this was somehow expected or not :)
-
@gohan said in 💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway:
is it reachable via IP or is it totally unresponsive?
I had same problem too.. When is longer not turned on, Sonoff disconnects from wifi , that ip is not in client list, in my case I only turn sonoff on throught black button on the top and than it is okay about day-two.
-
I have few sonoff and I just installed one with this script to replace a dead 433 device. So thank you very much for the script and the tutorial.
Reports of regular wifi connection losses are what kept me away from sonoff until now. Maybe the script could check wifi connection regularly and force a reconnect. Something like in the link below ?
http://www.esp8266.com/viewtopic.php?f=32&t=8286 -
-
@betonishard ESPeasy I am not sure, but supposedly Tasmota does
-
Another I have had these running posts.
I have had 3 Sonoff relays running on 240v 50Hz for 2-3 months straight.
2 of them in IP67 outdoor lights with Phillips LED Lamps, switch on and off several times per day, Not a single hardware issue.
best $6 ever
@Bryden said in 💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway:
Another I have had these running posts.
I have had 3 Sonoff relays running on 240v 50Hz for 2-3 months straight.
2 of them in IP67 outdoor lights with Phillips LED Lamps, switch on and off several times per day, Not a single hardware issue.
best $6 ever
Yes over one month and very reliable, but with Domoticz is not integrating very well with my old 433MHz remote controls (that I use for my remaining 433MHz module until they are replaced).
Making me think about a small plugin board to control the sonoff through serial port, so it would make a real MySensors node for 10$ and avoid all the power supply, relay etc etc soldering and not rely on wifi. -
I remember reading non to connect any other serial device while the Sonoff is connected to mains or it would get damaged.
@gohan The only time you would need to connect a serial device is I guess when you are flashing the software. There is no needTheThe only time you need to connect a serial device is when you are flashing the software. There is no need to connect it to the mains grid then. Whether it would damage anything i do not know but it is unnecessary and therefore absolutely not recommended to do it. Avoid working on anything that is connected to mains, especially if there is no need to have it connected
-
@Efflon said in 💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway:
@warmaniac the sonoff works just like any sensor except its configured as a gateway since that is what is needed for esp8266+mysensors . Mqtt or ethernet/wifi is just a matter of taste and your setup, skip mqtt if you don't have anything else using it.
I want to use standalone Sonoff (one device) than I must install broker (Mosquito) on my raspberry where is Domoticz running ? And how can I add than that device or how can this setup looks like.
@warmaniac you might have solved yr problem already. Anyway, I use the github/computourist software for the SonOff. have been using it for many months. very stable
-
I remember reading non to connect any other serial device while the Sonoff is connected to mains or it would get damaged.
@gohan said in 💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway:
I remember reading non to connect any other serial device while the Sonoff is connected to mains or it would get damaged.
I supposed that's when you connect your computer to sonoff using serial adapter ?
I see no reason for damage if both es8266 and atmega are connected to the same VCC/GND.