Does anybody know how to use the "Idle" function of this plugin in a LUUP script?
would it be something like:
local KODI_SID = "urn:upnp-org:serviceId:XBMCState1"
local playerState = luup.variable_get(KODI_SID, "IdleTime", 123)
Does the idle time even work?, I dont see it changing in the Advanced tab.
Is there a way to even do it via the UI? I would like to turn off the power to the TV when Kodi is idle for a certain amount of time.