Zigbee Temperature Sensors - How do I change availability from disabled to enabled?

I’ve got a few Zigbee Temperature and Humditiy Sensors (ZG-227Z).

They are installed in Zigbee2MQTT and showing up ok. But the availability is showing as disabled - and they aren’t showing any readings.

In MQTT they are also showing up ok - but again aren’t showing any readings.

Is this due to Zigbee2MQTT not knowing how to interpret the datapoints?

ChatGPT suggests I need to update config.yaml - is that rioght?

devices:
  '0xa4c138d4c5b4be93':
    friendly_name: Kitchen_Thermostat
    definition:
      model: ZG-227Z
      vendor: HOBEIAN
      description: Temperature & humidity LCD sensor
      supports: ['temperature', 'valve', 'battery']
      fromZigbee:
        - tuya_temperature
        - tuya_hvac_mode
        - tuya_valve
        - tuya_battery
      toZigbee:
        - tuya_set_temperature
        - tuya_set_hvac_mode

First they have to work in Z2M, everthing else is secondary.
Was the sensor completely detected or just found without device support?
In Z2M there is a “disable” switch in the stup tab of the devices.
Uncheck this and hopefully profit. No need for any editing of YAML.

Those 2 things are unrelated to each other. Devices should still work when availability is disabled. All that does is check whether devices are still connected to Z2M every so often.

Missing readings from a device is a totally different issue (and ChatGPT gave you the wrong answer, unsurprisingly).

Ok thanks, that’s helpful to know.

Any idea how I might fix this? Device is not disabled.

I’ve got a Conbee II stick passed through in Proxmox (on HAOS VM).

Zigbee2MQTT is running as an add-on in HA.
I’ve got MQTT running as an integration in HA (Mosquitto MQTT Broker) - this device is showing (as are the entities), as are other devices. The sensors though aren’t showing readings.

I’ve not installed Zigbee Home Automation as an integration. Am I right in saying I don’t need to do this?

Thanks.

It was already explained to you on Reddit that these devices should work out of the box in z2m, and how to perform a reconfiguration/interview to see if that fixes z2m not getting any readings.

As a general rule, don’t pair devices next to the Zigbee dongle and then move them to their final location, and don’t expect a single device to have a range of at most 5 meters.

2 Likes