Page 1 of 1

Sonoff Wifi Switch with Feedback

Posted: Mon Jun 04, 2018 11:56 pm
by flinke flasche
I found this very cheap wifi switches in the internet.

Image

With a different firmware (Tasmota) you can use it with demopad even with feedback :D
You can use Tasmota with the most of the Sonoff devices.

Flash your Sonoff like the the manuals you can find in the internet. My manuals are in german, so you must find yours.

You can control the sonoff switch with the following commands:
Add a new device with the IP of the sonoff an Port 80.

Commands:
Toggle Power -> GET /cm?cmnd=Power%20TOGGLE HTTP/1.0\x0D\x0A
Power on -> GET /cm?cmnd=Power%20ON HTTP/1.0\x0D\x0A
Power off -> GET /cm?cmnd=Power%20OFF HTTP/1.0\x0D\x0A

For the Feedback (sonoff uses JSON) you must use "feedback matches specific data"
in the Data fiel insert "POWER":"ON" or "POWER":"OFF".
In the Field upper right (i don't know the name right now) insert "}"

Have fun with your Wifi Switches

Re: Sonoff Wifi Switch with Feedback

Posted: Thu Jun 14, 2018 2:03 pm
by hengenl
I use exactly the same, with Tasmota software running.
They are very neat, and do work fine.

I even purchased a few Sonoff S20 Sockets and updated to Tasmota firmware.

And yes the codes work too :)

Re: Sonoff Wifi Switch with Feedback

Posted: Sun Jun 17, 2018 7:26 pm
by asimp11
Thats good to know. But does the Sonoff relay still work with Alexa direct through the Ewelink skills app ?

I guess if its re-flashed you might lose the compatability. Does Tasmoto have dedicated skills?

I was using Sonoff relay to trigger Demopad macros by switching Centro inputs, works every time with no IFTTT delays. I think the Sonoff relay was only €24 on Amazon.

Re: Sonoff Wifi Switch with Feedback

Posted: Sun Oct 07, 2018 2:49 pm
by Smarthuset AS
asimp11 wrote:
Sun Jun 17, 2018 7:26 pm
But does the Sonoff relay still work with Alexa direct through the Ewelink skills app ?

I guess if its re-flashed you might lose the compatability. Does Tasmoto have dedicated skills?
Any updates on this, and Sonoff control in general ?

We are interested to share knowledge as we are thinking of takning in a few products for testing.

Has anyone tried Sonoff with Alexa, Google or any other "smart" voicecommand devices and could share some feedback on this?

Re: Sonoff Wifi Switch with Feedback

Posted: Thu Oct 11, 2018 11:33 am
by DemoPad
You could use IFTTT / Alexa / Google to control the unit via a Centro-8M