Instantly share code, notes, and snippets.

Embed
What would you like to do?
HA / mosquitto / stj mqtt-bridge configs
---
mqtt:
host: 192.168.1.40
port: 8081
preface: smartthings
mqtt:
discovery: true
broker: <internal_fqdn_of_broker-maps to 192.168.1.40>
light:
- platform: mqtt
name: "Family Room Left"
state_topic: "smartthings/FamRm Left/light/status"
command_topic: "smartthings/FamRm Left/light/switch"
brightness_state_topic: "smartthings/FamRm Left/brightness/status"
brightness_command_topic: "smartthings/FamRm Left/brightness/set"
state_value_template: "{{ value_json.state }}"
brightness_value_template: "{{ value_json.brightness }}"
persistence true
# this is a docker volume 'mosquitto-data'
persistence_location /mosquitto/data/
# log_dest file /mosquitto/log/mosquitto.log
# can't log local as mosquitto wants to change uid/gid of bind mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment