Open 1mfaasj opened 5 months ago
Will look in to this. With the neerslag-card
it is needed to manually update the custom sensor. The readme file needs to be updated to reflect that. Another user already proposed a change, however not processed yet.
If possible I recommend to migrate to the neerslag-app
. It includes the neerslag-card
and the sensors. So no need anymore to update any custom sensors.
neerslag-app is another hacs integration I see, but doesn't this work the same as the command line solution? I've monitored the neerslag-card but it isn't updating anymore, when it's rainy it doesn't reflect on the card. the warning stays
the neerslag-app works! (don't ask me why because I thought it would work the same underneath)
Hi, first of all thanks for this integration. I'm using it a lot! I was wondering if there is something we can do to avoid the warnings? It's justing spamming my log. Do you know the cause? could it be related to the api availability? maybe it's better to change the scan interval in that case?
how my config looks like (I removed the gps coordinators): `command_line:
sensor: command: python3 -c "import requests; import json; import random; dataRequest = requests.get('https://cdn-secure.buienalarm.nl/api/3.4/forecast.php?lat=xxx&lon=xxx®ion=nl&unit=mm%2Fu&c='+str(random.randint(0,999999999999999)) ).text; dataRequest = dataRequest.replace('\r\n',' '); data = '{\"data\":'+dataRequest+'}'; print(data);" name: Neerslag_Buienalarm_Regen_Data json_attributes:
sensor: command: python3 -c "import requests; import json; import random; dataRequest = requests.get('https://gpsgadget.buienradar.nl/data/raintext?lat=xxx&lon=xxx&c='+str(random.randint(0,999999999999999)) ).text; dataRequest = dataRequest.replace('\r\n',' '); data = '{\"data\":\"'+dataRequest+'\"}'; print(data);" name: Neerslag_Buienradar_Regen_Data json_attributes: