paviro/MMM-PIR-Sensor

CEC Controls

MooseKnuckle-notabot opened this issue · 4 comments

Would anyone be able to help me edit the node_helper.js to supprt CEC HDMI controls? The two commands to turn the tv on and off are:

echo 'on o' | cec-client -s -d 1

and

echo 'standby 0' | cec-client -s -d 1

Thanks!

Challenge accepted. Will send a pull request later today

@MooseKnuckle-notabot I have the code ready, but cannot create the PR until my previous PR gets approved

@eric-h-st I don't have a mirror handy at the moment. I am willing to merge it but can't test it, so a second tester would be good. Also have a look at #98
Also the CEC code is in your last pull request as it was made to the same branch.