Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ambient Weather
Probably not a driver but I didn't know where else would be best to post.

Goal:  Import Ambient Weather API data into CQC.

Easy Method:
HTTP Get of URL with app key and api key to retrieve a JSON blob of user listed PWS on the account along with data.  Poll this URL based on user defined parameter of 1 minute up to whatever the user wants

Hard Method:
Connect to the SocketIO (websocket) provided data for realtime feed updates.  Emmit data is JSON.

Help/Guidance wanted so I can write this.  I've done this for several systems and I can do this is C# or Python (have done it already so I could reuse).  The easiest way to do this would be for me to run a utility on a rPi and feed the data to MQTT and then use the CQC MQTT driver to access the data.  Easy, clean and I may just do that.  I want to use this as a learning experiment as I'm very familiar with the Ambient Weather API and the data it provides.

Should this be a CML Macro or some other way of doing this?  This is a learning exercise and I want to understand the best practice of how to integrate something that CAN be shared with others and to be somewhat simple to install and setup.
The optimum way would be a CML driver for something like that. All of the tools are there to do either of those schemes.
Dean Roddey
Explorans limites defectum
In between getting my own system running I'll look through the CML docs and drivers and start hacking something together.

Possibly Related Threads…
Thread Author Replies Views Last Post
  OpenWeatherMap Weather Driver Using OneCall API kblagron 11 2,570 05-18-2020, 04:09 AM
Last Post: dlmorgan999
  Weather Drivers simplextech 10 3,527 01-05-2020, 10:51 AM
Last Post: simplextech
  Netatmo Weather Station chmilar 19 14,673 12-31-2017, 08:06 PM
Last Post: Dean Roddey
  Weather driver - solar output Ron Haley 15 8,353 06-13-2015, 07:15 AM
Last Post: Dean Roddey
  NWS Weather Alert Driver beelzerob 149 61,031 05-12-2013, 04:42 PM
Last Post: sic0048
  Davis Vantage Pro Weather Station Driver Mikla 42 24,068 09-24-2012, 09:39 AM
Last Post: Wayneb123
  wunderground weather station driver Sendero 10 7,857 02-09-2011, 05:23 AM
Last Post: khill
  NASA Weather Image Driver Mikla 7 5,577 08-06-2008, 07:02 AM
Last Post: jkish

Forum Jump:

Users browsing this thread: 1 Guest(s)