22/11/24 11:03: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 ° |
|||||||||
2024-11-22 10:04 | 32 | 30.4 | 9.9 | 26 | 12.1 | NNE | 9 | 10 | 15 | 1022.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 ° |
||||||||
2024-11-22 | 17.6 (32.8) | 15.3 (31.8) | 5.3 (10.9) | 24 (53) | E | 0 (13) | 1 (20) | 80 | 1020.9 (1022.5) | 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 ° |
|||||||||
1732230000 (2024-11-22 10:00) | 32 | 30.3 | 10.2 | 26 | 12 | NNE | 9 | 11 | 31 | 1022.3 | 0 | 0 |
1732228200 (2024-11-22 09:30) | 32.2 | 30.8 | 10 | 26 | 12.2 | ENE | 7 | 10 | 63 | 1022.2 | 0 | 0 |
1732226400 (2024-11-22 09:00) | 30.9 | 29.6 | 10.3 | 28 | 11.4 | ENE | 7 | 10 | 58 | 1022.3 | 0 | 0 |
1732224600 (2024-11-22 08:30) | 27.6 | 25.8 | 10.2 | 34 | 9.6 | NE | 9 | 12 | 41 | 1022.2 | 0 | 0 |
1732222800 (2024-11-22 08:00) | 25.8 | 24.1 | 9.4 | 36 | 8.9 | NE | 8 | 10 | 51 | 1021.9 | 0 | 0 |
1732221000 (2024-11-22 07:30) | 24.1 | 22.7 | 8.9 | 38 | 8.1 | ENE | 6 | 8 | 60 | 1021.7 | 0 | 0 |
1732219200 (2024-11-22 07:00) | 20.9 | 19.9 | 8.5 | 45 | 6.5 | E | 3 | 5 | 79 | 1021.6 | 0 | 0 |
1732217400 (2024-11-22 06:30) | 18.6 | 17.7 | 8.2 | 51 | 5.4 | E | 3 | 4 | 88 | 1021.4 | 0 | 0 |
1732215600 (2024-11-22 06:00) | 17.7 | 16.5 | 7.9 | 52 | 5.1 | E | 4 | 5 | 88 | 1021.3 | 0 | 0 |
1732213800 (2024-11-22 05:30) | 18.1 | 16.9 | 7.7 | 51 | 5.3 | E | 4 | 5 | 87 | 1021.2 | 0 | 0 |
1732212000 (2024-11-22 05:00) | 18.5 | 16.9 | 7.3 | 48 | 5.7 | E | 5 | 6 | 80 | 1021.1 | 0 | 0 |
1732210200 (2024-11-22 04:30) | 18.4 | 16.6 | 6.3 | 45 | 6 | ENE | 5 | 6 | 72 | 1021 | 0 | 0 |
1732208400 (2024-11-22 04:00) | 17.9 | 16 | 5.6 | 44 | 6 | ENE | 5 | 6 | 73 | 1021 | 0 | 0 |
1732206600 (2024-11-22 03:30) | 17.8 | 16.1 | 5.8 | 45 | 5.8 | E | 4 | 5 | 91 | 1021 | 0 | 0 |
1732204800 (2024-11-22 03:00) | 18.5 | 16.9 | 6.1 | 44 | 6.1 | E | 4 | 5 | 91 | 1021.1 | 0 | 0 |
1732203000 (2024-11-22 02:30) | 19.1 | 17.7 | 6.5 | 44 | 6.3 | E | 3 | 4 | 91 | 1021.2 | 0 | 0 |
1732201200 (2024-11-22 02:00) | 19.2 | 17.8 | 6.9 | 45 | 6.2 | E | 3 | 4 | 93 | 1021.3 | 0 | 0 |
1732199400 (2024-11-22 01:30) | 20.2 | 19 | 6.9 | 42 | 6.7 | E | 2 | 4 | 96 | 1021.3 | 0 | 0 |
1732197600 (2024-11-22 01:00) | 20.7 | 19.1 | 6.8 | 40 | 7 | ESE | 4 | 6 | 103 | 1021.6 | 0 | 0 |
1732195800 (2024-11-22 00:30) | 20.8 | 19.1 | 6.8 | 40 | 7 | E | 5 | 6 | 98 | 1021.8 | 0 | 0 |
1732194000 (2024-11-22 00:00) | 21 | 19.2 | 6.2 | 38 | 7.3 | E | 5 | 7 | 101 | 1021.9 | 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