Author Topic: Apps Script from WeatherLink to WU, Windy, PWSWeather, OWM, WindGuru, and CWOP  (Read 1503 times)

0 Members and 1 Guest are viewing this topic.

Offline xd1936

  • Member
  • *
  • Posts: 22
    • About Me
Hello all!

I've built a solution that periodically grabs data directly from the Davis WeatherLink API and forwards it on to Wunderground, Windy.com, PWSWeather, OpenWeatherMap, WindGuru, and/or NOAA CWOP. It's built on the free Google Apps Script infrastructure and is available on Github:

https://github.com/leoherzog/WundergroundStationForwarder

I've been developing and using it for a few years now and it's pretty battle-tested. Give it a try and let me know your thoughts!
« Last Edit: July 17, 2023, 12:05:33 PM by xd1936 »

Offline RainmanWeather

  • Senior Contributor
  • ****
  • Posts: 158
    • RainmanWeather
I had used this code  for an experiment a couple years ago, modified to pull from TTN and push to Wunderground. Back then (v1.1.4) it only pulled from WU and forwarded to PWSWeather, Weathercloud, and OpenWeatherMap. It is great to see the functionality work in either direction with more providers in this latest version. Great work on this script!  [tup]

Offline xd1936

  • Member
  • *
  • Posts: 22
    • About Me
Hey thanks! Glad to hear it. What do you use now?

Offline RainmanWeather

  • Senior Contributor
  • ****
  • Posts: 158
    • RainmanWeather
Hey thanks! Glad to hear it. What do you use now?

It was just an experiment that ran for about 6 or so months. Used a Dragino LHT65 hooked up to a tipping bucket rain gauge, uploading to The Things Network. Your script with my crude modifications took the data from TTN and then sent it to WUnderground, it worked flawlessly for the entire time. So there is a testament to the reliability of even a much earlier version. Well Done!


 

Offline karss

  • Member
  • *
  • Posts: 31
Hi xd1936, Thanks for the script, I tried it with a Weatherflow Tempest device, it works but there is some issue when it comes to reporting pressure. Firstly it is reporting station pressure (which is okay), but the problem is the data does not update. I tried versions 2.3.0, 2.3.0.1 and now 2.3.1, all gives same results. May be you can look into it. Thanks

Offline xd1936

  • Member
  • *
  • Posts: 22
    • About Me
I also use a Tempest as my primary device at home! It's great. I don't know what other alternative pressure I'd use other than the "station" pressure. Are you saying that the pressure number hasn't updated since the first time you ran the script? So now, the number you see in the Tempest app doesn't match what you're seeing in the destination(s) services you've selected?


Offline xd1936

  • Member
  • *
  • Posts: 22
    • About Me
Alright! I see now. The Tempest data source should have been (but wasn't) pulling the adjusted barometric pressure for sea level. I think that the latest version, v2.3.3, should fix this. I just confirmed that I've been sending incorrect pressure readings to CWOP relative to what they expect for my area... since I first started contributing a few weeks ago :shock:. Give 'er a shot and let me know how it goes, and thanks for bringing this to my attention.

 

anything