MessMate Farm, Vic, Australia

22/11/24 22:35:00

❰ WeeWX  - Mesowx  - ❰ Mesowx: DualRain  - ❰ Mesowx: weewx  - ❰ Mesowx: pmon  - ❰ WXgraphic  - ❰ Belchertown

Use the following to select a date for archived records Date style can be either 01-Feb-2018 or 01-02-2018 ( DD-MM-YYYY )
Choose the date:

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 root

The file should have been accessable as
/usr/share/php/wxobs_weatherpi.inc
We can use include_path in wxobs/skin.conf to change that.
The include file will be regenerated on weewx's next report run, (unless you're using the undocumented feature - view the source Luke.) Or when report_timing allows.

If 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.

Latest Observations

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 22:04 25.4 24.7 7.5 32 9.2 ENE 1 3 761019.4 0 0


Using todays date.

Historical Observations for the date of 2024-11-22

Stats for the day : Min (Max), or Averages for Direction

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 (39) 15.3 (37.6) 1.5 (11) 11 (53) SSE 0 (17) 0 (26) 1581018.7 (1022.5) 0 0

Periodic Stats (average values)

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
°
1732273200  (2024-11-22 22:00) 25.5 24.6 7.6 32 9.2 ENE 2 3 761019.4 0 0
1732271400  (2024-11-22 21:30) 26 24.9 7.4 31 9.5 ENE 3 4 661019.2 0 0
1732269600  (2024-11-22 21:00) 26.1 25 7.7 31 9.5 ENE 3 4 621019.1 0 0
1732267800  (2024-11-22 20:30) 26 25.2 7.8 32 9.4 NE 1 2 531019 0 0
1732266000  (2024-11-22 20:00) 28.1 27.3 6.5 26 10.7 WNW 0 0 3021019 0 0
1732264200  (2024-11-22 19:30) 30.6 29.7 6.2 22 12 WNW 0 0 3021018.9 0 0
1732262400  (2024-11-22 19:00) 33 31.9 5.8 18 13.2 NW 0 1 3101018.8 0 0
1732260600  (2024-11-22 18:30) 34.7 33.5 5 16 14.1 NW 1 1 3101018.8 0 0
1732258800  (2024-11-22 18:00) 35 33.6 4.8 15 14.2 NW 1 2 3091018.8 0 0
1732257000  (2024-11-22 17:30) 35.5 34 4.8 15 14.5 S 2 3 1841018.9 0 0
1732255200  (2024-11-22 17:00) 34.5 32.4 4.1 15 14 SSE 4 5 1631019 0 0
1732253400  (2024-11-22 16:30) 36.1 34 3.9 14 14.7 SW 4 6 2241019.3 0 0
1732251600  (2024-11-22 16:00) 35.7 33.1 4 14 14.6 WNW 6 9 2911019.5 0 0
1732249800  (2024-11-22 15:30) 34.2 31.6 3.8 15 13.8 WNW 6 9 2961019.7 0 0
1732248000  (2024-11-22 15:00) 35.9 33.7 3.7 14 14.6 W 4 7 2741019.8 0 0
1732246200  (2024-11-22 14:30) 37 34.2 4.3 13 15.2 S 8 12 1881020 0 0
1732244400  (2024-11-22 14:00) 38.1 35.8 4.6 13 15.7 S 6 9 1801020.3 0 0
1732242600  (2024-11-22 13:30) 37.5 34.9 3.6 12 15.3 WNW 6 10 2871020.7 0 0
1732240800  (2024-11-22 13:00) 37 34.5 5.2 14 15.2 W 7 11 2621020.9 0 0
1732239000  (2024-11-22 12:30) 37 35.5 7.2 16 15.1 W 5 8 2641021.2 0 0
1732237200  (2024-11-22 12:00) 34.7 32.6 7.5 19 13.9 WNW 8 12 2941021.5 0 0
1732235400  (2024-11-22 11:30) 34.9 33.3 8.4 20 13.9 W 7 11 2731021.6 0 0
1732233600  (2024-11-22 11:00) 35.2 33.9 9.1 20 14 WSW 6 9 2431022 0 0
1732231800  (2024-11-22 10:30) 34.1 32.9 9.8 23 13.3 SSE 6 9 1651022.1 0 0
1732230000  (2024-11-22 10:00) 32.9 31.5 10.2 25 12.5 NE 8 10 561022.2 0 0
1732228200  (2024-11-22 09:30) 32.2 30.8 10 26 12.2 ENE 7 10 631022.2 0 0
1732226400  (2024-11-22 09:00) 30.9 29.6 10.3 28 11.4 ENE 7 10 581022.3 0 0
1732224600  (2024-11-22 08:30) 27.6 25.8 10.2 34 9.6 NE 9 12 411022.2 0 0
1732222800  (2024-11-22 08:00) 25.8 24.1 9.4 36 8.9 NE 8 10 511021.9 0 0
1732221000  (2024-11-22 07:30) 24.1 22.7 8.9 38 8.1 ENE 6 8 601021.7 0 0
1732219200  (2024-11-22 07:00) 20.9 19.9 8.5 45 6.5 E 3 5 791021.6 0 0
1732217400  (2024-11-22 06:30) 18.6 17.7 8.2 51 5.4 E 3 4 881021.4 0 0
1732215600  (2024-11-22 06:00) 17.7 16.5 7.9 52 5.1 E 4 5 881021.3 0 0
1732213800  (2024-11-22 05:30) 18.1 16.9 7.7 51 5.3 E 4 5 871021.2 0 0
1732212000  (2024-11-22 05:00) 18.5 16.9 7.3 48 5.7 E 5 6 801021.1 0 0
1732210200  (2024-11-22 04:30) 18.4 16.6 6.3 45 6 ENE 5 6 721021 0 0
1732208400  (2024-11-22 04:00) 17.9 16 5.6 44 6 ENE 5 6 731021 0 0
1732206600  (2024-11-22 03:30) 17.8 16.1 5.8 45 5.8 E 4 5 911021 0 0
1732204800  (2024-11-22 03:00) 18.5 16.9 6.1 44 6.1 E 4 5 911021.1 0 0
1732203000  (2024-11-22 02:30) 19.1 17.7 6.5 44 6.3 E 3 4 911021.2 0 0
1732201200  (2024-11-22 02:00) 19.2 17.8 6.9 45 6.2 E 3 4 931021.3 0 0
1732199400  (2024-11-22 01:30) 20.2 19 6.9 42 6.7 E 2 4 961021.3 0 0
1732197600  (2024-11-22 01:00) 20.7 19.1 6.8 40 7 ESE 4 6 1031021.6 0 0
1732195800  (2024-11-22 00:30) 20.8 19.1 6.8 40 7 E 5 6 981021.8 0 0
1732194000  (2024-11-22 00:00) 21 19.2 6.2 38 7.3 E 5 7 1011021.9 0 0

Time taken to generate page was 0.09 seconds.


SELECT:

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:

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