06/03/26 10:11: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-06 10:04 | 22.9 | 22.6 | 12.7 | 53 | 6 | S | 6 | 7 | 184 | 1017.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-06 | 12.5 (23) | 10.5 (23) | 9.9 (13.7) | 51 (90) | S | 0 (13) | 0 (21) | 170 | 1015.7 (1017.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 ° |
|||||||||
| 1772751600 (2026-03-06 10:00) | 22.8 | 22.4 | 12.7 | 53 | 5.9 | SW | 6 | 8 | 217 | 1017.3 | 0 | 0 |
| 1772749800 (2026-03-06 09:30) | 21.7 | 21.2 | 12.6 | 56 | 5.3 | SSW | 7 | 9 | 193 | 1017.1 | 0 | 0 |
| 1772748000 (2026-03-06 09:00) | 22.2 | 21.6 | 12.4 | 54 | 5.6 | S | 7 | 8 | 180 | 1016.8 | 0 | 0 |
| 1772746200 (2026-03-06 08:30) | 20.2 | 20 | 12 | 59 | 4.7 | S | 4 | 6 | 174 | 1016.6 | 0 | 0 |
| 1772744400 (2026-03-06 08:00) | 17.6 | 17.7 | 12.4 | 73 | 2.9 | SSE | 3 | 5 | 151 | 1016.5 | 0 | 0 |
| 1772742600 (2026-03-06 07:30) | 13.1 | 12.4 | 11.4 | 89 | 1 | SSE | 6 | 9 | 157 | 1016.4 | 0 | 0 |
| 1772740800 (2026-03-06 07:01) | 12.7 | 11.8 | 11 | 90 | 0.9 | S | 6 | 8 | 174 | 1016.3 | 0 | 0 |
| 1772739000 (2026-03-06 06:30) | 12.6 | 11.6 | 10.8 | 89 | 1 | S | 7 | 8 | 192 | 1016 | 0 | 0 |
| 1772737200 (2026-03-06 06:00) | 12.6 | 11.9 | 10.5 | 87 | 1.2 | SSE | 4 | 6 | 162 | 1015.9 | 0 | 0 |
| 1772735400 (2026-03-06 05:30) | 12.7 | 12.4 | 10.4 | 86 | 1.3 | SE | 2 | 3 | 137 | 1015.8 | 0 | 0 |
| 1772733600 (2026-03-06 05:00) | 12.8 | 12.7 | 10.3 | 85 | 1.4 | SE | 1 | 2 | 136 | 1015.9 | 0 | 0 |
| 1772731800 (2026-03-06 04:30) | 12.9 | 12.7 | 10.3 | 84 | 1.5 | SSE | 2 | 3 | 158 | 1016 | 0 | 0 |
| 1772730000 (2026-03-06 04:00) | 13.2 | 12.9 | 10.3 | 82 | 1.6 | S | 3 | 4 | 172 | 1016.1 | 0 | 0 |
| 1772728200 (2026-03-06 03:30) | 13.5 | 13 | 10.4 | 81 | 1.7 | SSE | 3 | 5 | 165 | 1016.3 | 0 | 0 |
| 1772726400 (2026-03-06 03:00) | 14 | 13.7 | 10.6 | 80 | 1.9 | SSE | 3 | 4 | 164 | 1016.3 | 0 | 0 |
| 1772724600 (2026-03-06 02:30) | 14.4 | 13.7 | 10.7 | 79 | 2 | SSE | 4 | 6 | 166 | 1016.3 | 0 | 0 |
| 1772722800 (2026-03-06 02:00) | 14.5 | 13.7 | 10.9 | 79 | 2 | S | 5 | 7 | 179 | 1016.5 | 0 | 0 |
| 1772721000 (2026-03-06 01:30) | 14.7 | 14 | 11 | 78 | 2.1 | S | 6 | 8 | 187 | 1016.6 | 0 | 0 |
| 1772719200 (2026-03-06 01:00) | 15.1 | 14.1 | 11.2 | 78 | 2.2 | S | 7 | 9 | 186 | 1016.7 | 0 | 0 |
| 1772717400 (2026-03-06 00:30) | 15.5 | 14.5 | 11.3 | 76 | 2.4 | S | 7 | 10 | 184 | 1016.8 | 0 | 0 |
| 1772715600 (2026-03-06 00:00) | 16 | 14.7 | 11.4 | 74 | 2.6 | S | 9 | 12 | 177 | 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