WebThingsIO / gateway

WebThings Gateway - a self-hosted web application for monitoring and controlling a building over the web
http://webthings.io/gateway
Mozilla Public License 2.0
2.62k stars 339 forks source link

Implement `observeproperty` operation #2982

Closed benfrancis closed 1 year ago

benfrancis commented 2 years ago

As a developer consuming the gateway API, I want to be able to observe the value of a property so that I can be notified when it changes rather than having to poll the property resource.

Implement the observeproperty and unobserveproperty protocol bindings from the HTTP SSE Profile, as defined in https://w3c.github.io/wot-profile/#observeproperty