Repository navigation
Replies: 2 comments
|
@borpin, thanks for writing this up as its own idea. Here is what the integration does today with a
That second case could explain identical timestamps on every poll, because the same older file would be read again until a new file with content arrives. I cannot tell from here whether that is what happened on your car. It also adds to what I wrote in #2169, where I said the integration reads the newest listed file. Placeholders do not count there. For stale data, these exist today.
The check you describe does not exist. Nothing counts several datasets in a row with the same timestamps, and no entity goes unavailable because the timestamps repeat. Readings are carried forward without an age limit, which is tracked in #1917. Whether stale readings should make entities unavailable is open, and this Discussion is a good place for it. This reply was drafted with AI assistance and checked by me before posting. I deliberately let it write in plain, everyday language so it is easier to read — and in your own language where that helps. |
|
Correction to my reply above. I wrote that when every file in the portal's list is a placeholder, "Portal feed health" shows "Empty snapshots" and "No-data polls" and "Last no-data poll" count and date it. That holds only for a car the integration has no earlier data for (its first poll, with nothing stored), or when a second read channel fills in. For a car it already has data for, the poll keeps the last values, and these three entities keep what they showed after the last good poll, usually "Live", until they go unavailable with the rest. I found this while checking your idea against the code. This reply was drafted with AI assistance and checked by me before posting. I deliberately let it write in plain, everyday language so it is easier to read — and in your own language where that helps. |
Uh oh!
There was an error while loading. Please reload this page.
Following on from #2169 (comment) I firstly had an issue whereby the data file was empty. It had the suffix on the file to indicate no content found
20261124012610_XXXXXXXXXXXXXXXXX_no_content_found.zipThere is also an issue of stale data i.e. the timestamps are the same for each dataset. Could a check be added for this and a sensor be added for data quality? I think after several stale datasets, the sensor should be unavailable (especially if using the data to help control charging).
All reactions