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.

esp_battery_graph_data(**q)[source]

Function to get RasPi value readings from InfluxDB. These parsed into a CSV

usense_temphumi_graph_data(**q)[source]

Function to get RasPi value readings from InfluxDB. These parsed into a CSV

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
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

Indices and tables