ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
192 stars 22 forks source link

PSM switch seem to often crash and "announced itself" after several presses #292

Open Flavien opened 5 days ago

Flavien commented 5 days ago

I have a simple switch configured with PSM (simple battery-powered CC2530 board). After pressing the switch a few times in quick succession, the switch seem to often crash and restart, as the logs below show:

[2024-07-01 17:54:48] debug:    z2m: Device 'bedroom/switch' announced itself
[2024-07-01 17:54:48] info:     z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"bedroom/switch","ieee_address":"0x00124b000ff0335b"},"type":"device_announce"}'

I believe Device 'bedroom/switch' announced itself means that the switch just restarted itself.

While the device is restarting, it is unresponsive for 4-5 seconds.

This is the config:

image

image

Any idea what could be causing that?

ptvoinfo commented 5 days ago

@Flavien Hi. Did you test it with the constant power supply or using a battery? Sometimes, long activity of a device (several clicks) may temporarily decrease battery voltage lower than 2.2V and the device reboots.