2017-11-28, 22:24
Nice project and one I'm keen to use. Just ordered a Google Home and this will fit really nice with my AV setup.
I've installed it locally on my PC for now, plan is to move it onto my Synology NAS to drive my Kodi from inside rather than from Glitch. Using the API calls from curl I can get it driving Kodi superbly.
The one thing I'm keen on getting working is the CEC control. Kodi sits on a Raspberry Pi 3 and I installed the cec addon script. I can send curl commands to it and get a response.
But nothing happens
I've tried cycling trough ID's in the hope of hitting something. But that's the bit I don't understand. How do I know what ID to send the activate to?
The actual setup I have is everything goes through a Yamaha AV Receiver. What I'd like the CEC to do is tell the receiver to activate the port that my Raspberry Pi is connected on. Is there something I can use to debug what I should see from CEC? Not sure if I need to investigate with 'cec-client' on the Pi.
Any pointers gleefully accepted.
I've installed it locally on my PC for now, plan is to move it onto my Synology NAS to drive my Kodi from inside rather than from Glitch. Using the API calls from curl I can get it driving Kodi superbly.
The one thing I'm keen on getting working is the CEC control. Kodi sits on a Raspberry Pi 3 and I installed the cec addon script. I can send curl commands to it and get a response.
json:$ curl --header 'Content-Type: application/json' --data-binary '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec","params":{"command":"activate"}},"id":1}' http://192.168.0.34:8080/jsonrpc
{"id":1,"jsonrpc":"2.0","result":"OK"}
But nothing happens
I've tried cycling trough ID's in the hope of hitting something. But that's the bit I don't understand. How do I know what ID to send the activate to?
The actual setup I have is everything goes through a Yamaha AV Receiver. What I'd like the CEC to do is tell the receiver to activate the port that my Raspberry Pi is connected on. Is there something I can use to debug what I should see from CEC? Not sure if I need to investigate with 'cec-client' on the Pi.
Any pointers gleefully accepted.