Open CrashDrives opened 6 years ago
@xoseperez could it be related to the issue I'm experiencing with the POW R2 as well? See https://github.com/xoseperez/espurna/issues/761#issuecomment-388594434 for context.
Can you connect your Dual via wire and open s serial debug terminal (do not do it with the device connected to mains) it will not be the real thing but it may give us some hint. Copy paste the log here as you activate the switch...
It only happens with switch 1?
ruimarinho : i think this is not the same thing :/
xoseperez : I'm trying this tonight. It only happens with switch 1 it does not matter if the switch 0 is on or not
during this test, no error occurred. I think it only happens by being powered by the sector. Is it a dysfunctional capacitor ?
There is the debug message when i'm connected on 3.3v by serial : [905701] [MQTT] Sending /maison/terrarium/Switch006/app => ESPURNA (PID 1) [905704] [MQTT] Sending /maison/terrarium/Switch006/version => 1.12.6 (PID 1) [905706] [MQTT] Sending /maison/terrarium/Switch006/board => ITEAD_SONOFF_DUAL_R2 (PID 1) [905713] [MQTT] Sending /maison/terrarium/Switch006/host => Switch006 (PID 1) [905719] [MQTT] Sending /maison/terrarium/Switch006/ip => 192.168.0.26 (PID 1) [905726] [MQTT] Sending /maison/terrarium/Switch006/mac => DC:XX:XX:XX:XX:XX (PID 1) [905734] [MQTT] Sending /maison/terrarium/Switch006/rssi => -48 (PID 1) [905740] [MQTT] Sending /maison/terrarium/Switch006/uptime => 905 (PID 1) [905747] [MQTT] Sending /maison/terrarium/Switch006/datetime => 2018-05-30 00:42:26 (PID 1) [905754] [MQTT] Sending /maison/terrarium/Switch006/freeheap => 22608 (PID 1) [905761] [MQTT] Sending /maison/terrarium/Switch006/relay/0 => 1 (PID 1) [905767] [MQTT] Sending /maison/terrarium/Switch006/relay/1 => 0 (PID 1) [905774] [MQTT] Sending /maison/terrarium/Switch006/vcc => 3206 (PID 1) [905780] [MQTT] Sending /maison/terrarium/Switch006/status => 1 (PID 1) [905786] [MQTT] Sending /maison/terrarium/Switch006/loadavg => 1 (PID 1) [930419] [BUTTON] Button #2 event 1 [930423] [MQTT] Sending /maison/terrarium/Switch006/button/2 => 1 (PID 1) [930925] [BUTTON] Button #2 event 2 [930928] [MQTT] Sending /maison/terrarium/Switch006/button/2 => 2 (PID 1) [930930] [RELAY] #0 scheduled OFF in 0 ms [930942] [RELAY] #0 set to OFF [930945] [MQTT] Sending /maison/terrarium/Switch006/relay/0 => 0 (PID 1) [931947] [RELAY] Saving mask: 0
Apparently, it also does with the switch 0 when I reverse the wires. :/
Can you share here the schematic of your connections? Maybe it's related to something external to the device...
The shematic is very simple. Input are connected on the sector with a 2.5 cable. The output 1 are connected on 50W lamp and the output 2 are connected on neon tube like this picture
i just test with another sonoff dual R2 with original firmware and i have the same problem.
I gess is just an electronic mistake with neon tube quite simply :/
Hello, I just have flash my Sonoff Dual R2 with espurna 1.12.6 and when i activate the Switch #1, the sonoff disconnect the wifi and it can't reconnect. This is the same thing with older version.
Do you have any idea where it can come from?
Best regards