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

TimedOnOffLight (io:LightMicroModuleSomfyIOComponent) does not support state refresh in Overkiz #103183

Closed
Gandulf78 opened this issue Nov 1, 2023 · 9 comments

Comments

@Gandulf78
Copy link

Gandulf78 commented Nov 1, 2023

The problem

Home assistant light status got out of sync from Eugenie. See below:
IMG_0032

image

What version of Home Assistant Core has the issue?

core-2023.10.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Overkiz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/overkiz

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Nov 1, 2023

Hey there @iMicknl, @vlebourl, @tetienne, @nyroDev, mind taking a look at this issue as it has been labeled with an integration (overkiz) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of overkiz can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign overkiz Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


overkiz documentation
overkiz source
(message by IssueLinks)

@iMicknl
Copy link
Contributor

iMicknl commented Nov 2, 2023

@Gandulf78 do you face this issue more often, or is this just a one-time issue? If you reload the integration or restart Home Assistant, it should be in sync again.

In order to debug this further, you would need to turn on debug logging for the integration. When the issue occurs, it helps to have a copy of your diagnostics and your system log.

@Gandulf78
Copy link
Author

Hi.
Thank you for looking at that.
It is almost all the time out of sync. I have installed the latest release of Home Assistant last night and it is out of sync right now.
I have activated the logging of the integration. I will share.

@Gandulf78
Copy link
Author

Gandulf78 commented Nov 5, 2023

Hello.
I found out that one reproducible scenario to get out of sync is to simply use the use manually the switch.
Here are the logs and diagnostics. The Cuisine light was get out of sync and then the Séjour light.
To be fair, it has to be noted that the Eugenie app is also getting out of sync after a manual press on the light switch. But if you kill and reopen the app on iOS, it get synced few seconds after. On the contrary, HA is never synced. A sync or update process seems to be missing or broken.

home-assistant.log
overkiz-4a15674817b294265e9e9f6213a1f31b-Séjour-b2545710894c720e710340db1887342b.json.txt.json
overkiz-4a15674817b294265e9e9f6213a1f31b-Cuisine-dbf2d4290478c89f37db05454a12b182.json.txt.json

@iMicknl
Copy link
Contributor

iMicknl commented Nov 5, 2023

@Gandulf78 ah, this could be the culprit. So your lights are out of sync when you use the physical controls? Looking at your log, these events are probably not broadcasted through the event mechanism. This is a limitation on the side of Overkiz.

This is related to #95533 and #99499 most likely. How the official app 'solves' it, is by requesting a state update of all devices during start-up. In Home Assistant we would need to call this periodically.

@Gandulf78
Copy link
Author

Yes, it makes perfect sense.

@iMicknl iMicknl changed the title Nexity Eugenie - Light status is not synced between Home assistant and Eugenie TimedOnOffLight (io:LightMicroModuleSomfyIOComponent) does not support state refresh in Overkiz Nov 7, 2023
@iMicknl iMicknl linked a pull request Nov 21, 2023 that will close this issue
20 tasks
@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@Gandulf78
Copy link
Author

Hi there.
The issue is still present with Home Assistant 2024.1.6.
Thank you.

@github-actions github-actions bot removed the stale label Feb 5, 2024
@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants