![]() Of course, I could still have issues of someone picking up the remote and changing the input right after 20s but before the harmony activity has been completed so the input of the TV changing back on them to the previous input but that’d be a less frequent issue and shouldn’t result in a loop.Q: What I want to achieve is control over the number of bars per line as a general rule in Sibelius (4 per line, as in the jazz chart style), but with occasional exceptions, e.g. Maybe if I made it 20s, I won’t run into this loop. Typing it all out, it does appear the loop is caused because the delay I’m giving isn’t enough time for the Harmony Activity to get completed. ![]() G) “Watch Tivo” Harmony activity would run and switch back to the “Tivo” input If it takes more than 8s to switch to the Fire TV’s input through but less than the time the harmony activity is completed:Ī) The “Harmony Tivo” HA trigger would activateī) The TV’s input would switch to “Fire TV Input”Ĭ) The “Watch Tivo” Harmony activity would then complete and switch the TV back to the Tivo inputĭ) The “Harmony Fire TV” HA trigger would then activate (this is really because it takes Harmony a while to complete especially after starting from power off)Į) The “Watch Fire TV” Harmony activity would then complete and switch the TV back to the Fire TV inputį) Once again, if it takes more than 8s for Harmony to switch to “Fire TV” input, “Harmony Tivo” HA would trigger and say, we were on Tivo for more than 8s.Initially, the TV’s input would be on whatever the last input was (let’s imagine that’s TiVo).My Fire TV would turn the TV on through HDMI-CEC.As an example, if everything is off and I tell Alexa to “Watch Bosch”, The issue is that if the TV’s input is changed after 8s but before the “Watch Xbox” activity is completed, I get into the loop. So essentially, whenever there’s an input change to “Xbox”, if the input is still on “Xbox” 8s later, it turns on the “Watch Xbox” activity. Does anyone have a better way to prevent this loop? I’m trying to prevent home assistant from running an automation if the TV input has changed from the input that triggered the automation. The big issue is really that there’s a lag between when the automation is triggered and when it’s run. However, that has 2 issues: a) if input is switched just after the delay but before automation is done running, the loop still occurs b) if delay is too long, i can’t use harmony remote for a while till automation triggers. only run automation if TV has been on input for x seconds. I added delay conditions to the “trigger” component of the automation try to remedy this i.e. The automation for the Fire TV input runs and turns on the “Watch Fire TV” activity on Harmony remote which switches the TV back to the Fire TV inputĪlso, the same effect occurs when we switch inputs between the time the automation is triggered and when it actually runs.The initial automation for the Xbox input then runs and turns on the “Play Xbox” activity on Harmony remote which switches the TV back to the Xbox input.The TV first turns on on its last input (“Xbox”).As an example, if the TV’s last input before it got turned off was the Xbox and I use Alexa to play a show on the Fire TV, However, the BIG issue is I run into loops. If I tell Alexa to play Ozark, the TV’s input changes to “Fire TV” and HomeAssistant runs an automation to turn on the Harmony remote’s “Watch Fire TV” activity. This way, the Harmony remote doesn’t go out of sync. if the TV input is changed to Xbox, then change the harmony’s remote activity to “Play Xbox”. In Home Assistant, I have created activities to set the harmony remote’s activity based on a state change of the TV’s (LG OLED C8) input e.g. I got into Home Assistant to try to solve this issue. The issue I was having was that the harmony remote would go out of sync due to all the other HDMI CEC (alexa for fire tv and chromecast controls) and my wife using other remotes. My wife also uses the TV and the cable remote. I use a harmony remote but also use voice controls and a chromecast. I have an interesting situation and was hoping someone could help out here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |