Page 1 of 1

Sonoff dual Not switching

Posted: 14 Aug 2018, 21:51
by Dylantje
Dear all.
Finally flashed a dual...
Looks working great,,
See some sensors on the bord in Domoticz so running stable
ScreenShot248.png
ScreenShot248.png (32.86 KiB) Viewed 5170 times
Only one problem..
I cannot switch the switches. grrrrr.

Make a dummy in domoticz and set this in tot the description:

Code: Select all

http://192.168.5.112/control?cmd=relay,0,1
And i try this also:

Code: Select all

http://192.168.5.112/control?cmd=GPIO,12,1
I canno see the wiki what i need to do..:-(
https://www.letscontrolit.com/wiki/inde ... _TH10_TH16
Only no luck @ all..
So what do i wrong?

Re: Sonoff dual Not switching

Posted: 14 Aug 2018, 22:42
by TD-er
If my memory serves me right, the Sonoff dual is using a chip between the ESP and the relais.
So you can't address the GPIO pins direct.

Re: Sonoff dual Not switching

Posted: 14 Aug 2018, 22:46
by Dylantje
TD-er wrote: 14 Aug 2018, 22:42 If my memory serves me right, the Sonoff dual is using a chip between the ESP and the relais.
So you can't address the GPIO pins direct.
Ok..
And how can i use them as well?
Or is the dual not working??

Re: Sonoff dual Not switching

Posted: 15 Aug 2018, 11:54
by TD-er
It appears there is a difference between the Sonoff Dual and the Sonoff Dual R2.
See https://github.com/arendst/Sonoff-Tasmo ... nd-Dual-R2
So first check which version you have.

Re: Sonoff dual Not switching

Posted: 15 Aug 2018, 12:02
by Dylantje
i see only version 2.0 on the board, and no R2

Re: Sonoff dual Not switching

Posted: 15 Aug 2018, 12:09
by TD-er
It looks like you have to send serial commands to the extra chip to toggle the relays.
So serial communications should be disabled and the serial chip should be used at 19200 baud, which is not standard.
I don't know yet what to send there or how.
I am not sure ESPeasy is supported on the dual.