23/09/24 21:15:00
❰ WeeWX - ❰ Mesowx - ❰ WXgraphic
The database config file has gone missing! That shouldn't happen unless you've been changing your configuration files
We initially use a php default for include files of /usr/share/php, but this doesn't seem to suit all webservers or installations.As of version 0.7.1, /usr/share/php will be created if it's found to be missing. Check that the directory /usr/share/php does actually exist, if it doesn't then create it - and report this scripts failure.Check that its read | write permissions are suitable - 0755, owned by rootIf the problem persists, consider changing its location as wxobs/skin.conf will accept
include_path = /new_path/your_choice
where the path and name can be anything allowable by php, readable by the webserver, and preferably secure.
If you are using the [Remote] section - where the sqlite database and wxobs files are viewable from a remote server then the include file will be transferred into the dest_directory that is specified. Populating dest_directory allow the remote transfer to be considered.
If all else fails, report the problem as an issue - to its github site, or contact me directly.
There are also Wiki notes that may help for this, and setting up remote servers.
Date Time | Out Temp °C |
Wind Chill °C |
Dew Point °C |
Humidity % |
Wind | Pressure hPa |
Rain (since 12 a.m.) mm |
Hail (since 12 a.m.) mm |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
Direction compass |
Speed km/h |
Gust km/h |
Direction ° |
||||||||
2024-09-23 21:04 | 11.8 | 11.8 | 8.5 | 81 | N | 1 | 1 | 2 | 1019.9 | 0 | 0 |
Date | Out Temp °C |
Wind Chill °C |
Dew Point °C |
Humidity % |
Wind | Pressure hPa |
Rain (since 12 a.m.) mm |
Hail (since 12 a.m.) mm |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
Direction compass |
Speed km/h |
Gust km/h |
Direction ° |
||||||||
2024-09-23 | 6.3 (18) | 6.1 (18) | 4.4 (10.9) | 54 (93) | W | 0 (4) | 0 (5) | 278 | 1016.7 (1020.3) | 0 | 0 |
Date Time | Out Temp °C |
Wind Chill °C |
Dew Point °C |
Humidity % |
Wind | Pressure hPa |
Rain (since 12 a.m.) mm |
Hail (since 12 a.m.) mm |
|||
---|---|---|---|---|---|---|---|---|---|---|---|
Direction compass |
Speed km/h |
Gust km/h |
Direction ° |
||||||||
1727089200 (2024-09-23 21:00) | 11.9 | 11.9 | 8.7 | 81 | N | 0 | 0 | 2 | 1019.9 | 0 | 0 |
1727087400 (2024-09-23 20:30) | 13 | 13 | 9.4 | 79 | N | 0 | 0 | 2 | 1020.3 | 0 | 0 |
1727085600 (2024-09-23 20:00) | 13.3 | 13.3 | 9.6 | 78 | N | 0 | 1 | 2 | 1020.3 | 0 | 0 |
1727083800 (2024-09-23 19:30) | 13.3 | 13.3 | 9.7 | 79 | N | 1 | 2 | 2 | 1020.3 | 0 | 0 |
1727082000 (2024-09-23 19:00) | 13.4 | 13.4 | 9.8 | 79 | N | 1 | 1 | 354 | 1020.1 | 0 | 0 |
1727080200 (2024-09-23 18:30) | 14 | 14 | 9.9 | 76 | NNW | 0 | 0 | 335 | 1020 | 0 | 0 |
1727078400 (2024-09-23 18:00) | 14.8 | 14.8 | 9.8 | 72 | NNW | 1 | 1 | 331 | 1019.9 | 0 | 0 |
1727076600 (2024-09-23 17:30) | 15.5 | 15.5 | 9.8 | 69 | NNW | 0 | 1 | 332 | 1019.9 | 0 | 0 |
1727074800 (2024-09-23 17:00) | 16.4 | 16.4 | 9.7 | 65 | NNW | 0 | 0 | 332 | 1019.6 | 0 | 0 |
1727073000 (2024-09-23 16:30) | 16 | 16 | 9 | 63 | WNW | 0 | 0 | 292 | 1019.5 | 0 | 0 |
1727071200 (2024-09-23 16:00) | 15.8 | 15.8 | 8.5 | 62 | NW | 2 | 3 | 314 | 1019.4 | 0 | 0 |
1727069400 (2024-09-23 15:30) | 16.3 | 16.3 | 8.3 | 59 | WNW | 3 | 3 | 285 | 1019.2 | 0 | 0 |
1727067600 (2024-09-23 15:00) | 17.8 | 17.8 | 9.1 | 57 | N | 1 | 2 | 357 | 1019.2 | 0 | 0 |
1727065800 (2024-09-23 14:30) | 15.5 | 15.5 | 8.9 | 65 | W | 1 | 2 | 269 | 1019.2 | 0 | 0 |
1727064000 (2024-09-23 14:00) | 15.9 | 15.9 | 8.5 | 62 | WNW | 2 | 2 | 284 | 1019.2 | 0 | 0 |
1727062200 (2024-09-23 13:30) | 16 | 16 | 8.6 | 62 | WNW | 2 | 3 | 287 | 1019.2 | 0 | 0 |
1727060400 (2024-09-23 13:00) | 15.3 | 15.3 | 8.5 | 64 | WNW | 1 | 2 | 293 | 1019.4 | 0 | 0 |
1727058600 (2024-09-23 12:30) | 15.1 | 15.1 | 8.7 | 65 | WNW | 1 | 1 | 284 | 1019.6 | 0 | 0 |
1727056800 (2024-09-23 12:00) | 14.7 | 14.7 | 7.9 | 64 | WNW | 3 | 4 | 302 | 1019.4 | 0 | 0 |
1727055000 (2024-09-23 11:30) | 14.8 | 14.8 | 8.3 | 65 | WNW | 0 | 2 | 302 | 1019.6 | 0 | 0 |
1727053200 (2024-09-23 11:00) | 16.2 | 16.2 | 9.8 | 66 | N | 1 | 2 | 357 | 1019.5 | 0 | 0 |
1727051400 (2024-09-23 10:30) | 15.2 | 15.2 | 9.5 | 69 | NNW | 1 | 2 | 331 | 1019.4 | 0 | 0 |
1727049600 (2024-09-23 10:00) | 15.1 | 15.1 | 9.8 | 71 | NNW | 1 | 2 | 344 | 1019.4 | 0 | 0 |
1727047800 (2024-09-23 09:30) | 12.5 | 12.5 | 9.4 | 81 | NNW | 1 | 1 | 328 | 1019.5 | 0 | 0 |
1727046000 (2024-09-23 09:00) | 11.1 | 11.1 | 9 | 87 | NNW | 2 | 2 | 348 | 1019.4 | 0 | 0 |
1727042400 (2024-09-23 08:00) | 10.7 | 10.7 | 9.1 | 90 | N | 1 | 2 | 6 | 1018.7 | 0 | 0 |
1727040600 (2024-09-23 07:30) | 10 | 9.8 | 8.5 | 90 | N | 1 | 2 | 357 | 1018.3 | 0 | 0 |
1727038800 (2024-09-23 07:00) | 9.6 | 9.6 | 8.1 | 91 | N | 1 | 1 | 352 | 1018 | 0 | 0 |
1727037000 (2024-09-23 06:30) | 9.2 | 9.2 | 7.8 | 91 | N | 1 | 1 | 352 | 1017.7 | 0 | 0 |
1727035200 (2024-09-23 06:00) | 8.8 | 8.8 | 7.5 | 92 | NNW | 1 | 1 | 346 | 1017.6 | 0 | 0 |
1727033400 (2024-09-23 05:30) | 8.4 | 7.8 | 7.3 | 92 | NNW | 2 | 2 | 342 | 1017.5 | 0 | 0 |
1727031600 (2024-09-23 05:00) | 7.6 | 7.6 | 6.4 | 92 | NNW | 1 | 1 | 340 | 1017 | 0 | 0 |
1727029800 (2024-09-23 04:30) | 7.1 | 7.1 | 5.6 | 90 | NNW | 1 | 1 | 336 | 1016.8 | 0 | 0 |
1727028000 (2024-09-23 04:00) | 6.9 | 6.9 | 5.3 | 90 | WNW | 0 | 0 | 292 | 1016.8 | 0 | 0 |
1727026200 (2024-09-23 03:30) | 6.5 | 6.5 | 4.8 | 89 | WNW | 0 | 1 | 292 | 1016.8 | 0 | 0 |
1727024400 (2024-09-23 03:00) | 6.8 | 6.8 | 5.1 | 89 | WNW | 1 | 1 | 292 | 1016.8 | 0 | 0 |
1727022600 (2024-09-23 02:30) | 7 | 7 | 4.9 | 86 | WNW | 1 | 1 | 292 | 1016.9 | 0 | 0 |
1727020800 (2024-09-23 02:00) | 8.6 | 8.6 | 6 | 84 | WNW | 0 | 0 | 292 | 1017 | 0 | 0 |
1727019000 (2024-09-23 01:30) | 8.4 | 8.4 | 5.9 | 84 | WNW | 0 | 0 | 303 | 1017.3 | 0 | 0 |
1727017200 (2024-09-23 01:00) | 8.9 | 8.9 | 5.8 | 81 | WNW | 0 | 1 | 302 | 1017.6 | 0 | 0 |
1727015400 (2024-09-23 00:30) | 10.2 | 10.2 | 6.3 | 77 | W | 1 | 2 | 279 | 1017.7 | 0 | 0 |
1727013600 (2024-09-23 00:00) | 10.2 | 10.2 | 6.9 | 80 | WNW | 2 | 3 | 285 | 1017.7 | 0 | 0 |
Time taken to generate page was 0.09 seconds.
SELECT dateTime, rain, rainrate, hail, hailrate FROM archive WHERE dateTime BETWEEN 1666900980 AND 1666901940;
SELECT dateTime, hail FROM archive WHERE hail > 0 AND dateTime BETWEEN 1667426400 AND 1667430000;
SELECT dateTime, rain, rainrate, sum(hail), hailrate FROM archive WHERE dateTime BETWEEN 1667432400 AND 1667434440;
SELECT dateTime, rain, rainrate, hail, raincount1, raincount3, raincount4 FROM archive WHERE dateTime BETWEEN 1667446740 AND 1667447770;
SELECT dateTime, sum(rain), rainrate, hail, raincount1, raincount3, raincount4 FROM archive WHERE dateTime BETWEEN 1667446740 AND 1667447770;
SELECT datetime, rain, hail FROM archive ORDER BY dateTime DESC LIMIT 1;
SELECT hail FROM archive WHERE dateTime = 1667059560 AND hail > 0;
UPDATE archive SET rain=0, rainrate=0 WHERE datetime BETWEEN 1667059560 AND 1667091300;
UPDATE archive SET rain=1.016, rainrate=0 WHERE datetime BETWEEN 1611873540 AND 1611892800 AND hail=1.016;
UPDATE archive SET rain=0.254 WHERE datetime = 1666901040;
# supply a date, get an epoch time. date -d "11-june-2017 21:00:00" +'%s' # 1497178800 date -d now +'%s' # 1667447728 date +"%s" # returns the CURRENT epoch time, ie:- now! date -d @1407198071 # Tue 5 Aug 10:21:11 AEST 2014
This extension is available at github as weewx-wxobs : This is version 0.8.1