MessMate Farm, Vic, Australia

08/02/26 17:12: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-08 17:04 21.9 22.5 16.1 70 3.6 ESE 7 10 1091012.8 4.5 3.7


Using todays date.

Historical Observations for the date of 2026-02-08

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-08          17.7 (36.3) 17.5 (37.4) 9.2 (17.9) 25 (78) ESE 0 (19) 0 (28) 1051012.7 (1017.7) 4.5 3.7

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
°
1770530400  (2026-02-08 17:00) 21.8 22.9 16.3 71 3.5 ESE 5 10 1071012.7 4.5 3.7
1770528600  (2026-02-08 16:30) 22.1 22.6 16.8 72 3.3 SE 9 13 1241013.1 4.5 3.7
1770526800  (2026-02-08 16:00) 23.3 24 17 68 3.9 SE 9 12 1431013.4 3.9 3.2
1770525000  (2026-02-08 15:30) 27.1 27.6 15.1 48 7.4 ESE 6 9 1171013.6 0 0
1770523200  (2026-02-08 15:00) 28.3 27.9 15.1 45 8.2 SE 10 13 1391013.9 0 0
1770521400  (2026-02-08 14:30) 33.6 33.3 13.6 30 12 S 8 10 1861014.1 0 0
1770519600  (2026-02-08 14:00) 35.1 34.9 13.1 27 13.1 W 6 9 2801014.6 0 0
1770517800  (2026-02-08 13:30) 33.5 33.6 13.4 30 12 W 5 8 2681015.1 0 0
1770516000  (2026-02-08 13:00) 33.6 34 13.5 30 12.1 NW 4 7 3101015.4 0 0
1770514200  (2026-02-08 12:30) 33.2 33.5 13.9 31 11.7 SW 5 8 2141015.9 0 0
1770512400  (2026-02-08 12:00) 31.9 32.2 14.2 34 10.8 W 5 9 2751016.3 0 0
1770510600  (2026-02-08 11:30) 31.6 32.1 14.4 36 10.5 SW 5 8 2281016.5 0 0
1770508800  (2026-02-08 11:00) 30.6 31 14.6 38 9.9 S 6 9 1731016.7 0 0
1770507000  (2026-02-08 10:30) 30.4 30.5 14.5 38 9.7 SE 7 9 1311016.7 0 0
1770505200  (2026-02-08 10:00) 28.9 28.8 14.6 42 8.8 ENE 8 11 701016.7 0 0
1770503400  (2026-02-08 09:30) 28.7 28.5 14.5 42 8.7 ENE 8 10 671016.9 0 0
1770501600  (2026-02-08 09:00) 27.2 27.1 14.5 46 7.7 NE 8 11 391017.2 0 0
1770499800  (2026-02-08 08:30) 24.6 24.2 14.4 53 6.2 NE 9 12 351017.3 0 0
1770498000  (2026-02-08 08:00) 21.7 21.1 14.3 63 4.4 NE 10 12 391017.1 0 0
1770496200  (2026-02-08 07:30) 19.3 18.6 14.1 72 3.1 NE 10 13 431016.8 0 0
1770494400  (2026-02-08 07:00) 18.5 18.5 14.2 76 2.6 NE 7 9 461016.4 0 0
1770492600  (2026-02-08 06:30) 18.1 18.4 14.1 77 2.4 NE 5 6 421016.2 0 0
1770490800  (2026-02-08 06:00) 17.9 18.2 13.9 78 2.4 NE 4 6 421015.9 0 0
1770489000  (2026-02-08 05:30) 18.1 18.4 13.8 76 2.6 NE 5 6 421016 0 0
1770487200  (2026-02-08 05:00) 18.7 18.5 13.8 74 2.9 NE 7 9 421016.1 0 0
1770485400  (2026-02-08 04:30) 19.2 18.8 13.7 70 3.3 NE 8 10 351016.4 0 0
1770483600  (2026-02-08 04:00) 19.6 18.9 13.3 67 3.7 NNE 9 11 311016.6 0 0
1770481800  (2026-02-08 03:30) 20.6 20 13 62 4.4 ENE 8 10 641016.6 0 0
1770480000  (2026-02-08 03:00) 20.9 20.1 12.9 60 4.7 ENE 9 11 601016.5 0 0
1770478200  (2026-02-08 02:30) 21.2 20.5 13 59 4.9 NE 8 10 471016.5 0 0
1770476400  (2026-02-08 02:00) 21.7 21.3 13 58 5.1 NE 7 9 451016.8 0 0
1770474600  (2026-02-08 01:30) 21.7 20.7 12.8 57 5.2 NE 9 11 481016.8 0 0
1770472800  (2026-02-08 01:00) 21.8 20.6 12.4 55 5.5 NE 10 12 491017.1 0 0
1770471000  (2026-02-08 00:30) 21.8 20.6 11.9 53 5.7 NE 9 11 421017.3 0 0
1770469200  (2026-02-08 00:00) 22.3 20.3 10.7 48 6.5 NE 12 14 411017.6 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