Repository navigation
[Experimental] System variable values instantly instead of every 30 seconds / Werte von Systemvariablen sofort statt alle 30 Sekunden (ValueChange) #1431
SukramJ
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🇬🇧 English
What is it about?
Until now the integration reads system variable values from the CCU periodically, every 30 seconds by default. When a program or the WebUI changes a system variable, Home Assistant sees the new value up to 30 seconds later.
OpenCCU gains a new interface through which a client can fetch changed values directly from the CCU (long polling over JSON-RPC,
ValueChange.*; the groundwork is described in the ReGaHss changelog). With the feature enabled, a changed system variable value reaches Home Assistant within about one second.Both backends support the feature: aiohomematic (direct CCU connection) and openccu-loom (Beta).
Requirements
CCU
ValueChange.subscribe,ValueChange.poll,ValueChange.getValuesandValueChange.unsubscribe. Tested with ReGaHss R1.00.0388.0279 (firmware 3.89.14.20261204).aiohomematic backend (direct CCU connection)
openccu-loom backend (Beta)
How to enable
aiohomematic
SYSVAR_VALUE_CHANGEopenccu-loom
The setting applies per CCU. In the configuration file it is
centrals[].behavior.sysvar_value_change: true.Things to keep in mind
Feedback
Please reply in this discussion with:
🇩🇪 Deutsch
Worum geht es?
Bisher liest die Integration die Werte von Systemvariablen periodisch von der CCU, standardmäßig alle 30 Sekunden. Ändert ein Programm oder die WebUI eine Systemvariable, sieht Home Assistant den neuen Wert also erst nach bis zu 30 Sekunden.
OpenCCU bekommt eine neue Schnittstelle, über die ein Client geänderte Werte direkt bei der CCU abholen kann (Long-Polling über JSON-RPC,
ValueChange.*; die Grundlage dafür steht im ReGaHss-Changelog). Ist die Funktion eingeschaltet, kommt ein geänderter Wert einer Systemvariable innerhalb von etwa einer Sekunde in Home Assistant an.Beide Backends unterstützen die Funktion: aiohomematic (direkte CCU-Verbindung) und openccu-loom (Beta).
Voraussetzungen
CCU
ValueChange.subscribe,ValueChange.poll,ValueChange.getValuesundValueChange.unsubscribeanbietet. Getestet wurde mit ReGaHss R1.00.0388.0279 (Firmware 3.89.14.20261204).Backend aiohomematic (direkte CCU-Verbindung)
Backend openccu-loom (Beta)
Aktivierung
aiohomematic
SYSVAR_VALUE_CHANGEauswählenopenccu-loom
Die Einstellung gilt pro CCU. In der Konfigurationsdatei heißt sie
centrals[].behavior.sysvar_value_change: true.Worauf ihr achten solltet
Feedback
Bitte meldet euch hier in der Diskussion mit:
All reactions