-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KNX Group Monitorn History Data #92
Comments
Hi 👋! The data is stored in memory. |
Cool, thanks |
There are no plans to do so currently. What would be the usecase for that? It was initially built to only write to disk on shutdown - with RaspberryPi SD-Card installations in mind. This feature should not stress these cards more than necessary. |
I would like to montior the KNX-BUS with own scripts, but maybe it is better to fully integrate it in HomeAssistant. |
Aha. Tbh this sounds a little bit out of scope for the HA KNX integration. But anyway, I don't think you'd need a database for that. You can just use the same websocket endpoint we use for the group monitor to get live data and process it in your script. See https://github.com/home-assistant/core/blob/f0abea48a6aef5c8f35770f36df5a47488ed3df6/homeassistant/components/knx/websocket.py#L163 You could of course also just use an xknx instance in your script and have a separate connection providing callbacks to your logic. From Home Assistant it may be doable using HA Events ( |
cool thx |
+1 for this feature, and I'll provide a standard use case. Many visualization products for KNX have the data logging feature. It's used to diagnose intermittent problems that can't be reproduced while integrator is on-site. For this, data survivability is critical, but timing of the writes is not. I think good solution for both considerations would be to have default behaviour as it is, but to add disk writing frequency as configurable option. Could you consider adding this? |
Is it possible to have a longer history in the KNX group monitor view?
Is this data stored in a DB and can bei accessed somehow?
The text was updated successfully, but these errors were encountered: