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

Request add Gas usage history #194

Open
sonar98 opened this issue Oct 11, 2022 · 7 comments
Open

Request add Gas usage history #194

sonar98 opened this issue Oct 11, 2022 · 7 comments

Comments

@sonar98
Copy link

sonar98 commented Oct 11, 2022

It would be nice if the gas usage history could be added to the integration.

When using the gas usage history endpoint you can split the usage in "Hot Water" and "Central Heating"

https://github.com/marcelrv/nefit_easy_protocol/blob/master/gasusage.md

@RobBie1221
Copy link
Collaborator

Just looking quickly, I have no clue how to map that to an entity, as this reports gas usage day-to-day for the last 32 days. For example, the yearTotal is just a counter we read from the Nefit device and write to an entity.

@sonar98
Copy link
Author

sonar98 commented Oct 11, 2022

Maybe just get the two values of the day before today. Then there are just two values to get from nefit.

@RobBie1221
Copy link
Collaborator

Are you familiar with how entities work?

How do you intend to use the data? On the energy dashboard?

@sonar98
Copy link
Author

sonar98 commented Oct 11, 2022

I don't know how entities work exactly.

I intended to use it as a utility meter so you can see what part of your total useage is for central heating and what part is for hot water.

If you deduct these two from the total gas usage (slimme meter) there probavly will be a part left and that is gas used for cooking.

@RobBie1221
Copy link
Collaborator

Maybe #46 could be a solution? I think it doesn’t fit on the entity model.

I also wonder whether it is sufficiently accurate to compare to your P1, people have complained here before about large differences between Nefit and P1.
For example: #74 (comment)

@sonar98
Copy link
Author

sonar98 commented Oct 12, 2022

If it is not accurate enough it can still be used to see wich percentage of the usage is for Hot water and what percentage is for central heating.

@ChefkeGremmen
Copy link
Contributor

Watching this 🧵 , as this is very interesting when filling in approximate data in mindergas.nl for the hotwater/cooking values.

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

3 participants