14/03/26 07:06: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-14 07:04 | 9.3 | 8.4 | 6.3 | 82 | 1.5 | E | 0 | 0 | 93 | 1026.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-14 | 9.1 (11.8) | 6 (10.9) | 5.4 (7.5) | 70 (83) | ESE | 0 (25) | 0 (42) | 118 | 1024.4 (1026.7) | 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 ° |
|||||||||
| 1773432000 (2026-03-14 07:00) | 9.2 | 8.2 | 6.2 | 82 | 1.5 | E | 0 | 1 | 93 | 1026.6 | 0 | 0 |
| 1773430200 (2026-03-14 06:31) | 9.3 | 8.4 | 6.2 | 81 | 1.5 | E | 0 | 1 | 93 | 1026.3 | 0 | 0 |
| 1773428400 (2026-03-14 06:00) | 9.6 | 8.3 | 5.9 | 77 | 1.8 | E | 2 | 3 | 93 | 1025.8 | 0 | 0 |
| 1773426600 (2026-03-14 05:30) | 11 | 9.7 | 6.2 | 72 | 2.3 | E | 2 | 3 | 93 | 1025.4 | 0 | 0 |
| 1773424800 (2026-03-14 05:00) | 11.3 | 10 | 6.6 | 73 | 2.3 | ESE | 3 | 5 | 107 | 1025.1 | 0 | 0 |
| 1773423000 (2026-03-14 04:30) | 11.5 | 9.5 | 7.2 | 75 | 2.2 | SE | 7 | 11 | 129 | 1025 | 0 | 0 |
| 1773421200 (2026-03-14 04:00) | 11.5 | 9.6 | 7.4 | 76 | 2.1 | ESE | 7 | 11 | 116 | 1024.6 | 0 | 0 |
| 1773419400 (2026-03-14 03:30) | 11.5 | 9.1 | 7.3 | 75 | 2.1 | ESE | 9 | 15 | 121 | 1024.6 | 0 | 0 |
| 1773417600 (2026-03-14 03:00) | 11.5 | 8.3 | 7.4 | 76 | 2.1 | SE | 13 | 18 | 126 | 1024.6 | 0 | 0 |
| 1773415800 (2026-03-14 02:30) | 11.5 | 8.4 | 7.3 | 75 | 2.1 | SE | 13 | 18 | 126 | 1024.7 | 0 | 0 |
| 1773414000 (2026-03-14 02:00) | 11.5 | 8.1 | 7.3 | 76 | 2.1 | ESE | 14 | 20 | 124 | 1024.6 | 0 | 0 |
| 1773412200 (2026-03-14 01:30) | 11.5 | 7.6 | 7.3 | 76 | 2.1 | SE | 17 | 24 | 124 | 1024.7 | 0 | 0 |
| 1773410400 (2026-03-14 01:00) | 11.5 | 8.3 | 7.4 | 76 | 2.1 | ESE | 14 | 20 | 123 | 1025 | 0 | 0 |
| 1773408600 (2026-03-14 00:30) | 11.5 | 8.4 | 7.4 | 76 | 2.1 | ESE | 13 | 18 | 123 | 1025.3 | 0 | 0 |
| 1773406800 (2026-03-14 00:00) | 11.4 | 9.9 | 7.1 | 75 | 2.1 | SSE | 4 | 7 | 152 | 1025.9 | 0 | 0 |
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