Re: updateWeatherSensors (yet another buienradar script)
Posted: Friday 04 May 2018 16:57
It's once in a while. So not really a concern. Just something i noticed between the thousands of Toon-errors
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
2018-05-06 18:05:01.650 dzVents: Error (2.4.5): WUS: No status provided. Temperature + humidity not set
2018-05-06 18:05:01.650 dzVents: Error (2.4.5): WUS: An error occured when calling event handler BuienRadar
2018-05-06 18:05:01.650 dzVents: Error (2.4.5): WUS: ...cripts/dzVents/generated_scripts/BuienRadar.lua:831: attempt to concatenate a nil valueCode: Select all
2018-05-06 23:40:01.137 dzVents: Error (2.4.5): WUS: An error occured when calling event handler BuienRadar
2018-05-06 23:40:01.137 dzVents: Error (2.4.5): WUS: ...cripts/dzVents/generated_scripts/BuienRadar.lua:752: attempt to compare nil with numberCode: Select all
2018-05-07 12:20:05.641 Error: Error opening url: http://www.ogimet.com/cgi-bin/getsynop?block=06240&begin=201805070901
2018-05-07 14:20:05.769 Error: Error opening url: http://www.ogimet.com/cgi-bin/getsynop?block=06240&begin=201805071101
2018-05-07 14:25:05.828 Error: Error opening url: http://www.ogimet.com/cgi-bin/getsynop?block=06240&begin=201805071101
2018-05-07 17:06:03.110 Error: Error opening url: https://gadgets.buienradar.nl/data/raintext?lat=52.37&lon=4.90
2018-05-07 17:06:03.367 Error: dzVents: Error (2.4.5): WUS: Problem with trigger (not OK). Check it outError: 7103862
2018-05-07 17:20:05.811 Error: Error opening url: http://www.ogimet.com/cgi-bin/getsynop?block=06240&begin=201805071401I think a sensor will only be updated if there is any change.poudenes wrote: Monday 07 May 2018 17:46 I see many times that the "rain rate" sensor type rain showing a red banner. now its 17:44 last update on this device is 12:21
The setting for forced updates (update the sensordevice even when no change) is in the settingfile. Look for "forcedUpdateMinutes" defaults to 360 minutes but can be set to other valuespoudenes wrote: Monday 07 May 2018 17:46 I see many times that the "rain rate" sensor type rain showing a red banner. now its 17:44 last update on this device is 12:21
I don't know if this error is linked to this device:
Code: Select all
2018-05-07 23:00:02.367 dzVents: Info: WUS: -------------------------------------------------------------------------------------------------------------------------------------------------
2018-05-07 23:00:02.368 dzVents: Info: WUS: Luchtdruk ==>> 1015 HPa, Voorspelling: stabiel ==>> apparaat 667 (Barometer) ==>> (sub)Type: Barometer
2018-05-07 23:00:02.368 dzVents: Info: WUS: Wind ==>> 4 graden (N), Temperatuur: 15.1�C
2018-05-07 23:00:02.368 dzVents: Info: WUS: Wind ==>> Kracht: 1 Bf, Windstoten: 2.1 m/s (2 Bf) ==>> apparaat 668 (Wind) ==>> (sub)Type: Wind
2018-05-07 23:00:02.368 dzVents: Info: WUS: Zichtmeters ==>> 35.1 km ==>> apparaat 670 (Zicht) ==>> (sub)Type: Visibility
2018-05-07 23:00:02.368 dzVents: Error (2.4.5): WUS: An error occured when calling event handler status meteo
2018-05-07 23:00:02.368 dzVents: Error (2.4.5): WUS: ...oticz/scripts/dzVents/generated_scripts/status meteo.lua:752: attempt to compare nil with number
2018-05-07 23:00:02.368 dzVents: Info: WUS: ------ Finished status meteo
Code: Select all
if tonumber(rt[i].zonintensiteitWM2) < 4 then Code: Select all
if tonumber(rt[i].zonintensiteitWM2) ~= nil and tonumber(rt[i].zonintensiteitWM2) < 4 then I had a quick look but I do not see any HTTP site that I can use and receive data in json or flat text format.poudenes wrote: Sunday 06 May 2018 23:40 Maybe you can add also the "Muggenradar", "Luchtkwaliteit", "pollen en Hooikoorts", "UV Radar" from Buienradar as well into your script?
Then you have everything from Buienradar into Domoticz![]()
Ok. i saw those information on the Buienradar site.waaren wrote: Saturday 12 May 2018 23:04I had a quick look but I do not see any HTTP site that I can use and receive data in json or flat text format.poudenes wrote: Sunday 06 May 2018 23:40 Maybe you can add also the "Muggenradar", "Luchtkwaliteit", "pollen en Hooikoorts", "UV Radar" from Buienradar as well into your script?
Then you have everything from Buienradar into Domoticz![]()
For 'pollen' I use https://www.weeronline.nl/Europa/Nederl ... on/4057944 as an iframe within Dashticz. Not sure if it has a json or other output.poudenes wrote: Sunday 13 May 2018 6:29Ok. i saw those information on the Buienradar site.waaren wrote: Saturday 12 May 2018 23:04I had a quick look but I do not see any HTTP site that I can use and receive data in json or flat text format.poudenes wrote: Sunday 06 May 2018 23:40 Maybe you can add also the "Muggenradar", "Luchtkwaliteit", "pollen en Hooikoorts", "UV Radar" from Buienradar as well into your script?
Then you have everything from Buienradar into Domoticz![]()
maybe you can't get the info ...
@Edwink,EdwinK wrote: Sunday 13 May 2018 12:50 [For 'pollen' I use https://www.weeronline.nl/Europa/Nederl ... on/4057944 as an iframe within Dashticz. Not sure if it has a json or other output.
No free JSON/XML, starts from 1,000 EUR/year (weeronline.nl = MeteoVista)EdwinK wrote: Sunday 13 May 2018 12:50
For 'pollen' I use https://www.weeronline.nl/Europa/Nederl ... on/4057944 as an iframe within Dashticz. Not sure if it has a json or other output.