*************************** LS *************************** rm: cannot remove 'deviceip-table.json': No such file or directory devices-cache.json getIP.sh lan.sh lanmode.txt lib working.txt *************************** LS *************************** Recherche d équipement sur le réseau local pendant 30 secondes ... *************************** LS *************************** devices-cache.json getIP.sh lan.sh lanmode.txt lib working.txt *************************** LS *************************** Recherche d équipement sur le réseau local pendant 30 secondes ... Si plusieurs reseaux : 192.168.1 Réseau utilisé par défaut : 192.168.1 Wake up devices... 192.168.1 Si plusieurs reseaux : 192.168.1 Réseau utilisé par défaut : 192.168.1 Wake up devices... 192.168.1 +;wlan0;IPv4;eWeLink_1000cf57c2;_ewelink._tcp;local deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan Wait for devices to respond... +;wlan0;IPv4;eWeLink_1000cf57c2;_ewelink._tcp;local Wait for devices to respond... PING 192.168.1.175 (192.168.1.175) 56(84) bytes of data. 64 bytes from 192.168.1.175: icmp_seq=1 ttl=128 time=6.12 ms --- 192.168.1.175 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 6.121/6.121/6.121/0.000 ms PING 192.168.1.175 (192.168.1.175) 56(84) bytes of data. 64 bytes from 192.168.1.175: icmp_seq=1 ttl=128 time=2.01 ms --- 192.168.1.175 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 2.005/2.005/2.005/0.000 ms /var/www/html/plugins/ewejee/resources/lan /var/www/html/plugins/ewejee/resources/lan rm: cannot remove 'working.txt': No such file or directory Recherche d équipement sur le réseau local terminé ... Recherche d équipement sur le réseau local terminé ... Cache sauvgardé ! Cache sauvgardé ! Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Fri Oct 30 2020 10:09:55 GMT+0000 (GMT) { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] events.js:183 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE 127.0.0.1:6006 at Server.setupListenHandle [as _listen2] (net.js:1360:14) at listenInCluster (net.js:1401:12) at GetAddrInfoReqWrap.doListen [as callback] (net.js:1510:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:72:10) http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] events.js:183 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE 127.0.0.1:6006 at Server.setupListenHandle [as _listen2] (net.js:1360:14) at listenInCluster (net.js:1401:12) at GetAddrInfoReqWrap.doListen [as callback] (net.js:1510:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:72:10) 192.168.1 deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Fri Oct 30 2020 10:11:32 GMT+0000 (GMT) Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). module.js:550 throw err; ^ Error: Cannot find module 'ewelink-api' at Function.Module._resolveFilename (module.js:548:15) at Function.Module._load (module.js:475:25) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object. (/var/www/html/plugins/ewejee/core/js/cache.js:6:17) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) (node:10564) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at https://us-api.coolkit.cc:8080/api/user/login reason: Unexpected token < in JSON at position 0 at /var/www/html/plugins/ewejee/core/js/node_modules/node-fetch/lib/index.js:272:32 at at process._tickCallback (internal/process/next_tick.js:189:7) (node:10564) 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: 2) (node:10564) [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. Cache sauvgardé ! Cache sauvgardé ! Cache sauvgardé ! Création à /var/www/html/plugins/ewejee/resources/lan Suppression des fichier arp et deviceip 192.168.1 *************************** LS *************************** devices-cache.json getIP.sh lan.sh lanmode.txt lib working.txt *************************** LS *************************** Recherche d équipement sur le réseau local pendant 30 secondes ... Si plusieurs reseaux : 192.168.1 Réseau utilisé par défaut : 192.168.1 Wake up devices... 192.168.1 +;wlan0;IPv4;eWeLink_1000cf57c2;_ewelink._tcp;local Wait for devices to respond... deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan PING 192.168.1.175 (192.168.1.175) 56(84) bytes of data. 64 bytes from 192.168.1.175: icmp_seq=1 ttl=128 time=501 ms --- 192.168.1.175 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 500.737/500.737/500.737/0.000 ms /var/www/html/plugins/ewejee/resources/lan Recherche d équipement sur le réseau local terminé ... Cache sauvgardé ! http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Sat Oct 31 2020 09:12:54 GMT+0000 (GMT) { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} Création à /var/www/html/plugins/ewejee/resources/lan Suppression des fichier arp et deviceip 192.168.1 *************************** LS *************************** devices-cache.json getIP.sh lan.sh lanmode.txt lib working.txt *************************** LS *************************** Recherche d équipement sur le réseau local pendant 30 secondes ... Si plusieurs reseaux : 192.168.1 Réseau utilisé par défaut : 192.168.1 Wake up devices... 192.168.1 +;wlan0;IPv4;eWeLink_1000cf57c2;_ewelink._tcp;local Wait for devices to respond... deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan Cache sauvgardé ! PING 192.168.1.175 (192.168.1.175) 56(84) bytes of data. 64 bytes from 192.168.1.175: icmp_seq=1 ttl=128 time=254 ms --- 192.168.1.175 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 254.371/254.371/254.371/0.000 ms /var/www/html/plugins/ewejee/resources/lan Recherche d équipement sur le réseau local terminé ... http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Sat Oct 31 2020 09:17:12 GMT+0000 (GMT) (node:11784) UnhandledPromiseRejectionWarning: FetchError: request to http://192.168.1.175:8081/zeroconf/switch failed, reason: connect ECONNRESET 192.168.1.175:8081 at ClientRequest. (/var/www/html/plugins/ewejee/core/js/node_modules/node-fetch/lib/index.js:1461:11) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at Socket.socketErrorListener (_http_client.js:401:9) at emitOne (events.js:116:13) at Socket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:73:8) at _combinedTickCallback (internal/process/next_tick.js:139:11) at process._tickCallback (internal/process/next_tick.js:181:9) (node:11784) 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: 1) (node:11784) [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. { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} Cache sauvgardé ! { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} Cache sauvgardé ! 192.168.1 deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan Cache sauvgardé ! Création à /var/www/html/plugins/ewejee/resources/lan Suppression des fichier arp et deviceip 192.168.1 Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). *************************** LS *************************** devices-cache.json getIP.sh lan.sh lanmode.txt lib working.txt *************************** LS *************************** Recherche d équipement sur le réseau local pendant 30 secondes ... Si plusieurs reseaux : 192.168.1 Réseau utilisé par défaut : 192.168.1 Wake up devices... 192.168.1 +;wlan0;IPv4;eWeLink_1000cf57c2;_ewelink._tcp;local deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan Wait for devices to respond... PING 192.168.1.175 (192.168.1.175) 56(84) bytes of data. 64 bytes from 192.168.1.175: icmp_seq=1 ttl=128 time=5.74 ms --- 192.168.1.175 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 5.743/5.743/5.743/0.000 ms /var/www/html/plugins/ewejee/resources/lan Recherche d équipement sur le réseau local terminé ... Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). Cache sauvgardé ! http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Sat Oct 31 2020 09:26:25 GMT+0000 (GMT) { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] events.js:183 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE 127.0.0.1:6006 at Server.setupListenHandle [as _listen2] (net.js:1360:14) at listenInCluster (net.js:1401:12) at GetAddrInfoReqWrap.doListen [as callback] (net.js:1510:7) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:72:10) { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} { status: 'ok', state: 'on' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"on","outlet":null}]}} { status: 'ok', state: 'off' } {"action":"update","userAgent":"lan","deviceid":"1000cf57c2","params":{"switches":[{"switch":"off","outlet":null}]}} 192.168.1 deviceip crée ici : /var/www/html/plugins/ewejee/resources/lan Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Sat Oct 31 2020 09:37:30 GMT+0000 (GMT) Cache sauvgardé ! Usage: kill [options] [...] Options: [...] send signal to every listed -, -s, --signal specify the to be sent -l, --list=[] list all signal names, or convert one to a name -L, --table list all signal names in a nice table -h, --help display this help and exit -V, --version output version information and exit For more details see kill(1). Cache sauvgardé ! http://192.168.1.87:80 SSL ? non LANMode [ { ip: '192.168.1.34', mac: 'a2:b9:57:b8:98:97' }, { ip: '192.168.1.175', mac: 'a4:cf:12:d7:d7:f1' }, { ip: '192.168.1.254', mac: '68:a3:78:11:84:bf' }, { ip: '192.168.1.177', mac: 'ec:55:f9:c6:70:00' }, { ip: '192.168.1.180', mac: '00:03:ac:2f:6b:b9' } ] Serveur LAN correctement lancé sur http://localhost:6006 Le Sat Oct 31 2020 09:45:13 GMT+0000 (GMT)