MessMate Farm, Vic, Australia

06/11/25 18:54: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-11-06 18:04 20.9 20.5 8.4 45 6.6 NNE 0 0 261012.3 0 0


Using todays date.

Historical Observations for the date of 2025-11-06

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-11-06          5.4 (25.6) 3.4 (25) 3.7 (12.4) 34 (92) SSW 0 (13) 0 (18) 1941012.3 (1017.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
°
1762412400  (2025-11-06 18:00) 21 20.6 8.4 44 6.6 NNE 0 0 261012.3 0 0
1762410600  (2025-11-06 17:30) 21.2 20.8 8.1 43 6.8 NNE 0 0 321012.3 0 0
1762408800  (2025-11-06 17:00) 22 21.3 7.5 39 7.5 SSW 0 1 2131012.5 0 0
1762407000  (2025-11-06 16:30) 21.9 21.2 7.4 39 7.4 NW 1 2 3091012.7 0 0
1762405200  (2025-11-06 16:00) 21.1 20.5 7.8 42 6.9 NW 0 0 3131013.1 0 0
1762403400  (2025-11-06 15:30) 21.1 20 7.1 40 7.1 W 2 4 2751013.3 0 0
1762401600  (2025-11-06 15:00) 22.5 21.6 7.9 39 7.6 WNW 2 5 2831013.6 0 0
1762399800  (2025-11-06 14:30) 23.5 22.9 9.7 42 7.5 ESE 3 6 1211014 0 0
1762398000  (2025-11-06 14:00) 22.3 21.3 8.6 42 7.2 WNW 3 6 2831014.5 0 0
1762396200  (2025-11-06 13:30) 23.7 22.7 8.9 39 7.9 W 4 7 2711015.1 0 0
1762394400  (2025-11-06 13:00) 24.8 23.9 10.3 40 8 W 5 8 2641015.5 0 0
1762392600  (2025-11-06 12:30) 23.9 23 10.9 44 7.3 SW 6 9 2211015.9 0 0
1762390800  (2025-11-06 12:00) 23.2 22.1 10.8 46 7 S 7 11 1911016.2 0 0
1762389000  (2025-11-06 11:30) 22.7 21.8 10.8 47 6.7 SW 6 9 2181016.5 0 0
1762387200  (2025-11-06 11:00) 21.6 20.5 10.5 50 6.1 SW 6 9 2311016.6 0 0
1762385400  (2025-11-06 10:30) 21.2 20.3 10.5 51 5.9 W 6 8 2681016.5 0 0
1762383600  (2025-11-06 10:00) 20.2 19.1 9.9 52 5.6 S 6 8 1801016.8 0 0
1762381800  (2025-11-06 09:30) 19.7 18.4 9.1 50 5.7 ESE 6 8 1091016.8 0 0
1762380000  (2025-11-06 09:00) 19.4 18.1 8.6 50 5.7 SE 5 7 1271017.1 0 0
1762378200  (2025-11-06 08:30) 16.2 14.7 9 63 3.8 ENE 6 8 681017 0 0
1762376400  (2025-11-06 08:00) 14.1 12.3 8.7 70 2.8 NE 7 9 421016.7 0 0
1762374600  (2025-11-06 07:30) 12.8 11.1 8.3 74 2.3 ENE 7 8 661016.5 0 0
1762372800  (2025-11-06 07:00) 8 6.4 6.5 90 0.8 E 4 5 951016.5 0 0
1762371000  (2025-11-06 06:30) 6.5 5 5.1 91 0.7 SSE 2 3 1531016.2 0 0
1762369200  (2025-11-06 06:00) 5.6 4.2 4.2 90 0.7 SSE 1 1 1541016.1 0 0
1762367400  (2025-11-06 05:30) 5.8 4.3 4.4 90 0.7 SSE 1 2 1541016.1 0 0
1762365600  (2025-11-06 05:00) 5.6 4.2 4 90 0.7 SSE 0 1 1541016.2 0 0
1762363800  (2025-11-06 04:30) 5.7 4 4 89 0.8 SSE 2 3 1541016.6 0 0
1762362000  (2025-11-06 04:00) 6 4.5 4.3 89 0.8 SSE 1 1 1541016.8 0 0
1762360200  (2025-11-06 03:30) 6.2 5 4.6 90 0.8 SSE 0 0 1541016.7 0 0
1762358400  (2025-11-06 03:00) 6 4.7 4.2 88 0.9 WSW 0 0 2481016.4 0 0
1762356600  (2025-11-06 02:30) 6.5 5.3 4.6 88 0.9 WSW 0 0 2481016.4 0 0
1762354800  (2025-11-06 02:00) 7.2 6.1 5.2 87 1 WSW 0 0 2481016.8 0 0
1762353000  (2025-11-06 01:30) 7.5 6.5 5.6 88 0.9 WSW 0 0 2481017 0 0
1762351200  (2025-11-06 01:00) 7.4 6.2 5.1 85 1.1 WSW 0 0 2481017.2 0 0
1762349400  (2025-11-06 00:30) 8 7.1 5.7 85 1.1 WSW 0 0 2481017.1 0 0
1762347600  (2025-11-06 00:00) 8.7 7.7 5.9 83 1.3 WSW 0 0 2481017.1 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