Skip to content

Commit

Permalink
Readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
m3ki committed Jul 14, 2018
1 parent acae23b commit 16f4cd3
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ https://github.com/stjohnjohnson/mqtt-dasher
#Docker Configuration
TODO

#Ansible
```
- name: Install Mqtt Dasher
docker_container:
name: mqttd
image: m3ki/mqtt-dasher:latest
state: started
restart_policy: always
recreate: yes
network_mode: host
privileged: yes
volumes:
- "{{data_directory}}/mqttd/config/config.yml:/config/config.yml:rw"
```

# Configuration

Expand All @@ -18,11 +32,20 @@ The dash bridge has one yaml file for configuration:
mqtt:
# Specify your MQTT Broker's hostname or IP address here
host: mqtt
port: 1883
#leave empty if none
username:
password:
# Preface for the topics $PREFACE/$TOPIC
preface: dash
buttons:
44:65:0d:dc:51:50: nerf_supplies
44:65:0d:dc:51:50:
name: nerf_supplies
interface: eth0 # optional
timeout: 5000 # optional (time in ms)
protocol: arp # optional (one of {udp, arp, all})
```

Expand Down

0 comments on commit 16f4cd3

Please sign in to comment.