2021-10-23, 00:28
How do I execute a built-in command from the JSON RPC? Is there some hidden method I can use for that? Is it even possible at all?
I would like to execute the function CECActivateSource from Home Assistant to switch my TV to Kodi. The function itself is working as intended when I execute it from my Kodi machine, I just need to execute it remotely. The Android remote app Yatse can do exactly this through its power menu but I don't know how it sends the actual command to Kodi. Does it even use the JSON RPC for that? If now, how does Yatse do it?
I would like to execute the function CECActivateSource from Home Assistant to switch my TV to Kodi. The function itself is working as intended when I execute it from my Kodi machine, I just need to execute it remotely. The Android remote app Yatse can do exactly this through its power menu but I don't know how it sends the actual command to Kodi. Does it even use the JSON RPC for that? If now, how does Yatse do it?