Adapter to detect the presses on Amazon Dash Buttons in ioBroker.
This adapter does not work under Windows!
- Install
libpcap-dev
:
sudo apt-get install libpcap-dev
-
Pair your Dash-Adapter within the Amazon App but don't select a product! Just quit the installation procedure at the product selection tab. Otherwise, you'll order every time a product ;) German instructions.
-
Hit the dash button (should be white first, then flashing red)
-
Within the adapter objects, a new dash button should appear which you can use to start scenes or within the JS adapter
-
Sometimes it is required to give the network access rights to node:
sudo setcap 'cap_net_raw,cap_net_admin+eip' $(readlink -f $(which node))
As this project is developed during my spare time. I`m actively looking for help to maintain and extend this adapter! If you're willing to help, drop me a line!
- (bluefox) added option to execute
setcap
rights by every start
- (foxriver76) support of compact mode
- (foxriver76) usage of adapter-core and eslint
- (Apollon77) BREAKING: Upgrade pcap library supports nodejs 10+ and also supports nodejs 12
- (PArns) Added new Amazon MAC family
- (foxriver76) materialize ui
- (foxriver76) dash buttons are now of type device
- (cernst1980) Ignore duplicate ARPs for 5 seconds
- (PArns) Added new Amazon MAC family
- (offline4ever) Added new Amazon MAC family
- (arteck) fixed MAC parsing
- (arteck) edit admin
- (arteck) add manual MAC Addresses
- (PArns) Added new Amazon MAC family
- (PArns) Added new Amazon MAC family
- (PArns) Added new Amazon MAC family
- (PArns) Added new Amazon MAC family
- (PArns) Added new Amazon MAC family
- (PArns) Fixed function name in description
- (PArns) Added new Amazon MAC family
- (PArns) Simplified MAC lookup (thx to GermanBluefox)
- (PArns) Added new Amazon MAC family
- (GermanBluefox) Try to install
libpcap-dev
automatically
- (Niksac) Added the ability to select an interface
- (PArns) Fixed lastPushed
- (PArns) Fixed GIT dependency which might cause problems on some systems
- (PArns) Removed debug infos
- (PArns) Fixed switch state
- (PArns) Added switch state, which toggles between true and false
- (PArns) Changed License
- (PArns) Initial release
The MIT License (MIT)
Copyright (c) 2016-2023 Patrick Arns npm@patrick-arns.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.