Problème d'intégration du SONOFF DUALR3 avec le plugin ewejee

Tags: #<Tag:0x00007fcb918ba8f8>

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.

Bonjour,

Comme pour toute demande un peu plus d’infos complémentaire serait utile!

Quelle version de jeedom, version du plugin, type de matériel, version d’OS ? Un log en debug

Pour que la communauté puisse vous aidez, je vous invite à lire ce post et nous donner les informations manquantes, merci,
Sans cela vous risquez de ne pas avoir beaucoup d’aide.

Hello,

C’est corrigé dans la dernière MAJ.

  • faire la mise a jour
  • supprimer les deux équipements
  • refaire une synchronisation

Tiens moi au courant.

@Nicolas17

Est tu bien sur que ce soit un dual R3 ?
Je connais les dual R2 mais pas R3 t’a un lien sur ton produit ?

@Foulek57,
Merci pour ton retour. J’ai réinstaller le plugin car aucune maj ne m’était proposée. Cela ne fonctionne toujours pas mais je suis encore en V2.1.0 datant du 26-02-2021. Je reviens vers toi dès que j’ai pu faire la maj.

@olive
Oui c’est bien le dual R3, voici un lien vers le produit https://sonoff.tech/product/wifi-diy-smart-switches/dualr3.

Je suis sur une VM sous debian 10 avec une version de Jeedom en 4.1.20. Les logs de mon premier commentaire sont en debug.

Hello,

J’ai parlé un peu trop vite, je viens de regarder les paramètres dans les logs… C’est la première fois que je rencontre ces paramètres.

Au passage @olive ça pourrais t’intéresser ça, je vois des paramètres de relevé de consommation, des garde fous « Max power », max voltage etc…

Intéressant ce DualR3 !

Je vais devoir l’intégrer.

@Nicolas17
Pour pouvoir l’intégrer il me faudra des logs, peux tu faire cela :

  • Vider le log ewejee_node
  • Faire on sur le premier canal (avec l’appli ou physiquement)
  • Faire off sur le premier canal
  • Faire on sur le second canal
  • Faire off sur le second canal
  • Faire on sur le premier canal
  • Faire on sur le second canal
  • Télécharger immédiatement le log ewejee_node

Aussi par curiosité, tu peux me donner la version du firmeware qu’il y a d’affiché dans l’appli eWeLink ?

Merci d’avance

Nicolas.

Hello,

Oui il semble offrir pas mal de possibilités.
Cependant, pour information dans l’appli ewelink, on peut activer SOIT la fonction de relevé de conso SOIT la fonction motorisation SOIT la fonctionne ON/OFF.
Je m’en sers pour contrôler mes volets roulants.

Voici les logs demandés :

{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":466,"params":{"motorTurn":2},"from":"device","seq":"122"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":840,"params":{"currLocation":93},"from":"device","seq":"124"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":1583,"params":{"currLocation":85},"from":"device","seq":"125"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":1393,"params":{"motorTurn":0,"currLocation":81,"location":81},"from":"device","seq":"127"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":7971,"params":{"motorTurn":1},"from":"device","seq":"130"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":27,"params":{"currLocation":88},"from":"device","seq":"133"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":9781,"params":{"currLocation":95},"from":"device","seq":"134"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":3815,"params":{"motorTurn":0,"currLocation":96,"location":96},"from":"device","seq":"135"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":3465,"params":{"motorTurn":2},"from":"device","seq":"138"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":8197,"params":{"currLocation":89},"from":"device","seq":"140"}
{"action":"update","deviceid":"1001220352","apikey":"*****","userAgent":"device","d_seq":7223,"params":{"motorTurn":0,"currLocation":82,"location":82},"from":"device","seq":"142"}

On peut d’ailleurs voir la présence d’un « currLocation » et d’un « location ». Penses-tu qu’il te serait possible de l’intégrer d’une certaine manière afin de par ex définir une ouverture du volet ?

Pour finir, la firmeware du module est en version 1.2.0.

Si tu as besoin d’autres informations n’hésite pas.

Hello,

Il a l’air complexe celui-ci, je viens d’en commander un pour pouvoir l’intégrer pleinement, suivant le mode choisi, mais il n’est pas dispo sur Amazon, donc j’ai du commander chez les voisins chinois… ça risque de prendre un peu de temps jusqu’à ce que je l’ai…

Je ne comprend pas trop a quoi correspondent les « motorTurn »
0 c’est surement qu’aucun moteur ne tourne.
mais 1 et 2 correspond au sens ?
Tu peux voir « currLocation » à quoi correspond 100% ? Si c’est 100% ouvert ou 100% fermé ?

Sur l’app. eWeLink, en fonctione motorisation, j’imagine que tu as un « + », un « - » , un stop et un slider ? Tu as autre choses ?

Merci.
Nicolas.

J’ai Push un premier jet entre midi.
Tu peux faire la màj, supprimer les équipements et les recréer, puis tester les différentes commandes ?

Je l’ai commandé sur Aliexpres, ça a mis environ 2 semaines et demi.
En effet, le 0 semble être moteur arrêté. Le 1 l’un des « canaux » et le 2 l’autre. Selon la configuration (dans l’appli tu peux inverser le moteur selon comment tu as connecté l’alimentation au module) le 1 est l’ouverture ou la fermeture.
Pour le pourcentage d’ouverture, le 0 correspond à fermé et 100 à ouvert.
Je te joins des captures d’écran de l’app.

1024-2048

En mode moteur :
1024-2048 (1)

Merci pour la maj mais malheureusement aucun des nouveaux contrôles ne fonctionnent.
Voici les logs des actions si ça peut t’aider :

{"action":"update","userAgent":"app","apikey":"*****","deviceid":"1001220352","sequence":"1614796636585","params":{"switch":"on"}}
{"action":"update","userAgent":"app","apikey":"*****","deviceid":"1001220352","sequence":"1614796644650","params":{"switch":"off"}}

J’ai fais toutes les actions mais seules allumer et éteindre génère des logs.

Désolé, je n’ai pas vu ta réponse…
Je regarde ce soir.

1 J'aime

Hello,

La mise a jour est en ligne.

Hello @Foulek57 ,

Le pourcetage de fermeture fonctionne correctement (même si pour chipoter cela devrait être « pourcentage d’ouverture » :wink:)

Par contre, les autres commandes ne fonctionnent malheureusement pas.
Log ewejee :

[2021-04-06 19:57:01][DEBUG] : ---------- Switch device 1001220352 channel : setLocation_dualr3_slider Action : Fermeture slider
[2021-04-06 19:57:01][DEBUG] : Démarrage switch ...
[2021-04-06 19:57:01][DEBUG] : ** Envoi de la commande au serveur : Device : 1001220352 Apikey : 0e03c24a-01ad-4fce-a557-09e6f56c1fbc Channel : setLocation_dualr3_slider Action : Fermeture slider
[2021-04-06 19:57:01][DEBUG] : Commande pour 1001220352 correctement Envoyé
[2021-04-06 19:57:01][DEBUG] : [attribute_update] Device ID = 1001220352 Nom = Volet2
[2021-04-06 19:58:01][DEBUG] : ---------- Switch device 1001220352 channel : open_dualr3 Action : Ouverture
[2021-04-06 19:58:01][DEBUG] : Démarrage switch ...
[2021-04-06 19:58:01][DEBUG] : ** Envoi de la commande au serveur : Device : 1001220352 Apikey : 0e03c24a-01ad-4fce-a557-09e6f56c1fbc Channel : open_dualr3 Action : Ouverture
[2021-04-06 19:58:01][DEBUG] : Commande pour 1001220352 correctement Envoyé
[2021-04-06 19:59:01][DEBUG] : ---------- Switch device 1001220352 channel : setLocation_dualr3_slider Action : Fermeture slider
[2021-04-06 19:59:01][DEBUG] : Démarrage switch ...
[2021-04-06 19:59:01][DEBUG] : ** Envoi de la commande au serveur : Device : 1001220352 Apikey : 0e03c24a-01ad-4fce-a557-09e6f56c1fbc Channel : setLocation_dualr3_slider Action : Fermeture slider
[2021-04-06 19:59:01][DEBUG] : Commande pour 1001220352 correctement Envoyé
[2021-04-06 19:59:01][DEBUG] : ---------- Switch device 1001220352 channel : stop_dualr3 Action : Stop
[2021-04-06 19:59:01][DEBUG] : Démarrage switch ...
[2021-04-06 19:59:01][DEBUG] : ** Envoi de la commande au serveur : Device : 1001220352 Apikey : 0e03c24a-01ad-4fce-a557-09e6f56c1fbc Channel : stop_dualr3 Action : Stop
[2021-04-06 19:59:01][DEBUG] : [attribute_update] Device ID = 1001220352 Nom = Volet2
[2021-04-06 19:59:01][DEBUG] : Commande pour 1001220352 correctement Envoyé

Log ewejee_node

[ 6/3 | 19:57:1 ] {"action":"update","userAgent":"app","apikey":"0e03c24a-01ad-4fce-a557-09e6f56c1fbc","deviceid":"1001220352","sequence":"1617731821319","params":{"motorTurn":""}}
{
  action: 'update',
  userAgent: 'app',
  apikey: '0e03c24a-01ad-4fce-a557-09e6f56c1fbc',
  deviceid: '1001220352',
  sequence: '1617731821319',
  params: { motorTurn: '' }
}
[ 6/3 | 19:59:1 ] {"action":"update","userAgent":"app","apikey":"0e03c24a-01ad-4fce-a557-09e6f56c1fbc","deviceid":"1001220352","sequence":"1617731941791","params":{"motorTurn":""}}
{
  action: 'update',
  userAgent: 'app',
  apikey: '0e03c24a-01ad-4fce-a557-09e6f56c1fbc',
  deviceid: '1001220352',
  sequence: '1617731941791',
  params: { motorTurn: '' }
}

hello,

toujours le même problème que toi.

Je viens de remettre en ligne une MAJ, vous pouvez la faire et voir si c’est ok cette fois ?

Pour moi toujours pareil en plus impossible de reconnecter en cloud le plugin reste en rouge lan ok vert.

J’ai l’impression qu’une petite coquille s’est glissée dans le code du démon :


/var/www/html/plugins/ewejee/core/js/newserver.js:644
                const motorTurn;
                      ^^^^^^^^^

SyntaxError: Missing initializer in const declaration
    at wrapSafe (internal/modules/cjs/loader.js:979:16)
    at Module._compile (internal/modules/cjs/loader.js:1027:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47

Coquille réparée

Nicolas17

un retour depuis la mise a jour les commandes fonctionnes chez toi?

Pour moi toujours au même point avec la mise à) jour :sob: