Page 1 of 1
Push values to wunderground
Posted: Tuesday 04 April 2017 9:45
by johnym30
Hi everyone,
i have setup a mini weather station using mysensors instructions with a bmp180 and dht22 for humidity.
I receive my data to domoticz and i can see my temp/hum/pressure.
How can i send this data to wunderground? i have created a personal weather station to wunderground but i don't know how to send my data.
Thanks in advance.
Re: Push values to wunderground
Posted: Tuesday 04 April 2017 13:55
by gerard76
You create a script that sends the data by GETting an url.
http://wiki.wunderground.com/index.php/ ... d_Protocol
Re: Push values to wunderground
Posted: Tuesday 04 April 2017 14:10
by johnym30
Can't i use http data push from the domoticz interface instead of a script?
Re: Push values to wunderground
Posted: Tuesday 04 April 2017 15:33
by gerard76
I mean a script in Domoticz like LUA or blocky.
Re: Push values to wunderground
Posted: Tuesday 04 April 2017 16:09
by johnym30
iI understood what you meant but what i am asking is that why http data push is there in domoticz ?
Can i do it from there and if yes how?
For i tried something, but my values although they seem to be pushed to wunderground, it only gets them once and then nothing.
That is what i get on my domoticz log
Code: Select all
2017-04-04 17:09:52.803 (MySensorsGateway) Temp (MyTemp)
2017-04-04 17:09:52.809 HttpLink: sending global variable with value: 17.8
2017-04-04 17:09:53.854 HttpLink: response
2017-04-04 17:09:53.855 (MySensorsGateway) General/Barometer (MyBaro)
2017-04-04 17:09:53.867 HttpLink: sending global variable with value: 1017.0
2017-04-04 17:09:55.051 HttpLink: response
Re: Push values to wunderground
Posted: Tuesday 04 April 2017 22:21
by Toulon7559
A lua-script may be a practical & proven way to upload meteo-info from Domoticz to WUnderground.
In
this thread you find examples with data not only from a meteo-station, but also a version with data from a BMP180, and not only a version for upload to WUnderground, but also variations for upload to WOW.nl and to PSWeather.
For info originating from a DHT22 you will have to adapt line 6 of the script for a different device than TFA_Nexus.

Obviously you will have to check/adapt the script for elements which you do not have [like Rain, Wind and UV]............
Adaptation can be as simple as putting -- in front of a scriptline which you do not want to be executed.
Pay attention to lines 14 and 15 which require insertion of
YOUR WU-accountinfo, and to line 16 which now has a default-interval of 55 minutes:
in practise often a much smaller value as low as 5 minutes is selected to generate a nice picture in WUnderground.
Rule of thumb is that you should upload not more frequent than the interval of measuring the sensor.
Re: Push values to wunderground
Posted: Friday 07 April 2017 11:39
by johnym30
thanks everyone, finally did it and working with a lua script!!!