18/01/26 15:53: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-18 15:04 | 32.8 | 32.1 | 9.1 | 23 | 12.8 | W | 3 | 6 | 267 | 1013.9 | 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-18 | 13.1 (33.9) | 13.2 (34.1) | 8.3 (13.5) | 23 (83) | SE | 0 (11) | 0 (24) | 146 | 1013.9 (1016.4) | 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 ° |
|||||||||
| 1768708800 (2026-01-18 15:00) | 32.2 | 31 | 9.4 | 25 | 12.3 | W | 6 | 8 | 264 | 1014 | 0 | 0 |
| 1768707000 (2026-01-18 14:30) | 31.8 | 30.7 | 9.6 | 26 | 12.1 | SSW | 5 | 7 | 202 | 1014.1 | 0 | 0 |
| 1768705200 (2026-01-18 14:00) | 31.9 | 31.1 | 10 | 26 | 12 | SW | 4 | 6 | 228 | 1014.3 | 0 | 0 |
| 1768703400 (2026-01-18 13:30) | 29.5 | 28.7 | 9.8 | 30 | 10.8 | S | 4 | 6 | 189 | 1014.5 | 0 | 0 |
| 1768701600 (2026-01-18 13:00) | 31.6 | 30.8 | 10.2 | 27 | 11.8 | SE | 4 | 7 | 147 | 1014.7 | 0 | 0 |
| 1768699800 (2026-01-18 12:30) | 31.8 | 30.9 | 9.1 | 25 | 12.2 | W | 4 | 6 | 274 | 1015 | 0 | 0 |
| 1768698000 (2026-01-18 12:00) | 30.7 | 29.6 | 9.5 | 27 | 11.5 | W | 5 | 8 | 261 | 1015.3 | 0 | 0 |
| 1768696200 (2026-01-18 11:30) | 30.8 | 30 | 10 | 28 | 11.4 | SSW | 4 | 6 | 199 | 1015.5 | 0 | 0 |
| 1768694400 (2026-01-18 11:00) | 28.4 | 28 | 10 | 32 | 10.1 | SE | 2 | 4 | 132 | 1015.8 | 0 | 0 |
| 1768692600 (2026-01-18 10:30) | 28.3 | 27.6 | 9.5 | 31 | 10.2 | WNW | 3 | 5 | 298 | 1015.9 | 0 | 0 |
| 1768690800 (2026-01-18 10:00) | 27.4 | 26.7 | 9.2 | 32 | 9.8 | WNW | 3 | 5 | 297 | 1016 | 0 | 0 |
| 1768689000 (2026-01-18 09:30) | 26.9 | 26.2 | 9.4 | 33 | 9.5 | S | 3 | 5 | 184 | 1016.2 | 0 | 0 |
| 1768687200 (2026-01-18 09:00) | 26.1 | 25.8 | 10.1 | 37 | 8.9 | ESE | 2 | 3 | 117 | 1016.2 | 0 | 0 |
| 1768685400 (2026-01-18 08:30) | 25.8 | 25.9 | 10.9 | 39 | 8.4 | ESE | 1 | 3 | 117 | 1016.1 | 0 | 0 |
| 1768683600 (2026-01-18 08:00) | 22.2 | 22.5 | 11.9 | 53 | 5.8 | ESE | 1 | 2 | 109 | 1016 | 0 | 0 |
| 1768681800 (2026-01-18 07:30) | 16.6 | 17.2 | 12 | 74 | 2.6 | E | 0 | 0 | 95 | 1015.9 | 0 | 0 |
| 1768680000 (2026-01-18 07:00) | 14.6 | 14.9 | 10.9 | 79 | 2.1 | E | 0 | 0 | 95 | 1015.7 | 0 | 0 |
| 1768678200 (2026-01-18 06:30) | 13.8 | 14 | 10.5 | 80 | 1.8 | E | 0 | 0 | 95 | 1015.4 | 0 | 0 |
| 1768676400 (2026-01-18 06:00) | 13.4 | 13.5 | 10.2 | 81 | 1.8 | E | 0 | 0 | 95 | 1015.4 | 0 | 0 |
| 1768674600 (2026-01-18 05:30) | 13.4 | 13.5 | 10.2 | 81 | 1.7 | E | 0 | 0 | 95 | 1015.4 | 0 | 0 |
| 1768672800 (2026-01-18 05:00) | 13.8 | 14 | 10.5 | 81 | 1.8 | E | 0 | 0 | 95 | 1015.1 | 0 | 0 |
| 1768671000 (2026-01-18 04:30) | 14.4 | 14.5 | 10.3 | 77 | 2.2 | E | 0 | 0 | 95 | 1014.9 | 0 | 0 |
| 1768669200 (2026-01-18 04:00) | 14.9 | 14.9 | 10.9 | 77 | 2.2 | E | 1 | 3 | 95 | 1014.7 | 0 | 0 |
| 1768667400 (2026-01-18 03:30) | 15.3 | 15.5 | 11 | 76 | 2.4 | E | 1 | 1 | 95 | 1014.7 | 0 | 0 |
| 1768665600 (2026-01-18 03:00) | 15.8 | 15.8 | 11 | 73 | 2.7 | E | 2 | 3 | 95 | 1014.5 | 0 | 0 |
| 1768663800 (2026-01-18 02:30) | 16.3 | 16.1 | 11.1 | 71 | 2.9 | E | 3 | 5 | 94 | 1014.3 | 0 | 0 |
| 1768662000 (2026-01-18 02:00) | 16.8 | 16.6 | 11.1 | 69 | 3.1 | ESE | 3 | 4 | 116 | 1014.5 | 0 | 0 |
| 1768660200 (2026-01-18 01:30) | 16.9 | 17.1 | 11.1 | 68 | 3.3 | ESE | 1 | 2 | 121 | 1014.7 | 0 | 0 |
| 1768658400 (2026-01-18 01:00) | 17.3 | 17.1 | 11.4 | 68 | 3.4 | ESE | 4 | 5 | 112 | 1014.8 | 0 | 0 |
| 1768656600 (2026-01-18 00:30) | 17 | 16.4 | 11.6 | 70 | 3.1 | E | 5 | 8 | 99 | 1014.7 | 0 | 0 |
| 1768654800 (2026-01-18 00:00) | 17 | 16.3 | 11.7 | 71 | 3 | ESE | 6 | 8 | 102 | 1014.7 | 0 | 0 |
Time taken to generate page was 0.08 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