-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use historical sensor for cost and usage
- Loading branch information
Showing
2 changed files
with
161 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this ! I tried it yesterday, but today Im getting no data whatso ever (11am).
The Hildbrand API hasnt been consistent at returning data lately...particularly for the Gas data... but Im judging from lack of data in HA.
Logs seem to indicate that all the API GET's are being returned, but somehow its not getting into the HA sensor... hmmm
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible you send me some of your logs? Also if you can also add a log statement for the readings variable in the daily_data method that would also be useful
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi root0x,
Haven't done much trouble shooting before could you give me a idiots guide to sending you the logs required. Also what do you mean by adding log statement.
Sorry .....
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give this branch a go https://github.com/root0x/ha-hildebrandglow-dcc/tree/feat/use-historical-sensor it contains some of the other fixes that other people have made like which times the script runs.
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Certainly I'll load it up later and report back. Many thanks.
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Daniel,
I loaded up this latest version as requested. Unfortunately for ; Electricity Used Today.Electricity Cost Today, Gas Used Today & Gas Cost Today Sensor all I see is "Unknown" Prior to uploading this version I tried your version "5 Commits ahead of" the sensors were reporting for that version, there still were issues as initially described in #412 the usage sensors "utility meter helpers" have have not updated since the latest vesion was uploaded due to no data appearing.
Let me know if you require further information, I'm quite happy to carry on testing. Screenshots from the intergration/device screen below
....... and thankyou for asssisting.
Are there not many of us using this integration ?
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, so those will unfortunatley have to show as unknown because of the ha-historial-sensor that is used, the graphs should be correct though. I just use the energy dashboard and that isn't a problem for me. Please see this limitation https://github.com/ldotlopez/ha-historical-sensor
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update I'll monitor over the next few days many thanks.
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Daniel, Data seems to be coming in much better. There seemed to be a couple of hours where the data was incorrect, I'll monitor this and report back.
A new issue has been found that in the energy dashboard it no longer reports the Energy Cost looks like its missing the "Energy Used Today" mentioned above which looks to be used in the calculation. Do you see the same? Is there a work around?
d186c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Daniel, Please disregard the last email, I have reloaded the integration all of the sensors now show. I'll update you once some more data has been imported. Sorry ......... :-(