Missing config section for new MQTT devices

Hi all,

I’ve upgraded my zigbee2mqtt to version 1.39 and added my new devices which are a Meos smoke sensor and a Neo alarm siren.
I paired successfully the devices to z2m, and saw them appear in HA.
But, let’s take the Alarm siren sample:

  • It shows a control “Alarm” for ON/OFF
  • It shows the diagnostic “Battery” (which is unknown)
    But all other elements that should be in config are missing. For exemple, Melody and Volume that are in the “select” type in MQTT (I checked with MQTT Explorer) are not listed.

I’ve read that sensors are not allowed to be in config section anymore, but these are not sensors.

What am I missing?

Thanks

Which one?

Model number?

Is it this one?

There are notes on how to set the melody lower down on the page. As there is no way to read which melody is currently selected it can not be added as a select entity. Same goes for volume and duration.

To use it you will have to publish to the melody, volume and duration topics every time you want to use it.

This is a limitation of the hardware.

You could of course make your own template select entity, and as long as home assistant is the only thing that changes the alarm siren it should not get out of sync with the device. Still I would not do this. It could perhaps reset to different settings if power cycled or rebooted for some reason.

Hi Tom,

Thanks for your answer. Yes you’re right it is this model. As you say, Home Assistant is the only one controlling it and as I saw when I change the settings in z2m it reflects in HA and vice-versa.

In fact, the missing elements did show up an hour later in HA.

I now added a Tuya pool sensors device to z2m, all the sensors are showing in z2m and updating, but only one shows in HA.

The issue doesn’t seem to be the device but that it takes ages for the sensors to appear in HA after a new device is added to z2m.

Is this a configuration problem or a known sync issue between HA ↔ MQTT ↔ z2m ?

Check your system logs. Check your z2m logs. Check your MQTT logs.

This should happen pretty much as soon as the devices are paired.

Will check this. Seems not related to z2m, I’m creating a device using ESP8266 (not ESPHome, but DIY), I’m publishing 3 sensors on startup, only the first shows up in HA, but I see all 3 immediately in MQTT Explorer. Seems to be a sync issue between HA and MQTT.

Will try to update MQTT to latest version and see if it’s better.

I don’t see anything in the HA logs.