at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 918) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 919) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10008faac2","sequence":"1611709995238","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 920) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10008fdba0","sequence":"1611709995271","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 921) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 922) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 923) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 924) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 925) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 926) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 927) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 928) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10009008b7","sequence":"1611710313022","params":{"switch":"on"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:161:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:177: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) (node:27497) 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(). (rejection id: 929) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 930) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 931) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 932) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 933) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10008fdba0","sequence":"1611710498747","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 934) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10008faac2","sequence":"1611710498952","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 935) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 936) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 937) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 938) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 939) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 940) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 941) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 942) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 943) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 944) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 945) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 946) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 947) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 948) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10009008b7","sequence":"1611711190084","params":{"switch":"on"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:161:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:177: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) (node:27497) 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(). (rejection id: 949) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 950) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 951) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 952) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 953) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 954) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 955) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 956) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 957) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 958) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 959) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 960) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 961) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 962) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10008faac2","sequence":"1611711837229","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 963) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10008fdba0","sequence":"1611711837265","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 964) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 965) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 966) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 967) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 968) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 969) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 970) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 971) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 972) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 973) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 974) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 975) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 976) {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"100090d237","sequence":"1611712489705","params":{"switch":"off"}} (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at send (/var/www/html/plugins/ewejee/core/js/newserver.js:93:28) at single_switch (/var/www/html/plugins/ewejee/core/js/newserver.js:103:34) at /var/www/html/plugins/ewejee/core/js/newserver.js:193:34 at /var/www/html/plugins/ewejee/core/js/newserver.js:208: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) (node:27497) 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(). (rejection id: 977) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/src/mixins/openWebSocket.js:39:17) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 978) (node:27497) UnhandledPromiseRejectionWarning: Error: Can't send data because WebSocket is not opened. at exports.throwIf (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/utils.js:4:11) at WebSocketAsPromised.send (/var/www/html/plugins/ewejee/core/js/node_modules/ewelink-api/node_modules/websocket-as-promised/src/index.js:248:5) at Timeout._onTimeout (/var/www/html/plugins/ewejee/core/js/newserver.js:745:20) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) (node:27497) 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(). (rejection id: 979) https://domotique.idfi-solutions.com:443 SSL ? oui Serveur correctement lancé sur http://localhost:6005 Le Wed Jan 27 2021 01:56:46 GMT+0000 (Greenwich Mean Time) {"error":0,"apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","config":{"hb":1,"hbInterval":145},"sequence":"1611712604000"} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10009008b7","sequence":"1611712762799","params":{"switch":"on"}} {"error":0,"deviceid":"10009008b7","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611712762799"} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"100090d237","sequence":"1611712908039","params":{"switch":"off"}} {"error":0,"deviceid":"100090d237","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611712908039"} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"1000bd2b6f","sequence":"1611713276332","params":{"switch":"on"}} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"1000bd2b6f","sequence":"1611713276449","params":{"switch":"on"}} {"error":0,"deviceid":"1000bd2b6f","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611713276332"} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"1000bd2b6f","sequence":"1611713277875","params":{"switch":"off"}} {"error":0,"deviceid":"1000bd2b6f","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611713276449"} {"error":0,"deviceid":"1000bd2b6f","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611713277875"} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"1000bd2b6f","sequence":"1611713279662","params":{"switch":"on"}} {"error":0,"deviceid":"1000bd2b6f","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611713279662"} {"action":"update","userAgent":"app","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","deviceid":"10009008b7","sequence":"1611713841762","params":{"switch":"on"}} {"error":0,"deviceid":"10009008b7","apikey":"9561a861-4ad9-4d0e-a55e-127012fa11ec","sequence":"1611713841762"}