Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity states are not updated #5

Open
Eskander opened this issue Jun 10, 2024 · 5 comments
Open

Entity states are not updated #5

Eskander opened this issue Jun 10, 2024 · 5 comments

Comments

@Eskander
Copy link

Eskander commented Jun 10, 2024

Reloading the integration adds the correct states to entities, but subsequent state changes are not reflected.

Central: X64V/4.20 (amcProtoVer 2)
Logs: home-assistant_amc_alarm_2024-06-10T13-41-28.729Z.log.txt

I previously reported in #4 that the latest integration update worked correctly when it successfully logged in, but did not pay attention to state updates.

@GitWally
Copy link

GitWally commented Nov 9, 2024

@vermut I am un the very same situazione.
I have a X864/4.10 but, as far as I can see entity status is updated only upon integration reload.

So question is: is it an intended behaviour or a bug?
It would be helpful to get updated also to create presence sensors.
Thanks

@vermut
Copy link
Owner

vermut commented Nov 9, 2024

This is a bug, and I need to go and implement a fix. Seems like in new versions they are finally sending only changed fields, not the whole huge state.

@vermut
Copy link
Owner

vermut commented Nov 9, 2024

@Eskander @GitWally try version v1.1.0

@Eskander
Copy link
Author

Eskander commented Nov 9, 2024

Yep, entities are updated correctly with version v1.1.0, thanks for working on this.

@GitWally
Copy link

GitWally commented Nov 10, 2024

@Eskander @GitWally try version v1.1.0

Dowloaded and testing!
Seems to do the job: it could be very usefull to me for presence sensor and to understand when door are opening / closing!

Great @vermut !

The only thing is the "delay" (or latency) between the phisical event and the changed status of any entity.
For example if I move in the room I see the "red" light of the volumetric sensor blinking. But the entity is updated much later.
I think this depends on the fact the integration is cloud based.

I noticed also that on the app you get a "real time update", while the same event is not always captured by the integration.
Sometimes I see the sensor blinking in the app as soon as I move in the room, but the same event is not even logged by the integrations.

Isn't there any change to work "locally" and thus with a quicker update?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants