Sonoff dual Not switching

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Sonoff dual Not switching

#1 Post by Dylantje » 14 Aug 2018, 21:51

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 4969 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?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Sonoff dual Not switching

#2 Post by TD-er » 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.

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Sonoff dual Not switching

#3 Post by Dylantje » 14 Aug 2018, 22:46

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??

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Sonoff dual Not switching

#4 Post by TD-er » 15 Aug 2018, 11:54

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.

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Sonoff dual Not switching

#5 Post by Dylantje » 15 Aug 2018, 12:02

i see only version 2.0 on the board, and no R2

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Sonoff dual Not switching

#6 Post by TD-er » 15 Aug 2018, 12:09

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests