Yet another dash-button plugin. It is similar to pimatic-dash-button, but it uses a cross platform abstraction of libpcap and provides some additional features. It also works on Windows Systems which may be useful for some users like me.
The plugin is a pretty light-weight implementation which uses a ContactSensor device abstraction for the dash-button. Auto-discovery of dash-buttons is also supported. The plugin can coexist with pimatic-dash-button. However, it is not advised to install both plugins at the same time as they consume a fair amount of memory (memory usage depends on the system running).
This plugin requires libpcap to capture ARP and DHCP requests on the network. On Raspberry PI and comparable systems
libpcap must be installed, i.e.
sudo apt-get install libpcap-dev. On Windows, WinPcap must be installed.
Follow the instructions given in the Amazon Mobile App, to pair the dash-button with your WiFi network. However, don’t
select a product as requested in the last configuration step. Now, when the dash-button is pressed, the indicator
LED of the dash-button should blink white for about three seconds. Following this, the LED will turn to solid red for
a few seconds and might blink red (depending on the type of dash-button you have, apparently there are different
makes). This indicates the device is not setup as there is no product setup, but this does not matter.
As an additional line of defense you may consider restricting internet access for the device as part
of your router configuration.
If you like this plugin, please consider ★ starring the project on github. Contributions to the project are welcome. You can simply fork the project and create a pull request with your contribution to start with.
Happy with pimatic and using it everyday? If you like to obtain one of these amazing dash-button stickers, please
consider a donation to support the pimatic development and the operation of the website and user forum.
Check here for a video tutorial on howto affix the sticker on the button.
- 20161205, V0.9.11
- Added support for DHCP-based detection of dash buttons, issue #6