09/03/26 16:50: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-03-09 16:04 | 29.5 | 30.5 | 13 | 36 | 9.8 | W | 0 | 1 | 279 | 1012.7 | 0 | 0 |
| 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-03-09 | 13.1 (31.3) | 12.7 (32.6) | 11 (15.9) | 32 (93) | SE | 0 (17) | 0 (25) | 128 | 1012.6 (1015.3) | 0 | 0 |
| 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 ° |
|||||||||
| 1773032400 (2026-03-09 16:00) | 29.2 | 29.9 | 13.4 | 38 | 9.5 | SSE | 2 | 4 | 168 | 1012.7 | 0 | 0 |
| 1773030600 (2026-03-09 15:30) | 29.2 | 29.4 | 12.6 | 36 | 9.8 | W | 3 | 6 | 270 | 1012.8 | 0 | 0 |
| 1773028800 (2026-03-09 15:00) | 30.4 | 30.8 | 13.3 | 35 | 10.2 | WSW | 3 | 5 | 252 | 1013.1 | 0 | 0 |
| 1773027000 (2026-03-09 14:30) | 29.1 | 29.8 | 14.3 | 41 | 9 | S | 4 | 6 | 181 | 1013.4 | 0 | 0 |
| 1773025200 (2026-03-09 14:00) | 28.9 | 29.6 | 14.5 | 41 | 8.8 | WSW | 4 | 7 | 256 | 1013.8 | 0 | 0 |
| 1773023400 (2026-03-09 13:30) | 28.9 | 29.3 | 14.1 | 41 | 9 | W | 5 | 7 | 280 | 1014.1 | 0 | 0 |
| 1773021600 (2026-03-09 13:00) | 28.9 | 29.4 | 14.8 | 43 | 8.7 | SE | 5 | 9 | 139 | 1014.2 | 0 | 0 |
| 1773019800 (2026-03-09 12:30) | 28.2 | 28.7 | 14.6 | 44 | 8.3 | SSW | 5 | 8 | 205 | 1014.3 | 0 | 0 |
| 1773018000 (2026-03-09 12:00) | 27.4 | 28.2 | 14.4 | 45 | 8 | W | 3 | 6 | 265 | 1014.7 | 0 | 0 |
| 1773016200 (2026-03-09 11:30) | 26.7 | 27.1 | 14.3 | 46 | 7.6 | S | 5 | 8 | 176 | 1014.9 | 0 | 0 |
| 1773014400 (2026-03-09 11:00) | 26.9 | 26.9 | 14.5 | 47 | 7.6 | SE | 7 | 11 | 142 | 1014.9 | 0 | 0 |
| 1773012600 (2026-03-09 10:30) | 25.3 | 24.9 | 14.3 | 51 | 6.7 | SSE | 9 | 12 | 155 | 1015.1 | 0 | 0 |
| 1773010800 (2026-03-09 10:00) | 24.8 | 24.3 | 14.2 | 52 | 6.4 | NE | 9 | 12 | 35 | 1015.1 | 0 | 0 |
| 1773009000 (2026-03-09 09:30) | 23.9 | 23.3 | 13.8 | 53 | 6.1 | NE | 9 | 12 | 51 | 1015 | 0 | 0 |
| 1773007200 (2026-03-09 09:00) | 22 | 20.9 | 13.5 | 58 | 5.1 | NNE | 11 | 14 | 29 | 1014.6 | 0 | 0 |
| 1773005400 (2026-03-09 08:30) | 21.4 | 20.4 | 13.5 | 61 | 4.7 | NNE | 11 | 13 | 33 | 1014.5 | 0 | 0 |
| 1773003600 (2026-03-09 08:00) | 19.8 | 19 | 13.3 | 66 | 3.9 | NE | 10 | 12 | 41 | 1014.3 | 0 | 0 |
| 1773001800 (2026-03-09 07:30) | 17 | 15.8 | 12.7 | 75 | 2.5 | NE | 11 | 13 | 45 | 1014 | 0 | 0 |
| 1773000000 (2026-03-09 07:00) | 16.7 | 15.7 | 12.6 | 77 | 2.3 | NE | 9 | 12 | 45 | 1013.5 | 0 | 0 |
| 1772998200 (2026-03-09 06:30) | 16.7 | 15.8 | 12.7 | 77 | 2.3 | NE | 9 | 11 | 48 | 1013.3 | 0 | 0 |
| 1772996400 (2026-03-09 06:00) | 16.6 | 15.5 | 12.8 | 78 | 2.2 | NE | 10 | 12 | 50 | 1013.2 | 0 | 0 |
| 1772994600 (2026-03-09 05:30) | 16.7 | 15.8 | 12.9 | 78 | 2.2 | NE | 9 | 11 | 55 | 1013.2 | 0 | 0 |
| 1772992800 (2026-03-09 05:00) | 16.7 | 16 | 13 | 79 | 2.2 | NE | 9 | 11 | 50 | 1012.9 | 0 | 0 |
| 1772991000 (2026-03-09 04:30) | 16 | 15.2 | 13.2 | 84 | 1.6 | NE | 9 | 11 | 53 | 1013 | 0 | 0 |
| 1772989200 (2026-03-09 04:00) | 13.4 | 13.6 | 11.6 | 89 | 1.1 | SE | 1 | 2 | 127 | 1013.2 | 0 | 0 |
| 1772987400 (2026-03-09 03:30) | 13.8 | 14.2 | 11.5 | 86 | 1.3 | SE | 0 | 0 | 137 | 1013.4 | 0 | 0 |
| 1772985600 (2026-03-09 03:00) | 14.6 | 15.2 | 12 | 84 | 1.5 | SE | 0 | 0 | 137 | 1013.4 | 0 | 0 |
| 1772983800 (2026-03-09 02:30) | 15.8 | 16.8 | 13.2 | 84 | 1.6 | SE | 0 | 1 | 137 | 1013.4 | 0 | 0 |
| 1772982000 (2026-03-09 02:00) | 15.1 | 15.8 | 13 | 87 | 1.3 | SE | 1 | 2 | 137 | 1013.7 | 0 | 0 |
| 1772980200 (2026-03-09 01:30) | 14.9 | 15.4 | 12.6 | 86 | 1.4 | SE | 1 | 2 | 137 | 1013.8 | 0 | 0 |
| 1772978400 (2026-03-09 01:00) | 15.7 | 16.4 | 12.8 | 83 | 1.7 | SE | 1 | 2 | 137 | 1013.8 | 0 | 0 |
| 1772976600 (2026-03-09 00:30) | 16.3 | 17.2 | 13.4 | 83 | 1.7 | SE | 1 | 2 | 137 | 1013.9 | 0 | 0 |
| 1772974800 (2026-03-09 00:00) | 16.3 | 16.9 | 13.5 | 84 | 1.6 | SE | 2 | 4 | 132 | 1014.1 | 0 | 0 |
Time taken to generate page was 0.08 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