Dash Button SHM Controller
A node.js module to control Samsungs SmartThings' Smart Home Monitor using an Amazon Dash button and Home Assistant.
This library requires that SHM is accessible to Home Assistant via MQTT, as discussed here.
Prerequisties
Install
npm install
Dash Button Preparation
Follow Amazon's instructions to configure your button to send messages when you push them but not actually order anything. When you get a Dash button, Amazon gives you a list of setup instructions to get going. Just follow this list of instructions, but don’t complete the final step of selecting a product to order. Do not select a product, just exit the app.
Configuration
- Discover the Dash Buttons using
node node_modules/node-dash-button/bin/findbutton
. - Rename
config-sample.json
toconfig.json
. Update its values to match your configuration, including the buttons discovered in the last step. - Start the listener with
npm start
.