This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
actions, Execute Command, Displaying a message
#7
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.
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}]
Reply


Messages In This Thread
RE: actions, Execute Command, Displaying a message - by jim321 - 2019-04-10, 10:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)