Comments (14)
is i. worth maintaining this adapter I hough these buttons don't work anymore
from iobroker.amazon-dash.
It is 100% worth to maintain this adapter. With Node.js version v.8 or below it works pefectly for me. Maybe you have Node.js v10 or higher.
from iobroker.amazon-dash.
same here. after update to node.js v10 the adapter will not recognize a button-press :(
from iobroker.amazon-dash.
works here fine with node10.x, have you start the iobroker-fixer after update the node-version?
from iobroker.amazon-dash.
yip. iobroker-fixer executed. dash-button is not working.
from iobroker.amazon-dash.
same here. iobroker-fixer did not fix the problem with node.js v10. dash-button still does not work.
from iobroker.amazon-dash.
Is this also a node.js thing?
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49) |
---|---|---|---|
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at client.keys (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:684:17) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at states.getKeys (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6811:25) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at initLogging (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7114:22) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at Adapter.emit (events.js:198:13) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at Adapter. (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:43:5) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at main (/opt/iobroker/node_modules/iobroker.amazon-dash/main.js:78:29) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at Object.exports.createSession (/opt/iobroker/node_modules/pcap/pcap.js:123:12) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | at new PcapSession (/opt/iobroker/node_modules/pcap/pcap.js:49:39) |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | (16696) Error: socket: Operation not permitted |
amazon-dash.0 | 2020-01-26 08:20:07.727 | error | (16696) uncaught exception: socket: Operation not permitted |
or this?
amazon-dash.0 | 2020-01-26 08:34:54.818 | info | (26335) Terminated (NO_ERROR): Without reason |
---|---|---|---|
amazon-dash.0 | 2020-01-26 08:34:54.817 | info | (26335) terminating |
amazon-dash.0 | 2020-01-26 08:34:54.810 | info | (26335) cleaned everything up... |
amazon-dash.0 | 2020-01-26 08:34:54.809 | error | (26335) Error: socket: Operation not permitted at new PcapSession (/opt/iobroker/node_modules/pcap/pcap.js:49:39) at Object.exports.createSession (/opt/iobroker/node_modules/pcap/pcap.js:123:1 |
amazon-dash.0 | 2020-01-26 08:34:54.809 | error | (26335) uncaught exception: socket: Operation not permitted |
amazon-dash.0 | 2020-01-26 08:34:54.791 | info | (26335) starting pcap session on default interface |
amazon-dash.0 | 2020-01-26 08:34:54.777 | info | (26335) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.18.1 |
from iobroker.amazon-dash.
installation fixer seems to have remedied .. logfile looks quiet (for the moment)
from iobroker.amazon-dash.
Please check my fork https://github.com/Apollon77/ioBroker.amazon-dash 1.0.1
from iobroker.amazon-dash.
awesome dude, thx
unfortunately:
host.iobroker 2020-02-24 21:37:56.244 info Restart adapter system.adapter.amazon-dash.0 because enabled
host.iobroker 2020-02-24 21:37:56.243 error instance system.adapter.amazon-dash.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
host.iobroker 2020-02-24 21:37:56.243 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
host.iobroker 2020-02-24 21:37:56.243 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
host.iobroker 2020-02-24 21:37:56.243 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
host.iobroker 2020-02-24 21:37:56.242 error Caught by controller[0]: at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
host.iobroker 2020-02-24 21:37:56.242 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
host.iobroker 2020-02-24 21:37:56.242 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
host.iobroker 2020-02-24 21:37:56.242 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
host.iobroker 2020-02-24 21:37:56.242 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
host.iobroker 2020-02-24 21:37:56.241 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
host.iobroker 2020-02-24 21:37:56.241 error Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
host.iobroker 2020-02-24 21:37:56.241 error Caught by controller[0]: the module (for instance, using npm rebuild
or npm install
).
host.iobroker 2020-02-24 21:37:56.241 error Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
host.iobroker 2020-02-24 21:37:56.240 error Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires
host.iobroker 2020-02-24 21:37:56.240 error Caught by controller[0]: was compiled against a different Node.js version using
host.iobroker 2020-02-24 21:37:56.239 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/pcap/build/Release/pcap_binding.node'
amazon-dash.0 2020-02-24 21:37:55.705 warn (1902) Terminated (UNCAUGHT_EXCEPTION): Without reason
amazon-dash.0 2020-02-24 21:37:55.485 info (1902) starting. Version 1.0.1 in /opt/iobroker/node_modules/iobroker.amazon-dash, node: v10.19.0
host.iobroker 2020-02-24 21:37:53.293 info instance system.adapter.amazon-dash.0 started with pid 1902
from iobroker.amazon-dash.
Can ypu show the installation log please? Do you installed the adapter and updated nodejs afterwards? Please go to /opt/iobroker/node_modules/pcap/ and execute "npm rebuild"
Try after that again
from iobroker.amazon-dash.
yes i updated your package first to 1.0.1 and updated afterwards node.js from 8.17 to 10.19
npm rebuild gets me:
[email protected] /opt/iobroker/node_modules/pcap/node_modules/nan
After that the light of the instance keeps red with the following log:
host.iobroker | 2020-02-25 01:11:53.246 | info | Restart adapter system.adapter.amazon-dash.0 because enabled |
---|---|---|---|
host.iobroker | 2020-02-25 01:11:53.245 | error | instance system.adapter.amazon-dash.0 terminated with code 6 (UNCAUGHT_EXCEPTION) |
host.iobroker | 2020-02-25 01:11:53.245 | error | Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) |
host.iobroker | 2020-02-25 01:11:53.245 | error | Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) |
host.iobroker | 2020-02-25 01:11:53.244 | error | Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30) |
host.iobroker | 2020-02-25 01:11:53.244 | error | Caught by controller[0]: at Object. (/opt/iobroker/node_modules/pcap/pcap.js:3:21) |
host.iobroker | 2020-02-25 01:11:53.244 | error | Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18) |
host.iobroker | 2020-02-25 01:11:53.244 | error | Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17) |
host.iobroker | 2020-02-25 01:11:53.243 | error | Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) |
host.iobroker | 2020-02-25 01:11:53.243 | error | Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) |
host.iobroker | 2020-02-25 01:11:53.243 | error | Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32) |
host.iobroker | 2020-02-25 01:11:53.243 | error | Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18) |
host.iobroker | 2020-02-25 01:11:53.242 | error | Caught by controller[0]: the module (for instance, using npm rebuild or npm install ). |
host.iobroker | 2020-02-25 01:11:53.242 | error | Caught by controller[0]: NODE_MODULE_VERSION 64. Please try re-compiling or re-installing |
host.iobroker | 2020-02-25 01:11:53.241 | error | Caught by controller[0]: NODE_MODULE_VERSION 57. This version of Node.js requires |
host.iobroker | 2020-02-25 01:11:53.241 | error | Caught by controller[0]: was compiled against a different Node.js version using |
host.iobroker | 2020-02-25 01:11:53.240 | error | Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/pcap/build/Release/pcap_binding.node' |
from iobroker.amazon-dash.
And what is the output of the npm rebuild command itself?
And in fact it was completely the wrong order :-) You need to do some additional stept when you update nodejs major versions!
or ok different:
cd /opt/iobroker/node_modules/iobroker.amazon-dash
npm install
from iobroker.amazon-dash.
how it worked though:
apt-get update
apt-get install libpcap-dev
iobroker add amazon-dash
iobroker start
As it seems also regarding to your changes in the last commit, pcap caused the problem. So pcap is listening again :-)
Thanks for your support!
from iobroker.amazon-dash.
Related Issues (20)
- Add Support for Compact mode (js-Controller 2.0 Feature)
- Think about to fix the issues found by adapter checker HOT 2
- How to setup Dash Button Adapter without iobroker running as root HOT 1
- Error: socket: Operation not permitted HOT 1
- Please check ioBroker.amazon-dash with js-controller 2.0 HOT 1
- Please add your adapter to ioBroker.discovery
- IMPORTANT: Add Bluefox to npm, so that we can continue to maintain this adapter if needed
- Problems after restore on other machine HOT 15
- Gerät taucht ohne states auf HOT 2
- Socket Operation not permitted HOT 6
- Activate Adapter testing
- Short green flash - then red HOT 16
- Compatibility check to js-controller 3.3 and Admin5 React UI
- Compatibility check and testing for Node.js 14 and 16
- restart loop detected HOT 2
- Adapter lässt sich nicht Starten HOT 2
- Compatibility check to js-controller 4.0
- Update stable version in repo from 1.1.0 to 1.2.0
- pcap is listed as optional dependency, but is required HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.amazon-dash.