Closed stratplayer closed 5 years ago
It sounds like a Zigbee2mqtt or MQTT problem.
Which Zigbee2mqtt version are you using?
Do you use the embedded MQTT broker from HomeAssistant, or a separate broker?
Try setup mosquitto
as a separate broker, if not already done, and use:
mosquitto_pub -t zigbee2mqtt/bridge/networkmap -m raw; mosquitto_sub -t zigbee2mqtt/bridge/networkmap/raw -C 1
to check if the network map function is working.
Please paste related <config-directory>/home-assistant.log
here.
Im running v1.4.0 as an addon to Hass.io. Its a seperate addon, not embedded.
I don't know how to run that command on Hass.io sorry.
Here are the logs when I hit REFRESH
2019-09-03 22:27:01 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on zigbee2mqtt/bridge/networkmap: raw 2019-09-03 22:27:02 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on zigbee2mqtt/bridge/networkmap/raw: b'[{"ieeeAddr":"0x00158d00022caa0c","nwkAddr":36579,"lqi":8,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000204a0ae","nwkAddr":35548,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d0002134ead","nwkAddr":42849,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000236c231","nwkAddr":65278,"lqi":68,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d0002048697","nwkAddr":7596,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000204bb55","nwkAddr":31211,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000274fbd6","nwkAddr":41466,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000204baa7","nwkAddr":53306,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d00020473fc","nwkAddr":59180,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000276c525","nwkAddr":26400,"lqi":170,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00158d000215f0f5","nwkAddr":38753,"lqi":15,"parent":"0x00124b0014bdeb7d","status":"online"},{"ieeeAddr":"0x00124b0014bdeb7d","nwkAddr":0,"lqi":9,"parent":"0x00158d000215f0f5","status":"online"},{"ieeeAddr":"0x00158d00022cb627","nwkAddr":60499,"lqi":75,"parent":"0x00158d000215f0f5","status":"online"},{"ieeeAddr":"0x00158d0002059e5d","nwkAddr":26025,"lqi":90,"parent":"0x00158d000215f0f5","status":"online"},{"ieeeAddr":"0x00158d0002049d33","nwkAddr":21166,"lqi":105,"parent":"0x00158d000215f0f5","status":"online"},{"ieeeAddr":"0x00158d0001d6dc5f","nwkAddr":6856,"lqi":70,"parent":"0x00158d000215f0f5","status":"online"},{"ieeeAddr":"0x00158d0002f82056","nwkAddr":31186,"lqi":42,"parent":"0x00158d000215f0f5","status":"online"}]' 2019-09-03 22:27:02 WARNING (MainThread) [homeassistant.components.mqtt] JSON result was not a dictionary
The MQTT message lack needed information, please update Zigbee2mqtt to 1.5.1 and try again.
The MQTT message lack needed information, please update Zigbee2mqtt to 1.5.1 and try again.
My bad, I have just realised that I have not added the Repository into Hass.io for Zigbee2MQTT since I restored. Hence my version being 1.4.0! I will update and test.
These are messages I receive now. No image showing, but objects are in the sensor attribute values now.
2019-09-04 19:17:28 DEBUG (MainThread) [homeassistant.components.mqtt] Transmitting message on zigbee2mqtt/bridge/networkmap: raw 2019-09-04 19:17:30 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on zigbee2mqtt/bridge/networkmap/raw: b'{"nodes":[{"ieeeAddr":"0x00124b0014bdeb7d","friendlyName":"0x00124b0014bdeb7d","type":"Coordinator","nwkAddr":0,"status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d0002134ead","friendlyName":"0x00158d0002134ead","type":"EndDevice","nwkAddr":42849,"manufName":"LUMI","modelId":"lumi.sensor_switch.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d0002f82056","friendlyName":"0x00158d0002f82056","type":"EndDevice","nwkAddr":31186,"manufName":"LUMI","modelId":"lumi.weather","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000204a0ae","friendlyName":"0x00158d000204a0ae","type":"EndDevice","nwkAddr":35548,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000274fbd6","friendlyName":"0x00158d000274fbd6","type":"EndDevice","nwkAddr":41466,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000204baa7","friendlyName":"0x00158d000204baa7","type":"EndDevice","nwkAddr":53306,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d00020473fc","friendlyName":"0x00158d00020473fc","type":"EndDevice","nwkAddr":59180,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d0002059e5d","friendlyName":"0x00158d0002059e5d","type":"EndDevice","nwkAddr":26025,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d0002049d33","friendlyName":"0x00158d0002049d33","type":"EndDevice","nwkAddr":21166,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d0001d6dc5f","friendlyName":"0x00158d0001d6dc5f","type":"EndDevice","nwkAddr":6856,"manufName":"LUMI","modelId":"lumi.weather","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d00022cb627","friendlyName":"0x00158d00022cb627","type":"EndDevice","nwkAddr":60499,"manufName":"LUMI","modelId":"lumi.weather","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d00022caa0c","friendlyName":"0x00158d00022caa0c","type":"EndDevice","nwkAddr":36579,"manufName":"LUMI","modelId":"lumi.weather","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000236c231","friendlyName":"0x00158d000236c231","type":"EndDevice","nwkAddr":65278,"manufName":"LUMI","modelId":"lumi.sensor_motion.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d0002048697","friendlyName":"0x00158d0002048697","type":"EndDevice","nwkAddr":7596,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000204bb55","friendlyName":"0x00158d000204bb55","type":"EndDevice","nwkAddr":31211,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000276c525","friendlyName":"0x00158d000276c525","type":"EndDevice","nwkAddr":26400,"manufName":"LUMI","modelId":"lumi.sensor_magnet.aq2","status":"online","scanfailed":[]},{"ieeeAddr":"0x00158d000215f0f5","friendlyName":"0x00158d000215f0f5","type":"Router","nwkAddr":38753,"manufName":"LUMI","modelId":"lumi.plug","status":"online","scanfailed":[]}],"links":[{"sourceIeeeAddr":"0x00158d00020473fc","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":59180,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d00022caa0c","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":36579,"lqi":27,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d0002134ead","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":42849,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000236c231","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":65278,"lqi":56,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d0002048697","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":7596,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000204bb55","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":31211,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000274fbd6","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":41466,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000204baa7","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":53306,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000204a0ae","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":35548,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000276c525","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":26400,"lqi":170,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d000215f0f5","targetIeeeAddr":"0x00124b0014bdeb7d","sourceNwkAddr":38753,"lqi":21,"depth":1,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00124b0014bdeb7d","targetIeeeAddr":"0x00158d000215f0f5","sourceNwkAddr":0,"lqi":20,"depth":0,"relationship":0,"routes":[]},{"sourceIeeeAddr":"0x00158d00022cb627","targetIeeeAddr":"0x00158d000215f0f5","sourceNwkAddr":60499,"lqi":90,"depth":2,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d0002059e5d","targetIeeeAddr":"0x00158d000215f0f5","sourceNwkAddr":26025,"lqi":77,"depth":2,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d0002049d33","targetIeeeAddr":"0x00158d000215f0f5","sourceNwkAddr":21166,"lqi":101,"depth":2,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d0001d6dc5f","targetIeeeAddr":"0x00158d000215f0f5","sourceNwkAddr":6856,"lqi":57,"depth":2,"relationship":1,"routes":[]},{"sourceIeeeAddr":"0x00158d0002f82056","targetIeeeAddr":"0x00158d000215f0f5","sourceNwkAddr":31186,"lqi":32,"depth":2,"relationship":1,"routes":[]}]}'
Yay, all working. great thanks
I've installed as per instructions and tried to get help on the zigbee Discord on HomeAssistant. Everything looks ok but the map is blank always and the sensor attribute values only ever has the friendlyname and the State is the date last run.
I am using latest HA 0.98.1 with Hass.io and v0.5.0 of the component. I tried in both Chrome and Firefox and get the same behaviour.
When hitting Refresh on the panel the zigbee2mqtt log shows it performing the request and all the devices are shown returned in the addon log, but it never makes it into the sensor.
Not sure where to diagnose next