Hello,
Im new to Hassio, and trying to setup the zigbee2mqtt in combination with mosquito broker but not getting the devices shown in the “intergrations” part of the MQTT
Looking at the log’s everything seems to be fine the (test) device just does not show in my device list. Can someone please have a look at my setup?
Zigbee2MQTT log :
5/26/2019, 5:03:41 PM - info: Logging to directory: ‘/share/zigbee2mqtt/log/2019-05-26.17-03-40’
5/26/2019, 5:03:53 PM - info: Starting zigbee2mqtt version 1.4.0 (commit #unknown)
5/26/2019, 5:03:53 PM - info: Starting zigbee-shepherd
5/26/2019, 5:04:01 PM - info: zigbee-shepherd started
5/26/2019, 5:04:01 PM - info: Coordinator firmware version: ‘20190223’
5/26/2019, 5:04:01 PM - info: Currently 0 devices are joined:
5/26/2019, 5:04:01 PM - warn: permit_join
set to true
in configuration.yaml.
5/26/2019, 5:04:01 PM - warn: Allowing new devices to join.
5/26/2019, 5:04:01 PM - warn: Set permit_join
to false
once you joined all devices.
5/26/2019, 5:04:01 PM - info: Zigbee: allowing new devices to join.
5/26/2019, 5:04:01 PM - info: Connecting to MQTT server at mqtt://192.168.178.23
5/26/2019, 5:04:03 PM - info: zigbee-shepherd ready
5/26/2019, 5:04:10 PM - info: Connected to MQTT server
5/26/2019, 5:04:10 PM - info: MQTT publish: topic ‘zigbee2mqtt/bridge/state’, payload ‘online’
5/26/2019, 5:04:10 PM - info: MQTT publish: topic ‘zigbee2mqtt/bridge/config’, payload ‘{“version”:“1.4.0”,“commit”:“unknown”,“coordinator”:20190223,“log_level”:“info”,“permit_join”:true}’
5/26/2019, 5:07:21 PM - info: Succesfully reenabled joining
5/26/2019, 5:07:27 PM - info: New device ‘undefined’ with address 0x90fd9ffffe2c9a31 connected!
5/26/2019, 5:07:28 PM - info: MQTT publish: topic ‘zigbee2mqtt/bridge/log’, payload ‘{“type”:“device_connected”,“message”:“0x90fd9ffffe2c9a31”,“meta”:{}}’
5/26/2019, 5:07:28 PM - warn: Device with modelID ‘undefined’ is not supported.
5/26/2019, 5:07:28 PM - warn: Please see:
5/26/2019, 5:07:29 PM - warn: Device with modelID ‘undefined’ is not supported.
5/26/2019, 5:07:29 PM - warn: Please see:
5/26/2019, 5:07:29 PM - info: MQTT publish: topic ‘homeassistant/light/0x90fd9ffffe2c9a31/light/config’, payload ‘{“brightness”:true,“schema”:“json”,“command_topic”:“zigbee2mqtt/0x90fd9ffffe2c9a31/set”,“state_topic”:“zigbee2mqtt/0x90fd9ffffe2c9a31”,“name”:“0x90fd9ffffe2c9a31_light”,“unique_id”:“0x90fd9ffffe2c9a31_light_zigbee2mqtt”,“device”:{“identifiers”:“zigbee2mqtt_0x90fd9ffffe2c9a31”,“name”:“0x90fd9ffffe2c9a31”,“sw_version”:“Zigbee2mqtt 1.4.0”,“model”:“TRADFRI LED bulb GU10 400 lumen, dimmable (LED1650R5)”,“manufacturer”:“IKEA”},“availability_topic”:“zigbee2mqtt/bridge/state”}’
5/26/2019, 5:07:29 PM - info: MQTT publish: topic ‘homeassistant/sensor/0x90fd9ffffe2c9a31/linkquality/config’, payload ‘{“unit_of_measurement”:"-",“value_template”:"{{ value_json.linkquality }}",“state_topic”:“zigbee2mqtt/0x90fd9ffffe2c9a31”,“json_attributes_topic”:“zigbee2mqtt/0x90fd9ffffe2c9a31”,“name”:“0x90fd9ffffe2c9a31_linkquality”,“unique_id”:“0x90fd9ffffe2c9a31_linkquality_zigbee2mqtt”,“device”:{“identifiers”:“zigbee2mqtt_0x90fd9ffffe2c9a31”,“name”:“0x90fd9ffffe2c9a31”,“sw_version”:“Zigbee2mqtt 1.4.0”,“model”:“TRADFRI LED bulb GU10 400 lumen, dimmable (LED1650R5)”,“manufacturer”:“IKEA”},“availability_topic”:“zigbee2mqtt/bridge/state”}’
5/26/2019, 5:07:38 PM - info: Device incoming…
5/26/2019, 5:07:38 PM - info: MQTT publish: topic ‘zigbee2mqtt/bridge/log’, payload ‘{“type”:“pairing”,“message”:“device incoming”}’
5/26/2019, 5:10:41 PM - info: Succesfully reenabled joining
Mosquito log :
[INFO] Setup mosquitto configuration [WARN] SSL not enabled - No valid certs found! [INFO] Found local users inside config [INFO] Initialize system configuration. [INFO] Initialize Hass.io Add-on services [INFO] Initialize Home Assistant discovery [INFO] Start Mosquitto daemon 1558882645: mosquitto version 1.5.6 starting 1558882645: Config loaded from /etc/mosquitto.conf. 1558882645: |-- *** auth-plug: startup 1558882645: Opening ipv4 listen socket on port 1883. 1558882645: Opening ipv6 listen socket on port 1883. 1558882645: Opening websockets listen socket on port 1884. 1558882645: Warning: Mosquitto should not be run as root/administrator. 1558882652: New connection from… on port 1883. [INFO] found homeassistant on local database 1558882658: New client connected from… as 9d372a24-bf32-4d4b-a2c3-79ea27914984 (c1, k60, u’homeassistant’). 1558882658: Client 9d372a24-bf32-4d4b-a2c3-79ea27914984 disconnected. 1558882659: New connection from … on port 1883. [INFO] found homeassistant on local database 1558882664: New client connected from … as f9f6c2bb-0f38-4a1e-8368-1bec013c90f4 (c1, k60, u’homeassistant’). 1558882664: Client f9f6c2bb-0f38-4a1e-8368-1bec013c90f4 disconnected. 1558882890: New connection from … on port 1883. [INFO] found homeassistant on local database 1558882895: New client connected from … as ede99656-5140-4e13-ab28-6624c44779a4 (c1, k60, u’homeassistant’). 1558882895: Client ede99656-5140-4e13-ab28-6624c44779a4 disconnected. 1558882922: New connection from 192.168.178.23 on port 1883. [INFO] found mqtt on local database 1558882927: New client connected from 192.168.178.23 as 4GH173WDoGkDTHaUXryU3S (c1, k60, u’mqtt’). 1558882927: Client 4GH173WDoGkDTHaUXryU3S disconnected. 1558882927: New connection from 192.168.178.23 on port 1883. [INFO] found mqtt on local database 1558882933: New client connected from 192.168.178.23 as 2af38d86-5839-49ee-b1e1-e5619c525c94 (c1, k60, u’mqtt’). 1558883043: New connection from … on port 1883. [INFO] found mqtt on local database 1558883050: New client connected from … as mqttjs_697264e9 (c1, k60, u’mqtt’).
Zigbee2MQTT config :
{
“data_path”: “/share/zigbee2mqtt”,
“homeassistant”: true,
“permit_join”: true,
“mqtt_base_topic”: “zigbee2mqtt”,
“mqtt_server”: “mqtt://192.168.178.23”,
“serial_port”: “/dev/ttyACM0”,
“devices”: [],
“network_key”: [],
“mqtt_user”: “mqtt”,
“mqtt_pass”: “mqtt”
}
Mosquito config :
{
“logins”: [
{
“username”: “mqtt”,
“password”: “mqtt”
}
],
“anonymous”: false,
“quiet_logs”: true,
“customize”: {
“active”: false,
“folder”: “mosquitto”
},
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}
Hassio configuration.yaml
mqtt:
discovery: true
broker: 192.168.178.23:8123 # Remove if you want to use builtin-in MQTT broker
birth_message:
topic: ‘hass/status’
payload: ‘online’
will_message:
topic: ‘hass/status’
payload: ‘offline’
Also the automatic setup of the broker does not work, i constantly get the error : cannot connect to broker