Closed lolodomo closed 2 years ago
It might have been a temporary issue on enedis servers, it looks like it is now working. I will continue to monitor during the next days and I will reopen the issue if I notice problems.
I observed my logs on the last days. Every morning at 1 am and sometimes even at 3 am, the request to get the power peak of the current day leads to an internal server error and as a consequence the thing going OFFLINE. Note that it goes ONLINE immediately after because the requests to get consumptions are succeeding.
I suppose the server returns an internal error because the data is not yet available. Maybe if we requested the data for yesterday and the previous day, the server will return something. I am going to test that.
I suppose the server returns an internal error because the data is not yet available. Maybe if we requested the data for yesterday and the previous day, the server will return something. I am going to test that.
This was apparently a good idea, I got no internal server error this morning. I will submit a PR.
Binding connection is working. Request to retrieve day consumptions is sometimes working. Requests to retrieve month consumptions, year consumptions and power states are failing with an internal server error. At binding startup, there are 4 data requests, at first try, only the second succeeded. At the second and third tries, all failed
@clinique for information.