11/01/26 13:43: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-01-11 13:04 | 20.1 | 16.6 | 5.2 | 38 | 7.1 | SSW | 12 | 19 | 211 | 1020.1 | 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-01-11 | 10.4 (20.3) | 6.1 (17.3) | 3.6 (8.4) | 36 (82) | S | 5 (24) | 8 (37) | 181 | 1016.6 (1020.3) | 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 ° |
|||||||||
| 1768096800 (2026-01-11 13:00) | 20 | 16.3 | 5.3 | 38 | 7.1 | SSW | 14 | 17 | 198 | 1020.2 | 0 | 0 |
| 1768095000 (2026-01-11 12:30) | 19.4 | 15.9 | 5.2 | 39 | 6.8 | SSE | 12 | 17 | 156 | 1020.3 | 0 | 0 |
| 1768093200 (2026-01-11 12:00) | 19.4 | 15.5 | 5 | 39 | 6.8 | S | 14 | 19 | 169 | 1020.2 | 0 | 0 |
| 1768091400 (2026-01-11 11:30) | 19.3 | 15.2 | 4.8 | 38 | 6.9 | S | 15 | 20 | 173 | 1020.1 | 0 | 0 |
| 1768089600 (2026-01-11 11:00) | 18.5 | 14.3 | 4.3 | 39 | 6.6 | S | 15 | 19 | 179 | 1020.1 | 0 | 0 |
| 1768087800 (2026-01-11 10:30) | 17.7 | 13.4 | 4.6 | 42 | 6.1 | S | 16 | 21 | 171 | 1020 | 0 | 0 |
| 1768086000 (2026-01-11 10:00) | 16.4 | 12 | 4.6 | 46 | 5.5 | S | 16 | 21 | 178 | 1020.1 | 0 | 0 |
| 1768084200 (2026-01-11 09:30) | 17.3 | 13 | 4.6 | 43 | 5.9 | S | 16 | 20 | 189 | 1019.8 | 0 | 0 |
| 1768082400 (2026-01-11 09:00) | 15.1 | 11.5 | 5.9 | 55 | 4.4 | S | 14 | 18 | 178 | 1019.7 | 0 | 0 |
| 1768080600 (2026-01-11 08:30) | 15.4 | 11.7 | 6.4 | 55 | 4.4 | SSE | 15 | 19 | 167 | 1019.4 | 0 | 0 |
| 1768078800 (2026-01-11 08:00) | 15.1 | 12.3 | 7.8 | 62 | 3.7 | S | 12 | 15 | 172 | 1019 | 0 | 0 |
| 1768077000 (2026-01-11 07:30) | 11.9 | 9.1 | 7.6 | 75 | 2.2 | S | 11 | 15 | 186 | 1018.6 | 0 | 0 |
| 1768075200 (2026-01-11 07:00) | 11 | 8.2 | 7.4 | 79 | 1.8 | S | 11 | 13 | 181 | 1018.3 | 0 | 0 |
| 1768073400 (2026-01-11 06:30) | 10.5 | 8 | 7.2 | 80 | 1.7 | S | 10 | 12 | 179 | 1018 | 0 | 0 |
| 1768071600 (2026-01-11 06:00) | 10.5 | 7.8 | 7.3 | 81 | 1.6 | S | 11 | 13 | 183 | 1017.7 | 0 | 0 |
| 1768069800 (2026-01-11 05:30) | 10.7 | 7.9 | 7.3 | 79 | 1.8 | S | 11 | 15 | 189 | 1017.5 | 0 | 0 |
| 1768068000 (2026-01-11 05:00) | 10.8 | 7.8 | 7.3 | 79 | 1.8 | S | 12 | 16 | 187 | 1017.1 | 0 | 0 |
| 1768066200 (2026-01-11 04:30) | 10.9 | 7.6 | 7.5 | 79 | 1.8 | S | 14 | 19 | 183 | 1016.9 | 0 | 0 |
| 1768064400 (2026-01-11 04:00) | 11 | 7.8 | 7.7 | 80 | 1.7 | S | 13 | 18 | 180 | 1016.9 | 0 | 0 |
| 1768062600 (2026-01-11 03:30) | 10.9 | 7.5 | 7.6 | 80 | 1.7 | S | 15 | 19 | 182 | 1016.9 | 0 | 0 |
| 1768060800 (2026-01-11 03:00) | 11.3 | 7.9 | 7.9 | 79 | 1.8 | S | 15 | 19 | 186 | 1017 | 0 | 0 |
| 1768059000 (2026-01-11 02:30) | 11.3 | 8.2 | 7.9 | 80 | 1.7 | S | 13 | 17 | 187 | 1017.2 | 0 | 0 |
| 1768057200 (2026-01-11 02:00) | 11 | 8 | 7.7 | 80 | 1.7 | S | 13 | 16 | 178 | 1017 | 0 | 0 |
| 1768055400 (2026-01-11 01:30) | 11 | 7.3 | 7.8 | 80 | 1.7 | S | 16 | 21 | 191 | 1016.8 | 0 | 0 |
| 1768053600 (2026-01-11 01:00) | 11.2 | 7.5 | 7.7 | 79 | 1.8 | SSW | 16 | 20 | 195 | 1016.8 | 0 | 0 |
| 1768051800 (2026-01-11 00:30) | 11.4 | 8.3 | 7.5 | 77 | 2 | SSW | 13 | 16 | 192 | 1016.8 | 0 | 0 |
| 1768050000 (2026-01-11 00:00) | 11.7 | 8.7 | 7.2 | 74 | 2.3 | S | 12 | 14 | 191 | 1016.7 | 0 | 0 |
Time taken to generate page was 0.07 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