I’ve added a couple of RESTful sensors, to query EVnotify.
Everthing works just fine, until a couple of hours later, I get zero data and HA logs are full with:
Blockquote
2022-02-21 22:42:02 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
2022-02-21 22:45:25 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.evnotify_soc_battery_level is taking over 10 seconds
2022-02-21 22:45:25 ERROR (MainThread) [homeassistant.components.rest.data] Error fetching data: https://app.evnotify.de/soc?akey=111111&token=111111111111111111111 failed with
2022-02-21 22:45:25 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
2022-02-21 22:47:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.evnotify_extended is taking over 10 seconds
2022-02-21 22:47:03 ERROR (MainThread) [homeassistant.components.rest.data] Error fetching data: https://app.evnotify.de/extended?akey=111111&token=111111111111111111111 failed with
2022-02-21 22:47:03 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
A simple restart “fixes” the issue, until it blows up again
2022-07-05 19:59:06 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
2022-07-05 19:59:36 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
2022-07-05 20:00:06 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
2022-07-05 20:00:36 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
2022-07-05 20:01:06 WARNING (MainThread) [homeassistant.components.rest.sensor] Empty reply found when expecting JSON data
This sensor has been working for months, so I don’t really understand what changed. Can’t find anything in the changelog or breaking changes section of home assistant which could have caused this.
When I manually go to the “resource” I always get a result:
+1 on this… If I do a curl to the Awair URL, I get the results, always… HA has tons of these errors, of not being able to pull the data via REST… I am at loss also to be honest.