AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.73k stars 415 forks source link

Stopped working after migration from Pi4 to Odroid #537

Closed mikebaileyz closed 3 years ago

mikebaileyz commented 3 years ago

Been using happily for a year but after SD card issues bought an Odroid N2+ and migrated across using Snapshot backup. Everything works OK except 5 Tuya smartplugs and all my sonoff devices. They are all unavailable despite working fine through EeWelink app. I've tried re-loading and deleting the .json file and cannot find a solution. Went back to the Pi4 and it all works again????

AlexxIT commented 3 years ago

Show config

mikebaileyz commented 3 years ago

Thanks Alexx, Not much in my config related to Sonoff, the user and password relate to my second eWelink account:-

  #Sonoff Devices
  sonoff:
   username: xxxxxx
   password: xxxxx
   reload: always
   sensors: [power, current, voltage]
AlexxIT commented 3 years ago

Enable debug mode and check logs

mikebaileyz commented 3 years ago

That is debug: true

Where do the logs appear?

mikebaileyz commented 3 years ago
2021-07-04 16:28:33 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 245.3, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 32456
2021-07-04 16:29:00 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud WS retrying in 0 seconds
2021-07-04 16:29:02 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud init: {'error': 0, 'apikey': '6e8fe086-f8d7-4abb-a415-5063311ba2ff', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625412541828'}
2021-07-04 16:29:07 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 244.11, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 55195
2021-07-04 16:29:07 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '244.11', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:30:09 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1000eb212f <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'pulseWidth': 420000, 'rssi': -64} | 2121
2021-07-04 16:30:10 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'sysmsg', 'deviceid': '1000eb212f', 'apikey': '6347eaa3-2681-4f9b-a54d-489ce02678c3', 'params': {'online': True}}
2021-07-04 16:30:10 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'd_seq': 2065, 'params': {'sledOnline': 'on'}, 'from': 'device'}
2021-07-04 16:30:10 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -64, 'staMac': 'C8:2B:96:DC:B2:27', 'startup': 'off', 'init': 1, 'pulse': 'on', 'pulseWidth': 420000, 'swMode': 2, 'swCtrlReverse': 'off'}, 'from': 'device'}
2021-07-04 16:30:33 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 244.32, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 32457
2021-07-04 16:30:33 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '244.32', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:31:00 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1000eb212f <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'pulseWidth': 420000, 'rssi': -65} | 2122
2021-07-04 16:31:01 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'sysmsg', 'deviceid': '1000eb212f', 'apikey': '6347eaa3-2681-4f9b-a54d-489ce02678c3', 'params': {'online': True}}
2021-07-04 16:31:01 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'd_seq': 2066, 'params': {'sledOnline': 'on'}, 'from': 'device'}
2021-07-04 16:31:01 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -65, 'staMac': 'C8:2B:96:DC:B2:27', 'startup': 'off', 'init': 1, 'pulse': 'on', 'pulseWidth': 420000, 'swMode': 2, 'swCtrlReverse': 'off'}, 'from': 'device'}
2021-07-04 16:31:07 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 245.06, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 55196
2021-07-04 16:31:07 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '245.06', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:31:42 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud WS retrying in 0 seconds
2021-07-04 16:31:43 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud init: {'error': 0, 'apikey': '6e8fe086-f8d7-4abb-a415-5063311ba2ff', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625412703019'}
2021-07-04 16:32:33 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 242.7, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 32458
2021-07-04 16:32:33 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '242.70', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:32:38 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1000eb212f <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'pulseWidth': 420000, 'rssi': -65} | 2123
2021-07-04 16:32:39 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'sysmsg', 'deviceid': '1000eb212f', 'apikey': '6347eaa3-2681-4f9b-a54d-489ce02678c3', 'params': {'online': True}}
2021-07-04 16:32:40 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'd_seq': 2067, 'params': {'sledOnline': 'on'}, 'from': 'device'}
2021-07-04 16:32:40 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -65, 'staMac': 'C8:2B:96:DC:B2:27', 'startup': 'off', 'init': 1, 'pulse': 'on', 'pulseWidth': 420000, 'swMode': 2, 'swCtrlReverse': 'off'}, 'from': 'device'}
2021-07-04 16:33:07 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 242.86, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 55197
2021-07-04 16:33:07 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '242.87', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:34:23 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud WS retrying in 0 seconds
2021-07-04 16:34:24 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud init: {'error': 0, 'apikey': '6e8fe086-f8d7-4abb-a415-5063311ba2ff', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625412864002'}
2021-07-04 16:34:33 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 243.99, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 32459
2021-07-04 16:34:33 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '243.99', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:35:07 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 242.86, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 55198
2021-07-04 16:35:07 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '242.86', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:36:33 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 243.99, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 32460
2021-07-04 16:36:33 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '243.99', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:37:04 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud WS retrying in 0 seconds
2021-07-04 16:37:05 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] Cloud init: {'error': 0, 'apikey': '6e8fe086-f8d7-4abb-a415-5063311ba2ff', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625413025366'}
2021-07-04 16:37:07 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 244.43, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 55199
2021-07-04 16:37:07 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '244.43', 'current': '0.00'}, 'from': 'device'}
2021-07-04 16:38:33 DEBUG (Sonoff_LAN) [custom_components.sonoff.sonoff_local] 1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 243.99, 'current': 0, 'ssid': 'VM9318127', 'bssid': '04:d9:f5:30:b1:a1'} | 32461
2021-07-04 16:38:33 DEBUG (MainThread) [custom_components.sonoff.sonoff_cloud] 1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': 'c3e50ae3-4201-4c02-b284-9f0b572fd694', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '243.99', 'current': '0.00'}, 'from': 'device'}
mikebaileyz commented 3 years ago

hope the above helps understand where my issue lies? thanks again for your help

AlexxIT commented 3 years ago

All looks fine. But cloud breakes connection too often. You don't use second account.

mikebaileyz commented 3 years ago

OK I will revert to my main account and retry

mikebaileyz commented 3 years ago

No change I am afraid - still all unavailable. image

AlexxIT commented 3 years ago

Maybe you have some errors in log?

mikebaileyz commented 3 years ago

I can see some cloud init error with something about the api key?

2021-07-04 23:40:21  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2021-07-04 23:40:24  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625438423984'}
2021-07-04 23:40:33  DEBUG    sonoff_local  1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 249.96, 'current': 0, 'ssid': '...', 'bssid': '...'} | 32679
2021-07-04 23:40:33  DEBUG    sonoff_cloud  1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '249.97', 'current': '0.00'}, 'from': 'device'}
2021-07-04 23:41:07  DEBUG    sonoff_local  1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 249.89, 'current': 0, 'ssid': '...', 'bssid': '...'} | 55418
2021-07-04 23:41:07  DEBUG    sonoff_cloud  1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '249.89', 'current': '0.00'}, 'from': 'device'}
2021-07-04 23:42:33  DEBUG    sonoff_local  1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 249.3, 'current': 0, 'ssid': '...', 'bssid': '...'} | 32680
2021-07-04 23:42:33  DEBUG    sonoff_cloud  1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '249.30', 'current': '0.00'}, 'from': 'device'}
2021-07-04 23:43:04  DEBUG    sonoff_cloud  Cloud WS retrying in 0 seconds
2021-07-04 23:43:05  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625438585457'}
2021-07-04 23:43:07  DEBUG    sonoff_local  1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 249.32, 'current': 0, 'ssid': '...', 'bssid': '...'} | 55419
2021-07-04 23:43:07  DEBUG    sonoff_cloud  1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '249.32', 'current': '0.00'}, 'from': 'device'}
AlexxIT commented 3 years ago

Error 0 mean no error. Logs looks fine. I can see local and cloud data. Cloud drops connection too often. But devices shouldn't be unavailable.

mikebaileyz commented 3 years ago

What should I try next? Delete the integration and reinstall it from start? Or delete a device and repair it to EWeLink ?

Here is an interesting point. I just went on EWeLink on my phone and it connected as normal BUT this was on my main account! which shouldn't be allowed if HA is now signed into this account? Does this give any clue what is wrong?

AlexxIT commented 3 years ago

You shouldn't have many "Cloud WS retrying". Is Pi4 still works with this account?

mikebaileyz commented 3 years ago

Yes I just switched back and it works perfectly, all my Sonoff and Tuya plugs are fully available I have added the debug to my config here and will send it to you

mikebaileyz commented 3 years ago
2021-07-05 10:26:37  DEBUG    main          SysInfo: {'version': '2021.6.6', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.9', 'docker': True, 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.10.17-v8', 'supervisor': '2021.06.6', 'host_os': 'Home Assistant OS 6.1', 'docker_version': '20.10.6', 'chassis': 'embedded'}
2021-07-05 10:26:37  DEBUG    main          AUTO mode start
2021-07-05 10:26:43  DEBUG    sonoff_cloud  13 devices loaded from the Cloud Server
2021-07-05 10:26:43  DEBUG    main          Init auto sensors for: ['power', 'current', 'voltage']
2021-07-05 10:26:43  DEBUG    main          10005214c9 == Init   | {'uiid': 7, 'extra': {'manufacturer': 'Sonoff', 'model': 'T1 2C', 'sw_version': 'PSF-B04-GL v3.4.1'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'timers': [{'mId': '...', 'type': 'repeat', 'at': '22 0 * * 1,2,3,4,5,6,0', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'off', 'outlet': 0}}, {'mId': '...', 'type': 'repeat', 'at': '30 21 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'off', 'outlet': 0}}], 'init': 1, 'rssi': -47, 'staMac': '...', 'pulseWidth': 500, 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}], 'pulse': 'off', 'fwVersion': '3.4.1', 'configure': [{'startup': 'off', 'outlet': 0}, {'startup': 'off', 'outlet': 1}, {'startup': 'off', 'outlet': 2}, {'startup': 'off', 'outlet': 3}], 'version': 8, 'sledOnline': 'on', 'lock': 0, 'pulses': [{'pulse': 'off', 'width': 3541000, 'outlet': 0}, {'pulse': 'on', 'width': 600000, 'outlet': 1}, {'pulse': 'off', 'width': 1000, 'outlet': 2}, {'pulse': 'off', 'width': 1000, 'outlet': 3}], 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          100095b9de == Init   | {'uiid': 6, 'extra': {'manufacturer': 'SONOFF', 'model': 'TX1C', 'sw_version': 'PSF-B01-GL v3.5.1'}, 'params': {'timers': [{'mId': '...', 'type': 'repeat', 'at': '30 16 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'off'}}], 'pulseWidth': 3540000, 'pulse': 'on', 'init': 1, 'startup': 'off', 'staMac': '...', 'rssi': -56, 'fwVersion': '3.5.1', 'switch': 'off', 'sledOnline': 'on', 'version': 8, 'bindInfos': {'gaction': ['...', '...'], 'scene': 3}, 'only_device': {'ota': 'success'}, 'ssid': '...', 'bssid': '...', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1000e60d50 == Init   | {'uiid': 4, 'extra': {'manufacturer': 'SONOFF', 'model': '4CHPRO', 'sw_version': 'PSF-B04-GL v3.4.1'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'sledOnline': 'on', 'fwVersion': '3.4.1', 'staMac': '...', 'rssi': -56, 'init': 1, 'lock': 0, 'configure': [{'startup': 'off', 'outlet': 0}, {'startup': 'off', 'outlet': 1}, {'startup': 'off', 'outlet': 2}, {'startup': 'off', 'outlet': 3}], 'pulses': [{'pulse': 'on', 'width': 480000, 'outlet': 0}, {'pulse': 'off', 'width': 1000, 'outlet': 1}, {'pulse': 'off', 'width': 1000, 'outlet': 2}, {'pulse': 'off', 'width': 1000, 'outlet': 3}], 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'on', 'outlet': 1}, {'switch': 'on', 'outlet': 2}, {'switch': 'off', 'outlet': 3}], 'timers': [], 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1000f679d2 == Init   | {'uiid': 102, 'extra': {'manufacturer': 'SONOFF', 'model': 'DW2', 'sw_version': 'OPL-DMA-GL v1000.2.924'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'switch': 'off', 'battery': 2.542, 'fwVersion': '1000.2.924', 'type': 4, 'chipID': 'd02701ecf0f4', 'mac': 'd02701ecf0f4', 'rssi': -90, 'lastUpdateTime': '2021-04-11T12:13:20.192Z', 'actionTime': '2021-04-04T09:15:34.516Z', 'cloud': 'offline'}}
2021-07-05 10:26:43  DEBUG    main          1000f67cea == Init   | {'uiid': 102, 'extra': {'manufacturer': 'SONOFF', 'model': 'DW2', 'sw_version': 'OPL-DMA-GL v1000.2.924'}, 'params': {'bindInfos': {'gaction': ['...', '...'], 'scene': 1}, 'switch': 'off', 'battery': 2.479, 'fwVersion': '1000.2.924', 'type': 4, 'chipID': 'd02701ecf724', 'mac': 'd02701ecf724', 'rssi': -95, 'lastUpdateTime': '2021-05-24T12:42:20.577Z', 'actionTime': '2021-01-25T07:36:19.574Z', 'cloud': 'offline'}}
2021-07-05 10:26:43  DEBUG    main          1000e9e2a5 == Init   | {'uiid': 1, 'extra': {'manufacturer': 'SONOFF', 'model': 'MINI', 'sw_version': 'PSF-BD1-GL v3.6.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -80, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'on', 'pulseWidth': 3544000, 'swMode': 2, 'sledOnline': 'on', 'swCtrlReverse': 'off', 'timers': [{'mId': '...', 'type': 'repeat', 'at': '0 23 * * 0,1,2,3,4,5,6', 'coolkit_timer_type': 'repeat', 'enabled': 1, 'do': {'switch': 'off'}}], 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1000eb212f == Init   | {'uiid': 1, 'extra': {'manufacturer': 'SONOFF', 'model': 'MINI', 'sw_version': 'PSF-BD1-GL v3.6.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'sledOnline': 'on', 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -66, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'on', 'pulseWidth': 420000, 'swMode': 2, 'swCtrlReverse': 'off', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          a63000ab9e == Init   | {'uiid': 87, 'extra': {'manufacturer': 'coolkit', 'model': 'GK-200MP2B', 'sw_version': 'GK-200MP2B'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'romVersion': '24520191030', 'version': 7, 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1000e9fdc0 == Init   | {'uiid': 1, 'extra': {'manufacturer': 'SONOFF', 'model': 'MINI', 'sw_version': 'PSF-BD1-GL v3.6.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'sledOnline': 'on', 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -62, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 3540000, 'swMode': 1, 'swCtrlReverse': 'off', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1000f2def9 == Init   | {'uiid': 1, 'extra': {'manufacturer': 'SONOFF', 'model': 'MINI', 'sw_version': 'PSF-BD1-GL v3.6.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'sledOnline': 'on', 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -52, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'swMode': 1, 'swCtrlReverse': 'off', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1001102d09 == Init   | {'uiid': 32, 'extra': {'manufacturer': 'SONOFF', 'model': 'POW', 'sw_version': 'PSC-B67-GL v3.5.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'only_device': {'ota': 'success'}, 'sledOnline': 'on', 'ssid': '...', 'bssid': '...', 'fwVersion': '3.5.0', 'staMac': '...', 'rssi': -68, 'init': 1, 'alarmType': 'pcv', 'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'power': '0.00', 'voltage': '248.58', 'current': '0.00', 'oneKwh': 'stop', 'uiActive': 7200, 'hundredDaysKwh': 'get', 'endTime': '2021-03-27T21:12:37.461Z', 'startTime': '2021-03-27T21:12:10.842Z', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          10010b2f5e == Init   | {'uiid': 1, 'extra': {'manufacturer': 'SONOFF', 'model': 'BASIC', 'sw_version': 'PSF-BD1-GL v3.6.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'sledOnline': 'on', 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -51, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'swMode': 2, 'swCtrlReverse': 'off', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    main          1001102f43 == Init   | {'uiid': 32, 'extra': {'manufacturer': 'SONOFF', 'model': 'POW', 'sw_version': 'PSC-B67-GL v3.5.0'}, 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'only_device': {'ota': 'success'}, 'sledOnline': 'on', 'ssid': '...', 'bssid': '...', 'fwVersion': '3.5.0', 'staMac': '...', 'rssi': -66, 'init': 1, 'alarmType': 'pcv', 'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'power': '0.00', 'voltage': '249.30', 'current': '0.00', 'oneKwh': 'stop', 'uiActive': 7200, 'hundredDaysKwh': 'get', 'endTime': '2021-05-08T15:35:09.592Z', 'startTime': '2021-05-07T17:41:36.334Z', 'cloud': 'online'}}
2021-07-05 10:26:43  DEBUG    sonoff_cloud  Start refresh task for 2 POW
2021-07-05 10:26:43  DEBUG    sonoff_local  1001102f43 <= Local1 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 249.3, 'current': 0, 'ssid': '...', 'bssid': '...'} | 33035
2021-07-05 10:26:43  DEBUG    sonoff_local  1000e9fdc0 <= Local1 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 3540000, 'rssi': -62} | 598
2021-07-05 10:26:43  DEBUG    sonoff_local  1000eb212f <= Local1 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'pulseWidth': 420000, 'rssi': -66} | 2472
2021-07-05 10:26:43  DEBUG    sonoff_local  1000e9e2a5 <= Local1 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'pulseWidth': 3544000, 'rssi': -80} | 546
2021-07-05 10:26:43  DEBUG    sonoff_local  1001102d09 <= Local1 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 248.58, 'current': 0, 'ssid': '...', 'bssid': '...'} | 55783
2021-07-05 10:26:43  DEBUG    sonoff_local  1000f2def9 <= Local1 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.6.0', 'pulseWidth': 500, 'rssi': -52} | 8149
2021-07-05 10:26:43  DEBUG    sonoff_local  10010b2f5e <= Local1 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'rssi': -51} | 174
2021-07-05 10:26:43  DEBUG    sonoff_local  10005214c9 <= Local1 | {'sledOnline': 'on', 'configure': [{'startup': 'off', 'outlet': 0}, {'startup': 'off', 'outlet': 1}, {'startup': 'off', 'outlet': 2}, {'startup': 'off', 'outlet': 3}], 'pulses': [{'pulse': 'off', 'width': 3541000, 'outlet': 0}, {'pulse': 'on', 'width': 600000, 'outlet': 1}, {'pulse': 'off', 'width': 1000, 'outlet': 2}, {'pulse': 'off', 'width': 1000, 'outlet': 3}], 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}]} | 76
2021-07-05 10:26:43  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1625477203808'}
2021-07-05 10:26:44  DEBUG    sonoff_local  100095b9de <= Local1 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'sledOnline': 'on', 'pulseWidth': 3540000, 'rssi': -56, 'ssid': '...', 'bssid': '...'} | 175
2021-07-05 10:26:44  DEBUG    sonoff_local  1000e60d50 <= Local1 | {'sledOnline': 'on', 'configure': [{'startup': 'off', 'outlet': 0}, {'startup': 'off', 'outlet': 1}, {'startup': 'off', 'outlet': 2}, {'startup': 'off', 'outlet': 3}], 'pulses': [{'pulse': 'on', 'width': 480000, 'outlet': 0}, {'pulse': 'off', 'width': 1000, 'outlet': 1}, {'pulse': 'off', 'width': 1000, 'outlet': 2}, {'pulse': 'off', 'width': 1000, 'outlet': 3}], 'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'on', 'outlet': 1}, {'switch': 'on', 'outlet': 2}, {'switch': 'off', 'outlet': 3}]} | 38
2021-07-05 10:27:06  DEBUG    sonoff_local  1000eb212f <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'on', 'pulseWidth': 420000, 'rssi': -64} | 2473
2021-07-05 10:27:07  DEBUG    sonoff_local  1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 248.58, 'current': 0, 'ssid': '...', 'bssid': '...'} | 55784
2021-07-05 10:27:07  DEBUG    sonoff_cloud  1000eb212f <= Cloud3 | {'action': 'sysmsg', 'deviceid': '1000eb212f', 'apikey': '...', 'params': {'online': True}}
2021-07-05 10:27:07  DEBUG    sonoff_cloud  1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': '...', 'userAgent': 'device', 'd_seq': 2405, 'params': {'sledOnline': 'on'}, 'from': 'device'}
2021-07-05 10:27:08  DEBUG    sonoff_cloud  1000eb212f <= Cloud3 | {'action': 'update', 'deviceid': '1000eb212f', 'apikey': '...', 'userAgent': 'device', 'params': {'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -64, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'on', 'pulseWidth': 420000, 'swMode': 2, 'swCtrlReverse': 'off'}, 'from': 'device'}
2021-07-05 10:27:08  DEBUG    sonoff_cloud  1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '248.58', 'current': '0.00'}, 'from': 'device'}
2021-07-05 10:27:37  DEBUG    sonoff_local  1000f2def9 <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.6.0', 'pulseWidth': 500, 'rssi': -52} | 8150
2021-07-05 10:27:37  DEBUG    sonoff_local  1000f2def9 => Local4 | {'switch': 'off'} <= {'seq': 8150, 'sequence': '1625477257040', 'error': 0}
2021-07-05 10:27:37  DEBUG    sonoff_cloud  1000f2def9 <= Cloud3 | {'action': 'update', 'deviceid': '1000f2def9', 'apikey': '...', 'userAgent': 'device', 'sequence': '1625477257040', 'params': {'switch': 'off'}, 'from': 'device', 'seq': '8150'}
2021-07-05 10:27:37  DEBUG    sonoff_main   Skip update with same sequence
2021-07-05 10:27:41  DEBUG    sonoff_local  1000e9fdc0 <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 3540000, 'rssi': -63} | 599
2021-07-05 10:27:43  DEBUG    sonoff_cloud  1001102d09 => Cloud4 | {'uiActive': 7200} | 1625477263427
2021-07-05 10:27:43  DEBUG    sonoff_cloud  1000e9fdc0 <= Cloud3 | {'action': 'sysmsg', 'deviceid': '1000e9fdc0', 'apikey': '...', 'params': {'online': True}}
2021-07-05 10:27:43  DEBUG    sonoff_cloud  1000e9fdc0 <= Cloud3 | {'action': 'update', 'deviceid': '1000e9fdc0', 'apikey': '...', 'userAgent': 'device', 'd_seq': 438, 'params': {'sledOnline': 'on'}, 'from': 'device'}
2021-07-05 10:27:43  DEBUG    sonoff_cloud  1000e9fdc0 <= Cloud3 | {'action': 'update', 'deviceid': '1000e9fdc0', 'apikey': '...', 'userAgent': 'device', 'params': {'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -63, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 3540000, 'swMode': 1, 'swCtrlReverse': 'off'}, 'from': 'device'}
2021-07-05 10:27:43  DEBUG    sonoff_local  1001102d09 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 248.58, 'current': 0, 'ssid': '...', 'bssid': '...'} | 55785
2021-07-05 10:27:44  DEBUG    sonoff_cloud  1001102d09 <= Cloud3 | {'error': 0, 'deviceid': '1001102d09', 'apikey': '...', 'sequence': '1625477263427'}
2021-07-05 10:27:44  DEBUG    sonoff_cloud  1001102d09 => Cloud5 | Force update sequence: 1625477264348
2021-07-05 10:27:44  DEBUG    sonoff_cloud  1001102f43 => Cloud4 | {'uiActive': 7200} | 1625477264352
2021-07-05 10:27:44  DEBUG    sonoff_cloud  1001102d09 <= Cloud3 | {'action': 'update', 'deviceid': '1001102d09', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '248.58', 'current': '0.00'}, 'from': 'device'}
2021-07-05 10:27:45  DEBUG    sonoff_cloud  1001102d09 <= Cloud3 | {'error': 0, 'deviceid': '1001102d09', 'apikey': '...', 'sequence': '1625477264348', 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'only_device': {'ota': 'success'}, 'sledOnline': 'on', 'ssid': '...', 'bssid': '...', 'fwVersion': '3.5.0', 'staMac': '...', 'rssi': -68, 'init': 1, 'alarmType': 'pcv', 'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'on', 'pulse': 'off', 'pulseWidth': 500, 'power': '0.00', 'voltage': '248.58', 'current': '0.00', 'oneKwh': 'stop', 'uiActive': 7200, 'hundredDaysKwh': 'get', 'endTime': '2021-03-27T21:12:37.461Z', 'startTime': '2021-03-27T21:12:10.842Z'}}
2021-07-05 10:27:45  DEBUG    sonoff_cloud  1001102f43 <= Cloud3 | {'error': 0, 'deviceid': '1001102f43', 'apikey': '...', 'sequence': '1625477264352'}
2021-07-05 10:27:45  DEBUG    sonoff_cloud  1001102f43 => Cloud5 | Force update sequence: 1625477265164
2021-07-05 10:27:45  DEBUG    sonoff_local  1001102f43 <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'sledOnline': 'on', 'power': 0, 'voltage': 249.05, 'current': 0, 'ssid': '...', 'bssid': '...'} | 33036
2021-07-05 10:27:45  DEBUG    sonoff_cloud  1001102f43 <= Cloud3 | {'error': 0, 'deviceid': '1001102f43', 'apikey': '...', 'sequence': '1625477265164', 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'only_device': {'ota': 'success'}, 'sledOnline': 'on', 'ssid': '...', 'bssid': '...', 'fwVersion': '3.5.0', 'staMac': '...', 'rssi': -66, 'init': 1, 'alarmType': 'pcv', 'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, -1], 'switch': 'on', 'startup': 'off', 'pulse': 'off', 'pulseWidth': 500, 'power': '0.00', 'voltage': '249.30', 'current': '0.00', 'oneKwh': 'stop', 'uiActive': 7200, 'hundredDaysKwh': 'get', 'endTime': '2021-05-08T15:35:09.592Z', 'startTime': '2021-05-07T17:41:36.334Z'}}
2021-07-05 10:27:46  DEBUG    sonoff_cloud  1001102f43 <= Cloud3 | {'action': 'update', 'deviceid': '1001102f43', 'apikey': '...', 'userAgent': 'device', 'params': {'power': '0.00', 'voltage': '249.05', 'current': '0.00'}, 'from': 'device'}
2021-07-05 10:28:08  DEBUG    sonoff_local  1000f2def9 => Local4 | {'switch': 'off'} !! Timeout 1
2021-07-05 10:28:08  DEBUG    sonoff_cloud  1000f2def9 => Cloud4 | {'switch': 'off'} | 1625477287142
2021-07-05 10:28:08  DEBUG    sonoff_local  1000f2def9 <= Local3 | {'switch': 'off', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'fwVersion': '3.6.0', 'pulseWidth': 500, 'rssi': -52} | 8151
2021-07-05 10:28:09  DEBUG    sonoff_cloud  1000f2def9 <= Cloud3 | {'error': 0, 'deviceid': '1000f2def9', 'apikey': '...', 'sequence': '1625477287142'}
2021-07-05 10:28:09  DEBUG    sonoff_cloud  1000f2def9 => Cloud5 | Force update sequence: 1625477289488
2021-07-05 10:28:10  DEBUG    sonoff_cloud  1000f2def9 <= Cloud3 | {'error': 0, 'deviceid': '1000f2def9', 'apikey': '...', 'sequence': '1625477289488', 'params': {'bindInfos': {'gaction': ['...', '...']}, 'version': 8, 'sledOnline': 'on', 'switch': 'off', 'fwVersion': '3.6.0', 'rssi': -52, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'swMode': 1, 'swCtrlReverse': 'off'}}
mikebaileyz commented 3 years ago

I then ran the Pi4 on my main Sonoff account and it still all works perfectly

mikebaileyz commented 3 years ago

Have you any further advice for me? What can I try next?

AlexxIT commented 3 years ago

Is the SonoffLAN and Hass up to date?

mikebaileyz commented 3 years ago

Yes I have kept fully up to date with all latest releases.

AlexxIT commented 3 years ago

Try setting everything up from zero. I don't know why you have this problem

mikebaileyz commented 3 years ago

I am going to try that today, will let you know what happens. I assume if I use your application it doesn't require MQQT to be working ?

AlexxIT commented 3 years ago

No. You don't need MQTT

mikebaileyz commented 3 years ago

Can you tell me where I check that I have the latest version of SonoffLan? On the HACS integration page it doesn't show as needing an update

AlexxIT commented 3 years ago

custom_components/sonoff/manifest.json

mikebaileyz commented 3 years ago

I got it to work! A full reload from start including home assistant on the Odroid. Have had to rebuild everything, samba, Hacs, file editor, etc etc. But at least it does finally work. My conclusion is that you just cannot use a snapshot restore to pull across some integrations from Pi4 to Odroid, unless you are a way better expert than I am at solving issues. Many thanks for your help. I will now spend the next three months reinstalling everything on my new device.

AlexxIT commented 3 years ago

Snapshot should be compatible between different devices...