-
Notifications
You must be signed in to change notification settings - Fork 64
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
MainsFromGrid update frequency #256
Comments
The issue stems from how I'm doing those updates, like you've observed those sensors all update from the API every 15 minutes, but when the 1 minute sensors are active the data from those gets added into the 1D sensors. The Home 1,2,3 has a corresponding 1 minute sensor but MainsFromGrid doesn't. Emporia have asked us to keep the number of API calls fairly low, so I don't think I can just increase the frequency of those requests. I might be able to do that backwards and request the 1D data once per minute and use that to generate the 1 minute sensors. I'll have to think about the best way to handle it. |
Perhaps Emporia should be calculating this on their site. Are they open to adding calculations at all? |
Hello there,
First, thank you very much for integration, I'm using it for a long time :)
Upon integrating a new home dashboard, I observed some inconsistencies in the hourly graph during the time I charge my electric vehicle (EV). To clarify, I have an energy tariff set from 02 to 06 AM for cost-effective EV charging (the EV charger ceases operation at 6AM). However, I detected elevated consumption between 06 to 07 AM as per the MainsFromGrid sensor. After probing further, I discovered that this was due to the update frequency of MainsFromGrid (approximately every 15 minutes), which resulted in the display of EV charging consumption even after 6AM.
Here is an example comparing with HOME,1,2,3:
![image](https://private-user-images.githubusercontent.com/8531694/306694316-ee5507a7-9ab6-4701-9ece-ac5f0ae3d1ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjYyMjEsIm5iZiI6MTcyNTk2NTkyMSwicGF0aCI6Ii84NTMxNjk0LzMwNjY5NDMxNi1lZTU1MDdhNy05YWI2LTQ3MDEtOWVjZS1hYzVmMGFlM2QxZWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTBUMTA1ODQxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWVlMmQ0ZjY3MTNlMDc0ZDg4ZDAzOThiNDk1ZDM4ZTA2NGMwOWJhOGY0Mzc5Mzk1YjM1OWY0YTBlMjVlYTUyMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.FYlLMvbddWy8-VTQUkrt-h8deCBtS2cXogznbikp0WI)
So, is there any way to increase the update frequency of MainsFromGrid? I tried using Home,1,2,3 but it causes issues with solar input.
Thank you very much!
The text was updated successfully, but these errors were encountered: