delid4ve / openhab-3.x-sonoff

Openhab Binding for Sonoff Devices
26 stars 11 forks source link

add support NSPanel - New device #15

Open Levynger opened 2 years ago

Levynger commented 2 years ago

I got new NSpanel from sonoff,

below debug logs from scanning

23:13:59.801 [DEBUG] [rnal.discovery.SonoffDiscoveryService] - Start Scan 23:13:59.802 [DEBUG] [rnal.discovery.SonoffDiscoveryService] - Sonoff - Start Discovery 23:13:59.803 [DEBUG] [ternal.connection.SonoffApiConnection] - Api Cache Request:{"appid":"oeVkj2lYFGnJu5XUtWisfW4utiN4u9Mq","nonce":"7iqIH5Jz","ts":1642194839803,"version":8} 23:14:00.298 [DEBUG] [ternal.connection.SonoffApiConnection] - Api Cache response:{"error":0,"msg":"","data":{"thingList":[{"itemType":1,"itemData":{"name":"NSPanel","deviceid":"100148a46f","apikey":"ee4e4cd4-8a10-4e0f-80be-518535ce4176","extra":{"uiid":133,"description":"20210830007","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:91:46:2f","mac":"d0:27:02:91:46:2e","ui":"HMI墙面开关","modelInfo":"5f73390defe12b0b619e66d5","model":"E32-MSW-NX","manufacturer":"深圳松诺技术有限公司","chipid":"E0E2E60C9318"},"brandName":"SONOFF","brandLogo":"https://as-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","showBrand":true,"productModel":"NSPanel","tags":{"m_4176_levy":"on"},"devConfig":{"timerCount":"16/16"},"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"devGroups":[],"family":{"familyid":"61e1e03fc8b2600009682849","index":0,"roomid":"61e1e03fc8b2600009682847"},"shareTo":[],"devicekey":"dadf1af7-1317-4477-8172-6f698ff940dc","online":true,"params":{"bindInfos":null,"version":8,"pulses":[{"pulse":"off","width":1000,"outlet":0},{"pulse":"off","width":1000,"outlet":1}],"switches":[{"switch":"off","outlet":0},{"switch":"off","outlet":1}],"configure":[{"startup":"off","outlet":0},{"startup":"off","outlet":1}],"lock":0,"fwVersion":"1.1.0","temperature":22,"humidity":50,"tempUnit":0,"HMI_outdoorTemp":{"current":13,"range":"10,16"},"HMI_weather":36,"cityId":"215854","dst":0,"dstChange":"2022-03-25T00:00:00.000Z","geo":"32.045,34.77","timeZone":2,"only_device":{"ota":"success","ota_fail_reason":0},"HMI_dimEnable":1},"isSupportGroup":true},"index":0}],"total":1}} 23:14:00.304 [DEBUG] [rnal.discovery.SonoffDiscoveryService] - Processing device 100148a46f 23:14:00.306 [INFO ] [rnal.discovery.SonoffDiscoveryService] - Discovered device 100148a46f 23:14:00.307 [ERROR] [rnal.discovery.SonoffDiscoveryService] - Unable to add 100148a46f as its not supported, please forward the cache file to the developer

halext commented 1 year ago

Hi the Sonoff NSPanel will be suported ?