mdzio / ccu-jack

CCU-Jack bietet einen einfachen und sicheren REST- und MQTT-basierten Zugriff auf die Datenpunkte der Zentrale (CCU) des Hausautomations-Systems HomeMatic. Zudem können einfach Fremdgeräte an die CCU angebunden werden.
GNU General Public License v3.0
112 stars 11 forks source link

support of asyncio #180

Closed kw123 closed 3 weeks ago

kw123 commented 3 weeks ago

would it be possible to have a listener the only gets updates from ccujack if there are any changes instead of constantly pulling all channels?

thanks

Karl

mdzio commented 3 weeks ago

This is already possible via the MQTT interface.

However, polling values also causes little computing load and network bandwidth. I also don't want to implement HTTP long polling or a reverse channel. A WebSocket is functionally identical to MQTT and has no advantages.