Weather Software > Station Software Development

Davis, Arduino, Node Red, Python

(1/2) > >>

ziplockk:
Am a fettler with an interest in weather and software . . . have a wireless Davis VP2 but no Davis indoors hardware. I have used a meteostick/pi for some years (and still do) but have been playing with ESP8266 devices to get the Davis data feed onto an IP network and into node red, thereafter I have an isolated rpi which publishes this data to the net for a live display, plan is to add some modern tech graphing (probably highcharts) capability as time allows.

Live data page is at http://weather.ziplockk.com/newlive.html you will get an update every 5 seconds and will be disconnected after a while.

Data/tech path is :

VP2/RF -> (RF/HopeRF69/Moteino/Serial -> Serial/ESP8266/JSON/UDP) -> UDP/JSON/NodeRed/JSON/UDP -> UDP/JSON/WEBSOCKET

I'm using python/tornado as the device exposed to the net, on an isolated subnet on my network, happens to be running on a pi at the moment but I plan to replace this with an esp8266 device, more secure, less power consumption (although I use pi zero w's so it's all fairly power efficient already).

Davis VP2 protocol decode is being done in Node Red and the output of that is various things, one of which is a JSON message over UDP which ultimately feeds the public facing websocket.

It all seems fairly robust and hassle free.

Advantage of Node Red is that it's super simple to add new processing logic, as complex as you like, without having to hand code it . . . good for experimentation. I use this same Node Red instance for some limited home automation stuff also, and that will only increase over time.

There might be some useful parts in this for others, happy to put the various parts on github if anybody is interested.

Fd

Bushman:
That is pretty cool!  Sure - post it to Github etc.  (BTW, I had to look up "fettler".  :) 

ziplockk:
Will do.

I use Node Red to integrate other data feeds also. I have an RFM69 868MHz RF ultra low power sensor network (all battery powered and remote) collecting various things, of weather interest two FIR sensors which can produce very accurate cloud cover information, you can see the raw data from them on the linked page, I use Node Red to calculate a cloud cover estimate which is really quite accurate. One is a wide angle and one a narrow angle of view.

Lastly the newer tech is RFM95 LORA RF comms which I capture data from up to 5Km away, again around 868MHz but using LORA CSS which with a weedy 100mW transmitter does well to do 5Km non LOS . . .

Interesting toys ;-)

mcrossley:
I'd be interested to know if you are applying the windspeed corrections to the raw data from the ISS?

ziplockk:
I'm using dekay's algorithm to decode the data and haven't looked any deeper yet. If there's a clear definition of the algorithm then it's likely trivial to apply . . .
Fd

Navigation

[0] Message Index

[#] Next page

Go to full version