Public | Automated Build

Last pushed: 7 months ago
Short Description
Link Amazon Dash Buttons to Domoticz
Full Description

Dash Domoticz

This tool allows switching switches on Domoticz with Amazon Dash buttons.

You can buy them here : Amazon Dash Buttons

How to use it ?

Scan available Amazon Dash Buttons

$ docker run -it --net=host loick111/dash-domoticz npm run scan

Configuration

The configuration is composed of two files, one for connecting to the Domoticz server and the other for configuring the Amazon Dash Buttons.

# domoticz.yml
default:
  host: localhost
  port: 8080          
  protocol: http      # http or https
  username: domoticz
  password: domoticz
# button.yml
default:
  lights:
    name: TV Lights
    addr: xx:xx:xx:xx:xx:xx   # Amazon Dash Button Mac Address
    toggle: [1, 2, 3]         # array of domoticz idx

Retrieve all devices in Domoticz

To retrieve the identifiers of your switches on Domoticz, make this request on your Domoticz server.
http://domoticz/json.htm?type=command&param=getlightswitches

Docker

Also available for Raspberry with tag loick111/dash-domoticz:rpi

version: '2'
services:
  app:
    image: loick111/dash-domoticz
    network_mode: host
    # To customize and persist configuration
    volumes:
      - /path/to/config:/app/config
Docker Pull Command
Owner
loick111
Source Repository

Comments (0)