MessMate Farm, Vic, Australia

10/04/26 16:14: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-04-10 16:04 15.5 12.3 6 53 4.6 WNW 11 16 2961010.3 0 0


Using todays date.

Historical Observations for the date of 2026-04-10

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-04-10          10.5 (17.1) 6.5 (15.7) 4.3 (12.6) 45 (89) WNW 0 (37) 0 (63) 2901008.1 (1012) 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
°
1775800800  (2026-04-10 16:00) 15.4 11.2 6.1 54 4.6 WNW 17 22 2921010.3 0 0
1775799000  (2026-04-10 15:30) 14.4 9.9 6.1 57 4.1 WNW 19 23 2821010.4 0 0
1775797200  (2026-04-10 15:00) 14.1 9.2 5.3 55 4.2 WNW 20 24 2901010.4 0 0
1775795400  (2026-04-10 14:30) 14.4 10.7 5.2 54 4.4 WNW 13 18 2971010.3 0 0
1775793600  (2026-04-10 14:00) 14.8 10.2 4.8 51 4.7 WNW 18 23 2911010.2 0 0
1775791800  (2026-04-10 13:30) 16.2 11.3 5.5 49 5.2 WNW 20 25 2931010.6 0 0
1775790000  (2026-04-10 13:00) 15.7 10.5 5.7 51 4.9 WNW 22 29 2921010.9 0 0
1775788200  (2026-04-10 12:30) 16 12.5 7.4 57 4.4 WNW 15 20 2921011 0 0
1775786400  (2026-04-10 12:00) 15.1 11 7.7 61 3.8 WNW 18 23 2841011.4 0 0
1775784600  (2026-04-10 11:30) 14.1 10.7 7.5 65 3.3 WNW 14 19 2971011.4 0 0
1775782800  (2026-04-10 11:00) 13.7 10.5 7.3 66 3.2 WNW 13 17 2941011.5 0 0
1775781000  (2026-04-10 10:30) 13.5 11.2 7.1 65 3.2 WNW 8 12 2991011.6 0 0
1775779200  (2026-04-10 10:00) 13.9 11.3 7.4 65 3.3 W 11 14 2771011.7 0 0
1775777400  (2026-04-10 09:30) 13 10.7 7.2 68 2.9 WNW 8 12 2991011.8 0 0
1775775600  (2026-04-10 09:00) 12 9.5 7.2 72 2.4 WNW 10 12 2911011.7 6.8 5.8
1775773800  (2026-04-10 08:30) 11.2 7.7 7 75 2.1 WNW 14 18 2881011.6 6.8 5.8
1775772000  (2026-04-10 08:00) 10.9 7.9 6.4 73 2.3 WNW 11 16 2961011.3 6.8 5.8
1775770200  (2026-04-10 07:30) 11.5 10 7.7 77 2 WNW 5 7 2921011 6.8 5.8
1775768400  (2026-04-10 07:00) 11 10.7 9 87 1.1 W 1 1 2631010.7 6.8 5.8
1775766600  (2026-04-10 06:30) 10.7 10.4 8.7 87 1.1 W 0 1 2631010.4 6.8 5.8
1775764800  (2026-04-10 06:00) 10.9 10.1 8.5 85 1.3 W 2 3 2631010.3 6.8 5.8
1775763000  (2026-04-10 05:30) 11.4 9.8 9.2 86 1.2 WSW 7 9 2501010.2 6.8 5.8
1775761200  (2026-04-10 05:00) 11.5 10.3 9.6 88 1.1 WSW 6 8 2411009.9 6.8 5.8
1775759400  (2026-04-10 04:30) 11.2 8.6 9.1 87 1.1 WSW 12 17 2481009.7 6.8 5.8
1775757600  (2026-04-10 04:00) 13 11.2 10.9 87 1.2 WNW 10 13 2881008.9 6.5 5.8
1775755800  (2026-04-10 03:30) 14.2 13.3 11.2 82 1.7 NW 6 10 3081008.5 5.8 5.3
1775754000  (2026-04-10 03:00) 14.5 14.7 12.1 85 1.4 NW 2 4 3161008.4 5.8 5.3
1775752200  (2026-04-10 02:30) 14.6 13.7 11.7 83 1.7 WNW 7 11 2981008.5 5.8 5.3
1775750400  (2026-04-10 02:00) 15.1 14.3 12.2 83 1.7 WNW 8 11 3031008.4 5.5 5.3
1775748600  (2026-04-10 01:30) 15.2 15 12.2 82 1.8 NW 5 8 3121008.4 5.5 5.3
1775746800  (2026-04-10 01:00) 14.8 14.9 12.3 85 1.5 NW 3 6 3091008.5 5.5 5.3
1775745000  (2026-04-10 00:30) 14.5 14.5 12.3 87 1.2 NNW 3 5 3311008.6 5.5 5.3
1775743200  (2026-04-10 00:00) 14.1 14 11.7 86 1.3 NNW 3 5 3311008.7 5.5 5.3

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