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

Presence doesn't match the app info #164

Closed
sudomax opened this issue Jul 14, 2024 · 6 comments
Closed

Presence doesn't match the app info #164

sudomax opened this issue Jul 14, 2024 · 6 comments

Comments

@sudomax
Copy link

sudomax commented Jul 14, 2024

Fob says at home on the app while it says away with somfy2mqtt.

@Minims
Copy link
Owner

Minims commented Jul 15, 2024

Hello, do you speak of device_tracker.badge_de_****_presence entity ?

@sudomax
Copy link
Author

sudomax commented Jul 15, 2024 via email

@Minims
Copy link
Owner

Minims commented Jul 15, 2024

There is many entity for the keyfob, and at least 2 report key fob presence.
I think it the _presence entity here, update via websocket.
If it's this one I can't do anything as Somfy websocket is not as stable as expected to have no false positive.

@sudomax
Copy link
Author

sudomax commented Jul 15, 2024 via email

@Minims
Copy link
Owner

Minims commented Jul 20, 2024

None of them can be trust.. There is no api call telling is someone is at home or not.

_presence is based on websocket. it usually miss some messages.
_device_lost is based on signal seen by the Link.
It can be NOT SYNC if :

  • Addon was in bad state when status has changed. An add-on restart can fix.
  • Link has not update the status. You can try the reboot button in HA.

In all case you need to change next badge change to validate it works again. (it means for example if not home, wait until the badge is home again )

Sorry, I will not be able to give more accurate entities with the tools provided by somfy.

@sudomax
Copy link
Author

sudomax commented Jul 23, 2024

Thank you for the extra info!

@sudomax sudomax closed this as completed Jul 23, 2024
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

2 participants