Hello to all, I’m trying to setup zigbee2mqtt and it is not working properly, yet.
In the log of zigbee2mqtt I can see that its connected to mosquitto and that there are two devices connected through zigbee, but there aren’t discovered in Home Assistant.
I’ve tried everything for the past two days I red on forum’s and I haven’t make any progress…
configuration.yaml:
mqtt:
broker: 192.169.1.2
port: 1883
discovery: true
# discovery_prefix: homeassistant
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
zigbee2mqtt config in the add-on:
{
"data_path": "/share/zigbee2mqtt",
"devices": "devices.yaml",
"groups": "groups.yaml",
"homeassistant": true,
"permit_join": false,
"mqtt": {
"base_topic": "zigbee2mqtt",
"server": "mqtt://homeassistant",
"user": "mqttuser",
"password": "XXXX"
},
"serial": {
"port": "/dev/ttyACM0"
},
"advanced": {
"pan_id": 6754,
"channel": 11,
"network_key": [
106,
106,
146,
141,
112,
110,
0,
148,
137,
11,
79,
59,
127,
179,
57,
65
],
"availability_blacklist": []
},
"ban": [],
"whitelist": [],
"queue": {}
}
mosquitto config in the add-on:
{
"logins": [
{
"username": "mqttuser",
"password": "XXXX"
}
],
"anonymous": false,
"customize": {
"active": true,
"folder": "mosquitto"
},
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
accesscontrollist:
user mqttuser
topic readwrite #
Logging in zigbee2mqtt:
zigbee2mqtt:info 8/1/2019, 7:22:42 PM Logging to directory: '/share/zigbee2mqtt/log/2019-08-01.19-22-41'
zigbee2mqtt:info 8/1/2019, 7:22:42 PM Starting zigbee2mqtt version 1.5.1 (commit #unknown)
zigbee2mqtt:info 8/1/2019, 7:22:42 PM Starting zigbee-shepherd
zigbee2mqtt:info 8/1/2019, 7:22:44 PM zigbee-shepherd started
zigbee2mqtt:info 8/1/2019, 7:22:44 PM Coordinator firmware version: '20190608'
zigbee2mqtt:info 8/1/2019, 7:22:44 PM Currently 2 devices are joined:
zigbee2mqtt:info 8/1/2019, 7:22:44 PM sensor_bureau (0x00158d0002d77a9f): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice)
zigbee2mqtt:info 8/1/2019, 7:22:44 PM ledstrip_keuken (0x00124b001d3aaed9): GL-C-006/GL-C-009 - Gledopto Zigbee LED controller WW/CW Dimmer (Router)
zigbee2mqtt:info 8/1/2019, 7:22:44 PM Zigbee: disabling joining new devices.
zigbee2mqtt:info 8/1/2019, 7:22:44 PM Connecting to MQTT server at mqtt://homeassistant
zigbee2mqtt:info 8/1/2019, 7:22:44 PM zigbee-shepherd ready
zigbee2mqtt:info 8/1/2019, 7:22:45 PM Connected to MQTT server
zigbee2mqtt:info 8/1/2019, 7:22:45 PM MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
zigbee2mqtt:info 8/1/2019, 7:22:45 PM MQTT publish: topic 'zigbee2mqtt/sensor_bureau', payload '{"temperature":24.51,"linkquality":23,"humidity":56.19,"pressure":1012.8,"battery":86,"voltage":2975}'
zigbee2mqtt:info 8/1/2019, 7:22:45 PM MQTT publish: topic 'homeassistant/sensor/0x00158d0002d77a9f/temperature/config', payload '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/sensor_bureau","json_attributes_topic":"zigbee2mqtt/sensor_bureau","name":"sensor_bureau_temperature","unique_id":"0x00158d0002d77a9f_temperature_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d0002d77a9f"],"name":"sensor_bureau","sw_version":"Zigbee2mqtt 1.5.1","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
Nothing to see in the discovery:
I hope I have added sufficient resources and that I missed something in the configuration for you to help me out… don’t hesitate to ask for more.
Thanks