[solved] Re-initialize zigbee motion sensor in deCONZ/Phoscon?

1 of my zigbee motion sensors stopped working.
I’m using deCONZ/Phoscon with a Conbee II and the sensor is not reachable in Phoscon anymore eventhough nothing has changed that might cause this.

It’s a new sensor since about 2 months and battery should be fine.
I wonder what the best way/the least work to get this working again, without having to change/reconfigure to much.
Not that for just 1 sensor is a big hassle but just in general because I haven’t find anything regarding this in the forum.

This is happening once in a while to me too… Here is the procedure I use to get this fixed:

  • Make sure that deconz is configured not to automatically add new devices to HA. This is the last option on screenshot below, that should be UNCHECKED.
    image
  • In phoscon Web UI go to the device you have problem with. Copy the names of the device.
  • Delete device
  • Add it again and instantly rename to name you copied in previous step.
  • Restart HA.

Some comments to this process… Keeping automatic adding of devices to HA ensures that once device is discovered by adding device process, it will not be passed to HA instantly with default, phoscon created name. This might cause some issues with renaming this device and associated entities in HA later on. In theory you could use deconz.device_refresh service to bring the device back to HA after rediscovery, but it never worked for me, so restart of HA is the way to go.

2 Likes

Thank you, it worked.

Strangely the same happened with the same sensor within a few days and it’s only 1 wall away from the coordinator…