swissmanu / harmonyhubjs-client

A Node.JS library which allows you to interact with your Logitech Harmony Hub.
https://github.com/swissmanu/harmonyhubjs-client
MIT License
155 stars 42 forks source link

Events for Activity Changes? #35

Closed docbobo closed 7 years ago

docbobo commented 7 years ago

Is there any way to get notifications of changes to the currently running activity?

swissmanu commented 7 years ago

you can use the hubs stateDigest stanza to detect such things: https://github.com/swissmanu/harmonyhubjs-client/blob/develop/docs/protocol/stateDigest.md

see orchestra-jsapi for an example.