06/11/25 18:54: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-11-06 18:04 | 20.9 | 20.5 | 8.4 | 45 | 6.6 | NNE | 0 | 0 | 26 | 1012.3 | 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-11-06 | 5.4 (25.6) | 3.4 (25) | 3.7 (12.4) | 34 (92) | SSW | 0 (13) | 0 (18) | 194 | 1012.3 (1017.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 ° |
|||||||||
| 1762412400 (2025-11-06 18:00) | 21 | 20.6 | 8.4 | 44 | 6.6 | NNE | 0 | 0 | 26 | 1012.3 | 0 | 0 |
| 1762410600 (2025-11-06 17:30) | 21.2 | 20.8 | 8.1 | 43 | 6.8 | NNE | 0 | 0 | 32 | 1012.3 | 0 | 0 |
| 1762408800 (2025-11-06 17:00) | 22 | 21.3 | 7.5 | 39 | 7.5 | SSW | 0 | 1 | 213 | 1012.5 | 0 | 0 |
| 1762407000 (2025-11-06 16:30) | 21.9 | 21.2 | 7.4 | 39 | 7.4 | NW | 1 | 2 | 309 | 1012.7 | 0 | 0 |
| 1762405200 (2025-11-06 16:00) | 21.1 | 20.5 | 7.8 | 42 | 6.9 | NW | 0 | 0 | 313 | 1013.1 | 0 | 0 |
| 1762403400 (2025-11-06 15:30) | 21.1 | 20 | 7.1 | 40 | 7.1 | W | 2 | 4 | 275 | 1013.3 | 0 | 0 |
| 1762401600 (2025-11-06 15:00) | 22.5 | 21.6 | 7.9 | 39 | 7.6 | WNW | 2 | 5 | 283 | 1013.6 | 0 | 0 |
| 1762399800 (2025-11-06 14:30) | 23.5 | 22.9 | 9.7 | 42 | 7.5 | ESE | 3 | 6 | 121 | 1014 | 0 | 0 |
| 1762398000 (2025-11-06 14:00) | 22.3 | 21.3 | 8.6 | 42 | 7.2 | WNW | 3 | 6 | 283 | 1014.5 | 0 | 0 |
| 1762396200 (2025-11-06 13:30) | 23.7 | 22.7 | 8.9 | 39 | 7.9 | W | 4 | 7 | 271 | 1015.1 | 0 | 0 |
| 1762394400 (2025-11-06 13:00) | 24.8 | 23.9 | 10.3 | 40 | 8 | W | 5 | 8 | 264 | 1015.5 | 0 | 0 |
| 1762392600 (2025-11-06 12:30) | 23.9 | 23 | 10.9 | 44 | 7.3 | SW | 6 | 9 | 221 | 1015.9 | 0 | 0 |
| 1762390800 (2025-11-06 12:00) | 23.2 | 22.1 | 10.8 | 46 | 7 | S | 7 | 11 | 191 | 1016.2 | 0 | 0 |
| 1762389000 (2025-11-06 11:30) | 22.7 | 21.8 | 10.8 | 47 | 6.7 | SW | 6 | 9 | 218 | 1016.5 | 0 | 0 |
| 1762387200 (2025-11-06 11:00) | 21.6 | 20.5 | 10.5 | 50 | 6.1 | SW | 6 | 9 | 231 | 1016.6 | 0 | 0 |
| 1762385400 (2025-11-06 10:30) | 21.2 | 20.3 | 10.5 | 51 | 5.9 | W | 6 | 8 | 268 | 1016.5 | 0 | 0 |
| 1762383600 (2025-11-06 10:00) | 20.2 | 19.1 | 9.9 | 52 | 5.6 | S | 6 | 8 | 180 | 1016.8 | 0 | 0 |
| 1762381800 (2025-11-06 09:30) | 19.7 | 18.4 | 9.1 | 50 | 5.7 | ESE | 6 | 8 | 109 | 1016.8 | 0 | 0 |
| 1762380000 (2025-11-06 09:00) | 19.4 | 18.1 | 8.6 | 50 | 5.7 | SE | 5 | 7 | 127 | 1017.1 | 0 | 0 |
| 1762378200 (2025-11-06 08:30) | 16.2 | 14.7 | 9 | 63 | 3.8 | ENE | 6 | 8 | 68 | 1017 | 0 | 0 |
| 1762376400 (2025-11-06 08:00) | 14.1 | 12.3 | 8.7 | 70 | 2.8 | NE | 7 | 9 | 42 | 1016.7 | 0 | 0 |
| 1762374600 (2025-11-06 07:30) | 12.8 | 11.1 | 8.3 | 74 | 2.3 | ENE | 7 | 8 | 66 | 1016.5 | 0 | 0 |
| 1762372800 (2025-11-06 07:00) | 8 | 6.4 | 6.5 | 90 | 0.8 | E | 4 | 5 | 95 | 1016.5 | 0 | 0 |
| 1762371000 (2025-11-06 06:30) | 6.5 | 5 | 5.1 | 91 | 0.7 | SSE | 2 | 3 | 153 | 1016.2 | 0 | 0 |
| 1762369200 (2025-11-06 06:00) | 5.6 | 4.2 | 4.2 | 90 | 0.7 | SSE | 1 | 1 | 154 | 1016.1 | 0 | 0 |
| 1762367400 (2025-11-06 05:30) | 5.8 | 4.3 | 4.4 | 90 | 0.7 | SSE | 1 | 2 | 154 | 1016.1 | 0 | 0 |
| 1762365600 (2025-11-06 05:00) | 5.6 | 4.2 | 4 | 90 | 0.7 | SSE | 0 | 1 | 154 | 1016.2 | 0 | 0 |
| 1762363800 (2025-11-06 04:30) | 5.7 | 4 | 4 | 89 | 0.8 | SSE | 2 | 3 | 154 | 1016.6 | 0 | 0 |
| 1762362000 (2025-11-06 04:00) | 6 | 4.5 | 4.3 | 89 | 0.8 | SSE | 1 | 1 | 154 | 1016.8 | 0 | 0 |
| 1762360200 (2025-11-06 03:30) | 6.2 | 5 | 4.6 | 90 | 0.8 | SSE | 0 | 0 | 154 | 1016.7 | 0 | 0 |
| 1762358400 (2025-11-06 03:00) | 6 | 4.7 | 4.2 | 88 | 0.9 | WSW | 0 | 0 | 248 | 1016.4 | 0 | 0 |
| 1762356600 (2025-11-06 02:30) | 6.5 | 5.3 | 4.6 | 88 | 0.9 | WSW | 0 | 0 | 248 | 1016.4 | 0 | 0 |
| 1762354800 (2025-11-06 02:00) | 7.2 | 6.1 | 5.2 | 87 | 1 | WSW | 0 | 0 | 248 | 1016.8 | 0 | 0 |
| 1762353000 (2025-11-06 01:30) | 7.5 | 6.5 | 5.6 | 88 | 0.9 | WSW | 0 | 0 | 248 | 1017 | 0 | 0 |
| 1762351200 (2025-11-06 01:00) | 7.4 | 6.2 | 5.1 | 85 | 1.1 | WSW | 0 | 0 | 248 | 1017.2 | 0 | 0 |
| 1762349400 (2025-11-06 00:30) | 8 | 7.1 | 5.7 | 85 | 1.1 | WSW | 0 | 0 | 248 | 1017.1 | 0 | 0 |
| 1762347600 (2025-11-06 00:00) | 8.7 | 7.7 | 5.9 | 83 | 1.3 | WSW | 0 | 0 | 248 | 1017.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