Bonjour,
J’ai récemment fais l’acquisition de deux SONOFF DUALR3 que j’ai connecté via Ewelink.
J’ai ensuite synchroniser mon compte avec le plugin Ewejee. Mes deux objets ont correctement été synchronisés. L’un d’entre eux n’affiche aucune commande et l’autre affiche les commandes Allumer, Éteindre et Statut. La commande Statut renvoi 1 mais les des autres n’ont aucun effet.
Pourriez-vous m’aider à faire fonctionner le SONOFF DUALR3 sur le plugin Ewejee svp?
Voici les logs du plugin avec l’api masqué :
http://192.168.1.13:80 SSL ? non
http://192.168.1.13:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Mon Mar 01 2021 14:58:12 GMT+0100 (Central European Standard Time)
events.js:291
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use 127.0.0.1:6005
at Server.setupListenHandle [as _listen2] (net.js:1316:16)
at listenInCluster (net.js:1364:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1501:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:68:8)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1343:8)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '127.0.0.1',
port: 6005
}
{"error":0,"apikey":"24150226-2e4c-4f88-9aec-3fb3ca4a1798","config":{"hb":1,"hbInterval":145},"sequence":"1614607092000"}
*************************** Début de la synchronisation ***************************
[{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"id":"6038ada687c7160007f03b8a","index":0},"group":"","online":true,"shareUsersInfo":[{"family":{"id":"603ced38afab3600076f1cf3","index":-1},"apikey":"24150226-2e4c-4f88-9aec-3fb3ca4a1798","permit":15,"shareDate":"2021-03-01T13:36:38.966Z","comment":""}],"groups":[],"devGroups":[],"_id":"6038ae6d15290700072156af","relational":[],"deviceid":"1001220352","name":"Volet2","type":"10","apikey":*****,"extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:03:f5","mac":"d0:27:02:44:03:f4","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E69A0DC"},"_id":"5fe471699d1fdb25a428d058"},"createdAt":"2021-02-26T08:16:45.443Z","__v":0,"onlineTime":"2021-02-26T09:20:31.357Z","params":{"version":7,"workMode":2,"motorSwMode":3,"motorSwReverse":0,"outputReverse":1,"motorTurn":0,"calibState":1,"currLocation":100,"location":100,"sledBright":100,"staMac":"94B97E69A0DC","rssi":-39,"overload_00":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"overload_01":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"oneKwhState_00":0,"startTime_00":"","endTime_00":"","oneKwhState_01":0,"startTime_01":"","endTime_01":"","oneKwhData_00":0,"oneKwhData_01":0,"current_00":0,"voltage_00":24312,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":24312,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"calibration":1,"getKwh_00":1,"getKwh_01":1,"zyx_clear_timers":true,"bindInfos":{"gaction":["*****_ewelinkGoogleHome"]},"switch":"on"},"ip":"82.65.147.166","location":"","tags":{"m_1fbc_nico":"on","m_1798_nasd":"on"},"offlineTime":"2021-02-26T09:14:08.159Z","sharedBy":{"email":"nicolas.nowinski@gmail.com","apikey":*****,"permit":15,"shareTime":1614605798949},"devicekey":"21217ce2-1e67-4f9b-927e-38c5e6a747af","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126},{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"id":"6038ada687c7160007f03b8a","index":-1},"group":"","online":true,"shareUsersInfo":[{"family":{"id":"603ced38afab3600076f1cf3","index":0},"apikey":"24150226-2e4c-4f88-9aec-3fb3ca4a1798","permit":15,"shareDate":"2021-03-01T13:36:38.807Z","comment":""}],"groups":[],"devGroups":[],"_id":"6038b5672998cb000756aea3","relational":[],"deviceid":"1001220504","name":"Volet1","type":"10","apikey":*****,"extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:07:59","mac":"d0:27:02:44:07:58","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E68B2C0"},"_id":"5fe471699d1fdb25a428d20a"},"createdAt":"2021-02-26T08:46:31.799Z","__v":0,"tags":{"m_1fbc_nico":"on","m_1798_nasd":"on"},"onlineTime":"2021-02-26T09:23:34.797Z","params":{"version":7,"workMode":2,"motorSwMode":3,"motorSwReverse":0,"outputReverse":1,"motorTurn":0,"calibState":1,"currLocation":100,"location":100,"sledBright":100,"staMac":"94B97E68B2C0","rssi":-48,"overload_00":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"overload_01":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"oneKwhState_00":0,"startTime_00":"","endTime_00":"","oneKwhState_01":0,"startTime_01":"","endTime_01":"","oneKwhData_00":0,"oneKwhData_01":0,"current_00":0,"voltage_00":24313,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":24313,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"calibration":1,"zyx_clear_timers":true,"bindInfos":{"gaction":["*****_ewelinkGoogleHome"]},"getKwh_00":2,"getKwh_01":2},"ip":"82.65.147.166","location":"","offlineTime":"2021-02-26T09:23:24.458Z","sharedBy":{"email":"nicolas.nowinski@gmail.com","apikey":*****,"permit":15,"shareTime":1614605798767},"devicekey":"7c3479ab-3973-4ef8-acc5-a7665e282c9d","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126}]
*************************** Fin de la synchronisation ***************************
*************************** Début de la synchronisation ***************************
[{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"id":"6038ada687c7160007f03b8a","index":0},"group":"","online":true,"shareUsersInfo":[{"family":{"id":"603ced38afab3600076f1cf3","index":-1},"apikey":"24150226-2e4c-4f88-9aec-3fb3ca4a1798","permit":15,"shareDate":"2021-03-01T13:36:38.966Z","comment":""}],"groups":[],"devGroups":[],"_id":"6038ae6d15290700072156af","relational":[],"deviceid":"1001220352","name":"Volet2","type":"10","apikey":*****,"extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:03:f5","mac":"d0:27:02:44:03:f4","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E69A0DC"},"_id":"5fe471699d1fdb25a428d058"},"createdAt":"2021-02-26T08:16:45.443Z","__v":0,"onlineTime":"2021-02-26T09:20:31.357Z","params":{"version":7,"workMode":2,"motorSwMode":3,"motorSwReverse":0,"outputReverse":1,"motorTurn":0,"calibState":1,"currLocation":100,"location":100,"sledBright":100,"staMac":"94B97E69A0DC","rssi":-39,"overload_00":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"overload_01":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"oneKwhState_00":0,"startTime_00":"","endTime_00":"","oneKwhState_01":0,"startTime_01":"","endTime_01":"","oneKwhData_00":0,"oneKwhData_01":0,"current_00":0,"voltage_00":24312,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":24312,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"calibration":1,"getKwh_00":1,"getKwh_01":1,"zyx_clear_timers":true,"bindInfos":{"gaction":["*****_ewelinkGoogleHome"]},"switch":"on"},"ip":"82.65.147.166","location":"","tags":{"m_1fbc_nico":"on","m_1798_nasd":"on"},"offlineTime":"2021-02-26T09:14:08.159Z","sharedBy":{"email":"nicolas.nowinski@gmail.com","apikey":*****,"permit":15,"shareTime":1614605798949},"devicekey":"21217ce2-1e67-4f9b-927e-38c5e6a747af","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126},{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"id":"6038ada687c7160007f03b8a","index":-1},"group":"","online":true,"shareUsersInfo":[{"family":{"id":"603ced38afab3600076f1cf3","index":0},"apikey":"24150226-2e4c-4f88-9aec-3fb3ca4a1798","permit":15,"shareDate":"2021-03-01T13:36:38.807Z","comment":""}],"groups":[],"devGroups":[],"_id":"6038b5672998cb000756aea3","relational":[],"deviceid":"1001220504","name":"Volet1","type":"10","apikey":*****,"extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:07:59","mac":"d0:27:02:44:07:58","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E68B2C0"},"_id":"5fe471699d1fdb25a428d20a"},"createdAt":"2021-02-26T08:46:31.799Z","__v":0,"tags":{"m_1fbc_nico":"on","m_1798_nasd":"on"},"onlineTime":"2021-02-26T09:23:34.797Z","params":{"version":7,"workMode":2,"motorSwMode":3,"motorSwReverse":0,"outputReverse":1,"motorTurn":0,"calibState":1,"currLocation":100,"location":100,"sledBright":100,"staMac":"94B97E68B2C0","rssi":-48,"overload_00":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"overload_01":{"minActPow":{"enabled":0,"value":10},"maxVoltage":{"enabled":0,"value":24000},"minVoltage":{"enabled":0,"value":10},"maxCurrent":{"enabled":0,"value":1500},"maxActPow":{"enabled":0,"value":360000}},"oneKwhState_00":0,"startTime_00":"","endTime_00":"","oneKwhState_01":0,"startTime_01":"","endTime_01":"","oneKwhData_00":0,"oneKwhData_01":0,"current_00":0,"voltage_00":24313,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":24313,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"calibration":1,"zyx_clear_timers":true,"bindInfos":{"gaction":["*****_ewelinkGoogleHome"]},"getKwh_00":2,"getKwh_01":2},"ip":"82.65.147.166","location":"","offlineTime":"2021-02-26T09:23:24.458Z","sharedBy":{"email":"nicolas.nowinski@gmail.com","apikey":*****,"permit":15,"shareTime":1614605798767},"devicekey":"7c3479ab-3973-4ef8-acc5-a7665e282c9d","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126}]
*************************** Fin de la synchronisation ***************************
{"action":"update","userAgent":"app","apikey":*****,"deviceid":"1001220352","sequence":"1614607116042","params":{"switch":"off"}}
{"action":"update","userAgent":"app","apikey":*****,"deviceid":"1001220352","sequence":"1614607117901","params":{"switch":"on"}}
Cordialement.