MessMate Farm, Vic, Australia

14/09/25 16:16: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-14 16:04 18.6 17.5 7.1 47 5.8 N 2 4 3541017.9 0 0


Using todays date.

Historical Observations for the date of 2025-09-14

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-14          6.8 (22.1) 4.6 (21) 4.5 (9.9) 37 (88) WSW 0 (12) 0 (17) 2501017.7 (1024.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
°
1757829600  (2025-09-14 16:00) 18.5 17 6.9 47 5.9 NNW 4 6 3461018 0 0
1757827800  (2025-09-14 15:30) 19.7 18.1 7.1 44 6.4 W 5 8 2771017.9 0 0
1757826000  (2025-09-14 15:00) 20.7 19 7 41 7 NW 5 7 3091018.1 0 0
1757824200  (2025-09-14 14:30) 20.9 19.5 7.7 43 6.8 WNW 5 7 2991018.7 0 0
1757822400  (2025-09-14 14:00) 20.6 19.1 7 42 6.9 NW 4 7 3121019 0 0
1757820600  (2025-09-14 13:30) 20.4 18.8 6.9 42 6.8 NNW 5 8 3291019.5 0 0
1757818800  (2025-09-14 13:00) 20 18.4 7.1 43 6.5 W 5 7 2691020 0 0
1757817000  (2025-09-14 12:30) 19.1 17.4 6.7 44 6.2 NNW 5 8 3301020.4 0 0
1757815200  (2025-09-14 12:00) 18.1 16.4 6.9 48 5.6 NNW 5 8 3291021 0 0
1757813400  (2025-09-14 11:30) 17.8 16.1 6.7 48 5.6 NW 5 8 3251021.4 0 0
1757811600  (2025-09-14 11:00) 19.3 17.9 8.2 49 5.8 NNW 5 8 3281021.7 0 0
1757809800  (2025-09-14 10:30) 18.5 17.3 8.6 52 5.2 NW 5 8 3141022.1 0 0
1757808000  (2025-09-14 10:00) 17.6 16.5 8.4 55 4.8 W 4 7 2741022.5 0 0
1757806200  (2025-09-14 09:30) 17.4 16.1 8.5 56 4.6 SW 5 8 2221022.8 0 0
1757804400  (2025-09-14 09:00) 17.5 16.4 8.1 54 4.9 S 4 6 1871022.9 0 0
1757802600  (2025-09-14 08:30) 16.9 15.1 8 56 4.6 SE 7 9 1271022.7 0 0
1757800800  (2025-09-14 08:00) 15.9 14.1 7.6 58 4.2 NE 6 8 361022.6 0 0
1757799000  (2025-09-14 07:30) 12.6 10.9 7.1 70 2.7 NE 5 7 431022.8 0 0
1757797200  (2025-09-14 07:00) 8.4 6.4 5.4 82 1.4 NE 5 6 551022.9 0 0
1757795400  (2025-09-14 06:30) 7.7 5.7 4.9 82 1.3 ESE 4 6 1151022.9 0 0
1757793600  (2025-09-14 06:00) 7.4 5.5 4.9 84 1.2 W 4 5 2681022.9 0 0
1757791800  (2025-09-14 05:30) 7.1 5.2 4.7 85 1.1 W 4 5 2681022.9 0 0
1757790000  (2025-09-14 05:00) 7.4 5.7 4.9 84 1.2 W 3 4 2681022.9 0 0
1757788200  (2025-09-14 04:30) 7.4 5.4 5.1 85 1.1 W 4 5 2681022.8 0 0
1757786400  (2025-09-14 04:00) 7.4 5.8 5.1 86 1.1 W 2 3 2681022.8 0 0
1757784600  (2025-09-14 03:30) 7.8 6.8 5.5 85 1.1 W 0 0 2681022.8 0 0
1757782800  (2025-09-14 03:00) 8.1 7.1 5.9 86 1.1 W 0 0 2681023 0 0
1757781000  (2025-09-14 02:30) 8.2 7.3 6.1 87 1 W 0 0 2681023.2 0 0
1757779200  (2025-09-14 02:00) 8.1 7.2 6 86 1.1 W 0 0 2681023.3 0 0
1757777400  (2025-09-14 01:30) 7.6 6.5 5.4 86 1.1 W 0 0 2681023.6 0 0
1757775600  (2025-09-14 01:00) 7.1 6 5.2 87 0.9 W 0 0 2681023.8 0 0
1757773800  (2025-09-14 00:30) 6.9 5.7 4.7 86 1.1 W 0 0 2681024 0 0
1757772000  (2025-09-14 00:00) 7.7 6.6 5.3 85 1.1 W 0 0 2681024.1 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