[ Zigbee2mqtt assistant ] Entities not working / not available

Yesterday I changed my coordinator from CC2531 to Conbee2. I did this by adding the adapter field:

serial:
port: / dev / ttyACM0
adapter: deconz

By the way, I updated the zigbee2mqtt container - 1.16.1 and the zigbee2mqttassistant container - 0.3.157.
Everything somehow worked, zigbee2mqttassistant changed the coordinator and the range of other devices improved significantly.

However, today I was working with an electric at home today and had to turn off the electricity a few times (I don’t know if that matters).

After the last time I turned on the power, I had to reconfigure shelly 2.5 because I unplugged it and had no problems with it. Everything worked right away. Also my sonoff, operating on tasmota, works fine.
However, all the hardware it supports with zigbee2mqttassistant has stopped working for its entities. They are greyed out on lovelace. Light switches - switch, they do not respond, the same way the motion sensor and temperature sensors do not send their data.
However, in the zigbee2mqtt application, these devices are also visible there and there I can switch their states, and in the logs I see that the correct payload is being sent.

I have no idea why the entities. which I set in zigbee2mqttassistant have stopped working.

Below are some screenshots:

This is list of my devices:

The map from zigbee2mqttassistant:

List of my devices from zigbee2mqtt:

And if clicked on this switch I can change state and it works okay:

This the logs from zigbee2mqtt:

INFO: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"dateCode":"0x26580700","friendly_name":"Coordinator","ieeeAddr":"0x00212effff065ba8","lastSeen":1606069440030,"networkAddress":0,"softwareBuildID":"ConBee2/RaspBee2","type":"Coordinator"},{"dateCode":"20180608","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"swiatlo_salon","hardwareVersion":1,"ieeeAddr":"0xec1bbdfffe5b7ca9","lastSeen":1606069168152,"manufacturerID":0,"manufacturerName":"TUYATEC-p9HCE8pZ","model":"TS0011","modelID":"TS0011","networkAddress":65403,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"","description":"Smart light switch - 2 gang without neutral wire","friendly_name":"swiatła_kuchnia","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe5eca7d","lastSeen":1606067389864,"manufacturerID":4098,"manufacturerName":"_TZ3000_4js9lo5d","model":"TS0012","modelID":"TS0012","networkAddress":43293,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Maja_czujnik_temperatury","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd86b","lastSeen":1606068499213,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":50884,"type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Czujnik_temperatury_na_zewnatrz","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd944","lastSeen":1606068693283,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":40813,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20170627","description":"Aqara human body movement and illuminance sensor","friendly_name":"Czujnik_ruchu_Maja","hardwareVersion":1,"ieeeAddr":"0x00158d000460a75d","lastSeen":1606067671208,"manufacturerID":4151,"manufacturerName":"LUMI","model":"RTCGQ11LM","modelID":"lumi.sensor_motion.aq2","networkAddress":57060,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"test_biuro","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe4c4d04","lastSeen":1605709317815,"manufacturerID":4098,"manufacturerName":"_TZ3000_pmvbt5hh","model":"TS0011","modelID":"TS0011","networkAddress":50601,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20170314","description":"MiJia Honeywell smoke detector","friendly_name":"Czujnik_dymu_pokoj_dziewczyn","hardwareVersion":16,"ieeeAddr":"0x00158d00047dbee3","lastSeen":1606066341758,"manufacturerID":4151,"manufacturerName":"LUMI","model":"JTYJ-GD-01LM/BW","modelID":"lumi.sensor_smoke","networkAddress":1443,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"}]'
INFO: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"dateCode":"0x26580700","friendly_name":"Coordinator","ieeeAddr":"0x00212effff065ba8","lastSeen":1606069440043,"networkAddress":0,"softwareBuildID":"ConBee2/RaspBee2","type":"Coordinator"},{"dateCode":"20180608","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"swiatlo_salon","hardwareVersion":1,"ieeeAddr":"0xec1bbdfffe5b7ca9","lastSeen":1606069168152,"manufacturerID":0,"manufacturerName":"TUYATEC-p9HCE8pZ","model":"TS0011","modelID":"TS0011","networkAddress":65403,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"","description":"Smart light switch - 2 gang without neutral wire","friendly_name":"swiatła_kuchnia","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe5eca7d","lastSeen":1606067389864,"manufacturerID":4098,"manufacturerName":"_TZ3000_4js9lo5d","model":"TS0012","modelID":"TS0012","networkAddress":43293,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Maja_czujnik_temperatury","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd86b","lastSeen":1606068499213,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":50884,"type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Czujnik_temperatury_na_zewnatrz","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd944","lastSeen":1606068693283,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":40813,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20170627","description":"Aqara human body movement and illuminance sensor","friendly_name":"Czujnik_ruchu_Maja","hardwareVersion":1,"ieeeAddr":"0x00158d000460a75d","lastSeen":1606067671208,"manufacturerID":4151,"manufacturerName":"LUMI","model":"RTCGQ11LM","modelID":"lumi.sensor_motion.aq2","networkAddress":57060,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"test_biuro","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe4c4d04","lastSeen":1605709317815,"manufacturerID":4098,"manufacturerName":"_TZ3000_pmvbt5hh","model":"TS0011","modelID":"TS0011","networkAddress":50601,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20170314","description":"MiJia Honeywell smoke detector","friendly_name":"Czujnik_dymu_pokoj_dziewczyn","hardwareVersion":16,"ieeeAddr":"0x00158d00047dbee3","lastSeen":1606066341758,"manufacturerID":4151,"manufacturerName":"LUMI","model":"JTYJ-GD-01LM/BW","modelID":"lumi.sensor_smoke","networkAddress":1443,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"}]'

This is my configuration of Zigbee2mqtt:

data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: mqtt
  password: mqtt
serial:
  port: /dev/ttyACM0
  adapter: deconz
advanced:
  log_level: info
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

Logs from Supervisor -> addon ->zigbee2mqtt -> Logs:

Zigbee2MQTT:info  2020-11-22 19:24:00: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"dateCode":"0x26580700","friendly_name":"Coordinator","ieeeAddr":"0x00212effff065ba8","lastSeen":1606069440043,"networkAddress":0,"softwareBuildID":"ConBee2/RaspBee2","type":"Coordinator"},{"dateCode":"20180608","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"swiatlo_salon","hardwareVersion":1,"ieeeAddr":"0xec1bbdfffe5b7ca9","lastSeen":1606069168152,"manufacturerID":0,"manufacturerName":"TUYATEC-p9HCE8pZ","model":"TS0011","modelID":"TS0011","networkAddress":65403,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"","description":"Smart light switch - 2 gang without neutral wire","friendly_name":"swiatła_kuchnia","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe5eca7d","lastSeen":1606067389864,"manufacturerID":4098,"manufacturerName":"_TZ3000_4js9lo5d","model":"TS0012","modelID":"TS0012","networkAddress":43293,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Maja_czujnik_temperatury","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd86b","lastSeen":1606068499213,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":50884,"type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Czujnik_temperatury_na_zewnatrz","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd944","lastSeen":1606068693283,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":40813,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20170627","description":"Aqara human body movement and illuminance sensor","friendly_name":"Czujnik_ruchu_Maja","hardwareVersion":1,"ieeeAddr":"0x00158d000460a75d","lastSeen":1606067671208,"manufacturerID":4151,"manufacturerName":"LUMI","model":"RTCGQ11LM","modelID":"lumi.sensor_motion.aq2","networkAddress":57060,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"test_biuro","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe4c4d04","lastSeen":1605709317815,"manufacturerID":4098,"manufacturerName":"_TZ3000_pmvbt5hh","model":"TS0011","modelID":"TS0011","networkAddress":50601,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20170314","description":"MiJia Honeywell smoke detector","friendly_name":"Czujnik_dymu_pokoj_dziewczyn","hardwareVersion":16,"ieeeAddr":"0x00158d00047dbee3","lastSeen":1606066341758,"manufacturerID":4151,"manufacturerName":"LUMI","model":"JTYJ-GD-01LM/BW","modelID":"lumi.sensor_smoke","networkAddress":1443,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"}]'
Zigbee2MQTT:debug 2020-11-22 19:24:00: Received MQTT message on 'zigbee2mqtt/bridge/config/devices' with data '[{"dateCode":"0x26580700","friendly_name":"Coordinator","ieeeAddr":"0x00212effff065ba8","lastSeen":1606069440030,"networkAddress":0,"softwareBuildID":"ConBee2/RaspBee2","type":"Coordinator"},{"dateCode":"20180608","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"swiatlo_salon","hardwareVersion":1,"ieeeAddr":"0xec1bbdfffe5b7ca9","lastSeen":1606069168152,"manufacturerID":0,"manufacturerName":"TUYATEC-p9HCE8pZ","model":"TS0011","modelID":"TS0011","networkAddress":65403,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"","description":"Smart light switch - 2 gang without neutral wire","friendly_name":"swiatła_kuchnia","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe5eca7d","lastSeen":1606067389864,"manufacturerID":4098,"manufacturerName":"_TZ3000_4js9lo5d","model":"TS0012","modelID":"TS0012","networkAddress":43293,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Maja_czujnik_temperatury","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd86b","lastSeen":1606068499213,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":50884,"type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Czujnik_temperatury_na_zewnatrz","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd944","lastSeen":1606068693283,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":40813,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20170627","description":"Aqara human body movement and illuminance sensor","friendly_name":"Czujnik_ruchu_Maja","hardwareVersion":1,"ieeeAddr":"0x00158d000460a75d","lastSeen":1606067671208,"manufacturerID":4151,"manufacturerName":"LUMI","model":"RTCGQ11LM","modelID":"lumi.sensor_motion.aq2","networkAddress":57060,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"test_biuro","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe4c4d04","lastSeen":1605709317815,"manufacturerID":4098,"manufacturerName":"_TZ3000_pmvbt5hh","model":"TS0011","modelID":"TS0011","networkAddress":50601,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20170314","description":"MiJia Honeywell smoke detector","friendly_name":"Czujnik_dymu_pokoj_dziewczyn","hardwareVersion":16,"ieeeAddr":"0x00158d00047dbee3","lastSeen":1606066341758,"manufacturerID":4151,"manufacturerName":"LUMI","model":"JTYJ-GD-01LM/BW","modelID":"lumi.sensor_smoke","networkAddress":1443,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"}]'
Zigbee2MQTT:info  2020-11-22 19:24:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":[{"dateCode":"0x26580700","friendly_name":"Coordinator","ieeeAddr":"0x00212effff065ba8","lastSeen":1606069440100,"networkAddress":0,"softwareBuildID":"ConBee2/RaspBee2","type":"Coordinator"},{"dateCode":"20180608","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"swiatlo_salon","hardwareVersion":1,"ieeeAddr":"0xec1bbdfffe5b7ca9","lastSeen":1606069168152,"manufacturerID":0,"manufacturerName":"TUYATEC-p9HCE8pZ","model":"TS0011","modelID":"TS0011","networkAddress":65403,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"","description":"Smart light switch - 2 gang without neutral wire","friendly_name":"swiatła_kuchnia","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe5eca7d","lastSeen":1606067389864,"manufacturerID":4098,"manufacturerName":"_TZ3000_4js9lo5d","model":"TS0012","modelID":"TS0012","networkAddress":43293,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Maja_czujnik_temperatury","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd86b","lastSeen":1606068499213,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":50884,"type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20161129","description":"Aqara temperature, humidity and pressure sensor","friendly_name":"Czujnik_temperatury_na_zewnatrz","hardwareVersion":30,"ieeeAddr":"0x00158d00042fd944","lastSeen":1606068693283,"manufacturerID":4151,"manufacturerName":"LUMI","model":"WSDCGQ11LM","modelID":"lumi.weather","networkAddress":40813,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"20170627","description":"Aqara human body movement and illuminance sensor","friendly_name":"Czujnik_ruchu_Maja","hardwareVersion":1,"ieeeAddr":"0x00158d000460a75d","lastSeen":1606067671208,"manufacturerID":4151,"manufacturerName":"LUMI","model":"RTCGQ11LM","modelID":"lumi.sensor_motion.aq2","networkAddress":57060,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"},{"dateCode":"","description":"Smart light switch - 1 gang without neutral wire","friendly_name":"test_biuro","hardwareVersion":1,"ieeeAddr":"0xbc33acfffe4c4d04","lastSeen":1605709317815,"manufacturerID":4098,"manufacturerName":"_TZ3000_pmvbt5hh","model":"TS0011","modelID":"TS0011","networkAddress":50601,"powerSource":"Battery","type":"EndDevice","vendor":"TuYa"},{"dateCode":"20170314","description":"MiJia Honeywell smoke detector","friendly_name":"Czujnik_dymu_pokoj_dziewczyn","hardwareVersion":16,"ieeeAddr":"0x00158d00047dbee3","lastSeen":1606066341758,"manufacturerID":4151,"manufacturerName":"LUMI","model":"JTYJ-GD-01LM/BW","modelID":"lumi.sensor_smoke","networkAddress":1443,"powerSource":"Battery","softwareBuildID":"3000-0001","type":"EndDevice","vendor":"Xiaomi"}],"type":"devices"}'

This is my zigbee2mqttassistant configuration:

settings:
  mqttserver: addon_core_mosquitto
  mqttusername: mqtt
  mqttpassword: mqtt

And there is the logs:

Starting Zigbee2MqttAssistant v0.3.157+Branch.master.Sha.ea388c3bbc2d43c4c9c62f27bb6764911ba4acc9...
Hosting environment: Production
Content root path: /app
Now listening on: http://[::]:80
Application started. Press Ctrl+C to shut down.

My Lovelace dashboard – NaN and unavailable:


Also list of entities. So all of entites from MQTT have their status restored but none are working:

I really don’t know what’s going on, because now nothing that uses zigbee2mqtt works.
I hope I explained everything quite accurately. If necessary, I can send you some more data.
Please help. I have never experienced anything like this before

Anyone, can help me?

Did you try the new GUI embedded in Zigbee2MQTT last versions ?

I’ve remove Zigbee2MQTTassisstant a few weeks ago, the new embedded Zigbee2MQTT GUI is nice, the network map is not the best but that’s it, it will maybe improve.

Thank you for answer.
I don’t know what you mean.
If I remove zigbee2mqttassistant,
then can I create new entities from zigbee2mqtt??
How can I turn on new GUI?
Is it not what you see in my photos?

A yes, you’ve already activated the new Zigbee2MQTT GUI.
What are still using Zigbee2MQTTAssistant for then ?

Your problem is mor probably located at the MQTT level if everything looks good form Zigbee2MQTT point of view but you don’t have anything in MQTT.

Did you check in Configuration > Integration > MQTT > Devices and Entities ?

So, I will delete Z2M assistant if this will help.
Yeah, in zigbee2mqtt addon, I can trigger states, but in lovelace nothing works.

My screen from:

  1. Devices

For example:

  1. Smoke detector:

  1. Light switch:

As you can see all entities are not available. “Niedostępny” means “unavailable”
So I don’t understand why everything stopped working?
Maybe something is wrong with my mqtt configuration?
Maybe could you share how your mqtt configuration looks like?

EDIT:
Addon Z2M assistant uninstalled, but nothing helps. Still entities from lovelace doesn’t work.
Maybe it is something wrong with Conbee 2 itself?

And all my entites from MQTT are marked as restored ( red circle ):

And in logs from zigbee2mqtt addon. Everythings seems to be okay. I mean states are sending and receiving correctly:

I think that I found something:

In, for example, picture with light switch in section: “Informacje o urządzeniu”. In “Oprogramowanie” filed I can see this value: “Zigbee2mqtt 1.13.0” but I recently updated the zigbee2mqtt container to version: 1.16.1. Maybe this is could me a missmatch? Maybe I need to delete devices and add them again to get proper versions value?

Hi
I have the same problem that you describe in your post. How have you fixed it?