MessMate Farm, Vic, Australia

05/07/25 16:17: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-07-05 16:04 13.3 8.2 3.9 53 4.3 NE 19 24 371015.9 0 0


Using todays date.

Historical Observations for the date of 2025-07-05

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-07-05          6.2 (14.7) 2.1 (11.9) 3.9 (6.2) 52 (92) NE 7 (20) 7 (31) 441015.9 (1019.2) 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
°
1751695200  (2025-07-05 16:00) 13.3 8.7 4 53 4.3 NE 17 21 391015.9 0 0
1751693400  (2025-07-05 15:30) 13.6 9.5 4.4 54 4.3 NE 15 19 381016.1 0 0
1751691600  (2025-07-05 15:00) 13.9 9.9 4.4 53 4.4 NE 14 17 371016.3 0 0
1751689800  (2025-07-05 14:30) 13.9 10 4.8 54 4.3 NE 14 18 391016.4 0 0
1751688000  (2025-07-05 14:00) 13.9 10.1 4.9 55 4.3 NE 14 17 401016.6 0 0
1751686200  (2025-07-05 13:30) 13.7 9.7 5.1 56 4.1 NE 15 18 391016.9 0 0
1751684400  (2025-07-05 13:00) 13.9 10.4 5.3 56 4.1 NE 13 16 361017.3 0 0
1751682600  (2025-07-05 12:30) 13.8 10.5 5.3 57 4.1 NNE 11 14 321017.7 0 0
1751680800  (2025-07-05 12:00) 13.6 10.4 5.4 57 4 NNE 11 14 331018.2 0 0
1751679000  (2025-07-05 11:30) 12.6 9.3 5.3 61 3.5 NNE 12 15 281018.5 0 0
1751677200  (2025-07-05 11:00) 11.2 7.5 5.2 66 2.9 NE 14 17 361018.8 0 0
1751675400  (2025-07-05 10:30) 11.1 7.4 5.4 68 2.7 NE 14 17 411019 0 0
1751673600  (2025-07-05 10:00) 10.5 6.7 5.4 71 2.4 NE 14 17 421019 0 0
1751671800  (2025-07-05 09:30) 10.1 6.6 5.7 74 2.1 NE 13 17 461019 0 0
1751670000  (2025-07-05 09:00) 8.3 5.1 5.3 81 1.4 NE 11 14 491019 0 0
1751668200  (2025-07-05 08:30) 8 5 5.2 83 1.3 NE 10 12 531019 0 0
1751666400  (2025-07-05 08:00) 6.6 3.5 4.9 89 0.8 NE 10 12 481019 0 0
1751664600  (2025-07-05 07:30) 6.3 3.1 4.9 91 0.7 NE 10 13 491019 0 0
1751662800  (2025-07-05 07:00) 6.3 3.2 4.9 91 0.7 NE 10 12 471018.9 0 0
1751661000  (2025-07-05 06:30) 6.5 3.2 5 91 0.7 NE 11 14 491018.6 0 0
1751659200  (2025-07-05 06:00) 6.6 3.6 5.1 90 0.7 NE 10 12 461018.4 0 0
1751657400  (2025-07-05 05:30) 6.6 3.5 5.2 91 0.7 NE 10 13 481018.2 0 0
1751655600  (2025-07-05 05:00) 6.6 3.5 5.2 90 0.7 NE 10 13 501018.1 0 0
1751653800  (2025-07-05 04:30) 6.9 3.8 5.2 89 0.8 NE 10 13 511018.3 0 0
1751652000  (2025-07-05 04:00) 7 4.1 5.3 89 0.8 NE 9 12 511018.3 0 0
1751650200  (2025-07-05 03:30) 7.1 4 5.6 90 0.7 NE 11 13 501018.2 0 0
1751648400  (2025-07-05 03:00) 7 3.9 5.7 91 0.6 NE 11 13 481018.3 0 0
1751646600  (2025-07-05 02:30) 6.9 3.6 5.6 91 0.6 NE 11 14 501018.4 0 0
1751644800  (2025-07-05 02:00) 6.9 3.6 5.4 90 0.7 NE 11 14 531018.2 0 0
1751643000  (2025-07-05 01:30) 7.2 3.9 5.1 86 1 NE 11 14 461018.1 0 0
1751641200  (2025-07-05 01:00) 7.4 4 5.2 86 1.1 NE 12 15 401018.1 0 0
1751639400  (2025-07-05 00:30) 7.6 4.3 5.5 87 1 NE 11 14 381018.4 0 0
1751637600  (2025-07-05 00:00) 7.8 4.6 5.9 88 0.9 NE 11 14 421018.5 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