Ewejee plugin avec DUALR3 en mode "Meter"

Bonjour,

j’ai installé le plugin Ewejee.
Ensuite j’ai ajouté un sonoff DUAL R3 pour mesurer 2 consommations sur mon compteur electrique.
L’ajout s’est bien passé, dans les logs, je vois passer les données du Dual R3.


Malheureusement, aucune commande n’est visible dans l’équipement !

Avez vous une idee ???

Merci a vous

Bonne journée,

Hello

Peut tu m’envoyer les logs en format texte (entre des balises code pour éviter de déranger @iPapy )

1 « J'aime »

Oui, bien sur
voici:

country: 'CN',
expiredAt: '2025-12-23T10:46:01.388Z',
secretKey: '5867e847e816a8663b3665ab40b8d5be',
deviceid: '1001220b12',
createdAt: '2020-12-24T10:46:01.388Z'
},
settings: {
opsNotify: 0,
opsHistory: 1,
alarmNotify: 1,
wxAlarmNotify: 0,
wxOpsNotify: 0,
wxDoorbellNotify: 0,
appDoorbellNotify: 1
},
params: {
bindInfos: {},
version: 7,
workMode: 3,
motorSwMode: 2,
motorSwReverse: 0,
outputReverse: 0,
motorTurn: 0,
calibState: 0,
currLocation: 0,
location: 0,
sledBright: 100,
staMac: '94B97E6812A0',
rssi: -51,
overload_00: {
minActPow: [Object],
maxVoltage: [Object],
minVoltage: [Object],
maxCurrent: [Object],
maxActPow: [Object]
},
overload_01: {
minActPow: [Object],
maxVoltage: [Object],
minVoltage: [Object],
maxCurrent: [Object],
maxActPow: [Object]
},
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: 23557,
actPow_00: 0,
reactPow_00: 0,
apparentPow_00: 0,
current_01: 0,
voltage_01: 23557,
actPow_01: 0,
reactPow_01: 0,
apparentPow_01: 0,
fwVersion: '1.2.0',
timeZone: 1,
zyx_clear_timers: true,
uiActive: { all: 1, time: 60 }
},
createdAt: '2021-03-27T07:18:58.984Z',
shareUsersInfo: [],
__v: 0,
offlineTime: '2021-03-27T07:20:00.730Z',
onlineTime: '2021-03-27T07:23:49.356Z',
ip: '109.213.121.228',
location: '',
brandName: 'SONOFF',
productModel: 'DUALR3',
uiid: 126
}
*************************** Début de la synchronisation ***************************
{"_id":"605edc62c247b800077df91a","family":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsers":[],"groups":[],"devGroups":[],"relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"_id":"5fe471699d1fdb25a428d818","apikey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"country":"CN","expiredAt":"2025-12-23T10:46:01.388Z","secretKey":"5867e847e816a8663b3665ab40b8d5be","deviceid":"1001220b12","createdAt":"2020-12-24T10:46:01.388Z"},"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"params":{"bindInfos":{},"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-51,"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":23557,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23557,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60}},"createdAt":"2021-03-27T07:18:58.984Z","shareUsersInfo":[],"__v":0,"offlineTime":"2021-03-27T07:20:00.730Z","onlineTime":"2021-03-27T07:23:49.356Z","ip":"109.213.121.228","location":"","brandName":"SONOFF","productModel":"DUALR3","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":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-51,"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":23542,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23542,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60}},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-27T07:20:00.730Z","onlineTime":"2021-03-27T07:23:49.356Z","ip":"109.213.121.228","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","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":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-51,"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":23542,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23542,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60}},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-27T07:20:00.730Z","onlineTime":"2021-03-27T07:23:49.356Z","ip":"109.213.121.228","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126}]
*************************** Fin de la synchronisation ***************************
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sat Mar 27 2021 08:29:57 GMT+0100 (Central European Standard Time)
{"error":0,"apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616830195000"}
{"action":"sysmsg","deviceid":"1001220b12","apikey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","params":{"online":true}}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":1260,"params":{"workMode":3,"sledBright":100,"staMac":"94B97E6812A0","rssi":-45,"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":23518,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23518,"actPow_01":82,"reactPow_01":170,"apparentPow_01":189,"fwVersion":"1.2.0"},"from":"device","seq":"3"}
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sat Mar 27 2021 08:33:55 GMT+0100 (Central European Standard Time)
http://192.168.1.30:80 SSL ? non
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":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616830434000"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616830458653","params":{"uiActive":{"all":1,"time":60}},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":2951,"params":{"current_00":0,"voltage_00":23550,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23550,"actPow_01":90,"reactPow_01":173,"apparentPow_01":195},"from":"device","seq":"4"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616830458661","params":{"getKwh_01":2},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616830470097","params":{"uiActive":{"all":1,"time":60}},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":7988,"params":{"current_00":0,"voltage_00":23588,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23588,"actPow_01":81,"reactPow_01":160,"apparentPow_01":180},"from":"device","seq":"4"}
*************************** Début de la synchronisation ***************************
[{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-45,"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":23574,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23538,"actPow_01":97,"reactPow_01":205,"apparentPow_01":227,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60},"getKwh_00":2,"getKwh_01":2},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-27T07:20:00.730Z","onlineTime":"2021-03-27T07:33:41.621Z","ip":"109.213.121.228","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","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":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-45,"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":23574,"actPow_00":0,"reactPow_00":0,"apparentPow_00":0,"current_01":0,"voltage_01":23538,"actPow_01":97,"reactPow_01":205,"apparentPow_01":227,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60},"getKwh_00":2,"getKwh_01":2},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-27T07:20:00.730Z","onlineTime":"2021-03-27T07:33:41.621Z","ip":"109.213.121.228","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","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","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616830520085","params":{"uiActive":{"all":1,"time":60}},"tempRec":"1001220b12"}
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sat Mar 27 2021 08:40:07 GMT+0100 (GMT+01:00)
{"error":0,"apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616830806000"}
{"action":"sysmsg","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","params":{"online":false}}
{"action":"sysmsg","deviceid":"1001220b12","apikey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","params":{"online":true}}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":1816,"params":{"workMode":3,"sledBright":100,"staMac":"94B97E6812A0","rssi":-88,"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":18,"voltage_00":23756,"actPow_00":450,"reactPow_00":4160,"apparentPow_00":4184,"current_01":0,"voltage_01":23756,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0"},"from":"device","seq":"4"}

Hello,

Merci, je viens d’ajouter le mode Meter sur la bêta, as tu la possibilité de passer sur la beta pour tester ?

Pour l’instant j’ai mis les nom brut, car je ne sais pas à quoi les valeurs correspondent, donc si tu veux faire l’essai et me dire :wink:

Bonjour Foulek57,
Quelle reactivité !
Merci à vous,

Cependant, avec la béta, le démon ne se lance pas, dans les logs, j’ai une erreur:


internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /var/www/html/plugins/ewejee/core/js/lanserver.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/var/www/html/plugins/ewejee/core/js/lanserver.js:6:15)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/var/www/html/plugins/ewejee/core/js/lanserver.js' ]
}
internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /var/www/html/plugins/ewejee/core/js/lanserver.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/var/www/html/plugins/ewejee/core/js/lanserver.js:6:15)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/var/www/html/plugins/ewejee/core/js/lanserver.js' ]
}

Voila la page de config:

Relance l’installation des dépendances

C’est fait, mais le demon est toujours arrêté

Log Ewejee_dep

======================================================================
== 28/03/2021 12:47:04 == Installation des dépendances de ewejee
======================================================================

[  0% ] : Vérification des droits...
[  9% ] : Vérification des droits : [  OK  ]
[ 10% ] : Prérequis...
[ 19% ] : Prérequis : [  OK  ]
[ 20% ] : Mise à jour APT et installation des packages nécessaires...
[ 29% ] : Mise à jour APT et installation des packages nécessaires : [ERREUR]
[ 30% ] : Vérification de la version de NodeJS installée...
Version actuelle : v12.20.2
Ok, version suffisante
[ 49% ] : Vérification de la version de NodeJS installée : [  OK  ]
[ 50% ] : Nettoyage anciens modules...
[ 59% ] : Nettoyage anciens modules : [  OK  ]
[ 60% ] : Installation de ewejee, veuillez patienter svp, installation très longue...
[ 64% ] : Installation de ewejee, veuillez patienter svp, installation très longue : [  OK  ]
[ 65% ] : Installation des dépendances......
[ 89% ] : Installation des dépendances... : [  OK  ]
[ 90% ] : Nettoyage 1/2...
[ 94% ] : Nettoyage 1/2 : [  OK  ]
[ 95% ] : Nettoyage 2/2...
[ 99% ] : Nettoyage 2/2 : [  OK  ]
[100% ] : Terminé !

======================================================================
== KO == Erreur d'Installation
======================================================================
== ANALYSE DES ERREURS...
== AUCUNE ERREUR CONNUE DÉTECTÉE
== Erreur à l'étape : Mise à jour APT et installation des packages nécessaires
== Ligne 65
== La commande `sudo DEBIAN_FRONTEND=noninteractive apt-get install -y avahi-daemon avahi-discover avahi-utils libnss-mdns apt-utils pcre2-utils net-tools arp-scan' pose problème
== Le code de retour est 100
== Le message d'erreur :
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
apt-utils est déjà la version la plus récente (1.8.2.2).
arp-scan est déjà la version la plus récente (1.9.5-1).
avahi-daemon est déjà la version la plus récente (0.7-4+deb10u1).
avahi-discover est déjà la version la plus récente (0.7-4+deb10u1).
avahi-utils est déjà la version la plus récente (0.7-4+deb10u1).
net-tools est déjà la version la plus récente (1.60+git20180626.aebd88e-1).
libnss-mdns est déjà la version la plus récente (0.14.1-1).
pcre2-utils est déjà la version la plus récente (10.32-5).
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  linux-image-4.19.0-12-amd64
Veuillez utiliser « sudo apt autoremove » pour le supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 10 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de initramfs-tools (0.133+deb10u1) ...
update-initramfs: deferring update (trigger activated)
Traitement des actions différées (« triggers ») pour initramfs-tools (0.133+deb10u1) ...
update-initramfs: Generating /boot/initrd.img-4.19.0-16-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-4.19.0-16-amd64 with 1.
dpkg: erreur de traitement du paquet initramfs-tools (--configure) :
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

======================================================================

Tu as assez de place sur ton jeedom ?

C’est bon, je récupéré de la place sur /boot/
Le démon ne se lance pas
Par contre, voici ce que j’ai lorsque je relance les dependances et le démon:


[2021-03-28 14:46:50][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2021-03-28 14:46:50][DEBUG] : [deamon_stop]PID = 449
[2021-03-28 14:46:51][DEBUG] : [deamon_cloud_start()] Port du localhost (Par défault = 80) = 80
[2021-03-28 14:46:51][INFO] : Lancement du démon.
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sun Mar 28 2021 14:40:17 GMT+0200 (Central European Summer Time)
{"error":0,"apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616935217000"}
*************************** Début de la synchronisation ***************************
[{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-89,"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":90,"oneKwhData_01":0,"current_00":24,"voltage_00":23460,"actPow_00":2684,"reactPow_00":5118,"apparentPow_00":5779,"current_01":0,"voltage_01":23162,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60},"getKwh_00":1,"getKwh_01":2},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-27T12:36:30.262Z","onlineTime":"2021-03-27T18:38:32.252Z","ip":"109.213.166.37","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","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":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-89,"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":90,"oneKwhData_01":0,"current_00":24,"voltage_00":23460,"actPow_00":2684,"reactPow_00":5118,"apparentPow_00":5779,"current_01":0,"voltage_01":23162,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60},"getKwh_00":1,"getKwh_01":2},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-27T12:36:30.262Z","onlineTime":"2021-03-27T18:38:32.252Z","ip":"109.213.166.37","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126}]
*************************** Fin de la synchronisation ***************************
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sun Mar 28 2021 14:44:07 GMT+0200 (GMT+02:00)
{"error":0,"apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616935446000"}
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sun Mar 28 2021 14:46:53 GMT+0200 (Central European Summer Time)
{"error":0,"apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616935612000"}

Bonsoir,

j’ai vidé le cache Jeedom et j’ai les commandes qui s’affichent !!!

Je teste et je reviens vers toi,

Merci encore,

Bonne soirée !

Toutes les commandes sont présentes:

par contre elles ne se mettent pas à jour,
le log du plugins a une erreur chronique: « UnhandledPromiseRejectionWarning »

(node:11227) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11227) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Serveur LAN correctement lancé sur http://localhost:6006 Le Sun Mar 28 2021 21:04:24 GMT+0200 (Central European Summer Time)
http://192.168.1.30:80 SSL ? non LANMode
(node:11533) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/var/www/html/plugins/ewejee/resources/lan/devices-cache.json'
    at Object.openSync (fs.js:462:3)
    at Object.readFileSync (fs.js:364:35)
    at /var/www/html/plugins/ewejee/core/js/lanserver.js:36:36
    at Object.<anonymous> (/var/www/html/plugins/ewejee/core/js/lanserver.js:127:2)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47
(node:11533) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11533) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Serveur LAN correctement lancé sur http://localhost:6006 Le Sun Mar 28 2021 21:04:47 GMT+0200 (Central European Summer Time)

Bizarrement, Jeedom recoit les valeurs du Sonoff, mais je pense qu’il n’arrive pas a les interprêter.

*************************** Début de la synchronisation ***************************
[{"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"family":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsersInfo":[],"groups":[],"devGroups":[],"_id":"605edc62c247b800077df91a","relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","extra":{"extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"_id":"5fe471699d1fdb25a428d818"},"params":{"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-80,"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":90,"oneKwhData_01":0,"current_00":90,"voltage_00":23416,"actPow_00":16890,"reactPow_00":1923,"apparentPow_00":21466,"current_01":0,"voltage_01":23416,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60},"getKwh_00":1,"getKwh_01":2},"createdAt":"2021-03-27T07:18:58.984Z","__v":0,"offlineTime":"2021-03-28T16:40:26.182Z","onlineTime":"2021-03-28T16:40:44.828Z","ip":"109.213.166.37","location":"","sharedTo":[],"devicekey":"ca37f154-c107-4657-bbe8-33a7cb1f94a8","deviceUrl":"","brandName":"SONOFF","showBrand":true,"brandLogoUrl":"https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png","productModel":"DUALR3","devConfig":{},"uiid":126}]
*************************** Fin de la synchronisation ***************************
{
_id: '605edc62c247b800077df91a',
family: {
room: { id: '603122b70eee7a000721fffb' },
id: '603122b70eee7a000721fffd',
index: 0
},
group: '',
online: true,
shareUsers: [],
groups: [],
devGroups: [],
relational: [],
deviceid: '1001220b12',
name: 'Chambres',
type: '10',
apikey: '6d965c4b-59a8-42f5-b793-c6209e026a19',
extra: {
_id: '5fe471699d1fdb25a428d818',
apikey: 'ca37f154-c107-4657-bbe8-33a7cb1f94a8',
extra: {
uiid: 126,
description: '20201224004',
brandId: '5c4c1aee3a7d24c7100be054',
apmac: 'd0:27:02:44:13:75',
mac: 'd0:27:02:44:13:74',
ui: '多功能双通道电量检测开关',
modelInfo: '5f1e478208bb4f51db013bc5',
model: 'E32-2SW-P0',
manufacturer: '深圳松诺技术有限公司',
staMac: '94B97E6812A0'
},
country: 'CN',
expiredAt: '2025-12-23T10:46:01.388Z',
secretKey: '5867e847e816a8663b3665ab40b8d5be',
deviceid: '1001220b12',
createdAt: '2020-12-24T10:46:01.388Z'
},
settings: {
opsNotify: 0,
opsHistory: 1,
alarmNotify: 1,
wxAlarmNotify: 0,
wxOpsNotify: 0,
wxDoorbellNotify: 0,
appDoorbellNotify: 1
},
params: {
bindInfos: {},
version: 7,
workMode: 3,
motorSwMode: 2,
motorSwReverse: 0,
outputReverse: 0,
motorTurn: 0,
calibState: 0,
currLocation: 0,
location: 0,
sledBright: 100,
staMac: '94B97E6812A0',
rssi: -80,
overload_00: {
minActPow: [Object],
maxVoltage: [Object],
minVoltage: [Object],
maxCurrent: [Object],
maxActPow: [Object]
},
overload_01: {
minActPow: [Object],
maxVoltage: [Object],
minVoltage: [Object],
maxCurrent: [Object],
maxActPow: [Object]
},
oneKwhState_00: 0,
startTime_00: '',
endTime_00: '',
oneKwhState_01: 0,
startTime_01: '',
endTime_01: '',
oneKwhData_00: 90,
oneKwhData_01: 0,
current_00: 90,
voltage_00: 23416,
actPow_00: 16890,
reactPow_00: 1923,
apparentPow_00: 21466,
current_01: 0,
voltage_01: 23416,
actPow_01: 0,
reactPow_01: 0,
apparentPow_01: 0,
fwVersion: '1.2.0',
timeZone: 1,
zyx_clear_timers: true,
uiActive: { all: 1, time: 60 },
getKwh_00: 1,
getKwh_01: 2
},
createdAt: '2021-03-27T07:18:58.984Z',
shareUsersInfo: [],
__v: 0,
offlineTime: '2021-03-28T16:40:26.182Z',
onlineTime: '2021-03-28T16:40:44.828Z',
ip: '109.213.166.37',
location: '',
brandName: 'SONOFF',
productModel: 'DUALR3',
uiid: 126
}
*************************** Début de la synchronisation ***************************
{"_id":"605edc62c247b800077df91a","family":{"room":{"id":"603122b70eee7a000721fffb"},"id":"603122b70eee7a000721fffd","index":0},"group":"","online":true,"shareUsers":[],"groups":[],"devGroups":[],"relational":[],"deviceid":"1001220b12","name":"Chambres","type":"10","apikey":"XXXXXXXXXXXXXXXXX","extra":{"_id":"XXXXXXXXXXXXXXXXX","apikey":"XXXXXXXXXXXX","extra":{"uiid":126,"description":"20201224004","brandId":"5c4c1aee3a7d24c7100be054","apmac":"d0:27:02:44:13:75","mac":"d0:27:02:44:13:74","ui":"多功能双通道电量检测开关","modelInfo":"5f1e478208bb4f51db013bc5","model":"E32-2SW-P0","manufacturer":"深圳松诺技术有限公司","staMac":"94B97E6812A0"},"country":"CN","expiredAt":"2025-12-23T10:46:01.388Z","secretKey":"XXXXXXXXX","deviceid":"1001220b12","createdAt":"2020-12-24T10:46:01.388Z"},"settings":{"opsNotify":0,"opsHistory":1,"alarmNotify":1,"wxAlarmNotify":0,"wxOpsNotify":0,"wxDoorbellNotify":0,"appDoorbellNotify":1},"params":{"bindInfos":{},"version":7,"workMode":3,"motorSwMode":2,"motorSwReverse":0,"outputReverse":0,"motorTurn":0,"calibState":0,"currLocation":0,"location":0,"sledBright":100,"staMac":"94B97E6812A0","rssi":-80,"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":90,"oneKwhData_01":0,"current_00":90,"voltage_00":23416,"actPow_00":16890,"reactPow_00":1923,"apparentPow_00":21466,"current_01":0,"voltage_01":23416,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0,"fwVersion":"1.2.0","timeZone":1,"zyx_clear_timers":true,"uiActive":{"all":1,"time":60},"getKwh_00":1,"getKwh_01":2},"createdAt":"2021-03-27T07:18:58.984Z","shareUsersInfo":[],"__v":0,"offlineTime":"2021-03-28T16:40:26.182Z","onlineTime":"2021-03-28T16:40:44.828Z","ip":"109.213.166.37","location":"","brandName":"SONOFF","productModel":"DUALR3","uiid":126}
*************************** Fin de la synchronisation ***************************
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sun Mar 28 2021 20:58:20 GMT+0200 (Central European Summer Time)
{"error":0,"apikey":"XXXXXXXXXXXXXXXXX","config":{"hb":1,"hbInterval":145},"sequence":"1616957899000"}
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sun Mar 28 2021 21:02:47 GMT+0200 (Central European Summer Time)
{"error":0,"apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","config":{"hb":1,"hbInterval":145},"sequence":"1616958166000"}
http://192.168.1.30:80 SSL ? non
Serveur correctement lancé sur http://localhost:6005 Le Sun Mar 28 2021 21:04:46 GMT+0200 (Central European Summer Time)
{"error":0,"apikey":"XXXXXXXXXXXXXXXXXXXXX","config":{"hb":1,"hbInterval":145},"sequence":"1616958284000"}

Merci

Sur jeedom j ai bien la remonté d info pour mon volet par conte la commande ouverture ou fermeture ne fonction pas?

Désactive le LAN

Bonjour,

Foulek57, une idée sur l’erreur ?

Tu as fais ça ?

Oui, j’ai essayé avec et sans, mais sans resultat probant,

je pense sincèrement que le problème provient de l’erreur

(node:11533) UnhandledPromiseRejectionWarning: Unhandled promise rejection.

Je ne sais pas à quoi cela fait réference,

Dans le log nodes, on voit bien les valeurs rentrer mais elles ne s’affichent pas dans les commandes.


{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616998515098","params":{"uiActive":{"all":1,"time":60}},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":7083,"params":{"current_00":24,"voltage_00":23910,"actPow_00":2481,"reactPow_00":5235,"apparentPow_00":5794,"current_01":0,"voltage_01":23910,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0},"from":"device","seq":"29584"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616998522442","params":{"getKwh_00":2},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":6871,"params":{"current_00":24,"voltage_00":23918,"actPow_00":2492,"reactPow_00":5279,"apparentPow_00":5838,"current_01":0,"voltage_01":23918,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0},"from":"device","seq":"29584"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616998530422","params":{"getKwh_01":2},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":8830,"params":{"current_00":24,"voltage_00":23855,"actPow_00":2466,"reactPow_00":5115,"apparentPow_00":5678,"current_01":0,"voltage_01":23855,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0},"from":"device","seq":"29584"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616998534011","params":{"uiActive":{"all":1,"time":60}},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":3248,"params":{"current_00":24,"voltage_00":23906,"actPow_00":2476,"reactPow_00":5213,"apparentPow_00":5771,"current_01":0,"voltage_01":23906,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0},"from":"device","seq":"29584"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616998534021","params":{"getKwh_00":2},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"app","sequence":"1616998565113","params":{"uiActive":{"all":1,"time":60}},"tempRec":"1001220b12"}
{"action":"update","deviceid":"1001220b12","apikey":"6d965c4b-59a8-42f5-b793-c6209e026a19","userAgent":"device","d_seq":87,"params":{"current_00":24,"voltage_00":23867,"actPow_00":2484,"reactPow_00":5110,"apparentPow_00":5682,"current_01":0,"voltage_01":23867,"actPow_01":0,"reactPow_01":0,"apparentPow_01":0},"from":"device","seq":"29584"}

si tu veux prendre la main, dis moi

Bonne journée,

Tu peux m’envoyer une capture d’écran de l’onglet commande ?

Bonsoir,

voici

Oh, my bad, j’ai zapé la partie MAJ des données… je push un maj ce soir pour ça…