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

Water usage data #5

Open
kimme1024 opened this issue Mar 28, 2023 · 1 comment
Open

Water usage data #5

kimme1024 opened this issue Mar 28, 2023 · 1 comment

Comments

@kimme1024
Copy link

First of all thanks for the integration! I’ve been waiting so long for this to pop up!

Are there any plans to also include the water usage data so we can use it in the energy dashboard?

@kimme1024
Copy link
Author

I already added this functionality locally:

API_TCG_total = "getTCG_total" # water verbruik vandaag in liter

    SensorEntityDescription(
        key=API_TCG_total,
        native_unit_of_measurement=VOLUME_LITERS,
        name="Water verbruik volume vandaag",
        state_class=SensorStateClass.MEASUREMENT,
    ),

it pops up in HA after a restart, after that you'd be able to make an utility sensor that ads up the daily values.

I wasn't yet able to test this as sadly the connection with the api is very unstable. I guess the update interval is too high and therefore the integration gets blocked by i-lexconnect. I tried to change the update interval to 20 minutes but at this moment I'm still blocked.

I reached out to SYR to ask if it'd be possible to scrape the data locally. As it's an ESP based system it should be possible. I hope they'll answer my questions.

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