Ewelink / Sonoff Binding - New binding without flashing

@Victor_Barrientos can you pm me discovery result from debug log when adding the binding - near the start (hash out username/password) and also from when the commands are being sent/received.

@Dohnerd you haven’t sent me the log I need
What’s posted in the forum isn’t in code fences like I’ve asked and doesn’t contain any error info from what I can tell

I’ll be releasing a new version in the next couple with lots and bits and pieces fixed/added

Sent u a clean log, and one from fronttail…
sorry but having no idea what the code contains its impossible to create a code fence… it would be pure guess work… and if it gave an error I would simply write, gives following error “bla bla bla” but as I clearly stated, to begin with, it finds the TX2C’s but its not possible to switch them on and off, nothing arrives in the log about it failing, but I can see that the light dosn’t turn on and off, so thereby “not working” :smiley:

Not sure what you think a code fence is, but it’s markup used in forum posts to clearly post code and logs. Read this:

yes and as stated as it is all rubbish to me, i wouldnt know where to start or end…

This is what fronttail says when I switch on the light, and then off:

2021-02-14 23:16:56.168 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘Son_Lysgang2’ received command ON

2021-02-14 23:16:56.188 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘Son_Lysgang2’ predicted to become OFF

2021-02-14 23:17:02.804 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘Son_Lysgang2’ received command OFF

As seen… no errors, nevertheless no lights are turned on :slight_smile:

You’re overthinking it. Read the linked post, then just copy and paste any of your code and logs in between three backticks ```

```

Like
This

```

which would make your last post:

2021-02-14 23:16:56.168 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘Son_Lysgang2’ received command ON

2021-02-14 23:16:56.188 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘Son_Lysgang2’ predicted to become OFF

2021-02-14 23:17:02.804 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘Son_Lysgang2’ received command OFF
1 Like
2021-02-10 00:08:38.289 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912118289,“params”:"{“uiActive”:60}"}
2021-02-10 00:08:38.415 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:08:38.743 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912118742,“params”:"{“uiActive”:60}"}
2021-02-10 00:08:38.772 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“fQhYaUCZz9/dJg2JF59wdPC+O8Hgr/lfluhfwWOJEyoRPNL9QnNBZ7Gk4G5pzWWnzV2hQ1zgelLsA8ATrKJCoEs8oicIL5xQ9TsI94jViponj+HdaGsJ+n4fDdPShURmAbDi9HDDUmkJvQ0YAksm2lNF02AhXge2xEDyCDpNUk8\u003d”,“seq”:“1537”,“iv”:“ODQ3ODA4Mzc3MTA4OTc4Nw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:08:38.786 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912118343”,“params”:{“uiActive”:60,“partnerApikey”:“449d322e-2b86-4f58-996f-b1b46ce1dc7a”},“tempRec”:“1000c542ef”}
2021-02-10 00:08:38.787 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:08:38.834 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912118786”,“params”:{“uiActive”:60,“partnerApikey”:“f42f31a1-2edc-5c70-b76d-b146db2b57d4”},“tempRec”:“100066fd2c”}
2021-02-10 00:08:38.854 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:08:39.341 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912119341,“params”:"{“uiActive”:60}"}
2021-02-10 00:08:39.439 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“6c7qriDtuhqmvgorQJMMld2473rDli6iJEyHvk5knjvd/5sjut3LPnFbLnlJ1jE0DGFBXnq21OMjEbnSIkKRxs5VbBJowATQq3qHhjBBmv7+TWB/oSP6s3PZq9ic+puZR0qrm53cvezaOVzIW/BzaVx+jYmKOu8CB2ysQoiSm08\u003d”,“seq”:“1593”,“iv”:“MjkzNjU3MTAwNzYyNDU1Ng\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:08:39.447 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:08:39.461 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912119403”,“params”:{“uiActive”:60,“partnerApikey”:“3905cc39-5046-5ec0-8a26-c9c035d6e7a0”},“tempRec”:“1000c4fca7”}
2021-02-10 00:08:39.467 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:08:39.841 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912119841,“params”:"{“uiActive”:60}"}
2021-02-10 00:08:39.947 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“IadGte+dqlUZcw2qUNrqS5F6vNrVR4Ndfq0YJEaz1lJh9sixs17kzELuvJQvAX5opc9OjFOCUPNDR6TPRRQURWRrfVmezkXf3RXNRGB/pwbV6vgGPtHcomBmYVRNnLA5xbk8yGCwhYJfbGvjqvrtfy3j0fJqjAU7Yw5cicvvhv4i8ZqamHtLlE2eRg8/auNA”,“seq”:“1540”,“iv”:“MjU1MTA5ODgzNjk0NzE3Mg\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:08:39.956 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:08:39.968 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912119917”,“params”:{“uiActive”:60,“partnerApikey”:“3609aa2c-6e8a-5c59-9ef4-40200e2e2d66”},“tempRec”:“100066fbf8”}
2021-02-10 00:08:39.988 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”}
2021-02-10 00:08:55.297 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000af4fc4”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912135296,“params”:"{“uiActive”:60}"}
2021-02-10 00:08:55.421 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000af4fc4”}
2021-02-10 00:08:55.461 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000af4fc4”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912135352”,“params”:{“uiActive”:60,“partnerApikey”:“2638144b-7845-4f71-85d3-6df40b8e4adc”},“tempRec”:“1000af4fc4”}
2021-02-10 00:08:58.020 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c40737”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912138019,“params”:"{“uiActive”:60}"}
2021-02-10 00:08:58.103 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“6qu76fbtJ4vjEGfI9sKTCVlzRcukrO8fv+Pa5KapkNcWRUZdpFncG8sEX4BVJB39dkJtDSz6iYqlQhVbXNiqItGFGjTbKLayibT+sA9OH12paJuj/garvFHLugI3kiV0eVP+FHzWgSVz979Ky/rskR9iH/CYcD+9FDvOIlh5DNM\u003d”,“seq”:“1528”,“iv”:“ODMwMDYxNDU2MDY1NzAwMw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c40737”}
2021-02-10 00:08:58.111 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c40737”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912138063”,“params”:{“uiActive”:60,“partnerApikey”:“62895b8f-781e-52a5-a325-b7fbe21a17cb”},“tempRec”:“1000c40737”}
2021-02-10 00:08:58.123 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-51}
2021-02-10 00:08:58.141 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c40737”}
2021-02-10 00:09:38.424 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912178423,“params”:"{“uiActive”:60}"}
2021-02-10 00:09:38.529 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:09:38.564 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“3jpnQK+0QA40mtaU/aW5B6wphvFFQAHoST2XpZZoNBkENe1X8LVCCgtWUWAtH1gMK7FcRQ2LolAZ3eqhPslqSYduKwta857bzYhFp7hB/F7W5u9kNxQy5WPy3NuS1DBSSmbSuTKecicuXaSoNRys1AG82clDm2BWmMxQ3EUwi60\u003d”,“seq”:“1538”,“iv”:“NzIxNzk1Njc5MDg1MDI3Mw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:09:38.578 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:09:38.584 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912178467”,“params”:{“uiActive”:60,“partnerApikey”:“0e13ccb0-bb6f-555f-bcf1-901cedd1b9db”},“tempRec”:“1000c542ef”}
2021-02-10 00:09:38.863 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912178863,“params”:"{“uiActive”:60}"}
2021-02-10 00:09:38.978 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:09:39.486 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912179486,“params”:"{“uiActive”:60}"}
2021-02-10 00:09:39.575 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“fSD4IcioTyT3Luj1Jz9nMWkPXsbb9PDiPJPHnuqt9OgRxO5weT9cfMIvx+Lhy3E/IkSgH57bz3gjAR3obgC/LYIkJbpix7PelLs6pDWYKg5Buz0XyIiWpNGmSY1pkb/jId5qf0C5E8IgNz8NFRinGpa5CmuSp00b0enjB/rxPMU\u003d”,“seq”:“1594”,“iv”:“NzE4ODYyNjQ0MzQ3Mzk5Mg\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:09:39.584 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912179538”,“params”:{“uiActive”:60,“partnerApikey”:“d2c434a3-b476-560d-bca8-58061bc45fc2”},“tempRec”:“1000c4fca7”}
2021-02-10 00:09:39.593 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:09:39.606 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:09:39.995 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912179995,“params”:"{“uiActive”:60}"}
2021-02-10 00:09:40.214 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“IpfAdWhUrNdgb0sEhsMc6ZuRc+FgB9jDnajjkCYhFqJKvCtoXEl+SRfnvJwsj5aokE/ngD0Z0moB/vuoKdAEzVEAkhyb2rDmxI6lHT/nudbwmJ0NUDKc4ITHSplHswBXPc6kzJMBiSS+VHzra1/UDFgtoRJQg14bh2ONUrSuTvMwIDmBcnTwyraWhneYX0py”,“seq”:“1541”,“iv”:“MTIzMTQyMTgwMTU1NDgyNQ\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:09:40.229 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:09:40.232 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912180158”,“params”:{“uiActive”:60,“partnerApikey”:“1612867a-b05f-4ed6-9230-9cf3a226aa55”},“tempRec”:“100066fbf8”}
2021-02-10 00:09:40.289 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”}
2021-02-10 00:09:40.709 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912178918”,“params”:{“uiActive”:60,“partnerApikey”:“fede437c-617a-5cc8-aca1-9b2790c57b39”},“tempRec”:“100066fd2c”}
2021-02-10 00:09:51.263 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:09:51.286 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:09:51.296 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:09:55.428 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000af4fc4”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912195427,“params”:"{“uiActive”:60}"}
2021-02-10 00:09:55.524 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000af4fc4”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912195475”,“params”:{“uiActive”:60,“partnerApikey”:“568bd17c-a632-4d3b-8378-f6d9648a97a0”},“tempRec”:“1000af4fc4”}
2021-02-10 00:09:55.524 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000af4fc4”}
2021-02-10 00:09:58.151 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c40737”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912198150,“params”:"{“uiActive”:60}"}
2021-02-10 00:09:58.228 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“dhqjCjqpDktW43h3W6jTmMhLgfSX+5I1y8axSubes01DyxInlO5Qnartn1TetStxVJG8tig6R9XK0dF0k1nOcsyrK6BgWz3uNyMozwqe7d/k4Jgvuk0jj9NHC/QAIR/QqH34HPyHUsY1J3hoMwiMeGZBVDoFGCSus2IAPD7JHtc\u003d”,“seq”:“1529”,“iv”:“NjMyMDEzNzgzOTMwMzEyNA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c40737”}
2021-02-10 00:09:58.236 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-51}
2021-02-10 00:09:58.250 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c40737”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912198198”,“params”:{“uiActive”:60,“partnerApikey”:“d641bda6-0bf6-5ddb-a6cb-d49d4922fef4”},“tempRec”:“1000c40737”}
2021-02-10 00:09:58.263 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c40737”}
2021-02-10 00:10:20.094 [DEBUG] [noff.internal.handler.AccountHandler] - Sonoff Connection Check Running
2021-02-10 00:10:21.271 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:10:21.295 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:10:21.308 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:10:38.536 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912238536,“params”:"{“uiActive”:60}"}
2021-02-10 00:10:38.676 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:10:38.984 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912238984,“params”:"{“uiActive”:60}"}
2021-02-10 00:10:39.117 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:10:39.208 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912239044”,“params”:{“uiActive”:60,“partnerApikey”:“1612867a-b05f-4ed6-9230-9cf3a226aa55”},“tempRec”:“100066fd2c”}
2021-02-10 00:10:39.597 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“auGYT7Z9hLqfgWuKl1ufv21gcbIYHsx6v3s96BPFqrI/K60Y5EcQTuI/EpRE3VQKf2gniXgmekqrsSmiC8m3h39tPQeyUkk/gXbHvmQCcLA7CcNF8BkuOMvY0bwLgO/3Dxg8CO2ir8fXo+oIT2hrzcn2sgN+oQ7lVSvRx2QzPAE\u003d”,“seq”:“1539”,“iv”:“Mzc3NTM4MzI0NDMxMDQzMQ\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:10:39.608 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:10:39.612 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912239611,“params”:"{“uiActive”:60}"}
2021-02-10 00:10:39.620 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912238605”,“params”:{“uiActive”:60,“partnerApikey”:“3160caae-872b-594f-82ce-2ca971b69c72”},“tempRec”:“1000c542ef”}
2021-02-10 00:10:39.721 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“0+vY5oXoNxjgOEtZjubt+fj9phFfCAHaHI7eJ3fm1Zbcio5HSCh/uT4gIlBVPwxdC7h9V8Jv0AGm4Qv70FwY7aiOd+IXQ3E/7hCjMFv2PRGpAzJxV1lL5aJ+EjEiBFtPCKXjQaWQZdCZKUe+b4DWBcHaPMoqUNLF0b1UapDWpF8\u003d”,“seq”:“1595”,“iv”:“MzQ4Mzk5ODAxNzM5OTU3Ng\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:10:39.730 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:10:39.738 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912239684”,“params”:{“uiActive”:60,“partnerApikey”:“33bd277b-bae6-5fe8-9a82-e301f239ac40”},“tempRec”:“1000c4fca7”}
2021-02-10 00:10:39.756 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:10:40.295 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912240294,“params”:"{“uiActive”:60}"}
2021-02-10 00:10:40.374 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“oQJA6layoWGzjkNtPNxGIk8azbFJJMOym06XtvIzcjR6zpsXXgwxeAt9n9oZn3ebb2WD5CepL/0RbGa+0J9DXM5K/T/WItUx6WFKTz/ABPP/Dk5JvFXTAHnIukkeqHFyftcVhgEd23+XrBvYmPZOKhlE9yOe5rAuWg6rS5d9JhegV6DXydmWm8V+9rtQDdKl”,“seq”:“1542”,“iv”:“MDQxMDM1NzAyNTI0MDQ0OA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:10:40.382 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:10:40.393 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912240344”,“params”:{“uiActive”:60,“partnerApikey”:“2638144b-7845-4f71-85d3-6df40b8e4adc”},“tempRec”:“100066fbf8”}
2021-02-10 00:10:40.405 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”}
2021-02-10 00:10:51.283 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:10:51.307 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:10:51.316 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:10:55.531 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000af4fc4”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912255531,“params”:"{“uiActive”:60}"}
2021-02-10 00:10:55.643 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000af4fc4”}
2021-02-10 00:10:55.782 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000af4fc4”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912255585”,“params”:{“uiActive”:60,“partnerApikey”:“f42f31a1-2edc-5c70-b76d-b146db2b57d4”},“tempRec”:“1000af4fc4”}
2021-02-10 00:10:58.272 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c40737”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912258271,“params”:"{“uiActive”:60}"}
2021-02-10 00:10:58.342 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“3FGqw9NSnJd4/pG2ebalaNQw9p9WQ0QA1MYmjvYXhq3GQTLPewJQEFUc5zVgElKB9IqIzbUMZ0GgyKaEABVDlfznH34AqAQw4a33RyBX6vszG+LhMFVR1aq85ga9J4+nFm7P5GpHhWnMpKQAo+Wsw54WznD5nuV2yVy0yP+/15U\u003d”,“seq”:“1530”,“iv”:“NjU4NDUxNjU5MDMxMzU1Mw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c40737”}
2021-02-10 00:10:58.358 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-51}
2021-02-10 00:10:58.365 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c40737”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912258312”,“params”:{“uiActive”:60,“partnerApikey”:“e8e3ab04-8cd5-5715-9223-c738b05e805d”},“tempRec”:“1000c40737”}
2021-02-10 00:10:58.384 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c40737”}
2021-02-10 00:11:20.105 [DEBUG] [noff.internal.handler.AccountHandler] - Sonoff Connection Check Running
2021-02-10 00:11:21.292 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:11:21.315 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:11:21.324 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:11:38.683 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912298683,“params”:"{“uiActive”:60}"}
2021-02-10 00:11:38.758 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“Aie7rO97FDWGEcLrC//3vCxpgtzcwrgPFpEi/co52EhE7fdop5p0JHVF3JsjPjjfr4bH9aQ+qXaw0MtfwhyCz4XwJffV9pD/B5Sm4k12dTN8nN04cl+VmCByVdHSoiiApUVHXu0Q2f7eTNwofcP02nhR1U+aMTD9tikXmigOxrw\u003d”,“seq”:“1540”,“iv”:“NDI3NDc5NzQ4NjQ4NDg3Mg\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:11:38.775 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:11:38.775 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912298727”,“params”:{“uiActive”:60,“partnerApikey”:“ea041771-d68f-569d-9573-c28f9d035b3c”},“tempRec”:“1000c542ef”}
2021-02-10 00:11:38.802 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:11:39.126 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912299125,“params”:"{“uiActive”:60}"}
2021-02-10 00:11:39.237 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:11:39.763 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912299762,“params”:"{“uiActive”:60}"}
2021-02-10 00:11:39.835 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“Aeqn14KO2LtMJs94cMnrF6FarAw/8dRbsJv33S6aTifv9cnRQ7AQZfFqJSJUhzGpCKk3YKrdCGX3DPjczpGme9VnaDCZm8k6ImukfgvMx1bsBJOTrNLyo/Ruxs0/4ycFoVeisDAQXGkeNQucajuaWC479Ta9eIA+DBPwxLSFYHQ\u003d”,“seq”:“1596”,“iv”:“ODQ0NzA1NTI2MzgwNjM3MQ\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:11:39.851 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:11:39.854 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912299799”,“params”:{“uiActive”:60,“partnerApikey”:“d8d22598-1aca-504b-9920-52095ec0bf74”},“tempRec”:“1000c4fca7”}
2021-02-10 00:11:39.864 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:11:39.885 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912299186”,“params”:{“uiActive”:60,“partnerApikey”:“a4de9e36-d536-5ab1-bc9c-b26917b748d3”},“tempRec”:“100066fd2c”}
2021-02-10 00:11:40.412 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912300412,“params”:"{“uiActive”:60}"}
2021-02-10 00:11:40.535 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”}
2021-02-10 00:11:40.562 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“hCjgQPUtvs85A5/MKXkKSeRxHM5YTCNHekNEh8lhVkqaPsNLhenW8wRJMa0daxY4JX/kKcMra2oIFqvzhxDoKJHKrUtzVjpZyOOSAjc5XzeKbHcvvb10ykSknkVVubFh22YeMnJYdOzCQOeZUtOw82MaknIjbfdaRHiSQoCpGr5cf1pTfMalC/JMcWkZ48zt”,“seq”:“1543”,“iv”:“OTgxMjIyMjgzMDg5OTI3Nw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:11:40.571 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:11:40.583 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912300464”,“params”:{“uiActive”:60,“partnerApikey”:“0103456c-12c3-49c9-9cfe-bb3d4c6901b0”},“tempRec”:“100066fbf8”}
2021-02-10 00:11:51.300 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:11:51.324 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:11:51.332 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:11:55.651 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000af4fc4”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912315650,“params”:"{“uiActive”:60}"}
2021-02-10 00:11:55.745 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000af4fc4”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912315696”,“params”:{“uiActive”:60,“partnerApikey”:“0c9a5e8b-50b0-5ace-bc5b-b18a28ebc9d4”},“tempRec”:“1000af4fc4”}
2021-02-10 00:11:55.771 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000af4fc4”}
2021-02-10 00:11:58.391 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c40737”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912318390,“params”:"{“uiActive”:60}"}
2021-02-10 00:11:58.462 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“8wgu6QWQEBil4BvhXQ14BTkuIHZucueqTxNmmVSwxfFiqs+j1nrm3Glvsln5V7GtBMJHTWw78BzLHEDZmbManJ1RKpychb/ngxrg41JmJAfDPfLteLFiSFGwIgjYB6TA/veCUYn9aeHb8uaG6ox5MS0Tm/v9FrRkdXV+8bqZjBI\u003d”,“seq”:“1531”,“iv”:“NTE2OTE1MTA1MDY5MjQ2MA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c40737”}
2021-02-10 00:11:58.476 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-51}
2021-02-10 00:11:58.481 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c40737”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912318432”,“params”:{“uiActive”:60,“partnerApikey”:“d8d22598-1aca-504b-9920-52095ec0bf74”},“tempRec”:“1000c40737”}
2021-02-10 00:11:58.487 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c40737”}
2021-02-10 00:12:20.115 [DEBUG] [noff.internal.handler.AccountHandler] - Sonoff Connection Check Running
2021-02-10 00:12:21.309 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:12:21.332 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:12:21.338 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:12:38.809 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912358809,“params”:"{“uiActive”:60}"}
2021-02-10 00:12:38.902 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:12:39.200 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“J006TMBKMrYmP6AbbUAmqhrB0wMAcWqsMeYjd1i9gYn0BuCQBsizsowW3UW8WsMRBKZ9XizLCvNy3UVNGcAEpyVjXa6aAAVVwhcPrA6lmOEpi8BnGo/2QK6coFRAsYKQRNuzEU3mcSfbyf9ErJYEFyqDkv61xCYbodCwO70uJ+M\u003d”,“seq”:“1541”,“iv”:“MTAwMTU0OTYyMTQyOTI1OQ\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:12:39.205 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:12:39.219 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912358848”,“params”:{“uiActive”:60,“partnerApikey”:“0a636d55-535c-5e85-9ae9-d2689fb840da”},“tempRec”:“1000c542ef”}
2021-02-10 00:12:39.243 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912359243,“params”:"{“uiActive”:60}"}
2021-02-10 00:12:39.342 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:12:39.634 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912359289”,“params”:{“uiActive”:60,“partnerApikey”:“1781834f-af2a-4cb9-a8ff-d92ec285c898”},“tempRec”:“100066fd2c”}
2021-02-10 00:12:39.882 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912359881,“params”:"{“uiActive”:60}"}
2021-02-10 00:12:39.951 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“nl5kJ+HzHoURRf++sBKsTUFCgJ3Hd4GbJUWKqlxBrdkCW1zOJR7LnwU2KQ/QaZnCnZwcTTXRqRSY3XAlZ9V7Ho7MKJNAQ73zJ+kC9he5yXn1p1Hgv1RuGmkYRXf4nckVEB9VNIjJj/ajmTUEfy6VlHvLE+vl3OZirEvpkQO4oMY\u003d”,“seq”:“1597”,“iv”:“Mzk1MjMyMDkyMjc5MTgxMQ\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:12:39.955 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:12:39.969 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912359914”,“params”:{“uiActive”:60,“partnerApikey”:“0f499034-e1e5-56bb-8915-0384491601a6”},“tempRec”:“1000c4fca7”}
2021-02-10 00:12:39.981 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:12:40.544 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912360543,“params”:"{“uiActive”:60}"}
2021-02-10 00:12:40.658 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”}
2021-02-10 00:12:40.722 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“EcX8z20CNp9fpKWYjety1ARPQ1ceEtZjyvPaBMCea50lpLNdqpGSgEv5GWH6ISDUJ9BfeyaaieifQRZVL8Vn5U5oz5AJMMaUySwaaumf7QiIk2425vpmktvAHrJ0vk111cVu0ry2CjII8PWQ0j7xQQJm6btslK7gMo+TYBJZGolW9lxJzvL1rjWo9DTVabK1”,“seq”:“1544”,“iv”:“NzUxMDQ0MTI2MzQ4Mzg3Mg\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:12:40.727 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:12:40.739 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912360585”,“params”:{“uiActive”:60,“partnerApikey”:“0e13ccb0-bb6f-555f-bcf1-901cedd1b9db”},“tempRec”:“100066fbf8”}
2021-02-10 00:12:51.317 [DEBUG] [onoff.internal.connections.Websocket] - Ping Sent
2021-02-10 00:12:51.340 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: pong
2021-02-10 00:12:51.343 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:12:55.779 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000af4fc4”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912375779,“params”:"{“uiActive”:60}"}
2021-02-10 00:12:55.865 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000af4fc4”}
2021-02-10 00:12:55.913 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000af4fc4”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912375812”,“params”:{“uiActive”:60,“partnerApikey”:“de03f4a9-549b-58da-90e1-ee686e507fd5”},“tempRec”:“1000af4fc4”}
2021-02-10 00:12:58.506 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c40737”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912378505,“params”:"{“uiActive”:60}"}
2021-02-10 00:12:58.570 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“92lSpwAJsN0s3tzd5SyYmrQL9yZztUPxrgKKArEdLKlXl/ToDTCocz1olZs2j0weT+/aaz68OQQFp3phd1uEUKhSdIlJ2i1sgoxiOnMa++BynQ1nlQpIG//b/1qWljxxf0T5QJ6yFOdRw88op+eaeVGxQC4UFUyFYfnRWj8D2Ls\u003d”,“seq”:“1532”,“iv”:“ODEwMjc2NDM3ODE3NDI3Mw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c40737”}
2021-02-10 00:12:58.574 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-51}
2021-02-10 00:12:58.588 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c40737”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912378539”,“params”:{“uiActive”:60,“partnerApikey”:“3dcc418d-544e-41ca-96ab-6a5e94d65089”},“tempRec”:“1000c40737”}
2021-02-10 00:12:58.611 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c40737”}
2021-02-10 00:13:38.905 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912418905,“params”:"{“uiActive”:60}"}
2021-02-10 00:13:39.029 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:13:39.119 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“4vsKqbTeu+eI3e88QJRyAdsKj8aMyA0Hlho8gM33vm9v5a1k29IF2NQhmZuscqet4DcbyFBP6dUukGf1ayeVaSaGcrs7IWQl1950bQZmhQGlIA15u4jNFCsvQrCtX6n0zMJ/yQh+Mod+dxfrGoOZPmandzfjIXZJP39Wmmat9ME\u003d”,“seq”:“1542”,“iv”:“MTE3MDgwNjM3MzY1NTYxNw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:13:39.124 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:13:39.141 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912418955”,“params”:{“uiActive”:60,“partnerApikey”:“f42f31a1-2edc-5c70-b76d-b146db2b57d4”},“tempRec”:“1000c542ef”}
2021-02-10 00:13:39.345 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912419344,“params”:"{“uiActive”:60}"}
2021-02-10 00:13:39.444 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912419395”,“params”:{“uiActive”:60,“partnerApikey”:“0f499034-e1e5-56bb-8915-0384491601a6”},“tempRec”:“100066fd2c”}
2021-02-10 00:13:39.479 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:13:39.984 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912419983,“params”:"{“uiActive”:60}"}
2021-02-10 00:13:40.080 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:13:40.146 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“8/jzCTrZqbvtqGQCyGFj4Y1ZWKSajE7EUyEmVVXdzq95uB74G8xb3/xfTJjJ5QwJeMgE+bCqM1f5kjuiqsTzN+mjKE8aWcYl5BkgNc/oy8NRc7HfH+mziFXioFgyQmBxcOJHzUuKOMPcf8i7Si+C5ZqA+5WQEKyqrgSPSscavJ0\u003d”,“seq”:“1598”,“iv”:“NTUxMTk5MDQ2NzE5Nzg4OA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:13:40.151 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:13:40.166 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912420014”,“params”:{“uiActive”:60,“partnerApikey”:“de03f4a9-549b-58da-90e1-ee686e507fd5”},“tempRec”:“1000c4fca7”}
2021-02-10 00:13:40.661 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912420660,“params”:"{“uiActive”:60}"}
2021-02-10 00:13:40.743 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:"+jvLOskcWsf7P2ljWWyHeX4N8+5u7fmygiAs73Jn1KAR/XIhq4/EpKOtcN0y4iaTZNJYikON7F+2Xxb7KkHjwSlEzs0FGl82YeyEWCbJ/B5bn3AwpyTN2vYNo8Mo1HnMzlER2wVAxcpoRPFV5xtkF7ysOazE2+Aqad/tMxBDPfCF8FIQfVckjbL4VLKUsLqx",“seq”:“1545”,“iv”:“OTA4MTI4NDcwNzI1Nzg3OA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:13:40.749 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:13:40.762 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912420710”,“params”:{“uiActive”:60,“partnerApikey”:“812dd158-5c35-5fc8-bea9-45e58d4f0ce8”},“tempRec”:“100066fbf8”}
2021-02-10 00:13:40.782 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”}
2021-02-10 00:13:55.868 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000af4fc4”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912435867,“params”:"{“uiActive”:60}"}
2021-02-10 00:13:55.982 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000af4fc4”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912435931”,“params”:{“uiActive”:60,“partnerApikey”:“4bd90c52-4603-4f13-a3d4-7fba161a1014”},“tempRec”:“1000af4fc4”}
2021-02-10 00:13:55.996 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000af4fc4”}
2021-02-10 00:13:58.615 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c40737”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912438614,“params”:"{“uiActive”:60}"}
2021-02-10 00:13:58.748 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:"/qoOqsgY6wq2hcbQy+WH7y35YrZBHMJKB1+P0hPgNNC4yKu8RW/EHywMsle1etsL/VPgfbcCKk7V3jr5dIUK1c4Z0JhmzhKT/+g7tmpnlXWNz5H0S7krZNLKlU1jxa7rw8JIuHhpuxDMtOirqPOQaGW8HE4SINBBN7YXvp+A5PY\u003d",“seq”:“1533”,“iv”:“ODI3Mjg1MzM5MzEyODE1NA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c40737”}
2021-02-10 00:13:58.753 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-51}
2021-02-10 00:13:58.773 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c40737”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912438702”,“params”:{“uiActive”:60,“partnerApikey”:“fced2085-5ac5-47a8-8729-a3f5a8251471”},“tempRec”:“1000c40737”}
2021-02-10 00:13:58.784 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c40737”}
2021-02-10 00:14:21.359 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Received Pong Response
2021-02-10 00:14:39.033 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c542ef”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912479032,“params”:"{“uiActive”:60}"}
2021-02-10 00:14:39.186 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c542ef”}
2021-02-10 00:14:39.218 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“NvTxyV40HFN1slxwfoXMdBoay4TZ56W2aQ3K3QOK2+9MlTMFlZn6CkCbGNToTIpfcfnmrtC0zBiBow5Lx5rKMrXjYJuMVnAWDP01164DrKVrb7fqaYoSh9WUTRRfKZbr6tanAE08+B6fdRxoJbEpn7+SAhH0eQOAwiTKPrMkzcg\u003d”,“seq”:“1543”,“iv”:“MDg5MTc3MjU1ODA1NTA5MA\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c542ef”}
2021-02-10 00:14:39.222 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-68}
2021-02-10 00:14:39.240 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c542ef”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912479113”,“params”:{“uiActive”:60,“partnerApikey”:“1612867a-b05f-4ed6-9230-9cf3a226aa55”},“tempRec”:“1000c542ef”}
2021-02-10 00:14:39.483 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fd2c”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912479482,“params”:"{“uiActive”:60}"}
2021-02-10 00:14:39.570 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fd2c”}
2021-02-10 00:14:40.083 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“1000c4fca7”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912480082,“params”:"{“uiActive”:60}"}
2021-02-10 00:14:40.163 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“sMjT1ebI4hY0E+++s0GXcT/AOEh6rjoLsmPZApLNMhOUOgbbbg7Xa66tmd+JETC6/cxb530Q+lm+/HvrYoJnUuMbm4PIWOyxQsYZWaDs3KFHhY/D7DlGNm9wJRY2eSZ+6Mqo7A5WFCE48VnX1LXrh8N/yUqmen7p8k9O/97xSqY\u003d”,“seq”:“1599”,“iv”:“ODEwMzQ4ODg1OTE3OTk1OQ\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“1000c4fca7”}
2021-02-10 00:14:40.166 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“fwVersion”:“3.5.0”,“pulseWidth”:500,“rssi”:-94}
2021-02-10 00:14:40.182 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“1000c4fca7”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912480124”,“params”:{“uiActive”:60,“partnerApikey”:“d8d22598-1aca-504b-9920-52095ec0bf74”},“tempRec”:“1000c4fca7”}
2021-02-10 00:14:40.198 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“1000c4fca7”}
2021-02-10 00:14:40.477 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fd2c”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912479516”,“params”:{“uiActive”:60,“partnerApikey”:“675ad915-3637-5815-bc60-2880d656be38”},“tempRec”:“100066fd2c”}
2021-02-10 00:14:40.789 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Request:{“deviceid”:“100066fbf8”,“version”:8,“appid”:“oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq”,“ts”:1612912480788,“params”:"{“uiActive”:60}"}
2021-02-10 00:14:40.864 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{“data1”:“zLHgWX2+1YBXRNsO9bs3MY9VSNid8ku7RNTN038fqO7Syf88zoLDvNj5S2s3fmMyq9++eS5aRUpGDW85MbbHSbkwOpI1HXcx9dr4qPGvZ85ZhSRihroWtM3/gElkTnTAk49XGDVYC794hESu016TImdTw55XlXJCCGCohftz+dU6MkM59OP+cZ8IgmItsAIY”,“seq”:“1546”,“iv”:“Mzg0NzIyNDI3OTA0NjkwNw\u003d\u003d”,“apivers”:“1”,“type”:“plug”,“txtvers”:“1”,“encrypt”:“true”,“id”:“100066fbf8”}
2021-02-10 00:14:40.868 [DEBUG] [onoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{“switch”:“off”,“startup”:“off”,“pulse”:“off”,“sledOnline”:“on”,“pulseWidth”:500,“rssi”:-58,“ssid”:“Stargate”,“bssid”:“78:d2:94:17:b0:ca”}
2021-02-10 00:14:40.882 [DEBUG] [onoff.internal.connections.Websocket] - Websocket Response: {“action”:“update”,“deviceid”:“100066fbf8”,“apikey”:“ada4c34e-7858-47c3-beb9-7d83903b67f9”,“userAgent”:“app”,“sequence”:“1612912480831”,“params”:{“uiActive”:60,“partnerApikey”:“86e80238-a2f5-57e5-b4f3-1c7c3d845da7”},“tempRec”:“100066fbf8”}
2021-02-10 00:14:40.886 [DEBUG] [ding.sonoff.internal.connections.Api] - Api Set Status Response :{“error”:0,“deviceid”:“100066fbf8”} 

I believe someone is already using one of these with the binding.
Could you send me the discovery response from the log so i can look into your issue with the error above

I still need the part of the log when the binding loads or when you run discovery - its headed up Discovery response in the log file and will be followed by a json string.

Should have a new version released today. @candiesdoodle this will fix your local only issue too.

1 Like

well actually I only have problems with “T1 1C” now, found out that TX2C had to have switch0/switch1 specified in order to work (on/off). “T1 1C” though, gets found but has no responds to on/off.

send me the discovery response from the log and ill get sorted in the release i’m near to publishing.

So remove it debug log and paste the log from when it finds it again ? Or is there a smarter way to do it ?

there will be a smarter way to do it in the new release, but for now yes when you add the binding when its starting it will post a Discovery response into the log. Hash out the username and password and send me this (in code fences).

actually i get this now:

2021-02-16 13:07:50.799 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.sonoff.internal.handler.SwitchHandler@3169f9': null

java.lang.NullPointerException: null

	at org.openhab.binding.sonoff.internal.handler.SwitchHandler.sendUpdate(SwitchHandler.java:173) ~[?:?]

	at org.openhab.binding.sonoff.internal.handler.SwitchHandler.handleCommand(SwitchHandler.java:210) ~[?:?]

	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]

	at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]

	at org.openhab.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [bundleFile:?]

	at com.sun.proxy.$Proxy830.handleCommand(Unknown Source) [?:?]

	at org.openhab.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:80) [bundleFile:?]

	at org.openhab.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:48) [bundleFile:?]

	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]

	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]

	at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]

	at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]

	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

	at java.lang.Thread.run(Thread.java:834) [?:?]


just send me the discovery response. this is all I need to find most problems.

hey @delid4ve

hows it going
Any progress on the new one :blush:

Getting there…
Was hoping to be ready a few days ago but work/family stopped me having time.
Fingers crossed tonight/tomorrow.

2 Likes

Hi Dave! Thanks for all! Here is my log. (192.168.1.194 OpenHAB Ip Adress; 192.168.1.106 SonOff 1ch relay 5V Ip Address)

21:39:42.485 [DEBUG] [binding.sonoff.internal.MainDiscovery] - Deactivate Background discovery
21:39:42.537 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:6:b054d6ec:10004e8b66' changed from OFFLINE (CONFIGURATION_ERROR): Device ID Doesnt Exist, please check your configuration to UNINITIALIZED
21:39:42.575 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Running dispose()
21:39:42.601 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:6:b054d6ec:10004e8b66' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
21:39:42.609 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:1:b054d6ec:1000371785' changed from OFFLINE (CONFIGURATION_ERROR): Device ID Doesnt Exist, please check your configuration to UNINITIALIZED
21:39:42.626 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Running dispose()
21:39:42.636 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:1:b054d6ec:1000371785' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
21:39:42.640 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:account:b054d6ec' changed from OFFLINE (CONFIGURATION_ERROR): api has thrown an error and is offline, binding will atempt to restart to UNINITIALIZED
21:39:42.650 [DEBUG] [onoff.internal.handler.AccountHandler] - Sonoff - Running dispose()
21:39:42.653 [DEBUG] [nding.sonoff.internal.connections.Lan] - Sonoff - Stopping LAN connection
21:39:42.673 [DEBUG] [binding.sonoff.internal.MainDiscovery] - Deactivate Background discovery
21:39:42.688 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:account:b054d6ec' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
21:39:51.092 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-yahooweather, openhab-action-mail, openhab-misc-restdocs'
21:40:51.775 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-yahooweather, openhab-action-mail, openhab-misc-restdocs'
21:41:53.256 [DEBUG] [binding.sonoff.internal.MainDiscovery] - Activate Background Discovery
21:41:53.264 [DEBUG] [binding.sonoff.internal.MainDiscovery] - Start Background Discovery
21:41:53.273 [DEBUG] [binding.sonoff.internal.MainDiscovery] - Sonoff - Start Discovery
21:41:53.505 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:6:b054d6ec:10004e8b66' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)
21:41:53.517 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:1:b054d6ec:1000371785' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)
21:41:53.544 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:account:b054d6ec' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
21:41:53.566 [DEBUG] [onoff.internal.handler.AccountHandler] - Starting Api
21:41:53.598 [DEBUG] [onoff.internal.handler.AccountHandler] - Starting mDNS Client
21:41:53.624 [DEBUG] [onoff.internal.handler.AccountHandler] - Sonoff Connection Check Running
21:41:53.637 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Region Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"sB6ROekr","ts":1613853713634,"version":8,"country_code":"+34"}
21:41:54.700 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Region Response:{"requestid":"1613853713634-sB6ROekr","region":"eu","error":0}
21:41:54.715 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Login Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","ts":1613853714712,"version":8,"nonce":"rva2n1VP","email":"user_email@gmail.com","password":"password_user"}
21:41:55.289 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-yahooweather, openhab-action-mail, openhab-misc-restdocs'
21:41:56.961 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Login Response:{"at":"5b52ed8f34c1d0b602dd907495113f15e44fb657","rt":"81272c56fea9f8c700d2534920017d74b71ea5a3","user":{"clientInfo":{"model":"SM-G975F_exynos9820","os":"Android","imei":"aba41109604c927d","romVersion":"11","appVersion":"4.9.2"},"_id":"5b6e09ecefbd33864b129585","email":"email@gmail.com","password":"encripted_pass","appId":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","createdAt":"2018-08-10T21:55:56.469Z","apikey":"03b71376-e8c9-4400-99fa-11d3dbdd349c","__v":0,"lang":"en","online":false,"onlineTime":"2021-02-19T12:45:52.027Z","ip":"47.60.46.88","location":"","offlineTime":"2021-02-19T12:47:03.147Z","userStatus":"2","bindInfos":{"gaction":["ewelink-google-home-v1","ewelinkGoogleHome"],"miot":["ewelink-miot-v1"],"alexa":["26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]},"appInfos":[{"os":"android","appVersion":"4.9.2"}],"countryCode":"+34","currentFamilyId":"5edad45990b5320007b431b4","language":"es","extraPush":{"Uw83EKZFxdif7XFXEsrpduz5YyjP7nTl":{"type":"fcm","info":{"token":"fcKXkA50nH0:APA91bFEspIIChmQW-H1wAtwF0YYurpM9XnawvOidHjqiXU16yGcrnWGzfIvJ48aXTSdMikUtFWBt4nhwPJGlRqi5EQUcMI_hClCyJ1Y_FnT7hR9l0bM5ZapDSB6NMo_HMululnFJq_9"}}},"extra":{"ipCountry":"ES"}},"region":"eu"}
21:41:57.020 [DEBUG] [onoff.internal.handler.AccountHandler] - Performing Initial Discovery
21:41:57.029 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery Request:ChangeThatLimitURLeu-api.coolkit.cc:8080/api/user/device?lang=en&appid=oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq&ts=1613853717029&version=8&getTags=1
21:41:57.035 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery Request:5b52ed8f34c1d0b602dd907495113f15e44fb657
21:41:57.515 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery response:{"error":0,"devicelist":[{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1},"family":{"id":"5edad45990b5320007b431b4","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"5b6e0ad3efbd33864b12958c","name":"Lámpara Grande","type":"10","deviceid":"1000371785","apikey":"03b71376-e8c9-4400-99fa-11d3dbdd349c","extra":{"extra":{"description":"WWJG001258","brandId":"5611402280a0e2630f7b102d","apmac":"d0:27:00:6e:2c:5b","mac":"d0:27:00:6e:2c:5a","ui":"单通道插座","modelInfo":"56567f2493991b740423d34e","model":"PSA-B01-GL","manufacturer":"深圳创易智能系统有限公司","uiid":1,"staMac":"BC:DD:C2:80:33:1A","chipid":"0080331A"},"_id":"5a683926779c9e0a63ea563b"},"createdAt":"2018-08-10T21:59:47.355Z","__v":0,"onlineTime":"2021-02-17T12:04:07.712Z","ip":"88.12.5.30","location":"","params":{"pulseWidth":500,"pulse":"off","init":1,"sledOnline":"on","version":8,"bindInfos":{"miot":["03b71376-e8c9-4400-99fa-11d3dbdd349c_ewelink-miot-v1"],"gaction":["03b71376-e8c9-4400-99fa-11d3dbdd349c_ewelink-google-home-v1","03b71376-e8c9-4400-99fa-11d3dbdd349c_ewelinkGoogleHome"],"alexa":["03b71376-e8c9-4400-99fa-11d3dbdd349c_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]},"timers":[],"rssi":-68,"staMac":"BC:DD:C2:80:33:1A","startup":"stay","fwVersion":"3.3.0","switch":"on","uiActive":60},"deviceStatus":"","offlineTime":"2021-02-17T12:01:27.095Z","tags":{"disable_timers":[{"enabled":1,"coolkit_timer_type":"repeat","at":"30 19 * * 1,2,3,4,5,6,0","type":"repeat","do":{"switch":"on"},"mId":"774761e5-aba6-c882-d28f-fb5090337240"},{"mId":"f56f314b-9992-a69b-608e-8c8c5ce3b366","do":{"switch":"off"},"type":"repeat","at":"30 22 * * 1,2,3,4,5,6,0","coolkit_timer_type":"repeat","enabled":1}],"m_349c_vict":"on"},"sharedTo":[],"devicekey":"21a44ae0-6537-4cce-999d-ca850e620333","deviceUrl":"","brandName":"Maker","showBrand":true,"brandLogoUrl":"","productModel":"S20","devConfig":{},"uiid":1},{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1},"family":{"id":"5edad45990b5320007b431b4","index":1},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"5c2ea6ed295ac5f22d6b030a","name":"Puerta del garage","type":"10","deviceid":"10004e8b66","apikey":"03b71376-e8c9-4400-99fa-11d3dbdd349c","extra":{"extra":{"uiid":6,"description":"20180709001","brandId":"5735f5f906d9751d4f109629","apmac":"d0:27:00:9d:14:1d","mac":"d0:27:00:9d:14:1c","ui":"单通道开关","modelInfo":"589833ac2f979b623e2f503f","model":"PSF-B01-GL","manufacturer":"郑州市中原区汇诚电子材料经营部","staMac":"60:01:94:AE:4A:34","chipid":"00AE4A34"},"_id":"5b4748aa1844edfc4ec96354"},"createdAt":"2019-01-04T00:21:01.997Z","__v":0,"onlineTime":"2021-02-19T15:04:37.885Z","ip":"88.12.5.30","location":"","params":{"switch":"off","fwVersion":"3.5.0","startup":"stay","staMac":"60:01:94:AE:4A:34","rssi":-78,"bindInfos":{"gaction":["03b71376-e8c9-4400-99fa-11d3dbdd349c_ewelink-google-home-v1","03b71376-e8c9-4400-99fa-11d3dbdd349c_ewelinkGoogleHome"],"miot":["03b71376-e8c9-4400-99fa-11d3dbdd349c_ewelink-miot-v1"],"alexa":["03b71376-e8c9-4400-99fa-11d3dbdd349c_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]},"version":8,"sledOnline":"on","init":1,"pulse":"off","pulseWidth":1000,"only_device":{"ota":"success"},"ssid":"Wifi_User","bssid":"78:8a:20:54:29:6e","uiActive":60},"offlineTime":"2021-02-17T12:01:34.324Z","deviceStatus":"","tags":{"m_349c_vict":"on"},"sharedTo":[],"devicekey":"da60af12-8318-441e-bfe9-b15e4b92cb03","deviceUrl":"","brandName":"New Smart ","showBrand":true,"brandLogoUrl":"","productModel":"G1","devConfig":{},"uiid":6}]}
21:41:57.648 [DEBUG] [onoff.internal.handler.AccountHandler] - Initialising Local Connection
21:41:57.689 [DEBUG] [onoff.internal.handler.AccountHandler] - Local Mode Connected
21:41:57.699 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:account:b054d6ec' changed from INITIALIZING to ONLINE
21:41:57.740 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:1:b054d6ec:1000371785' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
21:41:57.751 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:6:b054d6ec:10004e8b66' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
21:41:57.797 [DEBUG] [sonoff.internal.handler.SwitchHandler] - initializeBridge ONLINE for thing sonoff:6:b054d6ec:10004e8b66
21:41:57.799 [DEBUG] [sonoff.internal.handler.SwitchHandler] - initializeBridge ONLINE for thing sonoff:1:b054d6ec:1000371785
21:41:57.815 [DEBUG] [onoff.internal.handler.AccountHandler] - Device Listener Added for deviceId: 10004e8b66
21:41:57.825 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:6:b054d6ec:10004e8b66' changed from INITIALIZING to ONLINE
21:41:57.834 [DEBUG] [onoff.internal.handler.AccountHandler] - Device Listener Added for deviceId: 1000371785
21:41:57.834 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'sonoff:1:b054d6ec:1000371785' has been updated.
21:41:57.847 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'sonoff:1:b054d6ec:1000371785' changed from INITIALIZING to ONLINE
21:41:58.150 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{"data1":"RFxxZQhLjtpCu1BnDrifBiEB6cbQGcBjN6kRZcMhos/cxrBT1lnisc8eTplu9w71/S8WdmOeEiZGxJaLCs8TYEYafNuWbVWvcQDI37Z2FEPJRUtU1F0kNxKFuwpNx3ZlR0Pl3HeAbEOMdqKrTzpGuni8GVwY6ojV0VC2u4KF3ARk+vgQr6eLH/JJBjC5crpEW2Ookb2AjFf7NdkDwKNxgQ\u003d\u003d","seq":"71","iv":"NzcyMjMyNTc2NjM5NDYyOA\u003d\u003d","apivers":"1","type":"plug","txtvers":"1","encrypt":"true","id":"10004e8b66"}
21:41:58.171 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{"switch":"off","startup":"stay","pulse":"off","sledOnline":"on","pulseWidth":1000,"rssi":-78,"ssid":"Wifi_User","bssid":"78:8a:20:54:29:6e"}
21:41:58.334 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{"data1":"3CXzTPMpj0/X7OPwnLTS8NfJ9x9O+2blamufqU/9K7HeVDDepToI2PfSQ1PXz2E1HF5TnZo74QmTgu5l46Ho6Ht6FEqaHsL+I2nmZ+pB2O+pOALdX+EvbB0R1ITC9IO5","seq":"10","iv":"MTc3MTM4NzA2OTUyNTI1MQ\u003d\u003d","apivers":"1","type":"plug","txtvers":"1","encrypt":"true","id":"1000371785"}
21:41:58.349 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{"switch":"on","startup":"stay","pulse":"off","sledOnline":"on","pulseWidth":500,"rssi":-68}
21:41:58.370 [INFO ] [smarthome.event.ItemStateChangedEvent] - LMparaGrande_Switch changed from NULL to ON
21:42:07.840 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Request:{"deviceid":"10004e8b66","version":8,"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","ts":1613853727836,"params":"{\"uiActive\":60}"}
21:42:07.842 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Request:{"deviceid":"1000371785","version":8,"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","ts":1613853727841,"params":"{\"uiActive\":60}"}
21:42:08.303 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Response :{"error":0,"deviceid":"1000371785"}
21:42:08.440 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Response :{"error":0,"deviceid":"10004e8b66"}
21:42:08.455 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{"data1":"FAFFU8DO3KnFD6tghtTTMg9z3d3y2gZap/AdllCUQ6Tx1NJ1C7jfUWpKXHGMc1VUy8wy7N9LEZ8XwAMMfSolzMnADlnUO8V6Vpw/UJ2uLCp99qobRabgy0ai5Zz9b/7p","seq":"11","iv":"NTg3MzQzMDEzNjc0ODk2OA\u003d\u003d","apivers":"1","type":"plug","txtvers":"1","encrypt":"true","id":"1000371785"}
21:42:08.469 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{"switch":"on","startup":"stay","pulse":"off","sledOnline":"on","pulseWidth":500,"rssi":-68}
21:42:08.486 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{"data1":"V46OOpkPi6fOjfDTkoQEAFPpVX3P5oB6S2OCu873/lnhrGpRVHiXEgwJx7d3g5kEXdLHUzjMEGgmlt/VUtUd2JJ3VJoX4h7GbK2PTm1c1yNEbO84HuVDGeL9FUvf9l+fWbcII0TeU3kqZE65j6YIfXrcuIk+BF+5X4J39xXy/lVI6eACZcpNHMw9/BJc5VZLMXe5x5Wz3LH+ZQ6NHKmlNQ\u003d\u003d","seq":"72","iv":"MDQxNTkxNDg2ODEzMjk5Nw\u003d\u003d","apivers":"1","type":"plug","txtvers":"1","encrypt":"true","id":"10004e8b66"}
21:42:08.508 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{"switch":"off","startup":"stay","pulse":"off","sledOnline":"on","pulseWidth":1000,"rssi":-78,"ssid":"Wifi_User","bssid":"78:8a:20:54:29:6e"}
21:42:53.294 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-yahooweather, openhab-action-mail, openhab-misc-restdocs'
21:42:57.701 [DEBUG] [onoff.internal.handler.AccountHandler] - Sonoff Connection Check Running
21:43:08.308 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Request:{"deviceid":"1000371785","version":8,"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","ts":1613853788308,"params":"{\"uiActive\":60}"}
21:43:08.454 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Request:{"deviceid":"10004e8b66","version":8,"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","ts":1613853788454,"params":"{\"uiActive\":60}"}
21:43:08.483 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Response :{"error":0,"deviceid":"1000371785"}
21:43:08.566 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{"data1":"q6wevuadPjfvjHWMBNnMPAVtgF1GKjKDCsFVk5dl9B3bKyib5IULEzVNEQYOVxp8yBuxaci9D3Qy8m72wjo/DxFDaHbIk/zbteC3q9x5gB/jQ09NTRKDAoS3xE0ZHwIA","seq":"12","iv":"NzkxNzEyNjU0MTIwMjQ2Mw\u003d\u003d","apivers":"1","type":"plug","txtvers":"1","encrypt":"true","id":"1000371785"}
21:43:08.577 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{"switch":"on","startup":"stay","pulse":"off","sledOnline":"on","pulseWidth":500,"rssi":-68}
21:43:08.596 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Encrypted Message:{"data1":"OzWVINRfk1kInqcQf+ll0SSPFub0YXwuKIRM3THpQm2BNVZDgM8DNZvkUH5RWuaDNx1Jqd7mlzO8pm+KLBDKWCC6Dgi1yX+/9hRcrl9RR18VlLMZ2K0UgKCL6zL8w3SOXqL3OdkeeC9gtiG8hpL9Yd5tJyxVoz1g8Z+HKYH9ddMwvyBInmRQz4rEQoGOKls+zbEHkYbNXbNARwx+rQZg0A\u003d\u003d","seq":"73","iv":"MzU0MTAxNDczMTk4NTA1Ng\u003d\u003d","apivers":"1","type":"plug","txtvers":"1","encrypt":"true","id":"10004e8b66"}
21:43:08.622 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Set Status Response :{"error":0,"deviceid":"10004e8b66"}
21:43:08.622 [DEBUG] [sonoff.internal.handler.SwitchHandler] - Sonoff - Lan Decrypted Message:{"switch":"off","startup":"stay","pulse":"off","sledOnline":"on","pulseWidth":1000,"rssi":-78,"ssid":"Wifi_User","bssid":"78:8a:20:54:29:6e"}
21:43:31.518 [DEBUG] [binding.sonoff.internal.MainDiscovery] - Sonoff - Start Discovery
21:43:31.529 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery Request:ChangeThatLimitURLeu-api.coolkit.cc:8080/api/user/device?lang=en&appid=oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq&ts=1613853811529&version=8&getTags=1
21:43:31.542 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery Request:5b52ed8f34c1d0b602dd907495113f15e44fb657
21:43:31.849 [DEBUG] [nding.sonoff.internal.connections.Api] - Api Discovery

I’ll have a look tomorrow as should have some time to push the latest version out. I did already implement a fix for this as I found it a couple of days ago so will work in the new version :+1:

Sorry for the delay guys, had a few bits going on so haven’t had much time to finish bug testing. Got a couple of hours left to do and will be ready, 12pm gmt tomorrow at the latest as got some spare time in the morning :+1:

1 Like

Please read the readme and below as there are a lot of breaking changes in this version.
Please report any bugs to me as i only have limited devices for testing.
If you have any issues please try clearing the cache if you are moving from an old version

New Version 2.0

  • Changed to v2 of Ewelink Api
  • Added message queue across connections with ‘no response’ warnings
  • Added further devices (UIIDs 24,27,29,30,31,81,82,83,84,107)
  • Various Bug fixes
  • Added local polling when in local only mode and device not in LAN Development mode
  • Changed consumption polling to device specific polling for POW/POWR2 devices
  • Added Zigbee Bridge and Motion Sensor, other sensors in progress

Breaking Changes
You now need to initialize your devices (create cache files) when adding the binding for the first time or when adding new devices to your ewelink account. This is to allow full offline access and to simplify the support of new devices as I just need the file created to add them.

  • deviceId (things) and id (sub things for bridges) changed to deviceid for all devices to simplify
  • cloudOnline channel added
  • localOnline channel added
  • OfflineTime channel removed as depreciated in api v2
  • OnlineTime channel removed as depreciated in apiv2
  • Added Network indicator switch channel
  • Added internal/external channels for RF remotes so user can tell from where it was activated
3 Likes