Attached is a guide to integrate the Amazon Dash Button with HS3 using Dasher and MQTT. Enjoy!
Announcement
Collapse
No announcement yet.
Amazon Dash Button integration with Dasher and MQTT
Collapse
X
-
I started looking at this. I wanted to install Dasher on the hometroller box but I could not get it to install libpcap..it was missing gcc-5 and I couldn't figure out how to get that installed
Then I started looking to see if I could find something to run easily on a Windows machine but so far haven't found anything
Comment
-
This is a good writeup that covers both the use of the Amazon Dash for automation integration and MQTT setup. I do not have a dash button, but can comment on the discussion.
Dasher runs a bash script which in this example is to publish MQTT. This script could also invoke a HS3 event. An example that I use for a shutdown event in the stop_homeseer.sh file is below. Note I run HS3 on RPi from a SSD mounted via USB. In most users the script path and the event name will be different to correspond to the event that will run with Dash button press.
Code:#!/bin/bash cd /mnt/ssd/usr/local/HomeSeer/ exec /usr/bin/curl http://127.0.0.1/JSON?request=runevent&group=Shutdown&name=MidnightShutdown
Comment
Comment