Author Topic: Weather Station with API  (Read 2635 times)

0 Members and 1 Guest are viewing this topic.

Offline mikeg

  • Member
  • *
  • Posts: 7
Weather Station with API
« on: May 01, 2018, 11:51:19 AM »
I am working on a project to restore a circa 1930s wind indicator (outdoor wind direction shown on a dial inside the building) in a historic property north of Boston, MA.  Our plan is to extract the wind direction from a modern weather station and translate that (on a single board computer) to electrical signals that can drive the original hardware.  What I need is a weather station with an available API (Application Programming Interface) so that I can extract the wind direction data directly from the station.  Does anyone have experience with the various station manufacturers to know who are candidates?  Thanks in advance....

Offline pfletch101

  • Forecaster
  • *****
  • Posts: 329
    • Personal Website
Re: Weather Station with API
« Reply #1 on: May 01, 2018, 02:32:27 PM »
If all you really want is the wind direction, why not use just an anemometer/wind direction combo like the Davis unit, whose output is (I believe - I haven't researched it) well described, as the input device for your custom hardware. If you want (for its other purposes) a weather station you can 'talk to', a complete Davis system should certainly be considered.
Vantage Pro 2+ connected to Raspberry Pi running weewx by means of Meteo-Pi - data incorporated in domestic energy production (PV) and use monitoring system.

Offline doubleohwhatever

  • Senior Contributor
  • ****
  • Posts: 252
Re: Weather Station with API
« Reply #2 on: May 01, 2018, 06:36:34 PM »
I am working on a project to restore a circa 1930s wind indicator (outdoor wind direction shown on a dial inside the building) in a historic property north of Boston, MA.  Our plan is to extract the wind direction from a modern weather station and translate that (on a single board computer) to electrical signals that can drive the original hardware.  What I need is a weather station with an available API (Application Programming Interface) so that I can extract the wind direction data directly from the station.  Does anyone have experience with the various station manufacturers to know who are candidates?  Thanks in advance....

I would go with something like this (with a Davis anemometer):
https://www.scaledinstruments.com/shop/ocean-controls/ocean-controls-kta-250-ax-12v-anemometer-interface/

You can connect it directly to your single board computer via RS-485. RS-485 shields/capes/hats/whatever should be available for most all single board platforms.

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7549
    • Eagle Bay Weather
Re: Weather Station with API
« Reply #3 on: May 01, 2018, 07:00:09 PM »
Need low cost IP monitoring?  http://wirelesstag.net/wta.aspx?link=NisJxz6FhUa4V67/cwCRWA or PM me for 50% off Wirelesstags!!

Offline mikeg

  • Member
  • *
  • Posts: 7
Re: Weather Station with API
« Reply #4 on: May 01, 2018, 10:04:49 PM »
I need wind direction, not speed.
I neglected to mention that wiring penetrations (outdoors to indoors) are somewhat of an issue at this site due to concerns about water entry, so some of the wireless (outdoors to indoors) PWS are attractive.  That said, simplicity is usually the correct solution.
Thanks.

Offline Bushman

  • Forecaster
  • *****
  • Posts: 7549
    • Eagle Bay Weather
Re: Weather Station with API
« Reply #5 on: May 01, 2018, 10:30:22 PM »
Ah.... direction.  If you handle wired, these guys make some of the best, most reasonably priced  wind things:  https://www.inspeed.com/wind_speed_direction/e-Vane_2.asp  But I can see why you want wireless.  Like this:  http://www.navis-anemometers.com/wind_direction_sensors.php
Need low cost IP monitoring?  http://wirelesstag.net/wta.aspx?link=NisJxz6FhUa4V67/cwCRWA or PM me for 50% off Wirelesstags!!

Offline hankster

  • Forecaster
  • *****
  • Posts: 482
    • NFM Weather
Re: Weather Station with API
« Reply #6 on: May 02, 2018, 07:42:54 AM »
You could use the WeatherFlow station. It is wireless and has both an API where you can access the your data via the internet and uses UDP packets where you can access your data directly on the local network (no internet access required). Windspeed / direction is updated every 3 seconds. I helped beta test the unit and wind speed and direction is very good. Wind speeds detected below 1MPH, wind direction in 1 degree increments.

website - http://weatherflow.com/
forum - https://community.weatherflow.com/

Offline doubleohwhatever

  • Senior Contributor
  • ****
  • Posts: 252
Re: Weather Station with API
« Reply #7 on: May 02, 2018, 07:49:25 AM »
Eh, if a wired solution isn't feasible then I would at least go with something that recharges the batteries with a solar panel. I've gone three years without having to touch a vantage Vue before. That said, an ultrasonic anemometer would be ideal.

Offline vreihen

  • El Niņo chaser
  • Forecaster
  • *****
  • Posts: 1216
  • K2BIG
Re: Weather Station with API
« Reply #8 on: May 02, 2018, 07:59:54 AM »
Since you are already having to engineer an electrical interface for the 1930's "IoT" device, my suggestion is to look at the simple Arduino or Raspberry Pi wind sensor options and build a one-off from scratch.  Cheap, flexible, and can be packaged really small.....
WU Gold Stars for everyone! :lol: