Sending raw CEC codes? Best module to use?

Need to do more than just turn on and off a HDMI attached device. I am using node-red-contrib-cec, and got the basics working. on and off for example. But not sure how to send raw CEC codes? I tried setting the OpCode to NONE, and in arguments, pass the raw codes, but no joy yet.

Tried via CEC out node...
{"source": "RECORDINGDEVICE1", "target": "TV", "opcode": "NONE", "args": ["4F","82","10:00"]}

There is no (obvious to me?) transmit raw OpCode defined in the module? If I use the cec-client and send 'tx 4F:82:10:00' for my Vizio TV I get to HDMI 1, and 'tx 4F:82:20:00' to HDMI 2. For example...

echo 'tx 4F:82:10:00' | cec-client -s -d 1

echo 'tx 4F:82:20:00' | cec-client -s -d 1

probably best to contact the author and work out a solution / update / pull request, etc...

Yeah, that makes sense. It was easy to work around, just used exec to drive the CLI. I suspect this might be a feature request for the module.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.