29/10/25 07:56: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 ° |
|||||||||
| 2025-10-29 07:04 | 7.9 | 6.8 | 5.2 | 84 | 1.2 | SSE | 0 | 0 | 161 | 1019.2 | 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 ° |
||||||||
| 2025-10-28 | 4.9 (18) | -0.6 (15.8) | -1.1 (5.7) | 36 (80) | SE | 0 (18) | 0 (35) | 137 | 1016.8 (1020.1) | 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 ° |
|||||||||
| 1761656400 (2025-10-29 00:00) | 8.4 | 7.1 | 4.9 | 79 | 1.6 | SSE | 1 | 2 | 149 | 1019.2 | 0 | 0 |
| 1761654600 (2025-10-28 23:30) | 8.5 | 6.7 | 5.1 | 79 | 1.6 | SE | 4 | 6 | 126 | 1019.1 | 0 | 0 |
| 1761652800 (2025-10-28 23:00) | 8.6 | 6.5 | 5.1 | 79 | 1.7 | SE | 5 | 7 | 125 | 1019.1 | 0 | 0 |
| 1761651000 (2025-10-28 22:30) | 8.7 | 6.6 | 5.1 | 78 | 1.7 | SE | 5 | 7 | 126 | 1019.1 | 0 | 0 |
| 1761649200 (2025-10-28 22:00) | 8.9 | 6.5 | 5.2 | 78 | 1.8 | SE | 6 | 9 | 124 | 1019.2 | 0 | 0 |
| 1761647400 (2025-10-28 21:30) | 9.2 | 7.1 | 5.2 | 76 | 1.9 | ESE | 5 | 7 | 118 | 1019.1 | 0 | 0 |
| 1761645600 (2025-10-28 21:00) | 9.6 | 7.4 | 5.3 | 74 | 2.1 | ESE | 6 | 8 | 121 | 1019 | 0 | 0 |
| 1761643800 (2025-10-28 20:30) | 10.2 | 8.1 | 5.3 | 72 | 2.3 | SE | 5 | 7 | 138 | 1018.9 | 0 | 0 |
| 1761642000 (2025-10-28 20:00) | 10.9 | 8.7 | 5.2 | 68 | 2.7 | SE | 6 | 8 | 131 | 1018.5 | 0 | 0 |
| 1761640200 (2025-10-28 19:30) | 12.3 | 10 | 5.1 | 61 | 3.4 | SE | 6 | 8 | 134 | 1018.4 | 0 | 0 |
| 1761638400 (2025-10-28 19:00) | 14.1 | 11.6 | 5.1 | 55 | 4.3 | SE | 7 | 9 | 134 | 1018.2 | 0 | 0 |
| 1761636600 (2025-10-28 18:30) | 17.1 | 14.2 | 4 | 42 | 6 | SE | 8 | 10 | 133 | 1018 | 0 | 0 |
| 1761634800 (2025-10-28 18:00) | 17.1 | 14.2 | 3.6 | 40 | 6.1 | SE | 8 | 10 | 133 | 1017.9 | 0 | 0 |
| 1761633000 (2025-10-28 17:30) | 16.8 | 13.7 | 3.6 | 41 | 6 | SE | 8 | 11 | 140 | 1017.7 | 0 | 0 |
| 1761631200 (2025-10-28 17:00) | 16.8 | 13.6 | 3.5 | 41 | 6 | SE | 9 | 12 | 143 | 1017.7 | 0 | 0 |
| 1761629400 (2025-10-28 16:30) | 16.8 | 13.7 | 3.7 | 42 | 6 | SE | 9 | 11 | 145 | 1017.7 | 0 | 0 |
| 1761627600 (2025-10-28 16:00) | 17.3 | 14.1 | 3.3 | 39 | 6.3 | SE | 9 | 11 | 141 | 1017.8 | 0 | 0 |
| 1761625800 (2025-10-28 15:30) | 17.6 | 14.6 | 3.4 | 39 | 6.4 | SE | 8 | 11 | 141 | 1017.9 | 0 | 0 |
| 1761624000 (2025-10-28 15:00) | 17.3 | 14.3 | 3.6 | 40 | 6.2 | SE | 8 | 11 | 145 | 1018.1 | 0 | 0 |
| 1761622200 (2025-10-28 14:30) | 17 | 13.9 | 3.1 | 39 | 6.2 | SE | 9 | 11 | 146 | 1018.3 | 0 | 0 |
| 1761620400 (2025-10-28 14:00) | 17 | 13.9 | 3.4 | 40 | 6.1 | SE | 9 | 11 | 146 | 1018.5 | 0 | 0 |
| 1761618600 (2025-10-28 13:30) | 16.8 | 14 | 4.2 | 43 | 5.9 | SSE | 8 | 10 | 150 | 1018.7 | 0 | 0 |
| 1761616800 (2025-10-28 13:00) | 16.9 | 14.1 | 4.3 | 43 | 5.8 | SSE | 8 | 10 | 150 | 1019 | 0 | 0 |
| 1761615000 (2025-10-28 12:30) | 16.9 | 14.1 | 3.9 | 42 | 5.9 | SE | 7 | 10 | 140 | 1019.1 | 0 | 0 |
| 1761613200 (2025-10-28 12:00) | 16.5 | 14 | 3.2 | 41 | 6 | SE | 6 | 8 | 131 | 1019.4 | 0 | 0 |
| 1761611400 (2025-10-28 11:30) | 15.6 | 12.9 | 3.3 | 44 | 5.5 | SE | 7 | 9 | 134 | 1019.7 | 0 | 0 |
| 1761609600 (2025-10-28 11:00) | 15 | 12.3 | 3.1 | 45 | 5.3 | SE | 6 | 9 | 130 | 1020 | 0 | 0 |
| 1761607800 (2025-10-28 10:30) | 14.1 | 11.1 | 2.2 | 45 | 5.1 | SE | 7 | 10 | 131 | 1019.9 | 0 | 0 |
| 1761606000 (2025-10-28 10:00) | 13 | 9.7 | 1.3 | 45 | 4.9 | SE | 8 | 11 | 132 | 1019.9 | 0 | 0 |
| 1761604200 (2025-10-28 09:30) | 12.5 | 9.5 | 1.3 | 46 | 4.7 | ESE | 6 | 9 | 120 | 1019.9 | 0 | 0 |
| 1761602400 (2025-10-28 09:00) | 12.7 | 9.7 | 0.8 | 44 | 4.9 | ESE | 6 | 9 | 118 | 1019.8 | 0 | 0 |
| 1761600600 (2025-10-28 08:30) | 11.6 | 8.8 | 0.4 | 46 | 4.5 | SW | 4 | 6 | 232 | 1019.3 | 0 | 0 |
| 1761598800 (2025-10-28 08:00) | 10.8 | 7.6 | 0 | 47 | 4.3 | ESE | 6 | 10 | 116 | 1018.5 | 0 | 0 |
| 1761597000 (2025-10-28 07:30) | 8.1 | 4.2 | -0.5 | 55 | 3.3 | SE | 10 | 14 | 126 | 1017.9 | 0 | 0 |
| 1761595200 (2025-10-28 07:01) | 6.4 | 2.2 | -0.8 | 60 | 2.8 | SE | 11 | 14 | 134 | 1017.6 | 0 | 0 |
| 1761593400 (2025-10-28 06:30) | 5.5 | 1.3 | -0.9 | 63 | 2.4 | SE | 11 | 14 | 134 | 1017.2 | 0 | 0 |
| 1761591600 (2025-10-28 06:00) | 5.1 | 0.9 | -0.9 | 65 | 2.3 | SE | 11 | 14 | 133 | 1017 | 0 | 0 |
| 1761589800 (2025-10-28 05:30) | 5.1 | 1 | -0.8 | 66 | 2.3 | SE | 10 | 14 | 131 | 1017 | 0 | 0 |
| 1761588000 (2025-10-28 05:00) | 5.2 | 0.8 | -0.7 | 66 | 2.3 | SE | 12 | 16 | 132 | 1017.1 | 0 | 0 |
| 1761586200 (2025-10-28 04:30) | 5.2 | 0.7 | -0.4 | 67 | 2.2 | SE | 13 | 17 | 134 | 1017.1 | 0 | 0 |
| 1761584400 (2025-10-28 04:00) | 5.1 | 0.9 | 0.2 | 71 | 1.9 | SE | 11 | 15 | 136 | 1017.1 | 0 | 0 |
| 1761582600 (2025-10-28 03:30) | 5 | 1.2 | 0.5 | 72 | 1.8 | SE | 10 | 13 | 142 | 1017.3 | 0 | 0 |
| 1761580800 (2025-10-28 03:00) | 5.3 | 2 | 0.7 | 72 | 1.9 | SE | 7 | 10 | 138 | 1017.8 | 0 | 0 |
| 1761579000 (2025-10-28 02:30) | 5.6 | 2.4 | 0.7 | 71 | 2 | SE | 7 | 9 | 145 | 1018.2 | 0 | 0 |
| 1761577200 (2025-10-28 02:00) | 5.7 | 2.5 | 0.9 | 71 | 2 | SE | 7 | 9 | 144 | 1018.6 | 0 | 0 |
| 1761575400 (2025-10-28 01:30) | 5.9 | 3.5 | 0.7 | 69 | 2.1 | SE | 3 | 4 | 132 | 1018.8 | 0 | 0 |
| 1761573600 (2025-10-28 01:00) | 6 | 3.2 | 0.7 | 69 | 2.1 | SE | 4 | 6 | 142 | 1018.5 | 0 | 0 |
| 1761571800 (2025-10-28 00:30) | 5.9 | 3 | 0.3 | 67 | 2.2 | SE | 5 | 7 | 146 | 1018.6 | 0 | 0 |
| 1761570000 (2025-10-28 00:00) | 5.8 | 2.9 | -0 | 66 | 2.3 | SSE | 5 | 6 | 155 | 1018.8 | 0 | 0 |
Time taken to generate page was 0.1 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