Websockets

Does the hub support websockets? Looks like you're polling for the dashboards, so I'm guessing no, but hopeful for a yes. :grinning:

+1 for adding websockets (client) support in Hubitat. Would enable instant status updates and eliminate the need to constantly poll devices for state data.

I've looked for a Groovy way to implement them, but haven't had any success yet.

Are you looking for something like this

Well, that's the socket client side. How is the socket implemented on the groovy side? I'm not doing it for the logs, I have a floorplan app I'm building, I'd rather not poll for updates if I can avoid it.

if you're writing this from scratch, consider using our telnet implementation...

JavaScript to telnet? Not that I’m aware of. No man in the middle on this implementation. Pure client side JavaScript served from the hub.

Ah, yeah, that would be a trick..