01/02/26 15:43: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-02-01 15:04 | 19.9 | 15.6 | 5.1 | 38 | 7.1 | SW | 16 | 21 | 232 | 1016.4 | 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-02-01 | 13.4 (22.9) | 9.2 (19.6) | 3 (10.9) | 29 (80) | SSW | 5 (28) | 6 (50) | 201 | 1011.7 (1016.4) | 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 ° |
|||||||||
| 1769918400 (2026-02-01 15:00) | 19.9 | 14.9 | 5 | 38 | 7.1 | SW | 20 | 23 | 214 | 1016.4 | 0 | 0 |
| 1769916600 (2026-02-01 14:30) | 21.4 | 16 | 3.6 | 31 | 8.1 | SW | 21 | 27 | 216 | 1016.1 | 0 | 0 |
| 1769914800 (2026-02-01 14:00) | 21.1 | 16.1 | 4.3 | 33 | 7.8 | SW | 19 | 25 | 223 | 1016 | 0 | 0 |
| 1769913000 (2026-02-01 13:30) | 21.7 | 16.7 | 4.7 | 33 | 8 | SW | 20 | 25 | 218 | 1016 | 0 | 0 |
| 1769911200 (2026-02-01 13:00) | 22 | 17.5 | 4.7 | 32 | 8.1 | SSW | 17 | 22 | 213 | 1015.9 | 0 | 0 |
| 1769909400 (2026-02-01 12:30) | 21.9 | 16.7 | 4.2 | 31 | 8.2 | SW | 20 | 25 | 224 | 1015.7 | 0 | 0 |
| 1769907600 (2026-02-01 12:00) | 21.5 | 16.6 | 4.3 | 32 | 8 | SSW | 19 | 23 | 204 | 1015.7 | 0 | 0 |
| 1769905800 (2026-02-01 11:30) | 20 | 15.6 | 5.1 | 38 | 7.1 | SSW | 17 | 22 | 207 | 1015.8 | 0 | 0 |
| 1769904000 (2026-02-01 11:00) | 19.3 | 15 | 6.5 | 43 | 6.4 | SSW | 18 | 23 | 192 | 1015.7 | 0 | 0 |
| 1769902200 (2026-02-01 10:30) | 18.1 | 14.1 | 7.2 | 49 | 5.6 | SSW | 17 | 23 | 210 | 1015.5 | 0 | 0 |
| 1769900400 (2026-02-01 10:00) | 18.1 | 13.8 | 6.9 | 48 | 5.6 | SSW | 18 | 23 | 199 | 1015.4 | 0 | 0 |
| 1769898600 (2026-02-01 09:30) | 17.8 | 13.3 | 6.3 | 47 | 5.7 | SSW | 19 | 24 | 201 | 1015.1 | 0 | 0 |
| 1769896800 (2026-02-01 09:00) | 16.6 | 12.5 | 7.1 | 54 | 4.8 | SSW | 18 | 23 | 203 | 1014.9 | 0 | 0 |
| 1769895000 (2026-02-01 08:30) | 15.1 | 12 | 7.9 | 62 | 3.7 | SSW | 14 | 19 | 202 | 1014.6 | 0 | 0 |
| 1769893200 (2026-02-01 08:00) | 13.8 | 10.2 | 8.3 | 69 | 2.9 | SSW | 16 | 21 | 202 | 1014.2 | 0 | 0 |
| 1769891400 (2026-02-01 07:30) | 13.6 | 10.5 | 9.3 | 75 | 2.3 | SSW | 15 | 19 | 203 | 1013.9 | 0 | 0 |
| 1769889600 (2026-02-01 07:00) | 13.8 | 11.3 | 9.8 | 77 | 2.2 | SSW | 13 | 16 | 201 | 1013.6 | 0 | 0 |
| 1769887800 (2026-02-01 06:30) | 13.9 | 11.6 | 10.2 | 78 | 2 | SSW | 12 | 16 | 203 | 1013.2 | 0 | 0 |
| 1769886000 (2026-02-01 06:00) | 13.9 | 12.3 | 10.3 | 79 | 2 | SSW | 9 | 12 | 203 | 1013 | 0 | 0 |
| 1769884200 (2026-02-01 05:30) | 13.8 | 11.8 | 10.1 | 79 | 2 | SSW | 11 | 14 | 193 | 1012.8 | 0 | 0 |
| 1769882400 (2026-02-01 05:00) | 13.8 | 12 | 9.9 | 77 | 2.1 | SSW | 10 | 12 | 193 | 1012.7 | 0 | 0 |
| 1769880600 (2026-02-01 04:30) | 13.9 | 11.8 | 9.9 | 77 | 2.2 | S | 11 | 13 | 188 | 1012.8 | 0 | 0 |
| 1769878800 (2026-02-01 04:00) | 13.7 | 11.1 | 9.8 | 78 | 2.1 | S | 13 | 16 | 190 | 1012.5 | 0 | 0 |
| 1769877000 (2026-02-01 03:30) | 13.5 | 11 | 9.3 | 76 | 2.2 | S | 12 | 16 | 192 | 1012.3 | 0 | 0 |
| 1769875200 (2026-02-01 03:00) | 13.9 | 11.3 | 9.1 | 73 | 2.5 | S | 12 | 15 | 187 | 1012.1 | 0 | 0 |
| 1769873400 (2026-02-01 02:30) | 14.3 | 12 | 9.6 | 73 | 2.5 | S | 12 | 15 | 185 | 1012.5 | 0 | 0 |
| 1769871600 (2026-02-01 02:00) | 14.6 | 11.8 | 10 | 74 | 2.5 | SSW | 15 | 18 | 197 | 1012.3 | 0 | 0 |
| 1769869800 (2026-02-01 01:30) | 15.1 | 12.8 | 10.2 | 72 | 2.7 | SSW | 13 | 16 | 192 | 1012.8 | 0 | 0 |
| 1769868000 (2026-02-01 01:00) | 15.5 | 13.1 | 10.1 | 70 | 2.9 | SSW | 13 | 16 | 195 | 1012.7 | 0 | 0 |
| 1769866200 (2026-02-01 00:30) | 15.8 | 12.9 | 10.4 | 70 | 2.9 | S | 16 | 20 | 187 | 1012.4 | 0 | 0 |
| 1769864400 (2026-02-01 00:00) | 16 | 12.8 | 10.7 | 71 | 3 | S | 18 | 23 | 191 | 1012.6 | 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