-
Notifications
You must be signed in to change notification settings - Fork 36
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
monthly "invoice" #510
Comments
This has been discussed before, it is to me really unclear how this is something that fits inside the scope of HA. |
See #158 |
Hey, thank you for the quick response. i think think comment is a good one sensor.user 2.2
no idea, if it possible in this way or similar in combination with utility meter device and template entities additional features would be available i think best regards |
I have added some functions in pyeasee to retrieve the information and created a simple example script on how to use it: |
Now released in pyeasee 0.8.9 which includes functions to extract consumption per user. |
thank you so far. |
Well, I would not say you need to be a developer to run the script I created. To me, a sensor in HA would be a far more complex thing to use to create invoices than the output of this script. I would not even know how to begin doing that honestly. A sensor would only represent the correct value at a certain point in time for one, so it would be very critical to read its value at a that time. The values would not necessarily update exactly when a month ends for instance, since it is more dependant on when a charging session ends than when a month ends. |
The APIs that report user consumption updates only after completed charging sessions, not during ongoing charging. The "utility meter" equivalent of the the charger is the sensor called "lifetime energy" (or "Gesamtenergie" in German). But again, nothing of this can be used to understand the consumption of a specific user since there is no way of knowing who is currently charging, until after the session completes (i.e. car is disconnected). |
ok, i understand. i had assumed, that user is known with authentification while starting charging |
The charger knows of course, but we can not access that information. |
may be you can forward that as a suggestion for improvement to the charger firmware team |
I did discuss it with them at some point over a year ago, I do not think it is much to hope for. |
Hi Ralf-Th, |
Feature request
get monthly costs / consumptions as per user to send e-mail automatically
What version of the integration are you using?
0.9.64
Anything in the logs that might be useful for us?
No response
Additional information
actual i do not know how to sum up monthly costs / consumption as per user, there is only a sensor over all.
The text was updated successfully, but these errors were encountered: