Looking for detailed description for hacking a sonoff
-
Hello!
I have several sonoff RF, which I bought recently. They are with the original firmware. At this point I control the sonoff manually or through the amazon echo dot. I wanted to control the sonoff also through Homeseer which as far as I know supports HTTP / JSON request and MQTT if needed, via plugin. My question is this: it is possible to keep the voice command via amazon echo?
Thanks -
Hello!
I have several sonoff RF, which I bought recently. They are with the original firmware. At this point I control the sonoff manually or through the amazon echo dot. I wanted to control the sonoff also through Homeseer which as far as I know supports HTTP / JSON request and MQTT if needed, via plugin. My question is this: it is possible to keep the voice command via amazon echo?
Thanks@Antoliveira I don't know if there is an Amazon Echo plugin for Homseer, but if there is, you could convert them to work with homseer and run them with the echo via Homseer. This is what I do with my Vera controller. I have never used the original firmware. I didn't even know that worked with the echo, but my guess is that if you changed firmware that that would not work the same any more. The firmware I use on the Sonoffs that I have is called ESP Easy. Controlling a device is as simple as an HTTP request, and the firmware provides a JSON response. The commands are like this:
HTTP://<SONOFF_IP>/control?cmd=GPIO,12,1 //this will turn on the device HTTP://<SONOFF_IP>/control?cmd=GPIO,12,0 //this will turn off the deviceI have a plugin on my Vera controller that controls the Sonoffs, and then I have another plugin that allows my echo to control my Vera enabled devices. The echo will not control the Sonoffs directly though.
-
@dbemowsk
Thanks for the answer
That's exactly what I want to do.
The homeseer has a plugin for the amazon echo, the only difference being that instead of commanding the sonoff directly (eg: "Alexa turn off Kitchen lights" I will need to say "Alexa tell Homeseer to turn off kitchen lights"
The most negative point will be that without the computer on which the homeseer runs, I will never be able to command the sonoffs by voice ....
Do you know if ESP Easy will work correctly on sonoff RF?
Thanks -
@dbemowsk
Thanks for the answer
That's exactly what I want to do.
The homeseer has a plugin for the amazon echo, the only difference being that instead of commanding the sonoff directly (eg: "Alexa turn off Kitchen lights" I will need to say "Alexa tell Homeseer to turn off kitchen lights"
The most negative point will be that without the computer on which the homeseer runs, I will never be able to command the sonoffs by voice ....
Do you know if ESP Easy will work correctly on sonoff RF?
Thanks@Antoliveira My understanding of the Sonoff RF devices is that they are the same ans the regular Sonoff devices, with the only difference being that it includes a 433MHz RF receiver. The 433MHz receiver lets you control the device with an RF remote or other 433MHz controller. From what I read on it, the Sonoff RF still uses the same ESP8266 chip and is set up pretty much the same, with the RF receiver triggering the ESP8266 through GPIO 0 which is the same GPIO port that the on-board button is connected to. Because it still uses the ESP8266 chip, the ESP Easy firmware will still work. The only thing is that the 433MHz control will not work by just installing ESP Easy alone. ESP Easy is very configurable in how it functions, so you will have to basically tell it how to use the 433MHz functionality. It is the same as configuring the on-board button to work with it.
Here is some information from the LetsControlIt forum that gives some information.
https://www.letscontrolit.com/forum/viewtopic.php?t=3272Here to is a link to my website blog post where I show how to configure the Sonoff to work with the Vera controller, but this section of the post explains how to configure ESP Easy to use the button as a local control switch. This should also work with the 433Mhz receiver.
https://dan.bemowski.info/2017/07/04/using-a-sonoff-with-espeasy-and-vera/#adding_local_control_using_the_button -
@dbemowsk
Relevant and good quality information.
I fully understand what has to be done.
Now I have no excuse to at least test a drive ...
Thanks