parns / iobroker.amazon-dash Goto Github PK
View Code? Open in Web Editor NEWAmazon Dashbutton Adapter for ioBroker
Amazon Dashbutton Adapter for ioBroker
Nach dem Update von Node.js auf v8.10.0 kommen folgende Fehler beim Start von Amazon.dash
amazon-dash.0 | 2018-03-09 11:17:52.247 | info | starting. Version 0.2.8 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v8.10.0 |
---|---|---|---|
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Module.load (module.js:565:32) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Object.Module._extensions..js (module.js:663:10) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Module._compile (module.js:652:30) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at require (internal/module.js:11:18) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Module.require (module.js:596:17) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Function.Module._load (module.js:497:3) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at tryModuleLoad (module.js:505:12) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Module.load (module.js:565:32) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | at Object.Module._extensions..node (module.js:681:18) |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | the module (for instance, using npm rebuild or npm install ). |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | NODE_MODULE_VERSION 57. Please try re-compiling or re-installing |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | NODE_MODULE_VERSION 48. This version of Node.js requires |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | was compiled against a different Node.js version using |
amazon-dash.0 | 2018-03-09 11:17:51.866 | error | Error: The module '/opt/iobroker/node_modules/pcap/build/Release/pcap_binding.node' |
amazon-dash.0 | 2018-03-09 11:17:51.858 | error | the module (for instance, using npm rebuild or npm install ). |
amazon-dash.0 | 2018-03-09 11:17:51.858 | error | NODE_MODULE_VERSION 57. Please try re-compiling or re-installing |
amazon-dash.0 | 2018-03-09 11:17:51.858 | error | NODE_MODULE_VERSION 48. This version of Node.js requires |
amazon-dash.0 | 2018-03-09 11:17:51.858 | error | was compiled against a different Node.js version using |
amazon-dash.0 | 2018-03-09 11:17:51.858 | error | uncaught exception: The module '/opt/iobroker/node_modules/pcap/build/Release/pcap_binding.node' |
Was kann ich tun? Ausser Downgraden?
Please activate travis testing!
Received yesterday 4 new Dash Buttons from Amazon (Germany)
One out of 4 has the MAC-range
FC:65:DE:XX:XX:XX
and is not present in the current main.js
Please add for the future :)
BR, xmace
Neue Version 0.3.0 läuft ohne Probleme hier, nur ein Bug ist mir aufgefallen, dass der Name aus der Konfig den ich eingetragen habe, nicht in das Name Feld des Objektes übernommen wird.
npm 6.4.1, Node 8.14.0, js-controller 1.5.3, linux mint 18.3.
Ich musste bei mir aufgrund eines BOND Anschlusses den Interface nachträglich auf "ovs_bond0" legen.
Hintergrund ist der, das ich ioBroker über Docker auf einem NAS laufen habe, welches eine BOND anbindung hat.
Nach der Installation ist habe ich keinen DashButton einbinden können.
In der "main.js" ist mir aufgefallen, das an der stelle, wo im Code unten jetzt -"ovs_bond0"- steht vorher nur -""- stand.
Warunm dort nicht -"eth0"- stand, weiß ich leider nicht.
Mit der änderung geht es jetzt.
Praktisch wäre es, im Adapter ein Dropdown mit einigen gängigen Interfaces zu haben, wenn man doch mal abseits von eth0 bewegen sollte.
if (typeof adapter.config.interface == 'undefined' || adapter.config.interface === '') { adapter.config.interface = "ovs_bond0"; adapter.log.info('starting pcap session on default interface'); } else { adapter.log.info('starting pcap session on interface '+adapter.config.interface); }
Habe aktuell einen Dash Button der einfach nicht will.
Würde dir gerne mehr Daten zukommen lassen aber weiß nicht wie ich sowas loggen kann
German system, so it is a correct fall =D
`$ ./iobroker add amazon-dash
npm install iobroker.amazon-dash --production --prefix "C:/ioBroker" (System call)
Der Befehl "apt-get" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "true" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm
ERR! Windows_NT 6.3.9600npm
ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--prefix" "C:/ioBroker"npm
ERR! node v4.5.0npm ERR! npm v2.15.9
npm ERR! code
ELIFECYCLE
npm ERR! [email protected] preinstall: apt-get install libpcap-dev -y || true
npm ERR! Exit status 1
npm ERR! npm ERR! Failed at the [email protected] preinstall script 'apt-get install libpcap-dev -y || true'.
npm ERR! This is most likely a problem with the iobroker.amazon-dash package,npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!
apt-get install libpcap-dev -y || truenpm ERR! You can get information on how to open an issue for this project with:
npm ERR!
npm bugs iobroker.amazon-dashnpm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls iobroker.amazon-dash
npm
ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:npm ERR!
C:\ioBroker\node_modules\iobroker\npm-debug.log
host.john install adapter amazon-dash
npm install iobroker.amazon-dash --production --prefix "C:/ioBroker" (System call)
Der Befehl "apt-get" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "true" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm
ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--prefix" "C:/ioBroker"
npm ERR! node v4.5.0npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] preinstall: apt-get install libpcap-dev -y || true
npm ERR! Exit status 1
npm ERR! npm ERR! Failed at the [email protected] preinstall script 'apt-get install libpcap-dev -y || true'.
npm ERR! This is most likely a problem with the iobroker.amazon-dash package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! apt-get install libpcap-dev -y || true
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs iobroker.amazon-dashnpm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls iobroker.amazon-dash
npm ERR! There is likely additional logging output above.
npm ERR!
Please include the following file with any support request:npm ERR!
C:\ioBroker\node_modules\iobroker\npm-debug.log
host.john install adapter amazon-dash
npm install iobroker.amazon-dash --production --prefix "C:/ioBroker" (System call)
Der Befehl "apt-get" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "true" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm
ERR! Windows_NT 6.3.9600npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--prefix" "C:/ioBroker"
npm ERR! node v4.5.0npm ERR! npm v2.15.9
npm
ERR! code ELIFECYCLE
npm ERR! [email protected] preinstall: apt-get install libpcap-dev -y || true
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script 'apt-get install libpcap-dev -y || true'.
npm ERR! This is most likely a problem with the iobroker.amazon-dash package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! apt-get install libpcap-dev -y || true
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs iobroker.amazon-dash
npm ERR! Or if that isn't available, you can get their info via:
npm
ERR! npm ERR! npm owner ls iobroker.amazon-dash
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log
host.john install adapter amazon-dash
ERROR: host.john Cannot install amazon-dash
ERROR: process exited with code 13`
http://forum.iobroker.net/viewtopic.php?f=20&t=3635&start=60#p40416
in den Objekten wird der Dash Button mit seiner Mac Adresse als ID angezeigt.
Da der Adapter bei mir auch noch andere Amazon Geräte als Dash erkennt (Fire TV, Kindle)
ist das ganze etwas unübersichtlich. Ich würde gern bei den einzelnen Geräten in der Spalte Name den Namen des Geräts
eintragen. Leider ist dies nicht möglich
wäre super wenn das möglich gemacht werden könnte.
Hi, I have just ported my ioBroker from Raspberry to Nuc and the dashbutton adapter is the only one that fails. The reason is that I cannot install libpcap. The istallation is in Debian LCX Docker on Proxmox. Any help is greatly appreciated.
`fruit@ioBroker:~# apt-get install libpcap-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpcap-dev is already the newest version (1.8.1-3).
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up avahi-daemon (0.6.32-2) ...
Job for avahi-daemon.service failed because the control process exited with error code.
See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript avahi-daemon, action "start" failed.
Oct 12 12:17:31 ioBroker systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Oct 12 12:17:31 ioBroker systemd[1]: avahi-daemon.service: Main process exited, code=exited, stat…55/n/a
Oct 12 12:17:31 ioBroker systemd[1]: Failed to start Avahi mDNS/DNS-SD Stack.
Oct 12 12:17:31 ioBroker systemd[1]: avahi-daemon.service: Unit entered failed state.
Oct 12 12:17:31 ioBroker systemd[1]: avahi-daemon.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package avahi-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of avahi-utils:
avahi-utils depends on avahi-daemon; however:
Package avahi-daemon is not configured yet.
dpkg: error processing package avahi-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-mdns:amd64:
libnss-mdns:amd64 depends on avahi-daemon (>= 0.6.16-1); however:
Package avahi-daemon is not configured yet.
dpkg: error processing package libnss-mdns:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
avahi-daemon
avahi-utils
libnss-mdns:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
fruit@ioBroker:~#
`
The upcoming version 2.0.0 of js-controller will support a new mode for low memory devices. For this, a few minor adjustments to the adapter must be made. Please follow these instructions: https://forum.iobroker.net/viewtopic.php?f=24&t=20387#p213466
Dear Adapter developer,
with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.
If something is not correct this is logged as 'warning' or 'info' log.
Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1301
Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.
More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui
Please close the issue after you checked it.
Thank you very much for your support!
... or move the adater into the adapter community!!
afri-cola - 40B4CD
Hi .. ich hab den Adapter schon lange nicht mehr verwendet .. alle Objekte gelöscht .. Adapter neu gestartet .. grün. Knopf gedrückt .. Objekt wird generiert .. aber eben nur das Device .. keine states.
Außerdem fällt mir auf, dass andere Geräte (MAC-IDs) auftauchen .. teils auch mit States .. die aber gar nicht in der MAC-ID-Liste eingetragen sind (da steht nur mein einer Dash-Button).
Weiß grad nicht weiter.
amazon-dash.0 | 2020-06-06 19:51:17.069 | info | (27929) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
---|---|---|---|
amazon-dash.0 | 2020-06-06 19:51:17.068 | info | (27929) terminating |
amazon-dash.0 | 2020-06-06 19:51:17.068 | info | (27929) cleaned everything up... |
amazon-dash.0 | 2020-06-06 19:51:17.067 | info | (27929) Got terminate signal TERMINATE_YOURSELF |
amazon-dash.0 | 2020-06-06 19:51:17.001 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:15.978 | debug | (27929) needle MAC : 7C49EB |
amazon-dash.0 | 2020-06-06 19:51:15.978 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:15.978 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:15.977 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:14.954 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:14.953 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:13.929 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:12.905 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:11.881 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:11.881 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:10.858 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:10.857 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:10.857 | debug | (27929) needle MAC : ECFABC |
amazon-dash.0 | 2020-06-06 19:51:09.833 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:08.810 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:08.809 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:08.809 | debug | (27929) needle MAC : CC50E3 |
amazon-dash.0 | 2020-06-06 19:51:07.785 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:07.785 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:06.762 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:06.761 | debug | (27929) needle MAC : CC50E3 |
amazon-dash.0 | 2020-06-06 19:51:06.761 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:05.738 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:05.737 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:04.714 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:04.713 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:03.689 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:02.665 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:51:01.641 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:00.618 | debug | (27929) needle MAC : ECFABC |
amazon-dash.0 | 2020-06-06 19:51:00.618 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:51:00.617 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:59.593 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:58.570 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:58.569 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:58.569 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:57.547 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:57.546 | debug | (27929) needle MAC : BE74A1 |
amazon-dash.0 | 2020-06-06 19:50:57.546 | debug | (27929) needle MAC : BE74A1 |
amazon-dash.0 | 2020-06-06 19:50:57.546 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:57.545 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:56.521 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:56.521 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:55.498 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:55.497 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:54.473 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:53.450 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:53.450 | debug | (27929) needle MAC : 600194 |
amazon-dash.0 | 2020-06-06 19:50:53.449 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:52.425 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:51.401 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:51.401 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:50.378 | debug | (27929) needle MAC : ECFABC |
amazon-dash.0 | 2020-06-06 19:50:50.377 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:50.377 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:49.353 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:49.353 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:48.329 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:48.329 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:47.305 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:46.281 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:45.257 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:44.233 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:44.233 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:43.209 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:43.209 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:42.192 | debug | (27929) setObject 00-fc-8b-c3-14-85 (type=device) property common.name missing, using id as name |
amazon-dash.0 | 2020-06-06 19:50:42.185 | debug | (27929) needle MAC : 00FC8B |
amazon-dash.0 | 2020-06-06 19:50:42.185 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:41.162 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:41.161 | debug | (27929) needle MAC : ECFABC |
amazon-dash.0 | 2020-06-06 19:50:40.137 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:39.113 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:39.113 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:38.089 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:38.089 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:36.042 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:36.042 | debug | (27929) needle MAC : 7C49EB |
amazon-dash.0 | 2020-06-06 19:50:36.041 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:36.041 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:35.019 | debug | (27929) needle MAC : 64DAA0 |
amazon-dash.0 | 2020-06-06 19:50:35.019 | debug | (27929) needle MAC : F282B0 |
amazon-dash.0 | 2020-06-06 19:50:33.800 | info | (27929) starting pcap session on default interface |
amazon-dash.0 | 2020-06-06 19:50:33.799 | debug | (27929) manual MAC : 26 |
amazon-dash.0 | 2020-06-06 19:50:33.783 | info | (27929) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.21.0, js-controller: 3.1.5 |
amazon-dash.0 | 2020-06-06 19:50:33.060 | debug | (27929) statesDB connected |
amazon-dash.0 | 2020-06-06 19:50:33.059 | debug | (27929) States connected to redis: 127.0.0.1:9000 |
amazon-dash.0 | 2020-06-06 19:50:33.050 | debug | (27929) States create System PubSub Client |
amazon-dash.0 | 2020-06-06 19:50:33.049 | debug | (27929) States create User PubSub Client |
amazon-dash.0 | 2020-06-06 19:50:33.043 | debug | (27929) Redis States: Use Redis connection: 127.0.0.1:9000 |
amazon-dash.0 | 2020-06-06 19:50:33.042 | debug | (27929) objectDB connected |
amazon-dash.0 | 2020-06-06 19:50:33.038 | debug | (27929) Objects connected to redis: 127.0.0.1:9001 |
amazon-dash.0 | 2020-06-06 19:50:33.026 | debug | (27929) Objects client initialize lua scripts |
amazon-dash.0 | 2020-06-06 19:50:33.026 | debug | (27929) Objects create User PubSub Client |
amazon-dash.0 | 2020-06-06 19:50:33.025 | debug | (27929) Objects create System PubSub Client |
amazon-dash.0 | 2020-06-06 19:50:33.023 | debug | (27929) Objects client ready ... initialize now |
amazon-dash.0 | 2020-06-06 19:50:32.998 | debug | (27929) Redis Objects: Use Redis connection: 127.0.0.1:9001 |
amazon-dash.0 | 2020-06-06 19:50:12.125 | info | (11167) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
amazon-dash.0 | 2020-06-06 19:50:12.124 | info | (11167) terminating |
amazon-dash.0 | 2020-06-06 19:50:12.124 | info | (11167) cleaned everything up... |
amazon-dash.0 | 2020-06-06 19:50:12.123 | info | (11167) Got terminate signal TERMINATE_YOURSELF |
Amazing .. this is the only adapter I really frequently have problems with. This time I cannot cure by reinstalling nor by iobroker fixing. Crazy:
amazon-dash.0 | 2021-02-10 13:45:33.496 | warn | (14745) Terminated (UNCAUGHT_EXCEPTION): Without reason |
---|---|---|---|
amazon-dash.0 | 2021-02-10 13:45:33.496 | info | (14745) terminating |
amazon-dash.0 | 2021-02-10 13:45:33.495 | info | (14745) cleaned everything up... |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | (14745) socket: Operation not permitted |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | at promiseReadSecret.then.then (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8479:34) |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | at Adapter.emit (events.js:198:13) |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:53:9) |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:90:29) |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | at Object.exports.createSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:131:12) |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:60:39) |
amazon-dash.0 | 2021-02-10 13:45:33.447 | error | (14745) Error: socket: Operation not permitted |
amazon-dash.0 | 2021-02-10 13:45:33.445 | error | (14745) unhandled promise rejection: socket: Operation not permitted |
amazon-dash.0 | 2021-02-10 13:45:33.445 | error | (14745) 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(). |
amazon-dash.0 | 2021-02-10 13:45:33.442 | info | (14745) starting pcap session on default interface |
amazon-dash.0 | 2021-02-10 13:45:33.441 | debug | (14745) manual MAC : 26 |
amazon-dash.0 | 2021-02-10 13:45:33.424 | info | (14745) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.23.3, js-controller: 3.2.16 |
amazon-dash.0 | 2021-02-10 13:45:33.234 | debug | (14745) statesDB connected |
amazon-dash.0 | 2021-02-10 13:45:33.233 | debug | (14745) States connected to redis: 127.0.0.1:9000 |
amazon-dash.0 | 2021-02-10 13:45:33.186 | debug | (14745) States create User PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:33.185 | debug | (14745) States create System PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:33.179 | debug | (14745) Redis States: Use Redis connection: 127.0.0.1:9000 |
amazon-dash.0 | 2021-02-10 13:45:33.177 | debug | (14745) objectDB connected |
amazon-dash.0 | 2021-02-10 13:45:33.171 | debug | (14745) Objects connected to redis: 127.0.0.1:9001 |
amazon-dash.0 | 2021-02-10 13:45:33.160 | debug | (14745) Objects client initialize lua scripts |
amazon-dash.0 | 2021-02-10 13:45:33.160 | debug | (14745) Objects create User PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:33.159 | debug | (14745) Objects create System PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:33.157 | debug | (14745) Objects client ready ... initialize now |
amazon-dash.0 | 2021-02-10 13:45:33.133 | debug | (14745) Redis Objects: Use Redis connection: 127.0.0.1:9001 |
amazon-dash.0 | 2021-02-10 13:45:01.763 | warn | (13990) Terminated (UNCAUGHT_EXCEPTION): Without reason |
amazon-dash.0 | 2021-02-10 13:45:01.763 | info | (13990) terminating |
amazon-dash.0 | 2021-02-10 13:45:01.762 | info | (13990) cleaned everything up... |
amazon-dash.0 | 2021-02-10 13:45:01.706 | error | (13990) socket: Operation not permitted |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | at promiseReadSecret.then.then (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8479:34) |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | at Adapter.emit (events.js:198:13) |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:53:9) |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:90:29) |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | at Object.exports.createSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:131:12) |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:60:39) |
amazon-dash.0 | 2021-02-10 13:45:01.705 | error | (13990) Error: socket: Operation not permitted |
amazon-dash.0 | 2021-02-10 13:45:01.704 | error | (13990) unhandled promise rejection: socket: Operation not permitted |
amazon-dash.0 | 2021-02-10 13:45:01.703 | error | (13990) 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(). |
amazon-dash.0 | 2021-02-10 13:45:01.701 | info | (13990) starting pcap session on default interface |
amazon-dash.0 | 2021-02-10 13:45:01.700 | debug | (13990) manual MAC : 26 |
amazon-dash.0 | 2021-02-10 13:45:01.684 | info | (13990) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.23.3, js-controller: 3.2.16 |
amazon-dash.0 | 2021-02-10 13:45:01.520 | debug | (13990) statesDB connected |
amazon-dash.0 | 2021-02-10 13:45:01.519 | debug | (13990) States connected to redis: 127.0.0.1:9000 |
amazon-dash.0 | 2021-02-10 13:45:01.508 | debug | (13990) States create User PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:01.508 | debug | (13990) States create System PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:01.500 | debug | (13990) Redis States: Use Redis connection: 127.0.0.1:9000 |
amazon-dash.0 | 2021-02-10 13:45:01.498 | debug | (13990) objectDB connected |
amazon-dash.0 | 2021-02-10 13:45:01.491 | debug | (13990) Objects connected to redis: 127.0.0.1:9001 |
amazon-dash.0 | 2021-02-10 13:45:01.480 | debug | (13990) Objects client initialize lua scripts |
amazon-dash.0 | 2021-02-10 13:45:01.479 | debug | (13990) Objects create User PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:01.479 | debug | (13990) Objects create System PubSub Client |
amazon-dash.0 | 2021-02-10 13:45:01.476 | debug | (13990) Objects client ready ... initialize now |
amazon-dash.0 | 2021-02-10 13:45:01.450 | debug | (13990) Redis Objects: Use Redis connection: 127.0.0.1:9001 |
Hey, not an issue, but it could be useful for others whom want to use the adapter with newer Version of iobroker which do not run as "root" anymore.
You´ll need to set permissions to nodejs to run libpcap without root permissions.
in my case nodejs was installed in /usr/bin/node
so the command to use was:
setcap cap_net_raw,cap_net_admin=eip /usr/bin/node
Maybe you´ll put it in the help section of the Adapter.
When I try to install the Amazon Dash-Button Adapter in IOBroker, I receive the following error while Installation:
`pi@raspberrypi-iobroker:~ $ sudo npm i iobroker.amazon-dash
npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] apt-get install libpcap-dev -y || true /home/pi/node_modules/.staging/iobroker.amazon-dash-c68c26a5
/home/pi
└── [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.`
libpcap is installed.
a new installation with the new installation method of iobroker will result in this error message:
E
:
Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
There is only the MAC Address displayed, it would be nice to have a kind of "Display name"/"Comment field" to name the button "NERF Dashbutton Kitchen"
Hi,
the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.
You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.
Please update your systems to js-controller 2.0 and check your adapter.
Please close this issue once you have checked your adapter or received successfull reports from users.
Thank you very much for your support. Please contact us in the other Threads or Forum on any question.
I am an automatic service from ioBroker that searches adapters and makes suggestions.
I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.
Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.
Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.
Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.
On questions, the other developers will support in the forum or via GitHub issues too.
If no detection is possible, simply close this issue and I won't bother you again. ;-)
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Habe heute eine Bestellung mit 4 Dash Button bekommen. 2 Davon werden erkannt, 2 nicht.
MACs: fc:65:de:b8:98:0a und fc:65:de:7a:74:bd
Müssen diese MACs noch irgendwo hinzugefügt werden?
Currently the following 6 leading characters of an amazon-Dash MAC are missing in the list of node_modules/iobroker.amazon-dash/main.js
2C3AE8
Thx
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/PArns/ioBroker.amazon-dash
I have also found warnings that may be fixed if possible.
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hello,
i have a Afri-Cola Dash Button with Mac 68:37:E9:XX:XX:XX
Could you Add the MAC family?
By the way:
Why is in my IOBroker the newest Version 0.1.2 and not 0.2.4?
If Router is not the DHCP/DNS server, 2 ARPs are captured for one button press.
01:32:54.285772 ARP, Request who-has server tell dash-button, length 46
01:32:54.337446 ARP, Request who-has fritzbox tell dash-button, length 46
So, the state switch toggles twice.
Suggestion: process ARP requests for default gateway (e.g. who-has fritzbox) only or ignore subsequent ARPs during short time period (5s?)
Hallo,
kann man die Config wie folgt erweitern:
[ ] Benutze vordefinierte MAC-Zweige
Und die MAC´s die man hinzufügt vollqualifizierbar machen:
Im MAC-Array: ergänzen um 12:34:56:XX:XX:XX
bei der suche die gefundene Mac abschneiden und mit "XX:XX:XX" ergänzen
aber zuerst nach vollqualifizierter suchen.
Had to add:
"FCA667": "Amazon Technologies Inc.",
to manufacturer.js, to find my brand new dash button
Alles etwas fragil .. irgendwas hat mein Dash-Adapter jetzt wieder umgehauen .. gab da irgendein Socket-Adapter-Update .. eventuell deshalb?
amazon-dash.0 | 2020-07-25 19:56:21.761 | info | (6124) Terminated (NO_ERROR): Without reason |
---|---|---|---|
amazon-dash.0 | 2020-07-25 19:56:21.760 | info | (6124) terminating |
amazon-dash.0 | 2020-07-25 19:56:21.735 | info | (6124) cleaned everything up... |
amazon-dash.0 | 2020-07-25 19:56:21.735 | error | (6124) Error: socket: Operation not permitted at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:60:39) at Object.exports.createSession (/opt/iobroke |
amazon-dash.0 | 2020-07-25 19:56:21.733 | error | (6124) unhandled promise rejection: socket: Operation not permitted |
amazon-dash.0 | 2020-07-25 19:56:21.733 | error | 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(). |
amazon-dash.0 | 2020-07-25 19:56:21.730 | info | (6124) starting pcap session on default interface |
amazon-dash.0 | 2020-07-25 19:56:21.714 | info | (6124) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.22.0, js-controller: 3.1.6 |
host.iobroker | 2020-07-25 19:56:20.538 | info | instance system.adapter.amazon-dash.0 started with pid 6124 |
host.iobroker | 2020-07-25 19:55:50.531 | info | Restart adapter system.adapter.amazon-dash.0 because enabled |
host.iobroker | 2020-07-25 19:55:50.530 | info | instance system.adapter.amazon-dash.0 terminated with code 0 (NO_ERROR) |
amazon-dash.0 | 2020-07-25 19:55:50.015 | info | (5386) Terminated (NO_ERROR): Without reason |
amazon-dash.0 | 2020-07-25 19:55:50.014 | info | (5386) terminating |
amazon-dash.0 | 2020-07-25 19:55:49.990 | info | (5386) cleaned everything up... |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at process._tickCallback (internal/process/next_tick.js:68:7) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at promiseReadSecret.then.then (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8148:34) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at Adapter.emit (events.js:198:13) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:53:9) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:90:29) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at Object.exports.createSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:131:12) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:60:39) |
amazon-dash.0 | 2020-07-25 19:55:49.989 | error | (5386) Error: socket: Operation not permitted |
amazon-dash.0 | 2020-07-25 19:55:49.988 | error | (5386) unhandled promise rejection: socket: Operation not permitted |
Unhandled | 2020-07-25 19:55:49.988 | error | 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(). |
amazon-dash.0 | 2020-07-25 19:55:49.985 | info | (5386) starting pcap session on default interface |
amazon-dash.0 | 2020-07-25 19:55:49.963 | info | (5386) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.22.0, js-controller: 3.1.6 |
After updating Raspbian today with following packages: (sudo apt dist-upgrade)
base-files chromium-browser chromium-browser-l10n
chromium-codecs-ffmpeg-extra gstreamer1.0-alsa gstreamer1.0-plugins-base
gstreamer1.0-x java-common libasound2 libasound2-data libaudiofile1
libbasicusageenvironment1 libgroupsock8 libgs9 libgs9-common
libgstreamer-plugins-base1.0-0 libjs-jquery liblivemedia57 libobrender32v5
libobt2v5 libpam-systemd libpng-dev libpng-tools libpng16-16
libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0
libsmbclient libssh2-1 libsystemd0 libudev-dev libudev1 libusageenvironment3
libwbclient0 lxplug-ejecter lxplug-network nodejs openbox pipanel
python-cryptography python-six python3-cryptography python3-six
raspberrypi-bootloader raspberrypi-kernel raspi-config
raspi-copies-and-fills raspi-gpio rc-gui realvnc-vnc-server rpd-plym-splash
rpi-chromium-mods rsync samba-common samba-libs systemd systemd-sysv tzdata
udev unzip wget wiringpi
I have got the following Error-Messages in my Log (constantly repeating)
info Restart adapter system.adapter.amazon-dash.0 because enabled error instance system.adapter.amazon-dash.0 terminated with code 0 (OK) error Caught by controller[0]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:787:25) error Caught by controller[0]: at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:748:13) error Caught by controller[0]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:788:29 error Caught by controller[0]: at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4990:18) error Caught by controller[0]: at Adapter.emit (events.js:208:7) error Caught by controller[0]: at emitNone (events.js:106:13) error Caught by controller[0]: at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:43:5) error Caught by controller[0]: at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:78:29) error Caught by controller[0]: at Object.exports.createSession (/opt/iobroker/node_modules/pcap/pcap.js:123:12) error Caught by controller[0]: at new PcapSession (/opt/iobroker/node_modules/pcap/pcap.js:49:39) error Caught by controller[0]: Error: socket: Operation not permitted info instance system.adapter.amazon-dash.0 started with pid 1094
pi@helios:~ $ node -v
v8.16.0
pi@helios:~ $ npm -v
6.4.1
libpcap-dev is current version (1.8.1-3) --> was not updated ?
re-installing the adapter (v. 0.3.1) does not bring any advantage...
Reviewing the logs of the last days, the previous node version was v8.15.1 .... with this version, everything was working well. (see upgraded packages, nodejs was one of the upgraded ones...)
Regards,
Matthias
Hey,
i tried multiple times to install your adapter but everytime, i get this..
$ ./iobroker add amazon-dash
NPM version: 3.10.10
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN addRemoteGit
git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm
ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefined
npm
ERR! Linux 4.9.59-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node
v6.12.3npm ERR! npm v3.10.10
npm ERR! code ENOGIT
npm ERR! not found: gitnpm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
host.raspberrypi install adapter amazon-dash
NPM version: 3.10.10
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)npm
WARN addRemoteGit git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm
ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefined
npm
ERR! Linux 4.9.59-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker"
npm ERR! node v6.12.3
npm
ERR! npm v3.10.10
npm ERR! code ENOGIT
npm
ERR! not found: gitnpm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
host.raspberrypi install adapter amazon-dash
NPM version: 3.10.10
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
npm
WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15)
npm WARN addRemoteGit git+https://github.com/bytzdev/node-socketwatcher.git resetting remote /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de because of error: { Error: not found: git
npm WARN addRemoteGit at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
npm WARN addRemoteGit at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)
npm WARN addRemoteGit at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
npm WARN addRemoteGit at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
npm WARN addRemoteGit at FSReqWrap.oncomplete (fs.js:123:15) code: 'ENOGIT' }
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefined
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/bytzdev/node-socketwatcher.git /root/.npm/_git-remotes/git-https-github-com-bytzdev-node-socketwatcher-git-e2de02de: undefined
npm ERR! Linux 4.9.59-v7+npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker"
npm
ERR! node v6.12.3
npm ERR! npm v3.10.10npm ERR! code ENOGIT
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log
host.raspberrypi install adapter amazon-dash
ERROR: host.raspberrypi Cannot install amazon-dash
ERROR: process exited with code 13
After updating Node.js from v8.17.0 to v10.18 the adapter won't build successfully.
Ariel 00FC8B
The pcap lib needs to be installed before
It will be more efficient if just a MACs in one array will be listed
?! :-)
Installation in windows Umgebung nicht möglich.
node 8.9.4
npm 4.6.1
`$ ./iobroker add amazon-dash
npm install iobroker.amazon-dash --production --prefix "C:/iobroker" (System call)
Der Befehl "apt-get" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "true" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm
ERR!
code
ELIFECYCLE
npm
ERR!
errno
1
npm
ERR!
[email protected] preinstall: apt-get install libpcap-dev -y || true
npm
ERR! Exit status 1
npm
ERR!
npm
ERR! Failed at the [email protected] preinstall script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2018-02-05T23_25_47_039Z-debug.log
host.BRIX-SERVER create instance amazon-dash
ERROR: host.BRIX-SERVER error: reading io-package.json Error: ENOENT: no such file or directory, open 'C:\iobroker\node_modules\iobroker.js-controller\adapter\amazon-dash\io-package.json'
ERROR: process exited with code 20`
Hello,
i can't install the adapter via the webgui...
Hardware: Beelink BT3
OS: Ubuntu Server 18.04 LTS
`$ ./iobroker add amazon-dash --host iobrokerubuntuserver
NPM version: 6.5.0
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
WARNING: apt
does not have a stable CLI interface.
Use with caution in scripts.
E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Permission denied)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
../socket_watcher.cpp: In static member function ‘static void SocketWatcher::Callback(uv_poll_t*, int, int)’:../socket_watcher.cpp:77:60: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(watcher->handle(), callback, argc, argv);
^
In file included from ../socket_watcher.hpp:8:0,
from ../socket_watcher.cpp:5:
../../../../nan/nan.h:959:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
../pcap_session.cc: In static member function ‘static void PcapSession::PacketReady(u_char*, const pcap_pkthdr*, const u_char*)’:../pcap_session.cc:85:102: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(session->packet_ready_cb), 0, NULL);
^
In file included from ../pcap_session.h:4:0,
from ../pcap_session.cc:7:
../../nan/nan.h:959:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~
host.iobrokerubuntuserver install adapter amazon-dash
got /opt/iobroker/node_modules/iobroker.amazon-dash/admin
upload [3] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/words.js words.js application/javascript
upload [2] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index_m.html index_m.html text/html
upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html
upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png
host.iobrokerubuntuserver object system.adapter.amazon-dash created
host.iobrokerubuntuserver create instance amazon-dash
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.outputCount created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.inputCount created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.uptime created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.memRss created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.memHeapTotal created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.memHeapUsed created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.connected created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0.alive created
host.iobrokerubuntuserver object system.adapter.amazon-dash.0 created
process exited with code 0`
if i do this over the console...
ioBroker add amazon-dash
i get this:
`NPM version: 6.5.0
npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/node_modules/socketwatcher/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/pcap/node_modules/socketwatcher/.node-gyp'
gyp ERR! System Linux 4.15.0-43-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/pcap/node_modules/socketwatcher
gyp ERR! node -v v8.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-02T21_28_09_325Z-debug.log`
here the last lines of the log say...
135 verbose stack Error: [email protected] install:
node-gyp rebuild135 verbose stack Exit status 1 135 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16) 135 verbose stack at emitTwo (events.js:126:13) 135 verbose stack at EventEmitter.emit (events.js:214:7) 135 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 135 verbose stack at emitTwo (events.js:126:13) 135 verbose stack at ChildProcess.emit (events.js:214:7) 135 verbose stack at maybeClose (internal/child_process.js:915:16) 135 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 136 verbose pkgid [email protected] 137 verbose cwd /root 138 verbose Linux 4.15.0-43-generic 139 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker" 140 verbose node v8.15.0 141 verbose npm v6.5.0 142 error code ELIFECYCLE 143 error errno 1 144 error [email protected] install:
node-gyp rebuild144 error Exit status 1 145 error Failed at the [email protected] install script. 145 error This is probably not a problem with npm. There is likely additional logging output above. 146 verbose exit [ 1, true ]
What could i do to fix this...
Mit freundlichen Grüßen
Chris
Hello Patrick,
GPL license has strong copyleft effect, that means, every module in the whole software must be then GPL.
Theoretically even iobroker.js-controller.
If no other dependency uses GPL, could you change the license from GPL to LGPLv3?
It is the same as GPL, but it allows to use module in other software.
Thanks,
Bluefox
Hi,
unfortunately after switching from Raspberry to Orange Pi running Armbian, the Amazon Dash Button Adapter in ioBroker ist no longer functioning properly. Status stays red and does not change to green. libpcap-dev has been installed, removed and then installed again but no change unfortunately. Log below, is this a know issue?
2018-07-02 17:32:49.574 - �[31merror�[39m: Caught by controller[0]: Error: Module version mismatch. Expected 48, got 64.
2018-07-02 17:32:49.575 - �[31merror�[39m: Caught by controller[0]: at Error (native)
2018-07-02 17:32:49.576 - �[31merror�[39m: Caught by controller[0]: at Object.Module._extensions..node (module.js:604:18)
2018-07-02 17:32:49.577 - �[31merror�[39m: Caught by controller[0]: at Module.load (module.js:494:32)
2018-07-02 17:32:49.577 - �[31merror�[39m: Caught by controller[0]: at tryModuleLoad (module.js:453:12)
2018-07-02 17:32:49.578 - �[31merror�[39m: Caught by controller[0]: at Function.Module._load (module.js:445:3)
2018-07-02 17:32:49.578 - �[31merror�[39m: Caught by controller[0]: at Module.require (module.js:504:17)
2018-07-02 17:32:49.579 - �[31merror�[39m: Caught by controller[0]: at require (internal/module.js:20:19)
2018-07-02 17:32:49.579 - �[31merror�[39m: Caught by controller[0]: at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
2018-07-02 17:32:49.580 - �[31merror�[39m: Caught by controller[0]: at Module._compile (module.js:577:32)
2018-07-02 17:32:49.580 - �[31merror�[39m: Caught by controller[0]: at Object.Module._extensions..js (module.js:586:10)
2018-07-02 17:32:49.581 - �[31merror�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
2018-07-02 17:32:49.582 - �[32minfo�[39m: host.orangepiplus2e Restart adapter system.adapter.amazon-dash.0 because enabled
2018-07-02 17:33:14.303 - �[32minfo�[39m: host.orangepiplus2e object change system.adapter.amazon-dash.0
2018-07-02 17:33:14.327 - �[32minfo�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 started with pid 3182
2018-07-02 17:33:15.177 - �[32minfo�[39m: host.orangepiplus2e object change system.adapter.amazon-dash.0
2018-07-02 17:33:15.186 - �[32minfo�[39m: host.orangepiplus2e stopInstance system.adapter.amazon-dash.0
2018-07-02 17:33:15.187 - �[32minfo�[39m: host.orangepiplus2e stopInstance system.adapter.amazon-dash.0 killing pid 3182
2018-07-02 17:33:15.230 - �[33mwarn�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 terminated due to SIGTERM
2018-07-02 17:33:15.233 - �[32minfo�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 terminated with code null ()
2018-07-02 17:33:16.025 - �[32minfo�[39m: host.orangepiplus2e object change system.adapter.amazon-dash.0
2018-07-02 17:33:16.045 - �[32minfo�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 started with pid 3192
2018-07-02 17:33:16.725 - �[32minfo�[39m: host.orangepiplus2e object change system.adapter.amazon-dash.0
2018-07-02 17:33:16.727 - �[32minfo�[39m: host.orangepiplus2e stopInstance system.adapter.amazon-dash.0
2018-07-02 17:33:16.728 - �[32minfo�[39m: host.orangepiplus2e stopInstance system.adapter.amazon-dash.0 killing pid 3192
2018-07-02 17:33:16.752 - �[33mwarn�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 terminated due to SIGTERM
2018-07-02 17:33:16.753 - �[32minfo�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 terminated with code null ()
2018-07-02 17:33:19.255 - �[32minfo�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 started with pid 3202
2018-07-02 17:33:21.714 - �[31merror�[39m: amazon-dash.0 uncaught exception: Module version mismatch. Expected 48, got 64.
2018-07-02 17:33:21.737 - �[31merror�[39m: amazon-dash.0 Error: Module version mismatch. Expected 48, got 64.
at Error (native)
at Object.Module._extensions..node (module.js:604:18)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
2018-07-02 17:33:22.233 - �[32minfo�[39m: amazon-dash.0 starting. Version 0.2.9 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v6.14.3
2018-07-02 17:33:22.293 - �[32minfo�[39m: amazon-dash.0 terminating
2018-07-02 17:33:22.327 - �[31merror�[39m: Caught by controller[0]: Error: Module version mismatch. Expected 48, got 64.
2018-07-02 17:33:22.328 - �[31merror�[39m: Caught by controller[0]: at Error (native)
2018-07-02 17:33:22.329 - �[31merror�[39m: Caught by controller[0]: at Object.Module._extensions..node (module.js:604:18)
2018-07-02 17:33:22.329 - �[31merror�[39m: Caught by controller[0]: at Module.load (module.js:494:32)
2018-07-02 17:33:22.330 - �[31merror�[39m: Caught by controller[0]: at tryModuleLoad (module.js:453:12)
2018-07-02 17:33:22.330 - �[31merror�[39m: Caught by controller[0]: at Function.Module._load (module.js:445:3)
2018-07-02 17:33:22.330 - �[31merror�[39m: Caught by controller[0]: at Module.require (module.js:504:17)
2018-07-02 17:33:22.330 - �[31merror�[39m: Caught by controller[0]: at require (internal/module.js:20:19)
2018-07-02 17:33:22.331 - �[31merror�[39m: Caught by controller[0]: at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
2018-07-02 17:33:22.331 - �[31merror�[39m: Caught by controller[0]: at Module._compile (module.js:577:32)
2018-07-02 17:33:22.331 - �[31merror�[39m: Caught by controller[0]: at Object.Module._extensions..js (module.js:586:10)
2018-07-02 17:33:22.332 - �[31merror�[39m: host.orangepiplus2e instance system.adapter.amazon-dash.0 terminated with code 0 (OK)
2018-07-02 17:33:22.332 - �[32minfo�[39m: host.orangepiplus2e Restart adapter system.adapter.amazon-dash.0 because enabled
Hi,
I just tried installing the dash button adapter but it failed. The Log says that there is probably a problem with pcap, but the installed version is the latest one.
It would be nice if you can help me with my issue.
best regards
fox
I have 3 dash buttons here.
The MAC of two of them start with the same numbers/letters combination.
Like xx:yy:zz:11:22 and xx:yy:zz:33:44
Now, when setting up new instances in iobroker I am just required to enter the first 3 pairs of the mac adress.
What now? Since the first 3 pairs are not unique I'll probably have some problems here
Hi, after restoring my config on another machine I have problems with this adapter. Pls help.
amazon-dash.0 | 2020-04-27 05:06:53.213 | warn | (2518) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason |
---|---|---|---|
amazon-dash.0 | 2020-04-27 05:06:53.159 | error | (2518) adapter disabled |
amazon-dash.0 | 2020-04-27 05:06:21.503 | info | (1797) Terminated (NO_ERROR): Without reason |
amazon-dash.0 | 2020-04-27 05:06:21.502 | info | (1797) terminating |
amazon-dash.0 | 2020-04-27 05:06:21.464 | info | (1797) cleaned everything up... |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8064:34 |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at Adapter.emit (events.js:310:20) |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:53:9) |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:90:29) |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at Object.exports.createSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:131:12) |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:60:39) |
amazon-dash.0 | 2020-04-27 05:06:21.462 | error | (1797) Error: socket: Operation not permitted |
amazon-dash.0 | 2020-04-27 05:06:21.459 | error | (1797) uncaught exception: socket: Operation not permitted |
amazon-dash.0 | 2020-04-27 05:06:21.450 | info | (1797) starting pcap session on default interface |
amazon-dash.0 | 2020-04-27 05:06:21.431 | info | (1797) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v12.16.2, js-controller: 3.0.19 |
amazon-dash.0 | 2020-04-27 05:05:49.751 | info | (1037) Terminated (NO_ERROR): Without reason |
amazon-dash.0 | 2020-04-27 05:05:49.750 | info | (1037) terminating |
amazon-dash.0 | 2020-04-27 05:05:49.700 | info | (1037) cleaned everything up... |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at processTicksAndRejections (internal/process/task_queues.js:97:5) |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8064:34 |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at Adapter.emit (events.js:310:20) |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:53:9) |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:90:29) |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at Object.exports.createSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:131:12) |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | at new PcapSession (/opt/iobroker/node_modules/iobroker.amazon-dash/node_modules/pcap/pcap.js:60:39) |
amazon-dash.0 | 2020-04-27 05:05:49.699 | error | (1037) Error: socket: Operation not permitted |
amazon-dash.0 | 2020-04-27 05:05:49.690 | error | (1037) uncaught exception: socket: Operation not permitted |
amazon-dash.0 | 2020-04-27 05:05:49.688 | info | (1037) starting pcap session on default interface |
amazon-dash.0 | 2020-04-27 05:05:49.669 | info | (1037) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v12.16.2, js-controller: 3.0.19 |
amazon-dash.0 | 2020-04-27 05:05:18.020 | info | (316) Terminated (NO_ERROR): Without reason |
amazon-dash.0 | 2020-04-27 05:05:18.019 | info | (316) terminating |
amazon-dash.0 | 2020-04-27 05:05:17.980 | info | (316) cleaned everything up... |
Hi,
I just received a Dash Button with MAC address starting with 38F73D.
Would you add it?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.