Push values to wunderground

Moderator: leecollings

Post Reply
johnym30
Posts: 5
Joined: Tuesday 28 March 2017 14:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Push values to wunderground

Post 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.
gerard76
Posts: 53
Joined: Wednesday 22 March 2017 9:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Push values to wunderground

Post by gerard76 »

You create a script that sends the data by GETting an url. http://wiki.wunderground.com/index.php/ ... d_Protocol
johnym30
Posts: 5
Joined: Tuesday 28 March 2017 14:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Push values to wunderground

Post by johnym30 »

Can't i use http data push from the domoticz interface instead of a script?
gerard76
Posts: 53
Joined: Wednesday 22 March 2017 9:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Push values to wunderground

Post by gerard76 »

I mean a script in Domoticz like LUA or blocky.
johnym30
Posts: 5
Joined: Tuesday 28 March 2017 14:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Push values to wunderground

Post 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
Toulon7559
Posts: 858
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Push values to wunderground

Post 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.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
johnym30
Posts: 5
Joined: Tuesday 28 March 2017 14:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Push values to wunderground

Post by johnym30 »

thanks everyone, finally did it and working with a lua script!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest