A weewx process normally handles the monitoring of one station - e.g. a weather station. The process is configured with a weewx.conf file.
Multiple weewx processes may be run simultaneously to monitor multiple stations, using separate weewx.conf files to refer to different driver and databases etc. More advanced weewx processes might create reports across multiple other weewx station databases, e.g. as a dashboard.
A weewx process has at most one ‘driver’ to communicate with the station hardware and receive ‘high resolution’ (i.e. every few seconds) measurement data in the form of LOOP packets. The driver is single-threaded and blocking, so no more than one driver can run in a weewx process.
LOOP packets may contain arbitrary data from the station/driver in the form of a Python dictionary. LOOP packet fields should conform to defined Weewx measurement units and measurement groups so they can then be summarised automatically (e.g. average of temperature, or sum of rainfall) by weewx over a set interval period (e.g. 5 minutes) into ‘archive records’.
A number of services may be configured within the weewx process to operate on the LOOP, archive record and database data - triggering when new data or timed events arise. Typically these services run at 5 minute intervals. Standard services include -
StdArchive - automatically create a database based on a user ‘schema’ (a database table definition held as a python array in the driver or service) then write archive records as they arise. Only archive record fields which match the schema will be written to database.
StdReport - generate reports based on database archive records, stored by StdArchive.
etc
In addition some simpler services may generate archive records directly rather than from a driver (e.g. pmon example) and possibly store to their own database, partly configured through weewx. These would be ‘low resolution’ measurements taken at the same frequency services are run (e.g. 5 minutes) and without the statistical summarisation weewx can provide.
Weewx Extensions may consist of a combination of driver, service, database and/or skin code. However, only one station and associated driver can be run at a time.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e039cd25-7ba9-4546-87bc-3c2cf87a8e6d%40googlegroups.com.