Sonoff Wifi Switch with Feedback
-
- Posts: 60
- Joined: Tue Apr 02, 2013 2:21 pm
Sonoff Wifi Switch with Feedback
I found this very cheap wifi switches in the internet.
With a different firmware (Tasmota) you can use it with demopad even with feedback
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
With a different firmware (Tasmota) you can use it with demopad even with feedback
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
Last edited by flinke flasche on Thu Jun 14, 2018 2:50 pm, edited 3 times in total.
Re: Sonoff Wifi Switch with Feedback
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
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
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.
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.
- Smarthuset AS
- Posts: 11
- Joined: Fri Dec 19, 2014 3:41 pm
Re: Sonoff Wifi Switch with Feedback
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?
Kind regards
Even B. Mangset
CEO
Tel: (+47)97979729
If you want to connect, please visit our social channels
Even B. Mangset
CEO
Tel: (+47)97979729
If you want to connect, please visit our social channels
Re: Sonoff Wifi Switch with Feedback
You could use IFTTT / Alexa / Google to control the unit via a Centro-8M
-
- Posts: 60
- Joined: Tue Apr 02, 2013 2:21 pm
Re: Sonoff Wifi Switch with Feedback
Hello,
now i have round about 15-20 Sonoff switches wich i control in my home cinema.
i noticed, that the control of the switches are very slow over demopad with get over http like in the first post.
Do you habe the same problem? when i log in on the ip address of the switch i can control it much faster.
I use the old demopad App.
now i have round about 15-20 Sonoff switches wich i control in my home cinema.
i noticed, that the control of the switches are very slow over demopad with get over http like in the first post.
Do you habe the same problem? when i log in on the ip address of the switch i can control it much faster.
I use the old demopad App.
Re: Sonoff Wifi Switch with Feedback
I just bought a couple of these, and tried to flash with Tasmota over WiFi using Sonota.py (using this method: https://youtu.be/ONFhXM5R-t4), but it keeps failing. Does anyone know if it's because the latest firmware has blocked the ability to flash with Tasmota?
Update: I eventually got a USB to serial adapter and flashed with a wired connection instead.
Update: I eventually got a USB to serial adapter and flashed with a wired connection instead.
Last edited by manaman on Fri Nov 08, 2019 9:38 am, edited 1 time in total.
Re: Sonoff Wifi Switch with Feedback
I had this delay issue too, but if you put \x0D\x0A in the Command Suffix field in Device Properties (even though it is already at the end of each command as in OP's first post), it makes the command pretty much instant.flinke flasche wrote: ↑Sat Sep 21, 2019 7:08 amHello,
now i have round about 15-20 Sonoff switches wich i control in my home cinema.
i noticed, that the control of the switches are very slow over demopad with get over http like in the first post.
Do you habe the same problem? when i log in on the ip address of the switch i can control it much faster.
I use the old demopad App.
Re: Sonoff Wifi Switch with Feedback
Also there is a new Tasmota Firmware which works much faster with DemoPad. It can be downloaded to your Tasmota devices over the air - very easy. Get it at http://thehackbox.org/tasmota/release/tasmota.bin