27/02/26 09:14: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-02-27 09:04 | 24.1 | 24.1 | 15.4 | 58 | 5.4 | NE | 9 | 11 | 51 | 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-02-27 | 17.9 (24.1) | 18.9 (24.3) | 14 (15.6) | 58 (83) | ENE | 0 (14) | 0 (19) | 73 | 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 ° |
|||||||||
| 1772143200 (2026-02-27 09:00) | 24 | 24.2 | 15.3 | 58 | 5.3 | NE | 8 | 10 | 50 | 1017.2 | 0 | 0 |
| 1772141400 (2026-02-27 08:30) | 23.4 | 23.1 | 15.2 | 60 | 5 | NE | 10 | 13 | 51 | 1017.2 | 0 | 0 |
| 1772139600 (2026-02-27 08:00) | 21.7 | 21.7 | 15.1 | 66 | 4 | NE | 8 | 11 | 56 | 1016.8 | 0 | 0 |
| 1772137800 (2026-02-27 07:30) | 20.1 | 20.2 | 14.9 | 72 | 3.2 | NE | 7 | 10 | 51 | 1016.7 | 0 | 0 |
| 1772136000 (2026-02-27 07:00) | 19.7 | 20.2 | 14.9 | 74 | 2.9 | ENE | 6 | 8 | 58 | 1016.4 | 0 | 0 |
| 1772134200 (2026-02-27 06:30) | 19.9 | 20.3 | 15.2 | 74 | 2.9 | ENE | 6 | 9 | 60 | 1016.4 | 0 | 0 |
| 1772132400 (2026-02-27 06:00) | 20 | 20.3 | 15.4 | 75 | 2.9 | ENE | 8 | 10 | 61 | 1016.1 | 0 | 0 |
| 1772130600 (2026-02-27 05:30) | 19.8 | 20.7 | 15.5 | 77 | 2.6 | ENE | 4 | 6 | 73 | 1016 | 0 | 0 |
| 1772128800 (2026-02-27 05:00) | 18.7 | 19.8 | 15.3 | 81 | 2.1 | ENE | 3 | 4 | 75 | 1015.9 | 0 | 0 |
| 1772127000 (2026-02-27 04:30) | 18.2 | 19.6 | 14.4 | 79 | 2.2 | ENE | 0 | 0 | 75 | 1015.9 | 0 | 0 |
| 1772125200 (2026-02-27 04:00) | 18.4 | 19.8 | 14.4 | 77 | 2.4 | ENE | 0 | 0 | 75 | 1015.9 | 0 | 0 |
| 1772123400 (2026-02-27 03:30) | 19.1 | 20.6 | 14.5 | 75 | 2.8 | ENE | 0 | 0 | 75 | 1016 | 0 | 0 |
| 1772121600 (2026-02-27 03:00) | 20 | 21.4 | 14.8 | 72 | 3.1 | ENE | 1 | 2 | 75 | 1016 | 0 | 0 |
| 1772119800 (2026-02-27 02:30) | 20.5 | 21.9 | 14.9 | 70 | 3.4 | ENE | 1 | 1 | 75 | 1016.1 | 0 | 0 |
| 1772118000 (2026-02-27 02:00) | 21.2 | 22.6 | 14.9 | 68 | 3.8 | ENE | 1 | 1 | 75 | 1016.1 | 0 | 0 |
| 1772116200 (2026-02-27 01:30) | 21 | 22.4 | 14.7 | 67 | 3.8 | ENE | 1 | 2 | 75 | 1016.1 | 0 | 0 |
| 1772114400 (2026-02-27 01:00) | 20.6 | 21.6 | 14.6 | 69 | 3.6 | ESE | 3 | 4 | 106 | 1016.2 | 0 | 0 |
| 1772112600 (2026-02-27 00:30) | 20 | 20.7 | 14.3 | 70 | 3.4 | ESE | 3 | 5 | 109 | 1016.4 | 0 | 0 |
| 1772110800 (2026-02-27 00:00) | 19.7 | 20 | 14.1 | 70 | 3.3 | E | 5 | 7 | 97 | 1016.7 | 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