Command Line Switch Status for SkyHD box

I am using a command line switch to turn on and off my SkyHD box using the software from https://github.com/dalhundal/sky-remote-cli but i can’t figure out how to monitor the status of the sky box to show if it is actually on or off in case it is turned off by the actual sky remote.

Can anyone advise what i need to enter for the command_state to get the status?

Thanks

It’s not possible with the actual cli, it can only send command, but not receive any response/status.
And that ist the same for the library it uses:

So without extending the python library + cli module, it’s impossible (and not sure that it’s possible at all).

Ah ok, guess i’ll just have to make do with it as it is, thanks anyway.

I found the following python library and wondered if this gives any better feedback?

I had a quick poke at it, and the answer seems to be “not really”.

It looks like you can tell whether it’s playing, paused or off (“stopped”), but I’m not seeing anything else. Of course, that may be because Sky have changed things in the 5 or so years since that was last worked on.