i installed cec-utils and get the same errors.
have a look here.
https://flows.nodered.org/node/node-red-contrib-cec
https://groups.google.com/forum/#!topic/...5-oQC3MTYI
i installed this and it connects to the rpi i dont have a HDMI-CEC device to connect to so thats as far as i can go..
dont give up there's more than one way to skin a cat..
new flow i cant test should work you may need to invert the logic in the change node 0,1.
have a look here.
https://flows.nodered.org/node/node-red-contrib-cec
https://groups.google.com/forum/#!topic/...5-oQC3MTYI
i installed this and it connects to the rpi i dont have a HDMI-CEC device to connect to so thats as far as i can go..
dont give up there's more than one way to skin a cat..
new flow i cant test should work you may need to invert the logic in the change node 0,1.
Code:
[{"id":"3ed98844.9f4d88","type":"inject","z":"7a2e0c2e.f262a4","name":"","topic":"","payload":"0","payloadType":"num","repeat":"","crontab":"","once":true,"onceDelay":"30","x":90,"y":1420,"wires":[["7bcb905b.62118","9471fb30.731358"]]},{"id":"f9da32a0.4adb","type":"cec-out","z":"7a2e0c2e.f262a4","cec_adapter":"eb129ee.9499a6","name":"RPI HDMI CEC Send","x":500,"y":1460,"wires":[]},{"id":"f5a80d3b.50548","type":"rpi-gpio in","z":"7a2e0c2e.f262a4","name":"","pin":"5","intype":"tri","debounce":"25","read":false,"x":90,"y":1500,"wires":[["9471fb30.731358"]]},{"id":"9471fb30.731358","type":"change","z":"7a2e0c2e.f262a4","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"1","fromt":"num","to":"{\"source\":\"unregistered\",\"target\":\"BROADCAST\",\"opcode\":\"active_source\",\"args\":\"1.0.0.0\"}","tot":"json"},{"t":"change","p":"payload","pt":"msg","from":"0","fromt":"num","to":"{\"source\":null,\"target\":\"0.0.0.0\",\"opcode\":\"STANDBY\"}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":280,"y":1460,"wires":[["f9da32a0.4adb","7d204894.0a0c78"]]},{"id":"7d204894.0a0c78","type":"debug","z":"7a2e0c2e.f262a4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":470,"y":1420,"wires":[]},{"id":"2bcc25cf.65a8aa","type":"inject","z":"7a2e0c2e.f262a4","name":"","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":true,"onceDelay":"30","x":90,"y":1460,"wires":[["9471fb30.731358"]]},{"id":"eb129ee.9499a6","type":"cec-config","z":"","OSDname":"node-red","comport":"","hdmiport":"1","player":true,"recorder":true,"tuner":true,"audio":true}]