31/03/26 14:36: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-31 14:04 | 29.4 | 26.8 | 6.1 | 23 | 11.4 | N | 8 | 9 | 359 | 1020.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 ° |
||||||||
| 2026-03-31 | 13.1 (29.5) | 11.7 (27.9) | 5.8 (10.9) | 23 (69) | NE | 0 (18) | 0 (29) | 51 | 1020.3 (1023.8) | 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 ° |
|||||||||
| 1774926000 (2026-03-31 14:00) | 29 | 26.3 | 6.9 | 25 | 11.1 | SSE | 10 | 13 | 152 | 1020.3 | 0 | 0 |
| 1774924200 (2026-03-31 13:30) | 28.6 | 26.1 | 6.8 | 25 | 11 | NE | 9 | 12 | 42 | 1020.7 | 0 | 0 |
| 1774922400 (2026-03-31 13:00) | 28.2 | 25.7 | 7.2 | 27 | 10.7 | NE | 10 | 13 | 48 | 1021.2 | 0 | 0 |
| 1774920600 (2026-03-31 12:30) | 27.9 | 26 | 8.5 | 30 | 10.2 | NE | 8 | 11 | 41 | 1021.7 | 0 | 0 |
| 1774918800 (2026-03-31 12:00) | 26 | 23.4 | 8.7 | 33 | 9.2 | NNE | 12 | 15 | 32 | 1022.1 | 0 | 0 |
| 1774917000 (2026-03-31 11:30) | 25.7 | 23.8 | 9.7 | 37 | 8.7 | NE | 10 | 13 | 34 | 1022.8 | 0 | 0 |
| 1774915200 (2026-03-31 11:00) | 24.8 | 23.6 | 10.3 | 40 | 8 | NE | 7 | 9 | 48 | 1023.2 | 0 | 0 |
| 1774913400 (2026-03-31 10:30) | 20.4 | 19.3 | 9.8 | 51 | 5.7 | NNE | 6 | 7 | 32 | 1023.5 | 0 | 0 |
| 1774911600 (2026-03-31 10:00) | 19.9 | 18.3 | 9.4 | 51 | 5.7 | NE | 8 | 10 | 41 | 1023.6 | 0 | 0 |
| 1774909800 (2026-03-31 09:30) | 20 | 18.3 | 9.8 | 52 | 5.6 | NE | 9 | 11 | 48 | 1023.4 | 0 | 0 |
| 1774908000 (2026-03-31 09:00) | 17.4 | 16.1 | 9.2 | 59 | 4.3 | E | 6 | 7 | 89 | 1023.1 | 0 | 0 |
| 1774906200 (2026-03-31 08:30) | 15.7 | 14.5 | 8.6 | 62 | 3.7 | ENE | 5 | 6 | 78 | 1022.9 | 0 | 0 |
| 1774904400 (2026-03-31 08:00) | 14.7 | 13.5 | 8.1 | 65 | 3.4 | NNW | 4 | 5 | 334 | 1022.9 | 0 | 0 |
| 1774902600 (2026-03-31 07:30) | 13.6 | 12.2 | 7.5 | 66 | 3.1 | SSW | 4 | 5 | 194 | 1022.5 | 0 | 0 |
| 1774900800 (2026-03-31 07:00) | 13.3 | 12.1 | 7.4 | 67 | 3 | NE | 3 | 4 | 43 | 1022.4 | 0 | 0 |
| 1774899000 (2026-03-31 06:30) | 13.3 | 12.1 | 7.3 | 67 | 3 | NE | 3 | 4 | 42 | 1022.2 | 0 | 0 |
| 1774897200 (2026-03-31 06:00) | 13.3 | 12 | 7.3 | 67 | 3 | NE | 3 | 4 | 39 | 1022.2 | 0 | 0 |
| 1774895400 (2026-03-31 05:30) | 13.6 | 12.3 | 7.4 | 66 | 3.1 | NE | 3 | 5 | 39 | 1022.3 | 0 | 0 |
| 1774893600 (2026-03-31 05:00) | 13.5 | 12.2 | 7.5 | 67 | 3 | NE | 4 | 5 | 38 | 1022.4 | 0 | 0 |
| 1774891800 (2026-03-31 04:30) | 13.5 | 12.2 | 7.5 | 67 | 3 | NE | 4 | 5 | 34 | 1022.5 | 0 | 0 |
| 1774890000 (2026-03-31 04:00) | 13.5 | 12.2 | 7.6 | 68 | 3 | NNE | 4 | 5 | 20 | 1022.5 | 0 | 0 |
| 1774888200 (2026-03-31 03:30) | 13.8 | 12.9 | 7.7 | 67 | 3.1 | NNE | 2 | 2 | 15 | 1022.7 | 0 | 0 |
| 1774886400 (2026-03-31 03:00) | 13.7 | 12.8 | 7.7 | 67 | 3 | NNE | 2 | 3 | 15 | 1022.9 | 0 | 0 |
| 1774884600 (2026-03-31 02:30) | 13.7 | 12.9 | 7.8 | 67 | 3 | NNE | 2 | 2 | 15 | 1023.1 | 0 | 0 |
| 1774882800 (2026-03-31 02:00) | 13.9 | 12.9 | 7.9 | 67 | 3.1 | NNE | 3 | 4 | 15 | 1023.2 | 0 | 0 |
| 1774881000 (2026-03-31 01:30) | 14 | 13 | 7.9 | 67 | 3.1 | NNE | 3 | 4 | 15 | 1023.3 | 0 | 0 |
| 1774879200 (2026-03-31 01:00) | 14.2 | 13.1 | 7.9 | 66 | 3.2 | NNE | 3 | 5 | 14 | 1023.3 | 0 | 0 |
| 1774877400 (2026-03-31 00:30) | 14.2 | 13 | 8 | 66 | 3.2 | N | 4 | 6 | 11 | 1023.5 | 0 | 0 |
| 1774875600 (2026-03-31 00:00) | 14.3 | 13.3 | 8.1 | 67 | 3.2 | N | 3 | 4 | 4 | 1023.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