Dynamic data¶
-
class
modules.dynamic.DynamicIoT[source]¶ All IoT related methods. Currently, this goes to the weatherDB, but is subject to change in the future.
-
class
modules.dynamic.DynamicWeather[source]¶ Weather reports, taken dynamically from InfluxDB. All measurements tailored to suit the Davis Vantage Vue weather station
-
pressure_graph_data(**q)[source]¶ Function to get pressure readings from InfluxDB. These parsed into a CSV
- yields: csv in raw, text format
- time, Pressure
-
-
modules.dynamic.check_GET(arguments)[source]¶ Validates html query
Takes the key-val pairs and evaluates them against those variables, that are defined as known to be safe to be parsed.
- Args:
- str(arguments): “A string of options to be directly evaluated as a dictionary”
- Returns:
- list(str(variable)): “List of strings, occupied by variables validated to be safe”
Dynamic Weather¶
-
class
modules.dynamic.DynamicWeather[source] Weather reports, taken dynamically from InfluxDB. All measurements tailored to suit the Davis Vantage Vue weather station
-
pressure_graph_data(**q)[source] Function to get pressure readings from InfluxDB. These parsed into a CSV
- yields: csv in raw, text format
- time, Pressure
-
temphumi_graph_data(**q)[source] Function to get ttmper and humidity value readings from InfluxDB. These parsed into a CSV
- yields: csv in raw, text format
- time, Speed, Gusts, Direction
-
wind_graph_data(**q)[source] Function to get wind value readings from InfluxDB. These parsed into a CSV
- yields: csv in raw, text format
- time, Speed, Gusts, Direction
-