Release Control Kodi with your Google Home
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.

$ curl --header 'Content-Type: application/json' --data-binary '{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec","params":{"command":"activate"}},"id":1}'

But nothing happens Sad

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.

Messages In This Thread
RE: Control Kodi with your Google Home - by warlord0 - 2017-11-28, 22:24

Logout Mark Read Team Forum Stats Members Help
Control Kodi with your Google Home4
This forum uses Lukasz Tkacz MyBB addons.