08/02/26 17:12: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-08 17:04 | 21.9 | 22.5 | 16.1 | 70 | 3.6 | ESE | 7 | 10 | 109 | 1012.8 | 4.5 | 3.7 |
| 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-08 | 17.7 (36.3) | 17.5 (37.4) | 9.2 (17.9) | 25 (78) | ESE | 0 (19) | 0 (28) | 105 | 1012.7 (1017.7) | 4.5 | 3.7 |
| 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 ° |
|||||||||
| 1770530400 (2026-02-08 17:00) | 21.8 | 22.9 | 16.3 | 71 | 3.5 | ESE | 5 | 10 | 107 | 1012.7 | 4.5 | 3.7 |
| 1770528600 (2026-02-08 16:30) | 22.1 | 22.6 | 16.8 | 72 | 3.3 | SE | 9 | 13 | 124 | 1013.1 | 4.5 | 3.7 |
| 1770526800 (2026-02-08 16:00) | 23.3 | 24 | 17 | 68 | 3.9 | SE | 9 | 12 | 143 | 1013.4 | 3.9 | 3.2 |
| 1770525000 (2026-02-08 15:30) | 27.1 | 27.6 | 15.1 | 48 | 7.4 | ESE | 6 | 9 | 117 | 1013.6 | 0 | 0 |
| 1770523200 (2026-02-08 15:00) | 28.3 | 27.9 | 15.1 | 45 | 8.2 | SE | 10 | 13 | 139 | 1013.9 | 0 | 0 |
| 1770521400 (2026-02-08 14:30) | 33.6 | 33.3 | 13.6 | 30 | 12 | S | 8 | 10 | 186 | 1014.1 | 0 | 0 |
| 1770519600 (2026-02-08 14:00) | 35.1 | 34.9 | 13.1 | 27 | 13.1 | W | 6 | 9 | 280 | 1014.6 | 0 | 0 |
| 1770517800 (2026-02-08 13:30) | 33.5 | 33.6 | 13.4 | 30 | 12 | W | 5 | 8 | 268 | 1015.1 | 0 | 0 |
| 1770516000 (2026-02-08 13:00) | 33.6 | 34 | 13.5 | 30 | 12.1 | NW | 4 | 7 | 310 | 1015.4 | 0 | 0 |
| 1770514200 (2026-02-08 12:30) | 33.2 | 33.5 | 13.9 | 31 | 11.7 | SW | 5 | 8 | 214 | 1015.9 | 0 | 0 |
| 1770512400 (2026-02-08 12:00) | 31.9 | 32.2 | 14.2 | 34 | 10.8 | W | 5 | 9 | 275 | 1016.3 | 0 | 0 |
| 1770510600 (2026-02-08 11:30) | 31.6 | 32.1 | 14.4 | 36 | 10.5 | SW | 5 | 8 | 228 | 1016.5 | 0 | 0 |
| 1770508800 (2026-02-08 11:00) | 30.6 | 31 | 14.6 | 38 | 9.9 | S | 6 | 9 | 173 | 1016.7 | 0 | 0 |
| 1770507000 (2026-02-08 10:30) | 30.4 | 30.5 | 14.5 | 38 | 9.7 | SE | 7 | 9 | 131 | 1016.7 | 0 | 0 |
| 1770505200 (2026-02-08 10:00) | 28.9 | 28.8 | 14.6 | 42 | 8.8 | ENE | 8 | 11 | 70 | 1016.7 | 0 | 0 |
| 1770503400 (2026-02-08 09:30) | 28.7 | 28.5 | 14.5 | 42 | 8.7 | ENE | 8 | 10 | 67 | 1016.9 | 0 | 0 |
| 1770501600 (2026-02-08 09:00) | 27.2 | 27.1 | 14.5 | 46 | 7.7 | NE | 8 | 11 | 39 | 1017.2 | 0 | 0 |
| 1770499800 (2026-02-08 08:30) | 24.6 | 24.2 | 14.4 | 53 | 6.2 | NE | 9 | 12 | 35 | 1017.3 | 0 | 0 |
| 1770498000 (2026-02-08 08:00) | 21.7 | 21.1 | 14.3 | 63 | 4.4 | NE | 10 | 12 | 39 | 1017.1 | 0 | 0 |
| 1770496200 (2026-02-08 07:30) | 19.3 | 18.6 | 14.1 | 72 | 3.1 | NE | 10 | 13 | 43 | 1016.8 | 0 | 0 |
| 1770494400 (2026-02-08 07:00) | 18.5 | 18.5 | 14.2 | 76 | 2.6 | NE | 7 | 9 | 46 | 1016.4 | 0 | 0 |
| 1770492600 (2026-02-08 06:30) | 18.1 | 18.4 | 14.1 | 77 | 2.4 | NE | 5 | 6 | 42 | 1016.2 | 0 | 0 |
| 1770490800 (2026-02-08 06:00) | 17.9 | 18.2 | 13.9 | 78 | 2.4 | NE | 4 | 6 | 42 | 1015.9 | 0 | 0 |
| 1770489000 (2026-02-08 05:30) | 18.1 | 18.4 | 13.8 | 76 | 2.6 | NE | 5 | 6 | 42 | 1016 | 0 | 0 |
| 1770487200 (2026-02-08 05:00) | 18.7 | 18.5 | 13.8 | 74 | 2.9 | NE | 7 | 9 | 42 | 1016.1 | 0 | 0 |
| 1770485400 (2026-02-08 04:30) | 19.2 | 18.8 | 13.7 | 70 | 3.3 | NE | 8 | 10 | 35 | 1016.4 | 0 | 0 |
| 1770483600 (2026-02-08 04:00) | 19.6 | 18.9 | 13.3 | 67 | 3.7 | NNE | 9 | 11 | 31 | 1016.6 | 0 | 0 |
| 1770481800 (2026-02-08 03:30) | 20.6 | 20 | 13 | 62 | 4.4 | ENE | 8 | 10 | 64 | 1016.6 | 0 | 0 |
| 1770480000 (2026-02-08 03:00) | 20.9 | 20.1 | 12.9 | 60 | 4.7 | ENE | 9 | 11 | 60 | 1016.5 | 0 | 0 |
| 1770478200 (2026-02-08 02:30) | 21.2 | 20.5 | 13 | 59 | 4.9 | NE | 8 | 10 | 47 | 1016.5 | 0 | 0 |
| 1770476400 (2026-02-08 02:00) | 21.7 | 21.3 | 13 | 58 | 5.1 | NE | 7 | 9 | 45 | 1016.8 | 0 | 0 |
| 1770474600 (2026-02-08 01:30) | 21.7 | 20.7 | 12.8 | 57 | 5.2 | NE | 9 | 11 | 48 | 1016.8 | 0 | 0 |
| 1770472800 (2026-02-08 01:00) | 21.8 | 20.6 | 12.4 | 55 | 5.5 | NE | 10 | 12 | 49 | 1017.1 | 0 | 0 |
| 1770471000 (2026-02-08 00:30) | 21.8 | 20.6 | 11.9 | 53 | 5.7 | NE | 9 | 11 | 42 | 1017.3 | 0 | 0 |
| 1770469200 (2026-02-08 00:00) | 22.3 | 20.3 | 10.7 | 48 | 6.5 | NE | 12 | 14 | 41 | 1017.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