MessMate Farm, Vic, Australia

11/09/25 09:15: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
°
2025-09-11 09:04 10 6.9 5.3 73 2.2 SSW 10 10 1951019.3 0 0


Using todays date.

Historical Observations for the date of 2025-09-11

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
°
2025-09-11          6.5 (11.2) 2.4 (8.5) 4.4 (6.3) 69 (91) S 5 (18) 5 (25) 1891014.2 (1019.3) 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
°
1757545200  (2025-09-11 09:00) 10 7 5.3 72 2.2 SSW 10 12 1961019.2 0 0
1757543400  (2025-09-11 08:30) 10.5 7.1 5.5 71 2.4 SSW 12 15 1951019 0 0
1757541600  (2025-09-11 08:00) 10.5 7.3 5.7 72 2.3 S 11 14 1901018.6 0 0
1757539800  (2025-09-11 07:30) 9.2 6.1 5.6 78 1.7 S 11 14 1911018.1 0 0
1757538000  (2025-09-11 07:00) 7.8 4.3 5.5 85 1.1 SSW 12 16 1921017.5 0 0
1757536200  (2025-09-11 06:30) 7.4 4.1 5.8 89 0.8 S 12 15 1881016.8 0 0
1757534400  (2025-09-11 06:00) 7.6 4.7 6.2 90 0.7 S 10 13 1891016.5 0 0
1757532600  (2025-09-11 05:30) 7.6 5.1 6 89 0.8 SSW 9 11 1931016.2 0 0
1757530800  (2025-09-11 05:00) 7.7 5.1 5.6 87 1 S 8 10 1881015.8 0 0
1757529000  (2025-09-11 04:30) 7.7 5 5.5 86 1.1 S 8 11 1911015.6 0 0
1757527200  (2025-09-11 04:00) 7.6 5.2 5.4 86 1.1 S 7 9 1881015.3 0 0
1757525400  (2025-09-11 03:30) 7.6 5 5.4 86 1.1 S 8 10 1861015 0 0
1757523600  (2025-09-11 03:00) 7.1 4.1 5.4 89 0.8 S 10 13 1861014.7 0 0
1757521800  (2025-09-11 02:30) 6.8 3.4 5.1 89 0.8 S 12 14 1901014.4 0 0
1757520000  (2025-09-11 02:00) 6.6 3.1 4.8 88 0.8 SSW 12 15 1921014.4 0 0
1757518200  (2025-09-11 01:30) 6.7 3.2 4.6 86 1 S 12 15 1881014.6 0 0
1757516400  (2025-09-11 01:00) 6.8 3.2 4.6 86 1.1 S 12 15 1861014.5 0 0
1757514600  (2025-09-11 00:30) 6.9 3.2 4.5 85 1.1 S 12 15 1791014.3 0 0
1757512800  (2025-09-11 00:00) 7 3.6 5 87 1 S 12 15 1821014.2 0 0

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