23/12/25 12:49: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 ° |
|||||||||
| 2025-12-23 12:04 | 18.8 | 16 | 7 | 46 | 6 | SSW | 11 | 20 | 213 | 1016.4 | 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 ° |
||||||||
| 2025-12-23 | 9.8 (19) | 7 (16.8) | 4.3 (9) | 43 (87) | SW | 0 (19) | 0 (33) | 231 | 1011.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 ° |
|||||||||
| 1766451600 (2025-12-23 12:00) | 18.7 | 16 | 6.8 | 46 | 6 | SW | 10 | 14 | 227 | 1016.4 | 0 | 0 |
| 1766449800 (2025-12-23 11:30) | 17.2 | 14.2 | 6.4 | 49 | 5.3 | SW | 11 | 14 | 234 | 1016.4 | 0 | 0 |
| 1766448000 (2025-12-23 11:00) | 17.5 | 14.5 | 6.4 | 48 | 5.5 | SW | 11 | 14 | 231 | 1016.4 | 0 | 0 |
| 1766446200 (2025-12-23 10:30) | 17.1 | 14 | 6.1 | 48 | 5.4 | SW | 11 | 15 | 229 | 1016.3 | 0 | 0 |
| 1766444400 (2025-12-23 10:00) | 17.1 | 13.9 | 6.2 | 49 | 5.4 | SSW | 12 | 16 | 208 | 1016.2 | 0 | 0 |
| 1766442600 (2025-12-23 09:30) | 15.9 | 12.5 | 6.1 | 52 | 4.8 | SW | 12 | 16 | 220 | 1016 | 0 | 0 |
| 1766440800 (2025-12-23 09:00) | 14.6 | 11.2 | 6.1 | 57 | 4.2 | SW | 13 | 17 | 219 | 1016 | 0 | 0 |
| 1766439000 (2025-12-23 08:30) | 14.8 | 11.7 | 6.6 | 58 | 4.1 | SW | 12 | 15 | 221 | 1015.5 | 0 | 0 |
| 1766437200 (2025-12-23 08:00) | 15.5 | 13.1 | 7.7 | 60 | 4 | SW | 9 | 12 | 217 | 1015 | 0 | 0 |
| 1766435400 (2025-12-23 07:30) | 12.8 | 10.6 | 7.9 | 72 | 2.5 | SW | 9 | 12 | 218 | 1014.7 | 0 | 0 |
| 1766433600 (2025-12-23 07:00) | 11.6 | 9.8 | 8.1 | 79 | 1.8 | SW | 7 | 9 | 225 | 1014.3 | 0 | 0 |
| 1766431800 (2025-12-23 06:30) | 10.7 | 9.2 | 8 | 84 | 1.4 | WSW | 5 | 7 | 237 | 1014.1 | 0 | 0 |
| 1766430000 (2025-12-23 06:00) | 10.9 | 9.6 | 8.3 | 84 | 1.3 | SW | 5 | 6 | 233 | 1013.8 | 0 | 0 |
| 1766428200 (2025-12-23 05:30) | 10.7 | 9.2 | 8.4 | 85 | 1.2 | SW | 6 | 8 | 226 | 1013.5 | 0 | 0 |
| 1766426400 (2025-12-23 05:00) | 10.7 | 8.6 | 8.4 | 86 | 1.2 | SW | 9 | 12 | 233 | 1013 | 0 | 0 |
| 1766424600 (2025-12-23 04:30) | 11.4 | 9.9 | 8.4 | 82 | 1.6 | WSW | 5 | 7 | 252 | 1012.5 | 0 | 0 |
| 1766422800 (2025-12-23 04:00) | 11.5 | 10.2 | 8.1 | 80 | 1.8 | WSW | 4 | 6 | 245 | 1012.3 | 0 | 0 |
| 1766421000 (2025-12-23 03:30) | 10.5 | 9.1 | 7.6 | 82 | 1.5 | SW | 4 | 6 | 232 | 1012.1 | 0 | 0 |
| 1766419200 (2025-12-23 03:00) | 10.1 | 8.9 | 7 | 81 | 1.6 | SW | 3 | 4 | 235 | 1012.1 | 0 | 0 |
| 1766417400 (2025-12-23 02:30) | 9.9 | 9.1 | 6.7 | 80 | 1.6 | WSW | 0 | 1 | 237 | 1012.2 | 0 | 0 |
| 1766415600 (2025-12-23 02:00) | 10.6 | 9.7 | 6.9 | 78 | 1.9 | WSW | 1 | 1 | 237 | 1012.4 | 0 | 0 |
| 1766413800 (2025-12-23 01:30) | 11.3 | 10.2 | 6.9 | 74 | 2.2 | WSW | 2 | 3 | 241 | 1012.5 | 0 | 0 |
| 1766412000 (2025-12-23 01:00) | 11.9 | 10.5 | 7.5 | 74 | 2.2 | WSW | 4 | 6 | 246 | 1012.3 | 0 | 0 |
| 1766410200 (2025-12-23 00:30) | 11.7 | 10.6 | 7.8 | 77 | 2 | WSW | 3 | 4 | 239 | 1012.3 | 0 | 0 |
| 1766408400 (2025-12-23 00:00) | 12 | 11 | 8.3 | 78 | 2 | SW | 3 | 4 | 220 | 1012.4 | 0 | 0 |
Time taken to generate page was 0.07 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