Skip to content
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

Get metadata for gas consumption sensor via state.cgi somehow #97

Open
hce opened this issue Nov 4, 2024 · 0 comments
Open

Get metadata for gas consumption sensor via state.cgi somehow #97

hce opened this issue Nov 4, 2024 · 0 comments

Comments

@hce
Copy link

hce commented Nov 4, 2024

The relatively new gas consumption sensor presented at L&B has consumption information for daily, weekly and monthly use available, but this data is only available via metadata. I haven't found and call in this API to export that metadata. It'd be nice to have a way to access the metadata.

For my own purposes I briefly considered writing a script inside the CCU to export the metadata to system variables, but that kind of defeats the purpose because system variables are persistently stored on the flash storage. Instead I've decided to write a small .cgi for my own purposes to output the metadata as JSON. The EID is hardcoded, I'll paste this script here just as an example.

gas.cgi.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant