Push values to wunderground

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

Push values to wunderground

Post by johnym30 » Tuesday 04 April 2017 9:45

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: 64
Joined: Wednesday 22 March 2017 10:13
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Push values to wunderground

Post by gerard76 » Tuesday 04 April 2017 13:55

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
Domoticz version:
Contact:

Re: Push values to wunderground

Post by johnym30 » Tuesday 04 April 2017 14:10

Can't i use http data push from the domoticz interface instead of a script?

gerard76
Posts: 64
Joined: Wednesday 22 March 2017 10:13
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Push values to wunderground

Post by gerard76 » Tuesday 04 April 2017 15:33

I mean a script in Domoticz like LUA or blocky.

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

Re: Push values to wunderground

Post by johnym30 » Tuesday 04 April 2017 16:09

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: 425
Joined: Sunday 23 February 2014 18:56
Target OS: Raspberry Pi
Domoticz version: latest
Location: Hengelo(Ov)/NL
Contact:

Re: Push values to wunderground

Post by Toulon7559 » Tuesday 04 April 2017 22:21

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-B+RFXCom433+S0PCM+Linksprite-shield for BMP180/DS18B20/RS485+DDS238ZN1
Set2 = RPI-3+RFLinkGTW+ESP8266s+PWS_WS7000
Common = 2*PVLogger+PWS_TFA_Nexus+KAKUs
=> Energy & Data Management based on Time and on PV&Consumption&Meteo

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

Re: Push values to wunderground

Post by johnym30 » Friday 07 April 2017 11:39

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