peterbuga / HASS-sonoff-ewelink

Home Assistant component to control Sonoff/eWeLink devices with original firmware
MIT License
792 stars 296 forks source link

New device: Sonoff B02 #268

Open tomlevels opened 3 years ago

tomlevels commented 3 years ago

Here the dump for a new device: Sonoff B02. I can use it as a switch or light, but I cannot control the brightness or color. [ { "v": 0, "_id": "[hidden]", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png", "brandName": "SONOFF", "createdAt": "xxxx-xx-xxxxx:xx:xx.xxx", "devConfig": {}, "devGroups": [], "deviceUrl": "", "deviceid": "[hidden]", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": { "id": "[hidden]", "extra": { "apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5c4c1aee3a7d24c7100be054", "description": "20200806001", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6df1\u5733\u677e\u8bfa\u6280\u672f\u6709\u9650\u516c\u53f8", "model": "WTW-SNL-02", "modelInfo": "5e7a146548af4f7140874c8e", "ui": "\u53cc\u8272\u51b7\u6696\u706f\u652f\u6301\u968f\u8c03\u53ca\u573a\u666f", "uiid": 103 } }, "family": { "id": "5ea32db98011010008ceba36", "index": 0 }, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "[hidden]",, "offlineTime": "xxxx-xx-xxxxx:xx:xx.xxx", "online": true, "onlineTime": "xxxx-xx-xxxxx:xx:xx.xxx", "params": { "OTA": "success", "bindInfos": { "gaction": [ "57727a4d-330d-4e21-8656-4b0328b42dfd_ewelinkGoogleHome" ] }, "fwVersion": "1.3.1", "ltype": "white", "selfApikey": "", "sequence": "123456789", "switch": "on", "version": 7, "white": { "br": 12, "ct": 105 } }, "productModel": "B02", "settings": { "alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0 }, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "type": "10", "uiid": 103 }, { "v": 0, "_id": "[hidden]", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png", "brandName": "SONOFF", "createdAt": "xxxx-xx-xxxxx:xx:xx.xxx", "devConfig": {}, "devGroups": [], "deviceUrl": "", "deviceid": "[hidden]", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": { "id": "[hidden]", "extra": { "apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5c4c1aee3a7d24c7100be054", "description": "20200806001", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6df1\u5733\u677e\u8bfa\u6280\u672f\u6709\u9650\u516c\u53f8", "model": "WTW-SNL-02", "modelInfo": "5e7a146548af4f7140874c8e", "ui": "\u53cc\u8272\u51b7\u6696\u706f\u652f\u6301\u968f\u8c03\u53ca\u573a\u666f", "uiid": 103 } }, "family": { "id": "5ea32db98011010008ceba36", "index": -1 }, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "[hidden]",, "offlineTime": "xxxx-xx-xxxxx:xx:xx.xxx", "online": true, "onlineTime": "xxxx-xx-xxxxx:xx:xx.xxx", "params": { "OTA": "success", "bindInfos": { "gaction": [ "57727a4d-330d-4e21-8656-4b0328b42dfd_ewelinkGoogleHome" ] }, "fwVersion": "1.3.1", "ltype": "white", "selfApikey": "", "sequence": "123456789", "switch": "on", "version": 7, "white": { "br": 34, "ct": 85 } }, "productModel": "B02", "settings": { "alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0 }, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "type": "10", "uiid": 103 } ]

Heroes84 commented 2 years ago

@tomlevels you know that control the the brightness/color ?

tomlevels commented 2 years ago

I already have the light working with the latest version of the component. The biggest issue I have is that there is no option to do local communication, so I will not buy these anymore