CEC client on remote PI
Posted: Saturday 21 April 2018 7:26
I am trying to use CEC-client to controle my TV and STB
When i run this command in a shell
the STB turns on
But when i try this in lua
nothing happens.
Im pretty sure its a format problem but i cant seem to find the right answer using google
Any help would be more then welcome
When i run this command in a shell
Code: Select all
ssh [email protected] 'echo on 3 | cec-client -s -d 1'
But when i try this in lua
Code: Select all
os.execute( 'ssh [email protected] echo “on 3” | cec-client -s -d 1')
Im pretty sure its a format problem but i cant seem to find the right answer using google
Any help would be more then welcome