-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[linky] Bad values from yesterday once the refresh is working again #9386
Comments
If I go to the WEB site, the value from yesterday is available. |
I will investigate a little more but it looks like the API is not returning the yesterday value. |
@clinique : WDYT ? |
If I restart the binding now, value from yesterday is now ok. |
If this is confirmed, the solution would be to ignore the result of the request when the value from yesterday is not provided and then let the binding try again later in the day. The check frequency should then be increased a little like a try every 2 hours. |
At 5 in the morning, the value returned by the API for yesterday is NaN (and the current week value of course does not include yesterday). |
Fix openhab#9386 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Fix openhab#9386 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [linky] Handle case when data from yesterday is still NaN Fix #9386 * Refresh every 2 hours until data from yesterday are available * Log yesterday even for month and year requests Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [linky] Handle case when data from yesterday is still NaN Fix openhab#9386 * Refresh every 2 hours until data from yesterday are available * Log yesterday even for month and year requests Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [linky] Handle case when data from yesterday is still NaN Fix openhab#9386 * Refresh every 2 hours until data from yesterday are available * Log yesterday even for month and year requests Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Once #9358 is used, data refresh is hopefully back.
The new problem is that values are not the ones expected, at least for the yesterday and the current week values.
We are Tuesday, we should have these values considering Monday but yesterday value is UNDEF and current week value is 0.
Either the binding is shifting the values for one day or the request is run too early while the value for yesterday are not yet provided.
Edit: Or the API is never providing last day ?
The text was updated successfully, but these errors were encountered: