28/03/26 13:59: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-28 13:04 | 18.9 | 17 | 11.8 | 64 | 4 | S | 13 | 16 | 184 | 1022.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 ° |
||||||||
| 2026-03-28 | 9.4 (19.2) | 3.8 (18.1) | 6.1 (12.8) | 62 (92) | SSW | 6 (26) | 7 (37) | 192 | 1020.8 (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 ° |
|||||||||
| 1774663200 (2026-03-28 13:00) | 18.7 | 17.3 | 11.6 | 64 | 4 | SSE | 10 | 13 | 164 | 1022.7 | 0 | 0 |
| 1774661400 (2026-03-28 12:30) | 17.7 | 16.2 | 12.2 | 70 | 3.1 | S | 11 | 15 | 172 | 1022.9 | 0 | 0 |
| 1774659600 (2026-03-28 12:00) | 17.3 | 15.7 | 12 | 71 | 3 | S | 11 | 14 | 191 | 1023.2 | 0 | 0 |
| 1774657800 (2026-03-28 11:30) | 16.6 | 14.9 | 11.8 | 74 | 2.7 | S | 12 | 15 | 182 | 1023.5 | 0 | 0 |
| 1774656000 (2026-03-28 11:00) | 16 | 14.3 | 11.7 | 76 | 2.4 | SSW | 12 | 15 | 197 | 1023.7 | 0 | 0 |
| 1774654200 (2026-03-28 10:30) | 15.3 | 13.6 | 11.5 | 78 | 2.1 | SSW | 11 | 14 | 193 | 1023.7 | 0 | 0 |
| 1774652400 (2026-03-28 10:00) | 14.7 | 12.9 | 11.7 | 82 | 1.7 | SSW | 12 | 15 | 196 | 1023.7 | 0 | 0 |
| 1774650600 (2026-03-28 09:30) | 13.5 | 11.8 | 11.2 | 86 | 1.3 | S | 11 | 13 | 185 | 1023.5 | 0 | 0 |
| 1774648800 (2026-03-28 09:00) | 12.9 | 11.1 | 10.8 | 87 | 1.2 | S | 11 | 13 | 189 | 1023.2 | 0 | 0 |
| 1774647000 (2026-03-28 08:30) | 12.7 | 11 | 10.8 | 88 | 1.1 | SSW | 10 | 13 | 194 | 1022.7 | 0 | 0 |
| 1774645200 (2026-03-28 08:00) | 12 | 9.8 | 10.3 | 90 | 0.9 | SSW | 12 | 15 | 194 | 1022.4 | 0 | 0 |
| 1774643400 (2026-03-28 07:30) | 11.6 | 9.2 | 10.2 | 91 | 0.8 | SSW | 13 | 17 | 194 | 1022.2 | 0 | 0 |
| 1774641600 (2026-03-28 07:00) | 11.4 | 9.3 | 10 | 91 | 0.8 | SSW | 11 | 14 | 200 | 1021.8 | 0 | 0 |
| 1774639800 (2026-03-28 06:30) | 11.3 | 9.3 | 9.8 | 91 | 0.8 | SSW | 10 | 13 | 204 | 1021.8 | 0 | 0 |
| 1774638000 (2026-03-28 06:00) | 11.2 | 8.9 | 9.6 | 90 | 0.8 | SSW | 11 | 15 | 202 | 1021.6 | 0 | 0 |
| 1774636200 (2026-03-28 05:30) | 11.1 | 8.9 | 9.4 | 89 | 0.9 | SSW | 11 | 13 | 193 | 1021.4 | 0 | 0 |
| 1774634400 (2026-03-28 05:00) | 11.1 | 8.8 | 9.3 | 88 | 1 | SSW | 11 | 14 | 197 | 1021.2 | 0 | 0 |
| 1774632600 (2026-03-28 04:30) | 10.9 | 8.6 | 9 | 88 | 1 | SSW | 11 | 14 | 197 | 1020.9 | 0 | 0 |
| 1774630800 (2026-03-28 04:00) | 10.7 | 8.2 | 8.7 | 88 | 1.1 | SSW | 11 | 15 | 194 | 1021 | 0 | 0 |
| 1774629000 (2026-03-28 03:30) | 10.6 | 8 | 8.5 | 87 | 1.1 | SSW | 11 | 14 | 194 | 1021 | 0 | 0 |
| 1774627200 (2026-03-28 03:00) | 10.4 | 7.1 | 8.1 | 86 | 1.2 | S | 15 | 19 | 191 | 1021.1 | 0 | 0 |
| 1774625400 (2026-03-28 02:30) | 10.1 | 6.9 | 7.8 | 85 | 1.2 | S | 14 | 17 | 186 | 1021.2 | 0 | 0 |
| 1774623600 (2026-03-28 02:00) | 9.8 | 5.9 | 7.7 | 87 | 1.1 | S | 18 | 22 | 186 | 1021 | 0 | 0 |
| 1774621800 (2026-03-28 01:30) | 9.5 | 5.5 | 7.6 | 88 | 1 | S | 18 | 23 | 183 | 1021.2 | 0 | 0 |
| 1774620000 (2026-03-28 01:00) | 9.5 | 5.6 | 7.4 | 87 | 1.1 | S | 17 | 21 | 190 | 1021.8 | 0 | 0 |
| 1774618200 (2026-03-28 00:30) | 9.8 | 6.3 | 7.3 | 84 | 1.3 | SSW | 15 | 18 | 195 | 1022.3 | 0 | 0 |
| 1774616400 (2026-03-28 00:00) | 10.5 | 6.9 | 6.5 | 76 | 2 | SSW | 14 | 18 | 202 | 1022.6 | 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