blueweather/README.md

66 lines
1.5 KiB
Markdown
Raw Normal View History

2019-07-11 13:24:13 +02:00
# BlueWeather
2019-07-11 14:08:50 +02:00
A (hopefully soon) fully featured selft-hosted web interface and server-backend to store weather data (comparable to opensensemap.org)
2019-07-11 13:52:01 +02:00
# State of development
2019-07-11 14:08:50 +02:00
- interface and backend planned
2019-07-15 20:29:19 +02:00
- readonly dashboard is working
2019-07-14 16:36:59 +02:00
# API docs
2019-07-15 18:56:51 +02:00
## get locations
triggered by setting no GET parameter at all
### Parameters
2019-07-15 20:29:19 +02:00
no parameters
2019-07-15 18:56:51 +02:00
### Tags
- id
- locationname
- latitude
- longitude
- countryname
## get location data
triggered by setting GET parameter 'locId' to a vaild location id
### Parameters
- locId: id of the location to display
- range: range of the data to display in unix time
- from
- to
- max vals: maximum measvals to be transmitted; if more are present in the timespan, the avarage will be calculated
### Tags
2019-07-14 16:36:59 +02:00
- id
- locationname
- latitude
- longitude
- countryname
- measvalues
- measvalue
- sensorid
- timestamp
- sensors
- id
- added
- userid
- sensorname
- property ('indoor' || 'sunny' || 'shadow' )
- valuetypeid
- valuetypes
- id
- valuetype ('temperature' || 'humidity')
2019-07-14 21:38:50 +02:00
- valueunit (html coding)
2019-07-14 16:36:59 +02:00
- displayproperty
- widget (properties for small widget)
2019-07-14 17:51:25 +02:00
- type ('doughnut' || 'text')
2019-07-14 16:36:59 +02:00
- properties (chartjs dataset properties if type is a chartjs type)
- chart (properties for large chart)
- type ('scatter')
- properties (chartjs dataset properties)
- range (actual range of present measvalues)
- from
- to
2019-07-15 20:29:19 +02:00