04/03/26 20:58: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-04 20:04 | 20.1 | 20.1 | 13.1 | 64 | 4.1 | SE | 5 | 7 | 124 | 1015.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-04 | 13.2 (27.6) | 9.9 (28.2) | 9.1 (14.5) | 38 (86) | SSE | 0 (18) | 2 (28) | 160 | 1013.8 (1016.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 ° |
|||||||||
| 1772614800 (2026-03-04 20:00) | 20.3 | 20.1 | 13 | 63 | 4.2 | SE | 6 | 8 | 139 | 1015.3 | 0 | 0 |
| 1772613000 (2026-03-04 19:30) | 21.7 | 21.5 | 13.1 | 58 | 5 | SE | 6 | 8 | 138 | 1015.1 | 0 | 0 |
| 1772611200 (2026-03-04 19:00) | 24.1 | 23.8 | 13 | 50 | 6.6 | SE | 6 | 9 | 131 | 1014.8 | 0 | 0 |
| 1772609400 (2026-03-04 18:30) | 26.9 | 26.7 | 12.8 | 42 | 8.4 | SE | 6 | 8 | 132 | 1014.5 | 0 | 0 |
| 1772607600 (2026-03-04 18:00) | 26.1 | 25.1 | 12.2 | 42 | 8.1 | SSE | 9 | 12 | 147 | 1014.5 | 0 | 0 |
| 1772605800 (2026-03-04 17:30) | 25.5 | 24.8 | 12.2 | 43 | 7.8 | SSE | 7 | 11 | 149 | 1014.6 | 0 | 0 |
| 1772604000 (2026-03-04 17:00) | 25.2 | 24.1 | 11.9 | 44 | 7.7 | SSE | 9 | 12 | 164 | 1014.6 | 0 | 0 |
| 1772602200 (2026-03-04 16:30) | 25.7 | 24 | 12 | 43 | 7.9 | S | 12 | 15 | 176 | 1014.6 | 0 | 0 |
| 1772600400 (2026-03-04 16:00) | 26.6 | 25.3 | 12.2 | 41 | 8.4 | S | 10 | 13 | 170 | 1014.5 | 0 | 0 |
| 1772598600 (2026-03-04 15:30) | 26.6 | 25.4 | 11.9 | 40 | 8.5 | SSE | 9 | 12 | 159 | 1014.6 | 0 | 0 |
| 1772596800 (2026-03-04 15:00) | 27 | 26.5 | 12.6 | 41 | 8.5 | SSE | 7 | 9 | 159 | 1014.7 | 0 | 0 |
| 1772595000 (2026-03-04 14:30) | 26.1 | 25.6 | 13.1 | 45 | 7.7 | SSE | 8 | 10 | 153 | 1015 | 0 | 0 |
| 1772593200 (2026-03-04 14:00) | 25.5 | 25.1 | 13.3 | 47 | 7.3 | SSE | 8 | 11 | 148 | 1015.3 | 0 | 0 |
| 1772591400 (2026-03-04 13:30) | 24.6 | 23.6 | 13.2 | 49 | 6.8 | SSE | 11 | 14 | 160 | 1015.5 | 0 | 0 |
| 1772589600 (2026-03-04 13:00) | 24.3 | 23.2 | 13.7 | 51 | 6.4 | S | 12 | 15 | 177 | 1015.6 | 0 | 0 |
| 1772587800 (2026-03-04 12:30) | 23.5 | 23.2 | 13.9 | 55 | 5.8 | SE | 8 | 11 | 144 | 1015.7 | 0 | 0 |
| 1772586000 (2026-03-04 12:00) | 21.7 | 20.6 | 13.6 | 60 | 4.8 | SE | 11 | 15 | 136 | 1016.1 | 0 | 0 |
| 1772584200 (2026-03-04 11:30) | 20.8 | 19.9 | 13.8 | 64 | 4.2 | SE | 11 | 15 | 142 | 1016.4 | 0 | 0 |
| 1772582400 (2026-03-04 11:00) | 19.7 | 18.8 | 13.7 | 68 | 3.6 | SSE | 11 | 14 | 151 | 1016.5 | 0 | 0 |
| 1772580600 (2026-03-04 10:30) | 20 | 19.2 | 13.6 | 67 | 3.8 | SSE | 10 | 14 | 150 | 1016.5 | 0 | 0 |
| 1772578800 (2026-03-04 10:00) | 18.5 | 17.7 | 13.1 | 71 | 3.2 | SE | 9 | 12 | 142 | 1016.3 | 0 | 0 |
| 1772577000 (2026-03-04 09:30) | 18.7 | 17.7 | 12.7 | 68 | 3.5 | SE | 10 | 13 | 138 | 1016 | 0 | 0 |
| 1772575200 (2026-03-04 09:00) | 17.9 | 16.6 | 12.4 | 70 | 3.2 | SSE | 11 | 14 | 149 | 1015.8 | 0 | 0 |
| 1772573400 (2026-03-04 08:30) | 16.6 | 15.5 | 12.3 | 76 | 2.5 | SSE | 10 | 13 | 154 | 1015.5 | 0 | 0 |
| 1772571600 (2026-03-04 08:00) | 15.4 | 14.6 | 12.3 | 82 | 1.8 | S | 8 | 11 | 177 | 1015.4 | 0 | 0 |
| 1772569800 (2026-03-04 07:30) | 14.6 | 13.7 | 12.2 | 85 | 1.4 | SSE | 8 | 11 | 162 | 1015.1 | 0 | 0 |
| 1772568000 (2026-03-04 07:00) | 14.5 | 13.9 | 12.1 | 86 | 1.4 | SSE | 6 | 9 | 164 | 1014.8 | 0 | 0 |
| 1772566200 (2026-03-04 06:30) | 14.2 | 13.4 | 11.8 | 86 | 1.4 | S | 7 | 10 | 174 | 1014.5 | 0 | 0 |
| 1772564400 (2026-03-04 06:00) | 13.9 | 13.3 | 11.5 | 85 | 1.4 | SSE | 6 | 8 | 163 | 1014.2 | 0 | 0 |
| 1772562600 (2026-03-04 05:30) | 13.6 | 12.4 | 11.1 | 85 | 1.4 | S | 8 | 11 | 169 | 1014.2 | 0 | 0 |
| 1772560800 (2026-03-04 05:00) | 13.6 | 12.3 | 10.9 | 84 | 1.5 | S | 8 | 11 | 175 | 1014.1 | 0 | 0 |
| 1772559000 (2026-03-04 04:30) | 13.6 | 12.6 | 10.8 | 83 | 1.6 | S | 7 | 10 | 170 | 1013.9 | 0 | 0 |
| 1772557200 (2026-03-04 04:00) | 13.4 | 12 | 10.5 | 83 | 1.6 | SSE | 8 | 11 | 158 | 1014 | 0 | 0 |
| 1772555400 (2026-03-04 03:30) | 13.3 | 11.9 | 10.2 | 81 | 1.7 | SSE | 8 | 11 | 154 | 1014.2 | 0 | 0 |
| 1772553600 (2026-03-04 03:00) | 13.3 | 12.1 | 10.1 | 81 | 1.8 | SSE | 7 | 9 | 161 | 1014.2 | 0 | 0 |
| 1772551800 (2026-03-04 02:30) | 13.3 | 11.8 | 9.9 | 80 | 1.9 | S | 8 | 11 | 170 | 1014.3 | 0 | 0 |
| 1772550000 (2026-03-04 02:00) | 13.4 | 11.1 | 9.9 | 80 | 1.9 | S | 12 | 16 | 171 | 1014.4 | 0 | 0 |
| 1772548200 (2026-03-04 01:30) | 13.5 | 11.8 | 10.1 | 80 | 1.9 | S | 9 | 12 | 169 | 1014.6 | 0 | 0 |
| 1772546400 (2026-03-04 01:00) | 13.7 | 12.2 | 10 | 79 | 2 | SSE | 8 | 11 | 167 | 1014.6 | 0 | 0 |
| 1772544600 (2026-03-04 00:30) | 13.7 | 12.4 | 9.6 | 76 | 2.2 | SSW | 6 | 8 | 213 | 1014.7 | 0 | 0 |
| 1772542800 (2026-03-04 00:00) | 13.8 | 12.6 | 9.3 | 74 | 2.4 | SSW | 5 | 7 | 201 | 1014.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