robertklep / bosch-xmpp

Protocol implementation for Bosch XMPP protocols
MIT License
48 stars 7 forks source link

Long Polling #45

Open Ansula1267 opened 1 year ago

Ansula1267 commented 1 year ago

If I would like to create a history of the state/values of a thermostat I can of course request the values of the relevant endpoints regularly, e.g every minute. Not very elegant, as most of the time nothing will change. For the Bosch Smart Home Controller there is a mechanism to subscribe to changes and get notified: the "Long Polling". Is something similar available from bosch-xmpp (in bridge mode)?

robertklep commented 1 year ago

No, there's nothing similar available, but I never really looked at the possibility for an event-driven configuration of the client.

For now, regular polling is the only way I'm afraid.