It would be cool if there was a sensor for signal detection in the Hyperion integration. Then you could, for example, control your lights automatically when you turn on the TV, etc
Do you not have a media player or switch entity for your TV?
- id: dee5268e-ad06-481a-b40a-6634608266bb
alias: "Lounge Movie Scene On"
trigger:
platform: state
entity_id: media_player.lounge_tv
to: 'on'
action:
...
No, I actually don’t, I could only integrate the TV via infrared and that’s too unreliable for me.
I also like to use my remote control for the TV because I find it easier than voice or app control.
I think i could use a Ping sensor, but i think the tv is reachable when it is in standby
If you can use ping then you should be able to create a WoL switch.
Yes, but as I said, I don’t want to control the TV via automation, but it actually doesn’t ping in standby so I can use that
So your Hyperion bias lighting turns on automatically when your TV turns on?
Then all you have to do is this:
trigger:
- platform: state
entity_id: switch.hyperion_component_all
to: 'on'
action:
- service: ....
Do i have to activate this Entity? Its greyed out.
Edit: Ok i’ve Activated it but it does not Toggle with the TV.
That’s why I asked this:
Which you did not answer.
If it does not do this automatically then you need a way to determine if your TV is on. e.g. the ping sensor you mentioned.
Then use an automation to turn on switch.hyperion_component_all
when the ping sensor turns on. Likewise for off.
trigger:
- platform: state
entity_id: binary_sensor.tv_ping
not_to:
- unknown
- unavailable
action:
- service: "switch.turn_{{ trigger.to_state.state }}"
target:
entity_id: switch.hyperion_component_all
I think we’re somehow talking past each other.
I would like this to be able to quickly dim my lamps, for example, since Hyperion could push the info “On” using its buildin signal detection.
I currently use the ping sensor, but either it is slow and sluggish for the automations, or I “DDOS” my own network with pings.
Hyperion is always running but goes in and out of standby with its signal detection.
Or can I set Hyperion to switch the bias light off when there is no signal and on when there is one, then I could use that. Just in Hyperion itself and not in HA.
Not according to this:
Turn your tv on.
Go to Developer tools → States.
Look at the states and attributes of all the hyperion entities
Turn your tv off.
Which states or attributes changed?
Trigger your light dimming automation from the state of which ever one changed.
Nothing Changes,
Maybe I haven’t set something up for this in Hyperion?
But it does work with a bit of a delay in the ping, so that’s worth a lot .
If nothing changes then it is not going into standby and you can’t trigger off it.
Not even the camera going to/from idle/streaming?
Or the light brightness?
The camera switches from idle to streaming when I view the camera feed in HA.
The brightness of the LEDs is not transmitted by Hyperion at all.
Signal detection is supposed to temporarily turn off USB recording, but is that the same as USB component?
If so, I’m surprised it doesn’t switch.
Not sure. I use AmLogic not USB capture and have the “Component USB Capture” switch disabled.
I would have thought it would switch.