Sonoff Wifi Switch with Feedback

General Discussion on DemoPad or related products
Post Reply
flinke flasche
Posts: 56
Joined: Tue Apr 02, 2013 2:21 pm

Sonoff Wifi Switch with Feedback

Post by flinke flasche » Mon Jun 04, 2018 11:56 pm

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
Last edited by flinke flasche on Thu Jun 14, 2018 2:50 pm, edited 3 times in total.

hengenl
Posts: 26
Joined: Sun Jul 22, 2012 10:52 am

Re: Sonoff Wifi Switch with Feedback

Post by hengenl » Thu Jun 14, 2018 2:03 pm

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 :)

asimp11
Posts: 39
Joined: Fri Oct 19, 2012 1:00 pm

Re: Sonoff Wifi Switch with Feedback

Post by asimp11 » Sun Jun 17, 2018 7:26 pm

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.

User avatar
Smarthuset AS
Posts: 11
Joined: Fri Dec 19, 2014 3:41 pm

Re: Sonoff Wifi Switch with Feedback

Post by Smarthuset AS » Sun Oct 07, 2018 2:49 pm

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?
Kind regards
Even B. Mangset
CEO
Image
Tel: (+47)97979729
If you want to connect, please visit our social channels
Image

User avatar
DemoPad
Site Admin
Posts: 737
Joined: Thu Jun 14, 2012 10:46 am
Contact:

Re: Sonoff Wifi Switch with Feedback

Post by DemoPad » Thu Oct 11, 2018 11:33 am

You could use IFTTT / Alexa / Google to control the unit via a Centro-8M

flinke flasche
Posts: 56
Joined: Tue Apr 02, 2013 2:21 pm

Re: Sonoff Wifi Switch with Feedback

Post by flinke flasche » Sat Sep 21, 2019 7:08 am

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.

manaman
Posts: 7
Joined: Sun Mar 19, 2017 12:19 pm

Re: Sonoff Wifi Switch with Feedback

Post by manaman » Thu Oct 24, 2019 3:49 pm

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.
Last edited by manaman on Fri Nov 08, 2019 9:38 am, edited 1 time in total.

manaman
Posts: 7
Joined: Sun Mar 19, 2017 12:19 pm

Re: Sonoff Wifi Switch with Feedback

Post by manaman » Sat Oct 26, 2019 10:23 pm

flinke flasche wrote:
Sat Sep 21, 2019 7:08 am
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.
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.

Post Reply