Comments (7)
Like this: https://www.home-assistant.io/integrations/utility_meter/ ?
from ha-nefiteasy.
Yeah, kinda like this. Thanks for the suggestion. I will try that and see how it will go but I need to try that for a monthly cycle which will take time. Though, I was expecting something like a monthly gas usage sensor.
Configuration is set like that
#UTILITY METER
utility_meter:
gas:
source: sensor.nefit_year_total
cycle: monthly
from ha-nefiteasy.
The yearly total is directly fetched from the thermostat. There is no command to directly get monthly usage, the app calculates that manually from daily usage. It's not very straightforward to fetch this data and I think not really needed as the above does the job as well.
from ha-nefiteasy.
Actually we can retrieve this data: https://github.com/marcelrv/nefit_easy_protocol/blob/fa339e56528bf60794315046e42ed737236308db/gasusage.md
from ha-nefiteasy.
As mentioned, we can retrieve data to calculate it, but it's not very straightforward.
Fetching the gasusage as in that link potentially gives a huge record as it contains the whole history. Then it needs to be parsed to filter out the days of the current month and accumulate the usage. Alternatively, single records can be fetched, but then first /ecus/rrc/recordings/gasusagePointer
need to be fetched and then the relevant records for the month and it should be accumulated.
For the yearly usage, it's just one endpoint that is fetched. If someone wants to put effort in making this, it can be made, but I'm not sure if it's worth the effort as the utility_meter
does (in my opinion) exactly what is requested.
from ha-nefiteasy.
I agree, I'm not going to put effort in this.
from ha-nefiteasy.
This seems to be more complicated than I thought. Using utility meter with a few lines of configuration seems more efficient.
from ha-nefiteasy.
Related Issues (20)
- Integration doesn't work HOT 1
- sensor.boiler_indicator gone? HOT 9
- Can only update to version 0.2.1, any newer versions break HOT 4
- Deprecated attributes for Home Assistant 2022.10 HOT 20
- Stopped working after HA upgrade to 2022.7.0 HOT 28
- My Nefit is not feeling Easy anymore after latest HA core update HOT 4
- Afterburner HOT 1
- Error setting up entry <number> for nefiteasy since 2022.7.x HOT 5
- No issue, just a big thank you HOT 5
- sensor.nefit_easy_current_temperature HOT 2
- Warning on deprected attributes on NumberEntityDescription HOT 2
- Holiday mode automatically switched off after 1 minute HOT 3
- Configure is not possible HOT 7
- pls remove
- AttributeError: module 'collections' has no attribute 'MutableSet' HOT 10
- Slow status update
- Request add Gas usage history HOT 7
- Official HomeAssistant integration HOT 5
- Nefit Easy connection fails with "deprecated attributes .... unsupported from HA 2022.10" HOT 2
- HA Log: Using slower stringprep, consider compiling the faster cython/libidn one. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-nefiteasy.