11/04/26 22:34:00
❰ WeeWX - Mesowx - ❰ Mesowx: DualRain - ❰ Mesowx: weewx - ❰ Mesowx: pmon - ❰ WXgraphic - ❰ Belchertown
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 |
App Temp °C |
Dew Point °C |
Humidity % |
delta‐T °C |
Wind | Pressure hPa |
Total Rain (since 9 a.m.) mm |
Total Hail (since 9 a.m.) mm |
|||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Direction compass |
Speed km/h |
Gust km/h |
Direction ° |
|||||||||
| 2026-04-11 22:04 | 8.9 | 6.5 | 6 | 82 | 1.4 | SW | 8 | 10 | 225 | 1012.9 | 2.9 | 2.6 |
| Date | Out Temp °C |
App Temp °C |
Dew Point °C |
Humidity % |
Wind | Pressure hPa |
Total Rain (since 9 a.m.) mm |
Total Hail (since 9 a.m.) mm |
|||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Direction compass |
Speed km/h |
Gust km/h |
Direction ° |
||||||||
| 2026-04-11 | 3.9 (14.6) | 1.6 (11.3) | 1.6 (9.2) | 50 (88) | W | 0 (30) | 0 (46) | 276 | 1010.9 (1013.3) | 2.9 | 2.6 |
| Date Time | Out Temp °C |
App Temp °C |
Dew Point °C |
Humidity % |
delta‐T °C |
Wind | Pressure hPa |
Total Rain (since 9 a.m.) mm |
Total Hail (since 9 a.m.) mm |
|||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Direction compass |
Speed km/h |
Gust km/h |
Direction ° |
|||||||||
| 1775908800 (2026-04-11 22:00) | 8.9 | 6.4 | 6 | 82 | 1.4 | SW | 8 | 10 | 236 | 1012.9 | 2.9 | 2.6 |
| 1775907000 (2026-04-11 21:30) | 8.6 | 5.8 | 5.5 | 81 | 1.5 | W | 9 | 12 | 268 | 1012.9 | 2.9 | 2.6 |
| 1775905200 (2026-04-11 21:00) | 8.6 | 5.7 | 5.8 | 83 | 1.4 | W | 10 | 13 | 262 | 1012.8 | 2.9 | 2.6 |
| 1775903400 (2026-04-11 20:30) | 8.5 | 5.4 | 6 | 85 | 1.2 | WSW | 11 | 14 | 259 | 1012.6 | 2.9 | 2.6 |
| 1775901600 (2026-04-11 20:00) | 8 | 5.4 | 5.9 | 86 | 1.1 | W | 9 | 11 | 264 | 1012.7 | 2.9 | 2.6 |
| 1775899800 (2026-04-11 19:30) | 8.1 | 4.1 | 5.8 | 85 | 1.2 | WSW | 16 | 20 | 257 | 1012.6 | 2.9 | 2.6 |
| 1775898000 (2026-04-11 19:00) | 8.5 | 4.5 | 6.4 | 86 | 1.1 | WSW | 17 | 21 | 253 | 1012.5 | 2.6 | 2.1 |
| 1775896200 (2026-04-11 18:30) | 9 | 5.3 | 6.4 | 84 | 1.3 | WSW | 14 | 18 | 253 | 1012.2 | 2.3 | 2.1 |
| 1775894400 (2026-04-11 18:00) | 9.2 | 5.2 | 6.2 | 81 | 1.5 | WSW | 16 | 20 | 257 | 1012 | 2.3 | 2.1 |
| 1775892600 (2026-04-11 17:30) | 9.6 | 6.5 | 6.9 | 83 | 1.4 | W | 13 | 16 | 260 | 1012 | 2.3 | 2.1 |
| 1775890800 (2026-04-11 17:00) | 10.3 | 7.6 | 7.2 | 81 | 1.6 | W | 11 | 13 | 276 | 1011.6 | 0.6 | 1.1 |
| 1775889000 (2026-04-11 16:30) | 12.7 | 8.8 | 5.4 | 61 | 3.5 | W | 14 | 18 | 274 | 1011.4 | 0.6 | 0.5 |
| 1775887200 (2026-04-11 16:00) | 13.2 | 8.2 | 5.2 | 58 | 3.8 | W | 20 | 25 | 279 | 1011.3 | 0 | 0 |
| 1775885400 (2026-04-11 15:30) | 12.8 | 8.4 | 5.8 | 62 | 3.4 | W | 18 | 22 | 274 | 1011.2 | 0 | 0 |
| 1775883600 (2026-04-11 15:00) | 11.1 | 7.1 | 7 | 76 | 2 | W | 17 | 21 | 266 | 1011.5 | 0 | 0 |
| 1775881800 (2026-04-11 14:30) | 12.7 | 7.2 | 4.4 | 57 | 3.8 | W | 22 | 27 | 265 | 1011.2 | 0 | 0 |
| 1775880000 (2026-04-11 14:00) | 13.8 | 9.6 | 4.5 | 53 | 4.4 | W | 15 | 19 | 278 | 1011.1 | 0 | 0 |
| 1775878200 (2026-04-11 13:30) | 13.5 | 9.1 | 4.7 | 55 | 4.1 | W | 16 | 20 | 260 | 1011.3 | 0 | 0 |
| 1775876400 (2026-04-11 13:00) | 13.5 | 8.5 | 4.1 | 53 | 4.3 | W | 19 | 24 | 281 | 1011.2 | 0 | 0 |
| 1775874600 (2026-04-11 12:30) | 14 | 9.7 | 4.9 | 54 | 4.3 | WNW | 17 | 21 | 289 | 1011.6 | 0 | 0 |
| 1775872800 (2026-04-11 12:00) | 13.2 | 8.3 | 4.5 | 56 | 4 | WNW | 19 | 23 | 283 | 1012.1 | 0 | 0 |
| 1775871000 (2026-04-11 11:30) | 12.6 | 8.1 | 4.7 | 59 | 3.7 | WNW | 17 | 21 | 284 | 1012.5 | 0 | 0 |
| 1775869200 (2026-04-11 11:00) | 12.4 | 8.2 | 5 | 61 | 3.5 | WNW | 16 | 19 | 290 | 1012.6 | 0 | 0 |
| 1775867400 (2026-04-11 10:30) | 12.2 | 8.4 | 5.1 | 62 | 3.4 | WNW | 14 | 18 | 288 | 1012.7 | 0 | 0 |
| 1775865600 (2026-04-11 10:00) | 11.5 | 8.6 | 5.5 | 66 | 2.9 | WNW | 10 | 13 | 298 | 1012.9 | 0 | 0 |
| 1775863800 (2026-04-11 09:30) | 10.9 | 8.3 | 5.4 | 69 | 2.6 | WNW | 8 | 11 | 299 | 1013.1 | 0 | 0 |
| 1775862000 (2026-04-11 09:00) | 11.1 | 9.2 | 5.7 | 70 | 2.6 | NW | 4 | 8 | 307 | 1013.1 | 2.3 | 2.1 |
| 1775860200 (2026-04-11 08:30) | 9.5 | 8 | 5.7 | 78 | 1.8 | NW | 2 | 5 | 305 | 1013 | 2.3 | 2.1 |
| 1775858400 (2026-04-11 08:00) | 7.6 | 6.1 | 5.2 | 85 | 1.2 | NW | 2 | 4 | 310 | 1013 | 2.3 | 2.1 |
| 1775856600 (2026-04-11 07:30) | 5.8 | 4.4 | 3.8 | 87 | 0.9 | NW | 1 | 2 | 308 | 1012.7 | 2.3 | 2.1 |
| 1775854800 (2026-04-11 07:00) | 4.4 | 2.8 | 2.4 | 87 | 0.9 | NW | 0 | 1 | 308 | 1012.5 | 2.3 | 2.1 |
| 1775853000 (2026-04-11 06:30) | 4 | 2.3 | 1.8 | 86 | 0.9 | NW | 0 | 0 | 308 | 1012.4 | 2.3 | 2.1 |
| 1775851200 (2026-04-11 06:00) | 4.3 | 2.6 | 1.9 | 84 | 1 | NW | 0 | 1 | 308 | 1012.4 | 2.3 | 2.1 |
| 1775849400 (2026-04-11 05:30) | 5.4 | 3.5 | 2.5 | 82 | 1.3 | WNW | 1 | 3 | 297 | 1012.4 | 2.3 | 2.1 |
| 1775847600 (2026-04-11 05:00) | 5 | 2.4 | 2.4 | 84 | 1.1 | W | 5 | 7 | 275 | 1012.2 | 1.9 | 2.1 |
| 1775845800 (2026-04-11 04:30) | 4.9 | 3.1 | 2.5 | 85 | 1 | W | 1 | 2 | 265 | 1012.1 | 1.9 | 2.1 |
| 1775844000 (2026-04-11 04:00) | 5 | 2.8 | 2.6 | 84 | 1.1 | W | 3 | 5 | 264 | 1012 | 1.9 | 2.1 |
| 1775842200 (2026-04-11 03:30) | 5 | 2.9 | 2.5 | 84 | 1.1 | W | 3 | 3 | 264 | 1012.1 | 1.9 | 2.1 |
| 1775840400 (2026-04-11 03:00) | 5.6 | 4.1 | 3 | 83 | 1.2 | W | 0 | 0 | 264 | 1012.1 | 1.9 | 2.1 |
| 1775838600 (2026-04-11 02:30) | 6.4 | 4.5 | 3.4 | 81 | 1.3 | W | 2 | 3 | 264 | 1012.3 | 1.9 | 2.1 |
| 1775836800 (2026-04-11 02:00) | 7.1 | 4.4 | 3.9 | 80 | 1.5 | W | 7 | 9 | 264 | 1012.5 | 1.9 | 2.1 |
| 1775835000 (2026-04-11 01:30) | 7.5 | 4.8 | 4.4 | 81 | 1.4 | W | 7 | 9 | 265 | 1012.6 | 1.9 | 2.1 |
| 1775833200 (2026-04-11 01:00) | 6.9 | 4.5 | 4.2 | 83 | 1.2 | W | 5 | 7 | 263 | 1012.7 | 1.9 | 2.1 |
| 1775831400 (2026-04-11 00:30) | 7.2 | 5.2 | 4.2 | 81 | 1.4 | W | 3 | 4 | 263 | 1012.6 | 1.9 | 2.1 |
| 1775829600 (2026-04-11 00:00) | 8.3 | 6.4 | 5.1 | 80 | 1.5 | W | 4 | 5 | 263 | 1012.6 | 1.9 | 2.1 |
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