If there are no service providers you may still enter Favorite Channels manually.If your zip/postal code doesn't return any results, enter a neighboring code.Your service provider may not appear exactly as expected.Enter your zip/postal code and click Search.Navigate to MENU, then select Harmony Setup > Add/Edit Devices > FAVORITES.With all this information, and an existing media center that is docker enabled, I could get this up and running in under 10 minutes now. Hopefully a FW update in the future for the N950 doesn't break this access. Now if only the Harmony could embed Web Calls like this, i wouldn't have to do this and it would be IMMENSELY easier out of the box for direct input change rather than input cycling. This also turns on the soundbar if it is off which is a benefit. Which essentially runs the commandline equivalent (with http return data): bash-5.0# curl -connect-timeout 2 ' PowerStatus1.010.0.0.61public1 Shell_command: !include shell_commands.yamlĪs a result when Logitech fires a change of activity which requires a change in input on the Samsung N950 soundbar, it fires the line: action: service: shell_t_soundbar_hdmi2 # Configure a default setup of Home Assistant (frontend, api, etc) The final configuration is to update the /config/configuration.yaml to be sure it can inherit the shell_commands.yaml file: bash-5.0# pwd The names for the 'variables' in the value_template trigger.to_activity are from the harmony_nf which comes down from the harmony hub discovery. alias: "Watch PayTV started from harmony hub" This is what i've got in /config/automations.yaml (i don't have an ARC input configured yet, but I have the shell command built to use it in the future). I then used an example from the home-assistant website about using triggers from harmony_hub to then run an action. ![]() Set_soundbar_arc: 'curl -connect-timeout 2 $(cat /config/soundbar/curlarc)' Set_soundbar_hdmi2: 'curl -connect-timeout 2 $(cat /config/soundbar/curlhdmi2)' Set_soundbar_hdmi1: 'curl -connect-timeout 2 $(cat /config/soundbar/curlhdmi1)' From there I can show the calls made using the CLI command 'curl' to make a http call to change the input from the /config/shell_commands.yaml file: bash-5.0# pwd config/soundbar/* contains a file each for each of the Web URL calls require to change to that input that I want, which is (based on your submission): bash-5.0# pwd config/configuration.yaml - this already existed but added configuration to it. config/automations.yaml - this already existed but was empty. ![]() ~$ sudo useradd -s /usr/bin/bash -m -d /opt/homeassistant homeassistantīash-5.0# mkdir /opt/homeassistant/configĪfter installing Home Assistant and importing the devices it found for home-automation on my network, most importantly the Harmony Hub, i created/edited these files to build my configuration and automations: Created groups and users, create the directory for the application and configuration then install the docker container. Installing home-assistant was straight forward, i had a pre-existing media server running Ubuntu Server 20.04. ![]() Hi Andy, great post and it gave me a hint to be able to do the same with Home-Assistant which I find a bit easier to navigate and link than OpenHAB. I guess a right button press would work, but not sure how to code this in.Ĭhannel "harmonyhub:hub:HarmonyHub:activityStarting" triggered ShieldĬhannel "harmonyhub:hub:HarmonyHub:activityStarted" triggered ShieldĬhannel "harmonyhub:hub:HarmonyHub:activityStarting" triggered DVDĬhannel "harmonyhub:hub:HarmonyHub:activityStarted" triggered DVDĬhannel "harmonyhub:hub:HarmonyHub:activityStarting" triggered OrangeĬhannel "harmonyhub:hub:HarmonyHub:activityStarted" triggered OrangeĬhannel "harmonyhub:hub:HarmonyHub:activityStarting" triggered PCĬhannel "harmonyhub:hub:HarmonyHub:activityStarted" triggered PC I guess what I need to do is run a timer on OpenHAB to send a button press to the sound bar every so often while any Harmony activity is active. Any ideas on how to keep it on until I deliberately turn it off? The only issue I've still got is that the soundbar auto-turns off after a period of time and the left press to disable this doesn't work. The 3 inputs I'm using are coded hdmi1 (Nvidia Shield), hdmi2 (DVD) and arc (for inputs connected via the TV) ![]() I actually send the same command twice - once when the activity is starting and then after it has started to ensure the soundbar catches the change. Quick update - I've bypassed the issues with changing source by setting up my OpenHAB hub to listen to Harmony source changes, and then fire a URL at the soundbar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |