2021-12-29, 19:59
Greetings,
I'm trying to remotely suspend or hibernate my system using the JSON-RPC API.
When sending actions: System.Hibernate or System.Suspend, I get an error returned: Failed to execute method.
I initially thought that the executing user don't have power access, but then I tried System.Reboot and System.Shutdown. Both of which worked just fine.
I also added "<jsonrpc> <compactoutput>false</compactoutput> </jsonrpc>" to my advancedsettings.xml file, hoping that I would see more debug output. But neither the response or log (linked below) show any more helpful information.
Is there something specific I need to enable to make System.Suspend and System.Hibernate work properly?
Any advice or suggestions would be appreciated.
Relevant Log Corresponding to System.Reboot request: https://paste.kodi.tv/liqehitovo.kodi
JSON returned from request: https://paste.kodi.tv/oloyuruzen
I'm trying to remotely suspend or hibernate my system using the JSON-RPC API.
When sending actions: System.Hibernate or System.Suspend, I get an error returned: Failed to execute method.
I initially thought that the executing user don't have power access, but then I tried System.Reboot and System.Shutdown. Both of which worked just fine.
I also added "<jsonrpc> <compactoutput>false</compactoutput> </jsonrpc>" to my advancedsettings.xml file, hoping that I would see more debug output. But neither the response or log (linked below) show any more helpful information.
Is there something specific I need to enable to make System.Suspend and System.Hibernate work properly?
Any advice or suggestions would be appreciated.
Relevant Log Corresponding to System.Reboot request: https://paste.kodi.tv/liqehitovo.kodi
JSON returned from request: https://paste.kodi.tv/oloyuruzen