Skip to content

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

Description

@hce

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions