App fails after PTP, zigbee not ready

After thorough investigation together with the app developer we found an issue in homey that might also impact other apps.

My issue:
After a PTP (or power outage) the Amina app only reports (power and current) on phase A, phase B&C stay zero.
Reset of the app solves the issue.
[PS: a PTP will cause networks (zigbee etc.) to rebuild”]

The problem reproduces well so I was able to provide diagnostics to the app developer.

Rootcause:
After a PTP (or powerout) the zigbee network needs to rebuild.
Homey does not report to the apps when the network is up again. This can cause an app to start up before the zigbee network is up.
This causes the app to not work properly because the handlers are not configured correctly

Not something the app developer can solve, athom should provide a solution to the app developers. (The Amina app developer already reported to Athom)

Fix:
Create a flow that detects a restart of homey (PTP cannot be detected). After 1 minute restart the app.

Maybe also the case for other apps…?

1 Like

Any suggestions on how to detect a “zigbee network down” or PTP?
And “zigbee network up”
(Currently using the homey restart as a trigger)

Hmm.. Maybe you just used the wrong word for it, but, after a PtP, the zigbee (and z-wave) mesh networks are just build up from scratch, they will not actually be reset.

If the network really was reset, like using this:

all of your zigbee devices would be removed from Homey.

2 Likes

Thanks, indeed the wrong word, replaced by “build” now