technicalpickles / picklehome-homeassistant-config

homeassistant configuration for my house
3 stars 0 forks source link

Errors control kodi for fireplace scenes #78

Closed technicalpickles closed 5 years ago

technicalpickles commented 5 years ago
homeassistant_1  | 2018-12-22 17:05:41 ERROR (MainThread) [homeassistant.components.media_player.kodi] Run API method media_player.fireplace_kodi.Addons.ExecuteAddon({'addonid': 'script.json-cec', 'params': OrderedDict([('command', 'standby')])}) error: {'code': -32602, 'message': 'Invalid params.'}

Looks like this was reported at https://github.com/home-assistant/home-assistant/issues/13914 but no progress was made.

technicalpickles commented 5 years ago

I did some creative googling and came across this thread on onn the forums: https://community.home-assistant.io/t/kodi-media-player-platform-cec-doubts/23138/2 ... Basically they didn't have script.json-cec installed.

I know I had installed it at some point, and it had definitely worked. I checked the kodi addons, and sure enough it was installed but not enabled.

Home Assistant Community
Kodi media_player Platform: CEC doubts
OK, answering myself: entity_id: should be the device name shown in States, not what I supposed. I´m having another issue though. I´m getting this error now, with a (i suppose) correct conffig: 2017-09-01 20:26:51 ERROR (MainThread) [homeassistant.components.media_player.kodi] Run API method media_player.cuarto.Addons.ExecuteAddon({‘addonid’: ‘script.json-cec’, ‘params’: OrderedDict([(‘command’, ‘standby’)])}) error: {‘message’: ‘Invalid params.’, ‘code’: -32602} I´ve revised the github pa...