Recently I started showing the below type error on pulling in data for my heatpump.
-
Given the very limited details I can find on Error 3… does anybody have any idea where to even start thinking of troubleshooting? It occurs randomly, sometimes a few times an hour, sometimes once a day.
-
When the error pops up, it messes up my stats and alerts. Is there an option to simply use the last known sensor values when an empty JSON reply is received? ( I realize I am then resolving a symptom and not the root cause, but it would be beter than the current situation.
I was thinking along the lines of
value_template: >
{% if value_json is defined %}
{{ "ok" }}
{% else %}
{{states('sensor.ecodan_cmd')}}
{% endif %}
error:
2023-12-08 16:40:20.731 DEBUG (MainThread) [homeassistant.components.rest.data] Updating from https://app.melcloud.com/Mitsubishi.Wifi.Client/user/ListDevices?id=xxx&buildingID=xxx
2023-12-08 16:40:25.737 ERROR (MainThread) [homeassistant.components.rest.data] Error fetching data: https://app.melcloud.com/Mitsubishi.Wifi.Client/user/ListDevices?id=xxxx&buildingID=xxx failed with [Errno -3] Try again
2023-12-08 16:40:25.738 DEBUG (MainThread) [homeassistant.components.rest.data] Data fetched from resource: None
2023-12-08 16:40:25.738 WARNING (MainThread) [homeassistant.components.rest.util] Empty reply found when expecting JSON data