MadMonkey87 / HomeyCONZ

deCONZ app for Athom Homey smart home controller
3 stars 14 forks source link

No active Alert status displayed on device icon for newly added motion sensors #47

Closed iisworks closed 3 years ago

iisworks commented 3 years ago

Describe the bug:

When you add a new Aqara motion sensor, no orange alert indicator is displayed on the device icon when it triggers. The same issue occurs with Aqara Vibration sensors and motion sensors of other brands as well.

How to reproduce:

How it should work:

Screenshots: Missing: image

Additional context:

This still works for existing devices that were added previously. Note: the alert is still shown on the device info page + history, and flows are still triggered.-

MadMonkey87 commented 3 years ago

Very strange, I am not sure what's happening here yet. This might as well be an homey issue too as there is no way to explicit set this icon and homey does this implicit. What happens if you

iisworks commented 3 years ago

I already tried that, but I think this has been an issue since version 1.22 or maybe 1.21. It did work before, and when I pair a sensor directly to Homey 5.0.4 it also works fine. This issue was also confirmed by others, and even with other motion sensors brands?

Is there an easy way to downgrade to a previous app version to test? Maybe using Homeyscript?

DennisD8 commented 3 years ago

Also have this problem, not only with motion sensors, but with all newly added sensors.

Only on a group it shows an alarm indicator on the tile icon.

Restart app, restart homey, restart deCONZ did not work.

Strange thing is that it shows an alarm state in a group icon, when the sensor is in a group (using app < group >) https://homey.app/nl-nl/app/com.swttt.devicegroups/&lt;-group-&gt; on homey. But not in the sensor tile itself.

image image image

mauriceot commented 3 years ago

I also noticed this in Homey, that all sensors do not show when they are active. But when using Homeydash, it does work correct! All sensors show their active status there.

MadMonkey87 commented 3 years ago

I think this is an homey issue and I've created a ticket for Athom over here: https://github.com/athombv/homey-apps-sdk-issues/issues/189

Even reverting to very old versions seem not to resolve the problem so this is a strong indicator this is not a problem of the app.

Did somebody try it in the web app? If it works there it might just be an ios/android app problem

mauriceot commented 3 years ago

Just tried it in the webapp and it does not work there either. Homeydash seems the only thing it works in.

DennisD8 commented 3 years ago

Just tried it in the webapp and it does not work there either. Homeydash seems the only thing it works in.

Can confirm that, does NOT work in webapp.

Mobile app tested on Android 11 (Galaxy S21 Ultra)

iisworks commented 3 years ago

Indeed the WebApp does know an alert triggered (red dot), but does not show the orange exclamation mark on newly added devices (it still does on older existing devices like the one in the second screenshot): image image

Thanks, let's wait what Athom says! Should be somehow related to adding devices then...

MadMonkey87 commented 3 years ago

It indeed is an homey issue that will be fixed by Athom, see https://github.com/athombv/homey-apps-sdk-issues/issues/189