peterbuga / HASS-sonoff-ewelink

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

Bug & Request #216

Open Wieringerwerf opened 4 years ago

Wieringerwerf commented 4 years ago

Hi, first of all, kudo's to all your work, great integration! Big thanks.

Secondly, maybe it is because I have some alternate hardware and/or it is a HA bug, but when I add my switches (CEMIG switches, din rail 50A circuit breaker type of switch) it shows up in my states list as a switch, but it will not come up in my devices list in automations. I can create cards and add them there, and operate them, but not in an automation. (also not when I manually add them in the YAML editor)

Thirdly, can you please add my device? I have 6 the same switches, 4 off them offline, 2 online, CEMIG01 & CEMIG02, in this log I have switched them both on, with 10-ish second intervals, and then switched them off, also with 10-ish seconds interval.

Hope you can help!

title: Sonoff debug --------------COPY-FROM-HERE--------------

2020-02-28 18:54:53.358 [D] {"devicelist": [{"v": 0, "_id": "5d9619f7d34ecb5f7192ffb2", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2019-10-03T15:59:33.117Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "10009c64b0", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d284cfcf0e4ff17bb8d5497", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00A74825", "description": "20190712002", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig01", "offlineTime": "2020-02-16T19:49:23.857Z", "online": true, "onlineTime": "2020-02-27T02:01:58.104Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "controlType": "7", "fwVersion": "3.3.0", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -61, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "on", "timers": [], "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"__v": 0, "_id": "5d961cb2d34ecb5f719348cc", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2019-10-03T16:07:14.484Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "10009c6350", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d284cfcf0e4ff17bb8d5337", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00AC59CF", "description": "20190712002", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig02", "offlineTime": "2020-02-22T02:01:48.242Z", "online": true, "onlineTime": "2020-02-27T02:01:52.329Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.3.0", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -54, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "on", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e1cc345e8aa000829dd41", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T16:39:31.359Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac63e4", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532157f3", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "009E6861", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig03", "offlineTime": "2020-02-28T16:51:06.054Z", "online": false, "onlineTime": "2020-02-24T11:57:19.041Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -60, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e21cfa0564400070d1361", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:01:03.315Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac60f5", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c53215504", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "007623C4", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig04", "offlineTime": "2020-02-28T16:51:06.692Z", "online": false, "onlineTime": "2020-02-24T12:25:14.905Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -56, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"__v": 0, "_id": "5e0e231d77f2e90008d97ec9", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:06:37.754Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac61c4", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532155d3", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00763B08", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig05", "offlineTime": "2020-02-28T16:51:07.203Z", "online": false, "onlineTime": "2020-02-25T02:03:37.603Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -67, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e241e77f2e90008d97ee4", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:10:54.795Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac62b9", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532156c8", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "0076160F", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig06", "offlineTime": "2020-02-28T16:51:07.793Z", "online": false, "onlineTime": "2020-02-28T06:51:42.423Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -72, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}], "error": 0}

2020-02-28 18:55:04.316 [D] {"devicelist": [{"v": 0, "_id": "5d9619f7d34ecb5f7192ffb2", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2019-10-03T15:59:33.117Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "10009c64b0", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d284cfcf0e4ff17bb8d5497", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00A74825", "description": "20190712002", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig01", "offlineTime": "2020-02-16T19:49:23.857Z", "online": true, "onlineTime": "2020-02-27T02:01:58.104Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "controlType": "7", "fwVersion": "3.3.0", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -61, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "on", "timers": [], "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"__v": 0, "_id": "5d961cb2d34ecb5f719348cc", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2019-10-03T16:07:14.484Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "10009c6350", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d284cfcf0e4ff17bb8d5337", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00AC59CF", "description": "20190712002", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig02", "offlineTime": "2020-02-22T02:01:48.242Z", "online": true, "onlineTime": "2020-02-27T02:01:52.329Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.3.0", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -54, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "on", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e1cc345e8aa000829dd41", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T16:39:31.359Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac63e4", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532157f3", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "009E6861", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig03", "offlineTime": "2020-02-28T16:51:06.054Z", "online": false, "onlineTime": "2020-02-24T11:57:19.041Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -60, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e21cfa0564400070d1361", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:01:03.315Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac60f5", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c53215504", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "007623C4", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig04", "offlineTime": "2020-02-28T16:51:06.692Z", "online": false, "onlineTime": "2020-02-24T12:25:14.905Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -56, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"__v": 0, "_id": "5e0e231d77f2e90008d97ec9", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:06:37.754Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac61c4", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532155d3", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00763B08", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig05", "offlineTime": "2020-02-28T16:51:07.203Z", "online": false, "onlineTime": "2020-02-25T02:03:37.603Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -67, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e241e77f2e90008d97ee4", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:10:54.795Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac62b9", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532156c8", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "0076160F", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig06", "offlineTime": "2020-02-28T16:51:07.793Z", "online": false, "onlineTime": "2020-02-28T06:51:42.423Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -72, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}], "error": 0}

2020-02-28 18:55:14.390 [D] {"devicelist": [{"v": 0, "_id": "5d9619f7d34ecb5f7192ffb2", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2019-10-03T15:59:33.117Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "10009c64b0", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d284cfcf0e4ff17bb8d5497", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00A74825", "description": "20190712002", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig01", "offlineTime": "2020-02-16T19:49:23.857Z", "online": true, "onlineTime": "2020-02-27T02:01:58.104Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "controlType": "7", "fwVersion": "3.3.0", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -61, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "on", "timers": [], "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"__v": 0, "_id": "5d961cb2d34ecb5f719348cc", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2019-10-03T16:07:14.484Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "10009c6350", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d284cfcf0e4ff17bb8d5337", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00AC59CF", "description": "20190712002", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig02", "offlineTime": "2020-02-22T02:01:48.242Z", "online": true, "onlineTime": "2020-02-27T02:01:52.329Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.3.0", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -54, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "on", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e1cc345e8aa000829dd41", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T16:39:31.359Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac63e4", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532157f3", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "009E6861", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig03", "offlineTime": "2020-02-28T16:51:06.054Z", "online": false, "onlineTime": "2020-02-24T11:57:19.041Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -60, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e21cfa0564400070d1361", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:01:03.315Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac60f5", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c53215504", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "007623C4", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig04", "offlineTime": "2020-02-28T16:51:06.692Z", "online": false, "onlineTime": "2020-02-24T12:25:14.905Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -56, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"__v": 0, "_id": "5e0e231d77f2e90008d97ec9", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:06:37.754Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac61c4", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532155d3", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "00763B08", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig05", "offlineTime": "2020-02-28T16:51:07.203Z", "online": false, "onlineTime": "2020-02-25T02:03:37.603Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -67, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}, {"v": 0, "_id": "5e0e241e77f2e90008d97ee4", "apikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "brandLogoUrl": "", "brandName": "sohan", "createdAt": "2020-01-02T17:10:54.795Z", "devConfig": {}, "devGroups": [], "deviceStatus": "", "deviceUrl": "", "deviceid": "1000ac62b9", "devicekey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "extra": {"_id": "5d8b01bb255e565c532156c8", "extra": {"apmac": "xx:xx:xx:xx:xx:xx", "brandId": "5abeffae85a15a8f0325f4c7", "chipid": "0076160F", "description": "20190924008", "mac": "xx:xx:xx:xx:xx:xx", "manufacturer": "\u6d59\u6c5f\u5b87\u63a7\u667a\u80fd\u79d1\u6280\u6709\u9650\u516c\u53f8", "model": "PSF-B01-GL", "modelInfo": "5acc546785a15a8f03269f3a", "staMac": "xx:xx:xx:xx:xx:xx", "ui": "\u5355\u901a\u9053\u63d2\u5ea7", "uiid": 1}}, "group": "", "groups": [], "ip": "[hidden]", "location": "", "name": "Cemig06", "offlineTime": "2020-02-28T16:51:07.793Z", "online": false, "onlineTime": "2020-02-28T06:51:42.423Z", "params": {"bindInfos": {"alexa": ["03711cf1-721d-4ff4-8503-13537a2ef0cf_26ca1996a20e8bd63617ab272d4eeede1d2d8e32"]}, "fwVersion": "3.0.1", "init": 1, "partnerApikey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "pulse": "off", "pulseWidth": 500, "rssi": -72, "sledOnline": "on", "staMac": "xx:xx:xx:xx:xx:xx", "startup": "off", "switch": "off", "version": 8}, "productModel": "SOHAN-DPN", "settings": {"alarmNotify": 1, "appDoorbellNotify": 1, "opsHistory": 1, "opsNotify": 0, "wxAlarmNotify": 0, "wxDoorbellNotify": 0, "wxOpsNotify": 0}, "shareUsersInfo": [], "sharedTo": [], "showBrand": true, "tags": {"m_f0cf_ewel": "on"}, "type": "10", "uiid": 1}], "error": 0}

2020-02-28 18:55:25.107 [D] {"error": 406, "msg": "{\"error\":401,\"msg\":\"Bearer:accessToken is empty\"}"}

2020-02-28 18:55:36.169 [D] {"error": 406, "msg": "{\"error\":401,\"msg\":\"Bearer:accessToken is empty\"}"}

2020-02-28 18:55:47.159 [D] {"error": 406, "msg": "{\"error\":401,\"msg\":\"Bearer:accessToken is empty\"}"}

2020-02-28 18:55:58.096 [D] {"error": 406, "msg": "{\"error\":401,\"msg\":\"Bearer:accessToken is empty\"}"}

2020-02-28 18:56:09.089 [D] {"error": 406, "msg": "{\"error\":401,\"msg\":\"Bearer:accessToken is empty\"}"}

2020-02-28 18:56:20.138 [D] {"error": 406, "msg": "{\"error\":401,\"msg\":\"Bearer:accessToken is empty\"}"}

---------------END-OF-COPY----------------

peterbuga commented 4 years ago

hi @Wieringerwerf unfortunately I don't have much to fix based on the dump you've sent so far. the way i'm seeing this, all your devices are comparable with a sonoff basic (which by its name it's the most non-complex of sonoff brand) and should show up/behave just fine in your installation. there might be a possibility it's a you problem instead of a component problem 😬. could you do a quick second HA installation in a virtual machine and see if you get the same results, i tend to believe it might not!

Thirdly, can you please add my device? i'm a bit confused by this line, as i mentioned above (and you as well) the devices are showing in HA and can be toggled. can you please be more specific?