Most stations have only limited historical data storage, and weewx moves 
all the historical data from the ststion to the archive for long term 
storage.  The drivers within weewx all 'query' the stations to obtain the 
data which is processed by weewx. 

The past data is held in either SQLite or MySQL database - so any standard 
sql select statements will retrieve the data from the archive or daily 
summary tables.  In the case of MySQL (don't know about SQLite) you just 
need to enable remote access to the database.  No interface to weewx is 
required to retrieve the historical data via queries.  

I suspect I have misunderstood exactly what you are trying to do and hoping 
to achieve!!  Sounds as though you need a simple(ish) interface program 
running which will effectively build and issue sql select statements on the 
database and return the result set.

On Thursday, 15 December 2016 18:24:21 UTC+2, Matt Sargent wrote:

> Hi all,
>
> I am writing an Alexa skill that would be able to interface to Weewx. 
> Pretty simple for the current data and such, but I am hoping to add the 
> ability to query past weather conditions. Has anyone developed an API of 
> any sort that allows you to query data from the weather station? 
>
> Matt
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to