MessMate Farm, Vic, Australia

25/04/26 23:02: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-04-25 22:04 16.2 12.7 3.9 44 5.6 ENE 11 16 641024.2 0 0


Historical Observations for the date of 2026-04-25

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-04-25          10 (28.3) 7.8 (26.4) 3.2 (7) 21 (72) E 0 (19) 1 (24) 871024 (1028.9) 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
°
1777118400  (2026-04-25 22:00) 16.2 13.2 3.9 44 5.6 ENE 9 11 601024.2 0 0
1777116600  (2026-04-25 21:30) 16.4 13.7 3.8 43 5.8 ENE 7 9 641024.2 0 0
1777114800  (2026-04-25 21:00) 16.3 13.8 3.7 43 5.7 ENE 6 8 611024.4 0 0
1777113000  (2026-04-25 20:30) 15.9 13.5 3.6 44 5.6 ENE 5 6 611024.6 0 0
1777111200  (2026-04-25 20:00) 16.5 13.7 3.4 41 5.9 NE 7 9 561024.6 0 0
1777109400  (2026-04-25 19:30) 17 14 3.3 40 6.1 NE 8 9 521024.7 0 0
1777107600  (2026-04-25 19:00) 16.9 14.2 3.4 40 6.1 NE 7 9 521024.8 0 0
1777105800  (2026-04-25 18:30) 17 14.3 3.6 41 6.1 NE 7 8 531024.7 0 0
1777104000  (2026-04-25 18:00) 17.5 15 3.6 40 6.3 NE 6 7 501024.6 0 0
1777102200  (2026-04-25 17:30) 18.5 16 3.7 37 6.7 NE 6 7 461024.2 0 0
1777100400  (2026-04-25 17:00) 21.8 19.2 3.6 30 8.2 NNE 6 7 321024.1 0 0
1777098600  (2026-04-25 16:30) 25.9 23.2 3.9 24 10 NNE 7 9 191024.2 0 0
1777096800  (2026-04-25 16:00) 24 21.5 3.8 27 9.2 SE 5 7 1401024.4 0 0
1777095000  (2026-04-25 15:30) 26 23.5 3.9 24 10.1 S 6 8 1761024.6 0 0
1777093200  (2026-04-25 15:00) 26.3 23.8 3.8 23 10.2 ESE 6 9 1181024.8 0 0
1777091400  (2026-04-25 14:30) 27.1 24.6 4.3 23 10.5 SSW 6 10 1921025 0 0
1777089600  (2026-04-25 14:00) 27 24.3 4.3 23 10.5 WSW 8 12 2371025.3 0 0
1777087800  (2026-04-25 13:30) 27.5 25.1 4.6 23 10.7 W 6 10 2621025.6 0 0
1777086000  (2026-04-25 13:00) 26.4 24.1 5.3 26 10.1 SW 7 10 2371026.2 0 0
1777084200  (2026-04-25 12:30) 27.2 24.9 5.8 26 10.4 SW 7 10 2191026.7 0 0
1777082400  (2026-04-25 12:00) 26.3 23.7 6.4 28 9.8 ENE 9 12 611027.2 0 0
1777080600  (2026-04-25 11:30) 25.9 23.8 6.4 29 9.6 SSE 7 9 1681027.7 0 0
1777078800  (2026-04-25 11:00) 25.1 23 6.2 30 9.3 WSW 6 9 2411028.1 0 0
1777077000  (2026-04-25 10:30) 23.9 21.5 6.4 32 8.7 ENE 8 11 631028.2 0 0
1777075200  (2026-04-25 10:00) 22.8 20.6 6.5 35 8.1 NE 7 9 431028.6 0 0
1777073400  (2026-04-25 09:30) 20.7 18.1 6.2 39 7.2 NNE 9 11 291028.7 0 0
1777071600  (2026-04-25 09:00) 18.9 16.2 6.1 43 6.3 NNE 9 12 261028.7 0 0
1777069800  (2026-04-25 08:30) 16.8 13.9 6.2 50 5.2 NNE 10 13 341028.8 0 0
1777068000  (2026-04-25 08:00) 14.9 11.9 6.1 56 4.3 NE 11 14 421028.6 0 0
1777066200  (2026-04-25 07:30) 12.7 9.9 5.8 63 3.3 NE 9 11 481028.5 0 0
1777064400  (2026-04-25 07:00) 10.3 8.2 5.2 71 2.4 WSW 5 6 2411028.3 0 0
1777062600  (2026-04-25 06:30) 11.3 9.6 5.2 66 2.9 NNE 3 4 261028.3 0 0
1777060800  (2026-04-25 06:00) 11.9 9.2 5.6 65 3 NE 8 11 441028.1 0 0
1777059000  (2026-04-25 05:30) 11.8 9.3 5.7 66 2.9 NE 8 10 471028.1 0 0
1777057200  (2026-04-25 05:00) 12.3 9.9 5.8 64 3.1 NE 8 10 521028 0 0
1777055400  (2026-04-25 04:30) 13 9.7 6 62 3.4 NE 12 15 461028 0 0
1777053600  (2026-04-25 04:00) 12.1 9.2 5.9 66 3 NE 10 13 511027.9 0 0
1777051800  (2026-04-25 03:30) 12.1 9.9 5.7 65 3.1 NE 6 8 511027.9 0 0
1777050000  (2026-04-25 03:00) 12.3 10 5.6 63 3.2 NE 7 8 561028 0 0
1777048200  (2026-04-25 02:30) 12.4 10.2 5.4 62 3.3 ENE 6 8 601028.1 0 0
1777046400  (2026-04-25 02:00) 12.7 10.4 5.3 61 3.5 NE 6 9 571028.1 0 0
1777044600  (2026-04-25 01:30) 12.8 10.1 5.1 60 3.6 NE 8 11 501028.1 0 0
1777042800  (2026-04-25 01:00) 13.2 10 4.9 57 3.9 NE 11 13 501028.1 0 0
1777041000  (2026-04-25 00:30) 13.7 10.2 4.8 55 4.2 NE 12 15 531028.2 0 0
1777039200  (2026-04-25 00:00) 13.9 11 4.8 54 4.3 NE 9 11 551028.5 0 0

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