25/03/26 07:09: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-25 07:04 | 15.5 | 15.8 | 13.6 | 88 | 1.2 | ENE | 4 | 5 | 74 | 1015.9 | 6.1 | 5.3 |
| 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-25 | 14.4 (16.3) | 14.3 (17.3) | 11.8 (14.1) | 82 (90) | ENE | 0 (7) | 0 (10) | 74 | 1015.4 (1017) | 6.1 | 5.3 |
| 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 ° |
|||||||||
| 1774382400 (2026-03-25 07:00) | 15.5 | 15.7 | 13.5 | 88 | 1.2 | ENE | 5 | 5 | 75 | 1015.9 | 6.1 | 5.3 |
| 1774380600 (2026-03-25 06:30) | 15.7 | 16.4 | 13.7 | 87 | 1.3 | ENE | 2 | 3 | 75 | 1016 | 6.1 | 5.3 |
| 1774378800 (2026-03-25 06:00) | 15.9 | 16.8 | 13.7 | 87 | 1.3 | ENE | 2 | 3 | 74 | 1015.9 | 6.1 | 5.3 |
| 1774377000 (2026-03-25 05:30) | 16.1 | 16.9 | 13.9 | 87 | 1.3 | ENE | 2 | 4 | 75 | 1015.9 | 6.1 | 5.3 |
| 1774375200 (2026-03-25 05:00) | 16 | 16.7 | 13.9 | 87 | 1.3 | ENE | 3 | 4 | 74 | 1015.7 | 6.1 | 5.3 |
| 1774373400 (2026-03-25 04:30) | 15.8 | 16.2 | 13.9 | 88 | 1.2 | ENE | 4 | 5 | 74 | 1015.5 | 6.1 | 5.3 |
| 1774371600 (2026-03-25 04:00) | 15.2 | 15.8 | 13.3 | 89 | 1.1 | ENE | 2 | 3 | 74 | 1015.5 | 6.1 | 5.3 |
| 1774369800 (2026-03-25 03:30) | 14.9 | 15.4 | 12.9 | 88 | 1.2 | ENE | 2 | 3 | 74 | 1015.7 | 6.1 | 5.3 |
| 1774368000 (2026-03-25 03:00) | 14.8 | 15.5 | 12.8 | 88 | 1.2 | ENE | 1 | 1 | 74 | 1016.1 | 6.1 | 5.3 |
| 1774366200 (2026-03-25 02:30) | 14.8 | 15.4 | 12.7 | 87 | 1.2 | ENE | 1 | 2 | 74 | 1016.3 | 6.1 | 5.3 |
| 1774364400 (2026-03-25 02:00) | 14.6 | 14.9 | 12.3 | 86 | 1.3 | ENE | 2 | 3 | 74 | 1016.4 | 6.1 | 5.3 |
| 1774362600 (2026-03-25 01:30) | 15.1 | 15.4 | 12.6 | 85 | 1.5 | ENE | 2 | 3 | 74 | 1016.4 | 6.1 | 5.3 |
| 1774360800 (2026-03-25 01:00) | 15.3 | 15.4 | 12.8 | 85 | 1.4 | ENE | 4 | 5 | 74 | 1016.5 | 6.1 | 5.3 |
| 1774359000 (2026-03-25 00:30) | 15.2 | 15.3 | 12.5 | 84 | 1.6 | ENE | 4 | 5 | 74 | 1016.7 | 6.1 | 5.3 |
| 1774357200 (2026-03-25 00:00) | 15.4 | 15.4 | 12.5 | 83 | 1.7 | ENE | 4 | 5 | 74 | 1016.9 | 6.1 | 5.3 |
Time taken to generate page was 0.06 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