Dashboard JSON
The dashboard JSON shows the average of data sets of every station, which is not older than 10 minutes.
All data from the dashboard are available as JSON data from the URL , https://weather.berndp.de/dashboard.php?json=1
. The former URL index.php?json=1 is running in legacy mode and will be turned off in futures releases!
Some parameters are for compatibility or legacy mode only.
Request
Parameter | Type | Format | # | Description |
---|---|---|---|---|
datetime | string |
yyy-mm-dd hh:mm:ss |
|
Datetime string of data's reading time |
temperature | float |
1.26 |
|
Temperature in °C |
humidity | int |
80 |
|
Humidity in % |
pressure | int |
950 |
|
Air pressure in hPa |
battery | float |
3.125 |
Legacy |
Avg. station battery voltage |
wind | float |
5.12 |
|
Wind speed in m/s. Use wind * 3.6 for speed in km/h |
brightness | int |
125 |
|
Brightness in lx |
radiation | null |
null |
Legacy |
Radiation in uSv |
dewpoint | float |
4.2 |
|
Calculated dew point, if station has temperature and humidity sensor |
sunrise | string |
"08:06:30" |
|
Time of sunrise in HH:mm:ss |
sunset | string |
16:11:29 |
|
Time of sunset in HH:mm:ss |
moon_phase | string |
Waning Crescent |
|
Moon phase as string |
moon_age | int |
10 |
|
0: Full, 1: Waning Gibbous, 2: Third Quarter, 3: Waning Crescent, 4: New, 5: Waxing Crescent, 6: First Quarter, 7: Waxing Gibbous |
Response
{ "datetime": "2023-12-08 23:21:11", "temperature": 1.53, "humidity": 99, "pressure": 956, "battery": 3.893, "wind": 5.78, "brightness": 0, "radiation": null, "dewpoint": 4.2, "moon_phase": "Waning Crescent", "moon_age": 10, "sunrise": "08:06:30", "sunset": "16:11:29" }