aex351 / home-assistant-neerslag-app

Neerslag app for Home Assistant. All-in-one package (Sensors + Card).
62 stars 18 forks source link

Stopped working after upgrade to HA 2024.8 #59

Open realjax opened 3 months ago

realjax commented 3 months ago

After upgrading to 2024.8.2 it shows this on the dashboard.

Screenshot_2024-08-24-09-46-16-996_io homeassistant companion android

aex351 commented 3 months ago

Will investigate this issue. Often the problem of the card not loading happened because of a caching issue. However on HA 2024.8.1 using the Android app I also observed this issue and clearing the cache didn't resolve the issue. Updating to HA 2024.8.2 did resolve the issue.

spawn-guy commented 3 months ago

@aex351 I don't have an issue on android 14(update : and now I do, yesterday was okay) , but I do have an issue on android 5.1.1. Clearing app data (cache included) on 5 - didn't help.

Hass docker 2024.8.3

aex351 commented 3 months ago

@spawn-guy It seems that only clearing the cache is not sufficient. Try first force closing the app and then clearing the cache.

spawn-guy commented 2 months ago

@aex351 i did exactly that: force stop - clear all data (cache included). The behavior is weird: when there are no alarming data - the card displays correctly. Then "usually" when there is alarming values - the card is missing. And then "rarely" - it displays the data.

Is it possible that the problem is not with js side, but the fetching backed python side? Or the data APIs return is not very valid as a number?

tx71 commented 2 months ago

I have the same issue, neerslag-card not loading, after upgrading to HA 2024.9.2. Issue only happens in the Android companion app (Android 14). In the browser, everything is fine.
I tried a force close of the companion app, and a re-download of the Neerslag App in HACS, but no improvement.

spawn-guy commented 2 months ago

i've started forking around with PR's here... and it seems that the problem is not in python,.. but could be on JS side.

possibly, the card.js doesn't register correctly, or "not in suitable time during startup". so then it appears "missing", but when it does - we can see the card.

unfortunately, i'm not such a good js developer, but i'll keep digging