This repository was archived by the owner on Dec 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
This repository was archived by the owner on Dec 19, 2022. It is now read-only.
DEBUG: ToggleDeviceState - putting CEC device on standby... - but nothing happenes #8
Copy link
Copy link
Open
Description
Hello,
first of all - thanks for making such a great script. It looks very promising. But I am not able to make it work. The following issue occurs (originally posted here):
(...) The Pi answers (get the following response) but the TV doesn't act (eg. turn on).
My Request and the Response:
- /jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.json-cec","params":{"command":"standby"}},"id":1}
{
"id": 1,
"jsonrpc": "2.0",
"result": "OK"
}
Am I missing any setting (firewall) or something? Or should it work kind of out of the box?
Edit: Taking a look into the kodi.log reveals the following:
13:08:05.720 T:1491071984 DEBUG: CWebServer[80]: request received for /jsonrpc?request={%22jsonrpc%22:%222.0%22,%22method%22:%22Addons.ExecuteAddon%22,%22params%22:{%22addonid%22:%22script.json-cec%22,%22params%22:{%22command%22:%22standby%22}},%22id%22:1}
13:08:05.736 T:1305474032 DEBUG: Thread LanguageInvoker start, auto delete: false
13:08:05.737 T:1305474032 INFO: initializing python engine.
13:08:05.737 T:1305474032 DEBUG: CPythonInvoker(29, /home/osmc/.kodi/addons/script.json-cec/script.py): start processing
13:08:06.222 T:1305474032 DEBUG: -->Python Interpreter Initialized<--
13:08:06.223 T:1305474032 DEBUG: CPythonInvoker(29, /home/osmc/.kodi/addons/script.json-cec/script.py): the source file to load is "/home/osmc/.kodi/addons/script.json-cec/script.py"
13:08:06.224 T:1305474032 DEBUG: CPythonInvoker(29, /home/osmc/.kodi/addons/script.json-cec/script.py): setting the Python path to /home/osmc/.kodi/addons/script.json-cec:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
13:08:06.224 T:1305474032 DEBUG: CPythonInvoker(29, /home/osmc/.kodi/addons/script.json-cec/script.py): entering source directory /home/osmc/.kodi/addons/script.json-cec
13:08:06.225 T:1305474032 DEBUG: CPythonInvoker(29, /home/osmc/.kodi/addons/script.json-cec/script.py): instantiating addon using automatically obtained id of "script.json-cec" dependent on version 2.1.0 of the xbmc.python api
13:08:06.336 T:1305474032 INFO: CPythonInvoker(29, /home/osmc/.kodi/addons/script.json-cec/script.py): script successfully run
13:08:06.344 T:1305474032 INFO: Python script stopped
13:08:06.344 T:1305474032 DEBUG: Thread LanguageInvoker 1305474032 terminating
13:08:06.350 T:1958453248 DEBUG: ToggleDeviceState - putting CEC device on standby...
But nothing happened... Even though I see: 13:08:06.350 T:1958453248 DEBUG: ToggleDeviceState - putting CEC device on standby...
.
Any clues?
GrahamTheCoder, chriskol and DaHoC
Metadata
Metadata
Assignees
Labels
No labels