Can I check if a zigbee device is present?

On zigbee2mqtt; is there a way in an automation to check if the zigbee device is present?

When it is not present it just keeps the last value.
Can i force a read to result in an NAN value or simular…?

Walter

If Z2M does not get a message from a device in the defined time periods (longer for battery devices) it marks them as unavailable.

2 Likes

thanks for the feedback!
I understand this would affect all devices in Z2M;
Any idea how bad that would be to move this to like 10 minutes for all battery devices?
Does a device comes back available when it pops up again?

Walter

Check how often your battery devices report their state. Make the passive time just longer than the slowest one.

Yes they do come back next time a message is received.

2 Likes