Bonjour,
je viens d’installer le pungin ewejee afin de pouvoir commander mes brasseur d’air qui fonctionne avec des ifan2
J’ai reussi a connecter mon compte ewelink et synchro mes ifan2
Mais quand je veux actionner une commande , rien ne se passe et j’ai cela dans les logs
{"error":0,"apikey":xxxxxxx","config":{"hb":1,"hbInterval":145},"sequence":"1587208532461"}
(node:29519) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'switches' of undefined
at /var/www/html/plugins/ewejee/core/js/newserver.js:345:43
at /var/www/html/plugins/ewejee/core/js/newserver.js:362:14
at Layer.handle [as handle_request] (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/layer.js:95:5)
at /var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:281:22
at param (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:354:14)
at param (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:365:14)
at param (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:365:14)
at Function.process_params (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:410:3)
at next (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:275:10)
at expressInit (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:317:13)
at /var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:275:10)
at query (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/middleware/query.js:45:5)
at Layer.handle [as handle_request] (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:317:13)
at /var/www/html/plugins/ewejee/core/js/node_modules/express/lib/router/index.js:284:7
(node:29519) 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:29519) [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.
Est ce quelqu’un aurait une idée?
Merci d’avance !!!