22/02/26 17:24: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-22 17:04 | 21.4 | 24.3 | 18.9 | 86 | 1.7 | WNW | 2 | 3 | 300 | 1005.5 | 1.3 | 1.1 |
| 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-22 | 20.6 (26.2) | 20 (26.6) | 6.2 (18.9) | 30 (86) | ESE | 0 (16) | 0 (23) | 104 | 1005.5 (1009.1) | 1.3 | 1.1 |
| 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 ° |
|||||||||
| 1771740000 (2026-02-22 17:00) | 21.4 | 24.1 | 18.8 | 85 | 1.7 | WNW | 3 | 4 | 298 | 1005.5 | 1.3 | 1.1 |
| 1771738200 (2026-02-22 16:30) | 21.7 | 24.2 | 18.4 | 82 | 2.2 | NW | 2 | 5 | 312 | 1005.7 | 1 | 1.1 |
| 1771736400 (2026-02-22 16:00) | 22.8 | 25.1 | 18.1 | 75 | 3 | WSW | 3 | 5 | 242 | 1005.6 | 0.3 | 0.5 |
| 1771734600 (2026-02-22 15:30) | 22.7 | 23.9 | 17.8 | 74 | 3.1 | NNE | 8 | 10 | 26 | 1006 | 0.3 | 0.5 |
| 1771732800 (2026-02-22 15:00) | 22.4 | 23.6 | 16.8 | 71 | 3.5 | SE | 6 | 8 | 138 | 1006.5 | 0.3 | 0.5 |
| 1771731000 (2026-02-22 14:30) | 23.7 | 24.5 | 15.2 | 59 | 5.2 | ESE | 4 | 7 | 122 | 1006.7 | 0.3 | 0 |
| 1771729200 (2026-02-22 14:00) | 25.5 | 25 | 13.4 | 47 | 7.3 | ENE | 8 | 11 | 61 | 1006.4 | 0 | 0 |
| 1771727400 (2026-02-22 13:30) | 25.4 | 24.4 | 12.7 | 45 | 7.5 | NNE | 10 | 12 | 24 | 1006.4 | 0 | 0 |
| 1771725600 (2026-02-22 13:00) | 25.4 | 23.6 | 11.8 | 43 | 7.9 | NE | 12 | 15 | 34 | 1006.4 | 0 | 0 |
| 1771723800 (2026-02-22 12:30) | 24.1 | 22.1 | 10.4 | 42 | 7.7 | NE | 11 | 14 | 46 | 1006.7 | 0 | 0 |
| 1771722000 (2026-02-22 12:00) | 24.9 | 23.2 | 9.7 | 38 | 8.3 | NE | 9 | 11 | 38 | 1007.3 | 0 | 0 |
| 1771720200 (2026-02-22 11:30) | 25.9 | 24.5 | 9.4 | 36 | 8.9 | NE | 7 | 8 | 45 | 1008 | 0 | 0 |
| 1771718400 (2026-02-22 11:00) | 25 | 24.8 | 11.8 | 44 | 7.6 | ENE | 4 | 5 | 69 | 1008.3 | 0 | 0 |
| 1771716600 (2026-02-22 10:30) | 24.2 | 25 | 13.6 | 52 | 6.4 | NE | 2 | 3 | 52 | 1008.1 | 0 | 0 |
| 1771714800 (2026-02-22 10:00) | 22.8 | 23.2 | 12.9 | 54 | 5.9 | NE | 3 | 5 | 52 | 1008.4 | 0 | 0 |
| 1771713000 (2026-02-22 09:30) | 22.9 | 23.4 | 13.1 | 54 | 5.8 | SE | 3 | 3 | 142 | 1008.1 | 0 | 0 |
| 1771711200 (2026-02-22 09:00) | 22.8 | 23.1 | 11.6 | 49 | 6.4 | SE | 1 | 1 | 142 | 1007.7 | 0 | 0 |
| 1771709400 (2026-02-22 08:30) | 21.8 | 21.8 | 10.7 | 49 | 6.2 | SE | 1 | 2 | 143 | 1008 | 0 | 0 |
| 1771707600 (2026-02-22 08:00) | 20.9 | 20.8 | 11.2 | 54 | 5.5 | SSW | 2 | 3 | 208 | 1008.5 | 0 | 0 |
| 1771705800 (2026-02-22 07:30) | 21 | 20.9 | 10 | 49 | 6.1 | WSW | 1 | 1 | 243 | 1008.4 | 0 | 0 |
| 1771704000 (2026-02-22 07:00) | 21.6 | 21 | 9.3 | 46 | 6.7 | WSW | 2 | 3 | 243 | 1008.3 | 0 | 0 |
| 1771702200 (2026-02-22 06:30) | 22 | 21.6 | 9.1 | 44 | 6.9 | WSW | 1 | 2 | 243 | 1008.7 | 0 | 0 |
| 1771700400 (2026-02-22 06:00) | 22.1 | 21.6 | 8.7 | 42 | 7.1 | WSW | 1 | 1 | 243 | 1008.6 | 0 | 0 |
| 1771698600 (2026-02-22 05:30) | 22.3 | 21.8 | 8.6 | 42 | 7.3 | ESE | 1 | 1 | 118 | 1008.1 | 0 | 0 |
| 1771696800 (2026-02-22 05:00) | 22.9 | 22.3 | 7.6 | 37 | 7.9 | NE | 0 | 0 | 35 | 1007.8 | 0 | 0 |
| 1771695000 (2026-02-22 04:30) | 24.1 | 23.1 | 6.8 | 33 | 8.8 | NE | 2 | 2 | 35 | 1007.7 | 0 | 0 |
| 1771693200 (2026-02-22 04:00) | 24.8 | 23 | 6.6 | 31 | 9.2 | NE | 5 | 7 | 35 | 1007.6 | 0 | 0 |
| 1771691400 (2026-02-22 03:30) | 25.2 | 23 | 6.4 | 30 | 9.4 | NE | 7 | 8 | 34 | 1007.5 | 0 | 0 |
| 1771689600 (2026-02-22 03:00) | 24.2 | 22.4 | 7.6 | 35 | 8.6 | NE | 7 | 8 | 44 | 1007.7 | 0 | 0 |
| 1771687800 (2026-02-22 02:30) | 23.9 | 22 | 8 | 36 | 8.3 | NE | 7 | 9 | 51 | 1007.9 | 0 | 0 |
| 1771686000 (2026-02-22 02:00) | 23.6 | 21.4 | 8.4 | 38 | 8.1 | NE | 9 | 11 | 47 | 1008.1 | 0 | 0 |
| 1771684200 (2026-02-22 01:30) | 23.7 | 21.7 | 8.7 | 39 | 8 | NE | 9 | 11 | 50 | 1008.2 | 0 | 0 |
| 1771682400 (2026-02-22 01:00) | 23.5 | 21.7 | 9 | 40 | 7.8 | NE | 8 | 10 | 53 | 1008.5 | 0 | 0 |
| 1771680600 (2026-02-22 00:30) | 22.3 | 21.3 | 9.7 | 45 | 6.9 | ENE | 5 | 7 | 77 | 1008.8 | 0 | 0 |
| 1771678800 (2026-02-22 00:00) | 21.7 | 21.2 | 10.8 | 50 | 6.1 | E | 4 | 5 | 90 | 1009 | 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