-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make site data available #28
Comments
Hello, Don't you think you could find the same with the actual sensors ? With something like that :
But if you really want those values, we can add it ;) |
The sensors names are differents for me ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I like very much the auto production rate gauge displayed on the comwatt site homepage and I would like to be able to have the same in home-assistant.
Describe the solution you'd like
To compute the rate, looking at the website requests, it retrieves the site data using
site-networks-ts
for the last 6 minutes (start=now-6minutes, end=now). Then it uses theproductions
andconsumptions
measures to compute the rate (basically it does sum(productions)/sum(consumptions))So I played a bit with your comwatt client and could compute the same value as displayed on the website with:
I not familiar with the home-assistant integrations api but maybe this Comwatt integration could setup some kind of "site device" for each user site with sensors for each provided data (productions, consumptions, injections, withdrawals, etc). Not sure if it should also provide the computed value or if it should be computed by users in their home-assistant. I'm willing to help and contribute with some guidance 😃.
The text was updated successfully, but these errors were encountered: