26/12/25 16:06: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-12-26 16:04 | 19 | 14.8 | 4 | 37 | 6.9 | SE | 15 | 25 | 128 | 1019.7 | 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-12-26 | 7.5 (19.5) | 4.2 (16.8) | 2.7 (5.6) | 35 (78) | S | 5 (18) | 5 (27) | 175 | 1018.6 (1021.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 ° |
|||||||||
| 1766725200 (2025-12-26 16:00) | 18.8 | 15.4 | 3.8 | 37 | 6.9 | SSE | 11 | 15 | 161 | 1019.8 | 0 | 0 |
| 1766723400 (2025-12-26 15:30) | 18.5 | 15 | 3.7 | 37 | 6.8 | SE | 11 | 15 | 144 | 1019.8 | 0 | 0 |
| 1766721600 (2025-12-26 15:00) | 18.8 | 15.4 | 4.1 | 38 | 6.8 | SSE | 11 | 15 | 147 | 1019.9 | 0 | 0 |
| 1766719800 (2025-12-26 14:30) | 19 | 15.8 | 4.6 | 39 | 6.8 | SSE | 10 | 14 | 159 | 1020 | 0 | 0 |
| 1766718000 (2025-12-26 14:00) | 18.3 | 14.9 | 4.2 | 39 | 6.5 | SSE | 11 | 14 | 158 | 1020.3 | 0 | 0 |
| 1766716200 (2025-12-26 13:30) | 18.2 | 14.9 | 4.2 | 40 | 6.5 | SSE | 10 | 13 | 150 | 1020.6 | 0 | 0 |
| 1766714400 (2025-12-26 13:00) | 18 | 14.6 | 4 | 39 | 6.5 | SSE | 11 | 14 | 167 | 1020.9 | 0 | 0 |
| 1766712600 (2025-12-26 12:30) | 17.3 | 13.9 | 4.2 | 42 | 6.1 | SSE | 11 | 15 | 156 | 1021.1 | 0 | 0 |
| 1766710800 (2025-12-26 12:00) | 16.6 | 13.2 | 4.2 | 44 | 5.7 | SSE | 11 | 14 | 158 | 1021.4 | 0 | 0 |
| 1766709000 (2025-12-26 11:30) | 16 | 12.3 | 3.7 | 44 | 5.6 | SSE | 12 | 16 | 164 | 1021.6 | 0 | 0 |
| 1766707200 (2025-12-26 11:00) | 15.3 | 11.8 | 4.1 | 47 | 5.1 | S | 11 | 15 | 174 | 1021.6 | 0 | 0 |
| 1766705400 (2025-12-26 10:30) | 14.9 | 11.4 | 3.9 | 48 | 5 | SSE | 11 | 15 | 164 | 1021.6 | 0 | 0 |
| 1766703600 (2025-12-26 10:00) | 14.3 | 10.7 | 3.7 | 49 | 4.8 | S | 12 | 16 | 175 | 1021.6 | 0 | 0 |
| 1766701800 (2025-12-26 09:30) | 12.8 | 9.4 | 4 | 55 | 4 | S | 11 | 15 | 170 | 1021.7 | 0 | 0 |
| 1766700000 (2025-12-26 09:00) | 12.1 | 8.6 | 4.3 | 59 | 3.6 | S | 11 | 15 | 172 | 1021.6 | 0 | 0 |
| 1766698200 (2025-12-26 08:30) | 12.1 | 9 | 4.4 | 59 | 3.6 | S | 10 | 13 | 178 | 1021.2 | 0 | 0 |
| 1766696400 (2025-12-26 08:00) | 13.1 | 10.2 | 4.8 | 57 | 3.9 | S | 9 | 12 | 180 | 1020.8 | 0 | 0 |
| 1766694600 (2025-12-26 07:30) | 10.4 | 7.8 | 4.9 | 69 | 2.6 | S | 8 | 10 | 184 | 1020.4 | 0 | 0 |
| 1766692800 (2025-12-26 07:00) | 9.1 | 6.6 | 4.5 | 73 | 2.1 | S | 7 | 9 | 189 | 1020.1 | 0 | 0 |
| 1766691000 (2025-12-26 06:30) | 8.7 | 6.2 | 4.5 | 75 | 1.9 | S | 6 | 7 | 184 | 1019.7 | 0 | 0 |
| 1766689200 (2025-12-26 06:00) | 8.2 | 5.7 | 4.3 | 77 | 1.8 | S | 6 | 8 | 188 | 1019.4 | 0 | 0 |
| 1766687400 (2025-12-26 05:30) | 8.2 | 5.7 | 4.1 | 75 | 1.9 | S | 6 | 8 | 185 | 1019 | 0 | 0 |
| 1766685600 (2025-12-26 05:00) | 8.3 | 5.5 | 4.1 | 75 | 1.9 | S | 7 | 9 | 187 | 1019 | 0 | 0 |
| 1766683800 (2025-12-26 04:30) | 7.6 | 4.9 | 3.9 | 78 | 1.7 | S | 7 | 9 | 188 | 1018.7 | 0 | 0 |
| 1766682000 (2025-12-26 04:00) | 7.6 | 4.9 | 3.9 | 77 | 1.7 | S | 7 | 8 | 190 | 1018.6 | 0 | 0 |
| 1766680200 (2025-12-26 03:30) | 7.7 | 5 | 3.8 | 77 | 1.8 | S | 7 | 9 | 189 | 1018.7 | 0 | 0 |
| 1766678400 (2025-12-26 03:00) | 7.7 | 4.7 | 3.6 | 75 | 1.8 | S | 8 | 10 | 190 | 1018.9 | 0 | 0 |
| 1766676600 (2025-12-26 02:30) | 7.7 | 4.9 | 3.4 | 74 | 1.9 | S | 7 | 9 | 188 | 1019 | 0 | 0 |
| 1766674800 (2025-12-26 02:00) | 8 | 5.2 | 3.5 | 74 | 2 | S | 7 | 9 | 186 | 1019 | 0 | 0 |
| 1766673000 (2025-12-26 01:30) | 8.1 | 5.4 | 3.6 | 73 | 2 | S | 7 | 9 | 179 | 1019.1 | 0 | 0 |
| 1766671200 (2025-12-26 01:00) | 8.1 | 5.2 | 3.5 | 73 | 2.1 | S | 8 | 9 | 183 | 1019.4 | 0 | 0 |
| 1766669400 (2025-12-26 00:30) | 8.2 | 5.3 | 3.5 | 72 | 2.1 | S | 8 | 10 | 181 | 1019.5 | 0 | 0 |
| 1766667600 (2025-12-26 00:00) | 8.3 | 5.5 | 3.4 | 71 | 2.2 | S | 7 | 9 | 184 | 1019.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