Skip to content

Instantly share code, notes, and snippets.

@chriskwss chriskwss/config.yml
Last active Dec 6, 2018

What would you like to do?
HA / mosquitto / stj mqtt-bridge configs
port: 8081
preface: smartthings
discovery: true
broker: <internal_fqdn_of_broker-maps to>
- 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
You can’t perform that action at this time.