05/03/26 22:15: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-05 22:04 | 18.3 | 16.5 | 10.3 | 60 | 4.4 | SSE | 10 | 11 | 167 | 1016.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 ° |
||||||||
| 2026-03-05 | 9.9 (29.7) | 8.6 (27.8) | 2.5 (17.4) | 20 (94) | SSW | 0 (15) | 0 (20) | 193 | 1014 (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 ° |
|||||||||
| 1772708400 (2026-03-05 22:00) | 18.2 | 16.7 | 10.1 | 59 | 4.4 | SSE | 8 | 10 | 163 | 1016.3 | 0 | 0 |
| 1772706600 (2026-03-05 21:30) | 17.5 | 16.3 | 9 | 57 | 4.6 | SSW | 5 | 7 | 199 | 1016.1 | 0 | 0 |
| 1772704800 (2026-03-05 21:00) | 19.3 | 18.7 | 8 | 48 | 5.9 | SW | 1 | 1 | 222 | 1015.6 | 0 | 0 |
| 1772703000 (2026-03-05 20:30) | 20 | 18.9 | 7.6 | 45 | 6.4 | SW | 3 | 3 | 222 | 1015.3 | 0 | 0 |
| 1772701200 (2026-03-05 20:00) | 20.9 | 19.7 | 7.4 | 42 | 6.9 | SW | 3 | 4 | 222 | 1014.9 | 0 | 0 |
| 1772699400 (2026-03-05 19:30) | 24.2 | 22.8 | 6.8 | 33 | 8.7 | SW | 3 | 4 | 222 | 1014.7 | 0 | 0 |
| 1772697600 (2026-03-05 19:00) | 27.2 | 25 | 5.3 | 25 | 10.5 | SW | 6 | 8 | 232 | 1014.6 | 0 | 0 |
| 1772695800 (2026-03-05 18:30) | 28.9 | 25.9 | 4.5 | 21 | 11.4 | SW | 9 | 11 | 233 | 1014.6 | 0 | 0 |
| 1772694000 (2026-03-05 18:00) | 28.4 | 25.1 | 3.7 | 21 | 11.2 | SW | 10 | 12 | 230 | 1014.5 | 0 | 0 |
| 1772692200 (2026-03-05 17:30) | 27.5 | 24.2 | 4 | 22 | 10.8 | SW | 10 | 13 | 227 | 1014.3 | 0 | 0 |
| 1772690400 (2026-03-05 17:00) | 27.1 | 23.5 | 3.4 | 22 | 10.7 | SW | 11 | 14 | 232 | 1014.2 | 0 | 0 |
| 1772688600 (2026-03-05 16:30) | 27.7 | 24.4 | 5 | 24 | 10.8 | SW | 11 | 15 | 229 | 1014.2 | 0 | 0 |
| 1772686800 (2026-03-05 16:00) | 29 | 26.2 | 5.6 | 23 | 11.3 | SW | 9 | 12 | 237 | 1014.4 | 0 | 0 |
| 1772685000 (2026-03-05 15:30) | 29 | 26.2 | 5.6 | 23 | 11.3 | SW | 9 | 12 | 231 | 1014.6 | 0 | 0 |
| 1772683200 (2026-03-05 15:00) | 28.8 | 26.2 | 6.6 | 25 | 11.1 | SW | 9 | 12 | 236 | 1014.6 | 0 | 0 |
| 1772681400 (2026-03-05 14:30) | 28.6 | 26.6 | 7.4 | 26 | 10.9 | WSW | 7 | 10 | 244 | 1014.8 | 0 | 0 |
| 1772679600 (2026-03-05 14:00) | 28.2 | 26.4 | 7.8 | 28 | 10.5 | SW | 6 | 9 | 227 | 1015.1 | 0 | 0 |
| 1772677800 (2026-03-05 13:30) | 27.2 | 25.2 | 8.1 | 30 | 10 | WSW | 8 | 11 | 258 | 1015.4 | 0 | 0 |
| 1772676000 (2026-03-05 13:00) | 26.5 | 24.7 | 8.6 | 32 | 9.5 | WSW | 7 | 10 | 253 | 1015.5 | 0 | 0 |
| 1772674200 (2026-03-05 12:30) | 25.8 | 23.9 | 8.2 | 33 | 9.2 | SW | 8 | 10 | 235 | 1015.7 | 0 | 0 |
| 1772672400 (2026-03-05 12:00) | 24.9 | 22.7 | 7.9 | 34 | 8.9 | WSW | 9 | 12 | 239 | 1016 | 0 | 0 |
| 1772670600 (2026-03-05 11:30) | 23.9 | 20.9 | 5.9 | 31 | 8.8 | WSW | 10 | 13 | 258 | 1016.1 | 0 | 0 |
| 1772668800 (2026-03-05 11:00) | 24.3 | 22.2 | 6.6 | 32 | 8.9 | WSW | 7 | 9 | 255 | 1016.4 | 0 | 0 |
| 1772667000 (2026-03-05 10:30) | 24.2 | 23.3 | 7.8 | 35 | 8.5 | ESE | 2 | 3 | 108 | 1016.3 | 0 | 0 |
| 1772665200 (2026-03-05 10:00) | 22.8 | 22.2 | 10.2 | 45 | 6.9 | SSW | 4 | 5 | 208 | 1016.4 | 0 | 0 |
| 1772663400 (2026-03-05 09:30) | 22 | 22 | 11.1 | 50 | 6.1 | S | 2 | 3 | 189 | 1016.4 | 0 | 0 |
| 1772661600 (2026-03-05 09:00) | 22.1 | 22.3 | 11 | 50 | 6.2 | S | 1 | 1 | 189 | 1016.3 | 0 | 0 |
| 1772659800 (2026-03-05 08:30) | 22.6 | 23.7 | 13.4 | 56 | 5.5 | S | 0 | 0 | 189 | 1016 | 0 | 0 |
| 1772658000 (2026-03-05 08:00) | 17.6 | 19.1 | 14.4 | 82 | 1.9 | S | 0 | 0 | 189 | 1015.8 | 0 | 0 |
| 1772656200 (2026-03-05 07:30) | 11.2 | 11 | 9.3 | 88 | 1 | S | 0 | 0 | 189 | 1015.6 | 0 | 0 |
| 1772654400 (2026-03-05 07:00) | 11.7 | 11.3 | 9.7 | 87 | 1.1 | S | 2 | 3 | 189 | 1015.4 | 0 | 0 |
| 1772652600 (2026-03-05 06:30) | 12.2 | 11.2 | 10.3 | 88 | 1.1 | S | 6 | 7 | 187 | 1015 | 0 | 0 |
| 1772650800 (2026-03-05 06:00) | 11.1 | 10 | 9.8 | 92 | 0.7 | S | 5 | 7 | 173 | 1014.7 | 0 | 0 |
| 1772649000 (2026-03-05 05:30) | 10.3 | 10.1 | 8.9 | 91 | 0.8 | SE | 0 | 0 | 128 | 1014.5 | 0 | 0 |
| 1772647200 (2026-03-05 05:00) | 10.2 | 9.9 | 8.7 | 90 | 0.8 | SE | 0 | 0 | 128 | 1014.2 | 0 | 0 |
| 1772645400 (2026-03-05 04:30) | 10.2 | 9.9 | 8.7 | 90 | 0.8 | SE | 0 | 0 | 128 | 1014.2 | 0 | 0 |
| 1772643600 (2026-03-05 04:00) | 10.5 | 10.3 | 9.2 | 91 | 0.8 | SE | 1 | 1 | 128 | 1014.2 | 0 | 0 |
| 1772641800 (2026-03-05 03:30) | 10.7 | 10.5 | 9.2 | 91 | 0.8 | SE | 0 | 0 | 128 | 1014.2 | 0 | 0 |
| 1772640000 (2026-03-05 03:00) | 10.7 | 10.6 | 9.4 | 91 | 0.8 | SE | 0 | 0 | 128 | 1014.2 | 0 | 0 |
| 1772638200 (2026-03-05 02:30) | 11.5 | 11.5 | 10 | 90 | 0.8 | SE | 0 | 0 | 128 | 1014.2 | 0 | 0 |
| 1772636400 (2026-03-05 02:00) | 11.5 | 11.6 | 9.9 | 90 | 0.9 | SE | 0 | 0 | 128 | 1014.5 | 0 | 0 |
| 1772634600 (2026-03-05 01:30) | 11.9 | 12 | 10.7 | 92 | 0.7 | SE | 1 | 1 | 128 | 1014.7 | 0 | 0 |
| 1772632800 (2026-03-05 01:00) | 12.4 | 12.6 | 10.8 | 90 | 0.9 | SE | 0 | 0 | 128 | 1015 | 0 | 0 |
| 1772631000 (2026-03-05 00:30) | 13.1 | 13.4 | 11.1 | 88 | 1.1 | SE | 0 | 0 | 128 | 1015.4 | 0 | 0 |
| 1772629200 (2026-03-05 00:00) | 14.4 | 14.9 | 12 | 86 | 1.4 | SE | 0 | 0 | 128 | 1015.7 | 0 | 0 |
Time taken to generate page was 0.09 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