Device connected to ewelink account, i can see and sync it in smart-home addon.
BUT!!! Only Brightness and Color Temp is working in iHost! I cant turn it on or off, “Failed to control” appears EVERY time… What a mess…
Can you provide the eWeLink device id of your device and log of smart-home add-on?
We’ll pinpoint it ASAP.
2025-04-02T10:28:23 }
2025-04-02T10:28:24 e[32m[2025-04-02T07:28:24.288] [INFO] out - e[39msync websocket device state------ {
2025-04-02T10:28:24 "rssi": {
2025-04-02T10:28:24 "rssi": -57
2025-04-02T10:28:24 },
2025-04-02T10:28:24 "percentage": {
2025-04-02T10:28:24 "percentage": 0
2025-04-02T10:28:24 },
2025-04-02T10:28:24 "motor-control": {
2025-04-02T10:28:24 "motorControl": "open"
2025-04-02T10:28:24 },
2025-04-02T10:28:24 "motor-clb": {
2025-04-02T10:28:24 "motorClb": "normal"
2025-04-02T10:28:24 }
2025-04-02T10:28:24 }
2025-04-02T10:28:24 e[32m[2025-04-02T07:28:24.586] [INFO] out - e[39msync websocket device state------ {
2025-04-02T10:28:24 "rssi": {
2025-04-02T10:28:24 "rssi": -53
2025-04-02T10:28:24 },
2025-04-02T10:28:24 "percentage": {
2025-04-02T10:28:24 "percentage": 0
2025-04-02T10:28:24 },
2025-04-02T10:28:24 "motor-control": {
2025-04-02T10:28:24 "motorControl": "open"
2025-04-02T10:28:24 },
2025-04-02T10:28:24 "motor-clb": {
2025-04-02T10:28:24 "motorClb": "normal"
2025-04-02T10:28:24 }
2025-04-02T10:28:24 }
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.458] [INFO] out - e[39msync websocket device state------ {
2025-04-02T10:28:25 "power": {
2025-04-02T10:28:25 "powerState": "off"
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "brightness": {
2025-04-02T10:28:25 "brightness": 100
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "color-temperature": {
2025-04-02T10:28:25 "colorTemperature": 20
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "color-rgb": {
2025-04-02T10:28:25 "red": 62,
2025-04-02T10:28:25 "green": 255,
2025-04-02T10:28:25 "blue": 0
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "mode": {
2025-04-02T10:28:25 "lightMode": {
2025-04-02T10:28:25 "modeValue": "color"
2025-04-02T10:28:25 }
2025-04-02T10:28:25 }
2025-04-02T10:28:25 }
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.597] [INFO] out - e[39m==================request info begin===================
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.598] [INFO] out - e[39mincoming request info: POST /api/v1/device/10020ea762
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.598] [INFO] out - e[39mincoming request body: {"directive":{"header":{"name":"UpdateDeviceStates","message_id":"a7fb37ca-98c3-42db-84e1-19b1ae2271d8","version":"2"},"endpoint":{"serial_number":"3e87a946-fd29-4af6-9cdb-d81864bb7d15","third_serial_number":"10020ea762","tags":{"deviceInfo":"eyJkZXZpY2VJZCI6IjEwMDIwZWE3NjIiLCJkZXZpY2VrZXkiOiI1YTMyOTAzNC1lNDA5LTRkMjEtODY0YS01YjllZmE5NGEyOTYiLCJzZWxmQXBpa2V5IjoiZGZjYTUyZWEtNzUzNi00MjAxLTk0ODMtMTc5MDg3M2ZkYWVkIiwidWlpZCI6MTM1LCJhY2NvdW50IjoidmlwZXIuZ2VudG9vQGdtYWlsLmNvbSIsInNlcnZpY2VfYWRkcmVzcyI6Imh0dHA6Ly9paG9zdDo4MzIxL2FwaS92MS9kZXZpY2UvMTAwMjBlYTc2MiJ9","version":"2.5.2","_smartHomeConfig":{}}},"payload":{"state":{"brightness":{"brightness":55}}}}}
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.601] [INFO] out - e[39mcomeTime ------- 10020ea762 1743578905601
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.609] [INFO] out - e[39mcontrol state ---- {
2025-04-02T10:28:25 "brightness": {
2025-04-02T10:28:25 "brightness": 55
2025-04-02T10:28:25 }
2025-04-02T10:28:25 }
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.621] [INFO] out - e[39msync websocket device state------ {
2025-04-02T10:28:25 "power": {
2025-04-02T10:28:25 "powerState": "off"
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "brightness": {
2025-04-02T10:28:25 "brightness": 100
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "color-temperature": {
2025-04-02T10:28:25 "colorTemperature": 0
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "color-rgb": {
2025-04-02T10:28:25 "red": 255,
2025-04-02T10:28:25 "green": 0,
2025-04-02T10:28:25 "blue": 232
2025-04-02T10:28:25 },
2025-04-02T10:28:25 "mode": {
2025-04-02T10:28:25 "lightMode": {
2025-04-02T10:28:25 "modeValue": "color"
2025-04-02T10:28:25 }
2025-04-02T10:28:25 }
2025-04-02T10:28:25 }
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.830] [INFO] out - e[39mlanState {"slowlyLit":100,"slowlyDimmed":100,"startup":"on","ltype":"white","white":{"br":55,"ct":0},"bright":{"br":100,"ct":100},"nightLight":{"br":1,"ct":0},"computer":{"br":80,"ct":100}}
2025-04-02T10:28:25 e[32m[2025-04-02T07:28:25.834] [INFO] out - e[39mrequestDevice--------------------------------params dimmable 10020ea762 {"slowlyLit":100,"slowlyDimmed":100,"startup":"on","ltype":"white","white":{"br":55,"ct":0},"bright":{"br":100,"ct":100},"nightLight":{"br":1,"ct":0},"computer":{"br":80,"ct":100}}
2025-04-02T10:28:26 e[32m[2025-04-02T07:28:26.942] [INFO] out - e[39mrequest device res time ------ 10020ea762 1097ms 192.168.2.134 {"slowlyLit":100,"slowlyDimmed":100,"startup":"on","ltype":"white","white":{"br":55,"ct":0},"bright":{"br":100,"ct":100},"nightLight":{"br":1,"ct":0},"computer":{"br":80,"ct":100}} { sequence: '1743578905836', encrypt: true, seq: 10, error: 0 }
2025-04-02T10:28:26 e[32m[2025-04-02T07:28:26.945] [INFO] out - e[39moutTime ------ 10020ea762 1743578906945 1344ms
2025-04-02T10:28:26 e[32m[2025-04-02T07:28:26.995] [INFO] out - e[39msync device status----- 10020ea762 {"brightness":{"brightness":55},"color-temperature":{"colorTemperature":0},"power":{"powerState":"on"}}
2025-04-02T10:28:27 CK_WS: ws connection receive message: {"action":"update","deviceid":"10020ea762","apikey":"dfca52ea-7536-4201-9483-1790873fdaed","userAgent":"device","sequence":"1743578905836","d_seq":57513,"params":{"switch":"on","ltype":"white","white":{"br":55,"ct":0}}}
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.868] [INFO] out - e[39m==================request info begin===================
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.869] [INFO] out - e[39mincoming request info: POST /api/v1/device/10020ea762
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.869] [INFO] out - e[39mincoming request body: {"directive":{"header":{"name":"UpdateDeviceStates","message_id":"77fa8cf5-cf5a-4302-b5de-a6105282817c","version":"2"},"endpoint":{"serial_number":"3e87a946-fd29-4af6-9cdb-d81864bb7d15","third_serial_number":"10020ea762","tags":{"deviceInfo":"eyJkZXZpY2VJZCI6IjEwMDIwZWE3NjIiLCJkZXZpY2VrZXkiOiI1YTMyOTAzNC1lNDA5LTRkMjEtODY0YS01YjllZmE5NGEyOTYiLCJzZWxmQXBpa2V5IjoiZGZjYTUyZWEtNzUzNi00MjAxLTk0ODMtMTc5MDg3M2ZkYWVkIiwidWlpZCI6MTM1LCJhY2NvdW50IjoidmlwZXIuZ2VudG9vQGdtYWlsLmNvbSIsInNlcnZpY2VfYWRkcmVzcyI6Imh0dHA6Ly9paG9zdDo4MzIxL2FwaS92MS9kZXZpY2UvMTAwMjBlYTc2MiJ9","version":"2.5.2","_smartHomeConfig":{}}},"payload":{"state":{"power":{"powerState":"off"}}}}}
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.870] [INFO] out - e[39mcomeTime ------- 10020ea762 1743578908870
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.875] [INFO] out - e[39mcontrol state ---- {
2025-04-02T10:28:28 "power": {
2025-04-02T10:28:28 "powerState": "off"
2025-04-02T10:28:28 }
2025-04-02T10:28:28 }
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.880] [INFO] out - e[39mlanState {"switch":"off"}
2025-04-02T10:28:28 e[32m[2025-04-02T07:28:28.882] [INFO] out - e[39mrequestDevice--------------------------------params switches 10020ea762 {"switch":"off"}
2025-04-02T10:28:29 e[32m[2025-04-02T07:28:29.955] [INFO] out - e[39mrequest device res time ------ 10020ea762 1068ms 192.168.2.134 {"switch":"off"} { sequence: '1743578908883', encrypt: true, seq: 11, error: 400 }
2025-04-02T10:28:29 e[32m[2025-04-02T07:28:29.961] [INFO] out - e[39moutTime ------ 10020ea762 1743578909961 1091ms
2025-04-02T10:28:34 CK_WS: ws connection receive message: {"action":"update","deviceid":"a4800c3eab","apikey":"dfca52ea-7536-4201-9483-1790873fdaed","userAgent":"device","d_seq":1743578912366,"params":{"battery":100}}
We’ve pinpoint the problem and will release a version to fix it soon.
Thanks in advance. The first impresion of iHost is some kind of alpha device, so many problems i ran into. I hope it will not be abandoned.
We’ve released smart-home add-on v2.5.4.
Please upgrade and see if the problem fixed.
YEP! It works! Thanks for fastest fix ever!
1 Like
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.