On UI5 I have the RainAlarm working without any problem.
On UI7 it was working, but not anymore.
But I did not get it. After many hours off searching I removed the device and reinstalled it.
But I still don’t get the data from buienradar.
This is a part off my Vera log:
I found that in the latest UI7 the luup.inet.wget does not handle redirects, and buienradar now uses a redirect if your location uses more than two digits.
If you set the Location variable to lat=51.81&lon=5.81 (click the “switch to input type text” check box or it will fail).
For some unknown reason the plug stopped working just at the time when the use of the sunblinds are in force. The only response I get in the log file is as follows:
luup_
50 05/29/18 17:34:23.100 luup_log:116: RainAlarm refreshCache: http://gadgets.buienradar.nl/data/raintext?lat=52&lon=5 <0x74f2d520>
01 05/29/18 17:34:23.118 FileUtils::ReadURL 0/resp:301 user: pass: size 1 http://gadgets.buienradar.nl/data/raintext?lat=52&lon=5 response: <0x74f2d520>
50 05/29/18 17:34:23.119 luup_log:116: RainAlarm Successful execution of URL rss= <0x74f2d520>
No rain data is being displayed. I have had some VERA OS update since last summer but for the rest I stayed at the files made available in this blog published by reneboer.
Anyone having some idea what has changed since the last update from 1st November 2016 which may be the reason for the app to fail?
Rgds
Dick
I recently found that buienradar changed the request to https. If you do it with http there will be a redirect again (the 302 number) that is not handled on Vera. The new implementation file is attached. Tested on openLuup and Vera.
Hi Rene,
Thanks a lot, that was the issue. All is running smooth again following the installation of your file I_dutchRainAlarm.xml with patch dated 14 Feb 2018. Thanks also for resolving the two digits lat/lng issue. Very helpfull.
Rgds
Dick