MessMate Farm, Vic, Australia

11/09/25 02:36: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 02:04 6.6 3 4.7 88 0.9 SSW 12 14 1971014.6 0 0


Historical Observations for the date of 2025-09-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
°
2025-09-10          5.7 (12.8) 3 (10.7) 1.9 (6.7) 58 (89) SSE 0 (21) 0 (30) 1661010.1 (1014.5) 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
°
1757512800  (2025-09-11 00:00) 7 3.6 5 87 1 S 12 15 1821014.2 0 0
1757511000  (2025-09-10 23:30) 7.1 3.6 5 87 1 S 12 16 1821014.1 0 0
1757509200  (2025-09-10 23:00) 7.2 3.8 4.9 85 1.1 S 11 14 1811014.1 0 0
1757507400  (2025-09-10 22:30) 7.1 3.8 5 86 1 S 11 14 1811014 0 0
1757505600  (2025-09-10 22:00) 7.1 3.8 4.9 86 1 S 11 13 1801013.8 0 0
1757503800  (2025-09-10 21:30) 7.1 3.8 4.9 86 1.1 S 11 15 1781013.8 0 0
1757502000  (2025-09-10 21:00) 7.1 4 5.2 88 0.9 S 11 14 1791013.5 0 0
1757500200  (2025-09-10 20:30) 7.1 3.9 4.9 86 1.1 S 11 14 1761013.2 0 0
1757498400  (2025-09-10 20:00) 7.3 4 4.8 84 1.2 S 11 14 1711012.8 0 0
1757496600  (2025-09-10 19:30) 7.4 4.2 5.2 86 1 S 11 14 1781012.5 0 0
1757494800  (2025-09-10 19:00) 7.2 4.3 5.2 87 1 S 10 12 1721012.4 0 0
1757493000  (2025-09-10 18:30) 7.6 5 5.4 86 1.1 S 8 11 1781012 0 0
1757491200  (2025-09-10 18:00) 8 5 4.8 80 1.5 S 9 12 1771011.7 0 0
1757489400  (2025-09-10 17:30) 8.9 6.1 5.2 78 1.8 S 9 11 1761011.5 0 0
1757487600  (2025-09-10 17:00) 10.1 7.1 5.2 72 2.3 S 10 13 1741011.2 0 0
1757485800  (2025-09-10 16:30) 9.4 6.3 5.5 76 1.9 S 11 14 1781010.8 0 0
1757484000  (2025-09-10 16:00) 10.2 7.4 5.4 72 2.3 SSE 9 11 1661010.7 0 0
1757482200  (2025-09-10 15:30) 10.6 7.9 5.6 72 2.4 SSE 9 12 1651010.7 0 0
1757480400  (2025-09-10 15:00) 10.9 8.1 5.8 71 2.5 SSE 9 12 1601010.4 0 0
1757478600  (2025-09-10 14:30) 10.8 7.6 5.1 68 2.7 S 11 15 1711010.3 0 0
1757476800  (2025-09-10 14:00) 11 8.2 5.2 67 2.8 SSE 9 12 1581010.3 0 0
1757475000  (2025-09-10 13:30) 11.3 8.1 5.2 66 2.9 SSE 11 15 1561010.2 0 0
1757473200  (2025-09-10 13:00) 10.8 8.5 5.8 71 2.4 SSE 7 10 1591010.3 0 0
1757471400  (2025-09-10 12:30) 10.9 8.4 6.1 72 2.3 SSE 8 11 1541010.6 0 0
1757469600  (2025-09-10 12:00) 10.8 8 5.8 71 2.4 SSE 10 13 1621010.8 0 0
1757467800  (2025-09-10 11:30) 11.7 8.2 5.4 66 3 SSE 13 18 1481011.1 0 0
1757466000  (2025-09-10 11:00) 11.6 7.9 5.3 66 3 SSE 13 17 1491011.3 0 0
1757464200  (2025-09-10 10:30) 11.3 8.3 5.7 68 2.7 SE 10 15 1451011.4 0 0
1757462400  (2025-09-10 10:00) 11.1 7.6 5.6 69 2.7 SSE 13 16 1571011.2 0 0
1757460600  (2025-09-10 09:30) 10.8 7.9 5.6 70 2.5 SSE 10 13 1561011.8 0 0
1757458800  (2025-09-10 09:00) 11.1 8.1 5.2 67 2.8 SSE 10 14 1471012.3 0 0
1757457000  (2025-09-10 08:30) 10 7.5 5.3 72 2.3 SSE 7 10 1601012.7 0 0
1757455200  (2025-09-10 08:00) 9.4 7.2 4.8 73 2.2 SSE 5 7 1641012.8 0 0
1757453400  (2025-09-10 07:30) 8.3 5.5 4.7 78 1.7 SSE 8 10 1601012.4 0 0
1757451600  (2025-09-10 07:00) 7.3 4.6 4.3 81 1.4 SSE 8 10 1601012.2 0 0
1757449800  (2025-09-10 06:30) 7 4.5 4 81 1.4 SSE 6 8 1661012.2 0 0
1757448000  (2025-09-10 06:00) 6.5 3.8 3.9 84 1.2 SSE 7 9 1631012 0 0
1757446200  (2025-09-10 05:30) 6.4 3.8 3.5 82 1.3 S 6 7 1781012.3 0 0
1757444400  (2025-09-10 05:00) 6.6 4.7 3.2 79 1.5 S 2 3 1821012.6 0 0
1757442600  (2025-09-10 04:30) 6.6 4.1 3 78 1.6 S 5 6 1911012.8 0 0
1757440800  (2025-09-10 04:00) 6.6 4.2 2.8 77 1.6 S 4 6 1811012.9 0 0
1757439000  (2025-09-10 03:30) 6.5 4 2.8 77 1.6 S 5 6 1841012.9 0 0
1757437200  (2025-09-10 03:00) 6.3 4.2 2.8 78 1.5 S 3 4 1751013.2 0 0
1757435400  (2025-09-10 02:30) 6.1 4.2 2.2 76 1.7 SSE 1 2 1641013.3 0 0
1757433600  (2025-09-10 02:00) 6.8 4.9 2.5 74 1.9 SSE 1 2 1661013.5 0 0
1757431800  (2025-09-10 01:30) 6.3 4.2 2.2 75 1.8 SSE 2 3 1591013.9 0 0
1757430000  (2025-09-10 01:00) 6.7 4.6 2.2 73 2 SE 3 4 1451014 0 0
1757428200  (2025-09-10 00:30) 6.9 4.6 2.1 72 2 SE 3 5 1301014.2 0 0
1757426400  (2025-09-10 00:00) 6.7 4 2.2 73 1.9 SE 5 7 1331014.3 0 0

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