Hi,
I don’t get my mqtt configuration correct. And I don’t know what i’m doing wrong.
I use zigbee2mqtt
config:
homeassistant: true
permit_join: true
mqtt:
base_topic: home-assistant
server: ‘mqtt://localhost:1883’
serial:
port: /dev/ttyACM0
devices:
‘0x00158d00025f1dc2’:
friendly_name: ‘temp1’
retain: false
On the log output: I see:
10:25:40 hassbian npm[462]: zigbee2mqtt:info 3/23/2019, 10:25:40 AM Connected to MQTT server
Mar 23 11:10:01 hassbian npm[2830]: zigbee2mqtt:info 3/23/2019, 11:10:01 AM MQTT publish: topic ‘home-assistant/temp1’, payload
‘{“temperature”:18.27,“linkquality”:94,“humidity”:53.61,“pressure”:1029,“battery”:86,“voltage”:2975}’
But when I check the broker output:
mosquitto_sub -h localhost -v -t “home-assistant/#”
No result.
Any suggestion what is wrong?
Thanks!