MessMate Farm, Vic, Australia

22/02/26 17:24: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
°
2026-02-22 17:04 21.4 24.3 18.9 86 1.7 WNW 2 3 3001005.5 1.3 1.1


Using todays date.

Historical Observations for the date of 2026-02-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
°
2026-02-22          20.6 (26.2) 20 (26.6) 6.2 (18.9) 30 (86) ESE 0 (16) 0 (23) 1041005.5 (1009.1) 1.3 1.1

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
°
1771740000  (2026-02-22 17:00) 21.4 24.1 18.8 85 1.7 WNW 3 4 2981005.5 1.3 1.1
1771738200  (2026-02-22 16:30) 21.7 24.2 18.4 82 2.2 NW 2 5 3121005.7 1 1.1
1771736400  (2026-02-22 16:00) 22.8 25.1 18.1 75 3 WSW 3 5 2421005.6 0.3 0.5
1771734600  (2026-02-22 15:30) 22.7 23.9 17.8 74 3.1 NNE 8 10 261006 0.3 0.5
1771732800  (2026-02-22 15:00) 22.4 23.6 16.8 71 3.5 SE 6 8 1381006.5 0.3 0.5
1771731000  (2026-02-22 14:30) 23.7 24.5 15.2 59 5.2 ESE 4 7 1221006.7 0.3 0
1771729200  (2026-02-22 14:00) 25.5 25 13.4 47 7.3 ENE 8 11 611006.4 0 0
1771727400  (2026-02-22 13:30) 25.4 24.4 12.7 45 7.5 NNE 10 12 241006.4 0 0
1771725600  (2026-02-22 13:00) 25.4 23.6 11.8 43 7.9 NE 12 15 341006.4 0 0
1771723800  (2026-02-22 12:30) 24.1 22.1 10.4 42 7.7 NE 11 14 461006.7 0 0
1771722000  (2026-02-22 12:00) 24.9 23.2 9.7 38 8.3 NE 9 11 381007.3 0 0
1771720200  (2026-02-22 11:30) 25.9 24.5 9.4 36 8.9 NE 7 8 451008 0 0
1771718400  (2026-02-22 11:00) 25 24.8 11.8 44 7.6 ENE 4 5 691008.3 0 0
1771716600  (2026-02-22 10:30) 24.2 25 13.6 52 6.4 NE 2 3 521008.1 0 0
1771714800  (2026-02-22 10:00) 22.8 23.2 12.9 54 5.9 NE 3 5 521008.4 0 0
1771713000  (2026-02-22 09:30) 22.9 23.4 13.1 54 5.8 SE 3 3 1421008.1 0 0
1771711200  (2026-02-22 09:00) 22.8 23.1 11.6 49 6.4 SE 1 1 1421007.7 0 0
1771709400  (2026-02-22 08:30) 21.8 21.8 10.7 49 6.2 SE 1 2 1431008 0 0
1771707600  (2026-02-22 08:00) 20.9 20.8 11.2 54 5.5 SSW 2 3 2081008.5 0 0
1771705800  (2026-02-22 07:30) 21 20.9 10 49 6.1 WSW 1 1 2431008.4 0 0
1771704000  (2026-02-22 07:00) 21.6 21 9.3 46 6.7 WSW 2 3 2431008.3 0 0
1771702200  (2026-02-22 06:30) 22 21.6 9.1 44 6.9 WSW 1 2 2431008.7 0 0
1771700400  (2026-02-22 06:00) 22.1 21.6 8.7 42 7.1 WSW 1 1 2431008.6 0 0
1771698600  (2026-02-22 05:30) 22.3 21.8 8.6 42 7.3 ESE 1 1 1181008.1 0 0
1771696800  (2026-02-22 05:00) 22.9 22.3 7.6 37 7.9 NE 0 0 351007.8 0 0
1771695000  (2026-02-22 04:30) 24.1 23.1 6.8 33 8.8 NE 2 2 351007.7 0 0
1771693200  (2026-02-22 04:00) 24.8 23 6.6 31 9.2 NE 5 7 351007.6 0 0
1771691400  (2026-02-22 03:30) 25.2 23 6.4 30 9.4 NE 7 8 341007.5 0 0
1771689600  (2026-02-22 03:00) 24.2 22.4 7.6 35 8.6 NE 7 8 441007.7 0 0
1771687800  (2026-02-22 02:30) 23.9 22 8 36 8.3 NE 7 9 511007.9 0 0
1771686000  (2026-02-22 02:00) 23.6 21.4 8.4 38 8.1 NE 9 11 471008.1 0 0
1771684200  (2026-02-22 01:30) 23.7 21.7 8.7 39 8 NE 9 11 501008.2 0 0
1771682400  (2026-02-22 01:00) 23.5 21.7 9 40 7.8 NE 8 10 531008.5 0 0
1771680600  (2026-02-22 00:30) 22.3 21.3 9.7 45 6.9 ENE 5 7 771008.8 0 0
1771678800  (2026-02-22 00:00) 21.7 21.2 10.8 50 6.1 E 4 5 901009 0 0

Time taken to generate page was 0.08 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