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

POWER OFF not working every time #39

Open
PeggyFree opened this issue Mar 17, 2023 · 2 comments
Open

POWER OFF not working every time #39

PeggyFree opened this issue Mar 17, 2023 · 2 comments

Comments

@PeggyFree
Copy link

PeggyFree commented Mar 17, 2023

Version of the custom_component

Current version, installed 15 days ago.

Describe the bug

During 8 days the plugin worked flawlessly with my EPSON LS12000B.
Now, every two times when I turn the projector OFF using a send command, the projector goes OFF but the HA state goes to ON instead of OFF (1s after the actual "turn off" message, see log). Then HA stays ON until I restart and stop the projector.

Debug log

8:15:17 PM - changed to cooldown triggered by service epson_projector_link.send_command
8:15:18 PM - turned on triggered by service epson_projector_link.send_command

Command sent using the send_command :

"PWR OFF"

I looked at the code, there seems to be some code to manage "future state" and status updates, so things don't seem to be simple IRL.

@amosyuen
Copy link
Owner

Those aren't debug logs you posted, please follow the instructions https://github.com/amosyuen/ha-epson-projector-link/blob/main/.github/ISSUE_TEMPLATE/issue.md and post debug logs

@PeggyFree
Copy link
Author

Well,

I spent hours trying to get logs of the problem but the problem only occurred when I wasn't recording the logs.
I finally understood yesterday that the problem occurs when the projector is seeking signal.
So to reproduce the problem one need to turn the source AND the projector off at the same time. Same time means "less that 4s delay between the two events".
I will try to get logs now I can reproduce.

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