WebSockets API Status

I am able to query the status using ‘getStatus’ ok for my display application. But I was wondering if it was possible to listen for status updates, rather than asking?

Regards,

David

The command is ‘getState’ (not ‘getStatus’), and then you wait on a ‘pushState’ event. And yes, status updates will be automatically communicated to your on_pushState callback function. Hope that helps.

THank you for the information…I will check…

Regards,

David