Closed jes1417 closed 3 years ago
hyperion documentation hyperion source (message by IssueLinks)
Hey there @dermotduffy, mind taking a look at this issue as its been labeled with an integration (hyperion
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
I tired debugging wled as well but I am not getting much information in the logger.
logger:
default: fatal
logs:
hyperion: debug
wled: debug
homeassistant.components.wled: debug
2021-05-26 01:49:03 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.029 seconds
2021-05-26 01:49:03 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.032 seconds
2021-05-26 01:49:08 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.020 seconds
2021-05-26 01:49:08 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.027 seconds
2021-05-26 01:49:13 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.035 seconds
2021-05-26 01:49:13 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.039 seconds
2021-05-26 01:49:18 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.211 seconds
2021-05-26 01:49:18 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.231 seconds
2021-05-26 01:49:23 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.035 seconds
2021-05-26 01:49:23 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.157 seconds
2021-05-26 01:49:28 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.024 seconds
2021-05-26 01:49:28 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.062 seconds
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "componentstate", "componentstate": {"component": "ALL", "state": true}}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "componentstate", "componentstate": {"component": "LEDDEVICE", "state": true}}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "clear", "priority": 128}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "effect", "effect": {"name": "Rainbow swirl fast"}, "origin": "Home Assistant", "priority": 128}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"componentstate","success":true,"tan":0}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"componentstate","success":true,"tan":0}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"clear","success":true,"tan":0}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"effect","success":true,"tan":0}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"components-update","data":{"enabled":true,"name":"LEDDEVICE"}}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"components-update","data":{"enabled":true,"name":"LEDDEVICE"}}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"priorities-update","data":{"priorities":[{"active":true,"componentId":"EFFECT","origin":"Home Assistant@::ffff:192.168.1.194","owner":"Rainbow swirl fast","priority":128,"visible":true},{"active":true,"componentId":"V4L","origin":"System","owner":"V4L2:auto","priority":250,"visible":false}],"priorities_autoselect":true}}\n'
2021-05-26 01:49:31 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"priorities-update","data":{"priorities":[{"active":true,"componentId":"EFFECT","origin":"Home Assistant@::ffff:192.168.1.194","owner":"Rainbow swirl fast","priority":128,"visible":true},{"active":true,"componentId":"V4L","origin":"System","owner":"V4L2:auto","priority":250,"visible":false}],"priorities_autoselect":true}}\n'
2021-05-26 01:49:33 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.023 seconds
2021-05-26 01:49:33 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.029 seconds
2021-05-26 01:49:38 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.028 seconds
2021-05-26 01:49:38 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.185 seconds
2021-05-26 01:49:43 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.023 seconds
2021-05-26 01:49:43 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.098 seconds
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "clear", "priority": 128}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "componentstate", "componentstate": {"component": "BOBLIGHTSERVER", "state": false}}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "componentstate", "componentstate": {"component": "GRABBER", "state": false}}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Send to server (192.168.1.21:19444): b'{"command": "componentstate", "componentstate": {"component": "V4L", "state": true}}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"clear","success":true,"tan":0}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"componentstate","success":true,"tan":0}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"componentstate","success":true,"tan":0}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"componentstate","success":true,"tan":0}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"priorities-update","data":{"priorities":[{"active":true,"componentId":"V4L","origin":"System","owner":"V4L2:auto","priority":250,"visible":true}],"priorities_autoselect":true}}\n'
2021-05-26 01:49:46 DEBUG (MainThread) [hyperion.client] Read from server (192.168.1.21:19444): b'{"command":"priorities-update","data":{"priorities":[{"active":true,"componentId":"V4L","origin":"System","owner":"V4L2:auto","priority":250,"visible":true}],"priorities_autoselect":true}}\n'
2021-05-26 01:49:48 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.024 seconds
2021-05-26 01:49:48 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.034 seconds
2021-05-26 01:49:53 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.022 seconds
2021-05-26 01:49:53 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.226 seconds
2021-05-26 01:49:58 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.024 seconds
2021-05-26 01:49:58 DEBUG (MainThread) [homeassistant.components.wled] Finished fetching wled data in 0.142 seconds
Hi @jes1417 -- as there are different codeowners of the Hyperion and wled integrations, it would be great to explicitly confirm which you believe is the issue so the appropriate owner can get involved.
Hyperion appears to be behaving correctly from a quick look at those logs. To confirm, would you mind just checking that the Hyperion UI is showing what you expect, as the automation progresses? If it is, then I think we can firmly state this is a wled issue, and we'll tag the issue with the wled
integration (rather than hyperion
as it is marked today).
I was trying to tag both integrations but I guess it only grabbed the first one. I reverted back to wled 0.11.1 and it is working as expected so we can we can switch the code owner but I am not sure it is even a HA issue it may be something in wled's firmware I am going to check the issues their and see what I can find.
Sorry for the ping, cant wait for the bonus hyperion camera feed to make it in a release 😃
[Camera: The PR got a review, so might be soon!]
If you come up empty-handed on the wled issues side, and want the HA wled codeowner to dig in, you could tag them into this bug. I'll leave that to you to decide (the wled codeowner ).
If you manage to figure this out, or don't need investigation, then close out the bug. Thanks!
I will post in the WLED repo and close this one
The problem
I have had an automation that turns on and off my Hyperion and WLED instances according to the state of my Harmony Hub, this has worked perfectly for months until recently when I power on my harmony activities WLED will not start (lights off) unless I toggle it either in HA or the wled web UI.
What is version of Home Assistant Core has the issue?
2021.5.5
What was the last working version of Home Assistant Core?
2021.4.1 I think ?
What type of installation are you running?
Home Assistant OS
Integration causing the issue
wled and hyperion
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hyperion/ https://www.home-assistant.io/integrations/wled/
Example YAML snippet
Anything in the logs that might be useful for us?
nothing in the logs
Additional information
So if I toggle wled it will work as expected but I am trying to understand what happened and how to fix it. The only other changes I have made are upgrading wled to 0.12.0 I may try reverting back to 0.11.1 as I think this worked on that version.
hyperion debug logs: