MessMate Farm, Vic, Australia

16/12/25 17:59: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-12-16 17:04 23.2 22 10.4 44 7.1 SE 7 8 1451021.4 0 0


Historical Observations for the date of 2025-12-16

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-12-16          7.7 (24) 5.2 (23.4) 3.9 (11.8) 40 (79) SSE 0 (17) 0 (25) 1571021.2 (1023.7) 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
°
1765864800  (2025-12-16 17:00) 23.2 21.5 9.8 43 7.3 SSE 8 11 1521021.3 0 0
1765863000  (2025-12-16 16:30) 23.6 22.1 10.3 43 7.4 SSE 9 12 1481021.3 0 0
1765861200  (2025-12-16 16:00) 23.5 22.1 10.5 44 7.2 SE 8 11 1411021.5 0 0
1765859400  (2025-12-16 15:30) 23.2 21.6 10.5 45 7 SE 9 12 1451021.6 0 0
1765857600  (2025-12-16 15:00) 22.4 20.7 10.4 47 6.7 SE 10 13 1361021.8 0 0
1765855800  (2025-12-16 14:30) 22.2 20.5 10.3 47 6.6 SE 10 13 1421022 0 0
1765854000  (2025-12-16 14:00) 22.3 20.6 10.3 47 6.6 SE 9 13 1411022.3 0 0
1765852200  (2025-12-16 13:30) 22.1 20.5 10.2 47 6.5 SSE 8 11 1511022.6 0 0
1765850400  (2025-12-16 13:00) 21.6 20.3 10.3 49 6.2 SE 7 10 1401023.1 0 0
1765848600  (2025-12-16 12:30) 20.7 19.3 10.1 51 5.8 SE 7 10 1461023.3 0 0
1765846800  (2025-12-16 12:00) 19.2 17.5 9.7 54 5.1 SSE 9 12 1481023.2 0 0
1765845000  (2025-12-16 11:30) 18.1 16.1 9.1 56 4.8 SE 9 13 1371023.3 0 0
1765843200  (2025-12-16 11:00) 17.4 15.3 8.5 56 4.6 SE 9 12 1321023.4 0 0
1765841400  (2025-12-16 10:30) 16.3 14 7.9 58 4.3 SE 10 14 1441023.4 0 0
1765839600  (2025-12-16 10:00) 15.7 13.2 7.6 58 4.1 SSE 10 14 1611023.4 0 0
1765837800  (2025-12-16 09:30) 15.1 12.4 7.3 60 4 SSE 11 14 1471023.4 0 0
1765836000  (2025-12-16 09:00) 14.2 11.3 6.5 60 3.8 SSE 11 14 1511023.6 0 0
1765834200  (2025-12-16 08:30) 13.5 10.9 6.5 63 3.4 SE 9 13 1411023.5 0 0
1765832400  (2025-12-16 08:00) 12.5 10.2 6.4 67 3 SE 8 10 1451023.3 0 0
1765830600  (2025-12-16 07:30) 12.5 10.3 6.4 67 3 SE 7 9 1431023 0 0
1765828800  (2025-12-16 07:00) 11 9.1 6.1 72 2.4 SSE 6 7 1471022.7 0 0
1765827000  (2025-12-16 06:31) 10.2 8.1 5.8 75 2.1 S 5 8 1751022.1 0 0
1765825200  (2025-12-16 06:00) 9.9 7.5 5.8 76 2 SSE 8 10 1611021.9 0 0
1765823400  (2025-12-16 05:30) 10.1 8 6 76 2 SSE 6 8 1601021.9 0 0
1765821600  (2025-12-16 05:00) 10 7.9 6 76 2 SSE 6 8 1541021.6 0 0
1765819800  (2025-12-16 04:30) 10 8 5.7 75 2.1 SSE 5 7 1561021.6 0 0
1765818000  (2025-12-16 04:00) 9.9 7.8 5.5 74 2.1 SSE 6 7 1581021.6 0 0
1765816200  (2025-12-16 03:30) 9.6 7.4 5.4 75 2 SSE 6 7 1631021.6 0 0
1765814400  (2025-12-16 03:00) 9 7.1 5 76 1.9 S 4 6 1851021.7 0 0
1765812600  (2025-12-16 02:30) 8.3 6.6 4.6 78 1.7 SSW 3 4 2071021.7 0 0
1765810800  (2025-12-16 02:00) 7.8 5.7 4.2 78 1.7 SSW 4 6 1931021.6 0 0
1765809000  (2025-12-16 01:30) 8 5.8 4.1 76 1.8 S 5 6 1811021.6 0 0
1765807200  (2025-12-16 01:00) 8.3 5.9 4.1 75 1.9 S 5 7 1821021.8 0 0
1765805400  (2025-12-16 00:30) 8.5 6.3 4.1 73 2 S 5 6 1821022 0 0
1765803600  (2025-12-16 00:00) 8.7 6.5 4.3 74 2 S 5 7 1831022 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