Despite having explicitly spelling out ‘host: mqtt://127.0.0.1’ in the smartthings-mqtt-bridge config.yml, logs consistently display:
0|smartthi | info: Connecting to MQTT at mqtt://mqtt
and no amount of restarting pm2 or running the executable by itself seems to make a difference; it always connects to the default mqtt://mqtt instead of mqtt://localhost or something similar. What am I missing?
mqtt:
# Specify your MQTT Broker’s hostname or IP address here
host: mqtt://127.0.0.1
# Preface for the topics $PREFACE/$DEVICE_NAME/$PROPERTY
preface: smartthings
# Port number to listen on
port: 8080
Other optional settings from https://www.npmjs.com/package/mqtt#mqttclientstreambuilder-options
username: homeassistant
password:
# Suffix for the state topics $PREFACE/$DEVICE_NAME/$PROPERTY/$STATE_SUFFIX
# state_suffix: state
# Suffix for the command topics $PREFACE/$DEVICE_NAME/$PROPERTY/$COMMAND_SUFFIX
# command_suffix: cmd
Not sure what I’m missing