Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103263

I need to run a shell Script and use output as a variable for autumatition

$
0
0

Hi and sorry if id should have found the exact answer in an existing thread. All I found didn’t really match my needs. I’m a total rookie - started yesterday.

So I have setup home assistant (docker) on my synology NAS. denonavr integration is running and already sending notifications to my LG Smart TV.

Unfortunatly I’m not able to get source signal information (I want to disyplay the source output channel like 5.1 and 2.0).

If someone knows the exact attribute to fetch this information it would be great. I did not find it

So a simple way would be to add a trigger to call my bash script which gets the source format/channel information using GNU Linux commands like wget, grep and head. The information I am looking can be read out from the AVRs web frontend.

So long story short: Is it possible to fetch output of a bash/shell script to use it as a variable for an automatition?

Thanks in advance

Edit: If your’e asking why I want do to this - the TV is connected via eARC and so there is no way to have an on screen display from the receiver with these information.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 103263

Trending Articles