MessMate Farm, Vic, Australia

11/04/26 22:34: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-11 22:04 8.9 6.5 6 82 1.4 SW 8 10 2251012.9 2.9 2.6


Historical Observations for the date of 2026-04-11

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-11          3.9 (14.6) 1.6 (11.3) 1.6 (9.2) 50 (88) W 0 (30) 0 (46) 2761010.9 (1013.3) 2.9 2.6

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
°
1775908800  (2026-04-11 22:00) 8.9 6.4 6 82 1.4 SW 8 10 2361012.9 2.9 2.6
1775907000  (2026-04-11 21:30) 8.6 5.8 5.5 81 1.5 W 9 12 2681012.9 2.9 2.6
1775905200  (2026-04-11 21:00) 8.6 5.7 5.8 83 1.4 W 10 13 2621012.8 2.9 2.6
1775903400  (2026-04-11 20:30) 8.5 5.4 6 85 1.2 WSW 11 14 2591012.6 2.9 2.6
1775901600  (2026-04-11 20:00) 8 5.4 5.9 86 1.1 W 9 11 2641012.7 2.9 2.6
1775899800  (2026-04-11 19:30) 8.1 4.1 5.8 85 1.2 WSW 16 20 2571012.6 2.9 2.6
1775898000  (2026-04-11 19:00) 8.5 4.5 6.4 86 1.1 WSW 17 21 2531012.5 2.6 2.1
1775896200  (2026-04-11 18:30) 9 5.3 6.4 84 1.3 WSW 14 18 2531012.2 2.3 2.1
1775894400  (2026-04-11 18:00) 9.2 5.2 6.2 81 1.5 WSW 16 20 2571012 2.3 2.1
1775892600  (2026-04-11 17:30) 9.6 6.5 6.9 83 1.4 W 13 16 2601012 2.3 2.1
1775890800  (2026-04-11 17:00) 10.3 7.6 7.2 81 1.6 W 11 13 2761011.6 0.6 1.1
1775889000  (2026-04-11 16:30) 12.7 8.8 5.4 61 3.5 W 14 18 2741011.4 0.6 0.5
1775887200  (2026-04-11 16:00) 13.2 8.2 5.2 58 3.8 W 20 25 2791011.3 0 0
1775885400  (2026-04-11 15:30) 12.8 8.4 5.8 62 3.4 W 18 22 2741011.2 0 0
1775883600  (2026-04-11 15:00) 11.1 7.1 7 76 2 W 17 21 2661011.5 0 0
1775881800  (2026-04-11 14:30) 12.7 7.2 4.4 57 3.8 W 22 27 2651011.2 0 0
1775880000  (2026-04-11 14:00) 13.8 9.6 4.5 53 4.4 W 15 19 2781011.1 0 0
1775878200  (2026-04-11 13:30) 13.5 9.1 4.7 55 4.1 W 16 20 2601011.3 0 0
1775876400  (2026-04-11 13:00) 13.5 8.5 4.1 53 4.3 W 19 24 2811011.2 0 0
1775874600  (2026-04-11 12:30) 14 9.7 4.9 54 4.3 WNW 17 21 2891011.6 0 0
1775872800  (2026-04-11 12:00) 13.2 8.3 4.5 56 4 WNW 19 23 2831012.1 0 0
1775871000  (2026-04-11 11:30) 12.6 8.1 4.7 59 3.7 WNW 17 21 2841012.5 0 0
1775869200  (2026-04-11 11:00) 12.4 8.2 5 61 3.5 WNW 16 19 2901012.6 0 0
1775867400  (2026-04-11 10:30) 12.2 8.4 5.1 62 3.4 WNW 14 18 2881012.7 0 0
1775865600  (2026-04-11 10:00) 11.5 8.6 5.5 66 2.9 WNW 10 13 2981012.9 0 0
1775863800  (2026-04-11 09:30) 10.9 8.3 5.4 69 2.6 WNW 8 11 2991013.1 0 0
1775862000  (2026-04-11 09:00) 11.1 9.2 5.7 70 2.6 NW 4 8 3071013.1 2.3 2.1
1775860200  (2026-04-11 08:30) 9.5 8 5.7 78 1.8 NW 2 5 3051013 2.3 2.1
1775858400  (2026-04-11 08:00) 7.6 6.1 5.2 85 1.2 NW 2 4 3101013 2.3 2.1
1775856600  (2026-04-11 07:30) 5.8 4.4 3.8 87 0.9 NW 1 2 3081012.7 2.3 2.1
1775854800  (2026-04-11 07:00) 4.4 2.8 2.4 87 0.9 NW 0 1 3081012.5 2.3 2.1
1775853000  (2026-04-11 06:30) 4 2.3 1.8 86 0.9 NW 0 0 3081012.4 2.3 2.1
1775851200  (2026-04-11 06:00) 4.3 2.6 1.9 84 1 NW 0 1 3081012.4 2.3 2.1
1775849400  (2026-04-11 05:30) 5.4 3.5 2.5 82 1.3 WNW 1 3 2971012.4 2.3 2.1
1775847600  (2026-04-11 05:00) 5 2.4 2.4 84 1.1 W 5 7 2751012.2 1.9 2.1
1775845800  (2026-04-11 04:30) 4.9 3.1 2.5 85 1 W 1 2 2651012.1 1.9 2.1
1775844000  (2026-04-11 04:00) 5 2.8 2.6 84 1.1 W 3 5 2641012 1.9 2.1
1775842200  (2026-04-11 03:30) 5 2.9 2.5 84 1.1 W 3 3 2641012.1 1.9 2.1
1775840400  (2026-04-11 03:00) 5.6 4.1 3 83 1.2 W 0 0 2641012.1 1.9 2.1
1775838600  (2026-04-11 02:30) 6.4 4.5 3.4 81 1.3 W 2 3 2641012.3 1.9 2.1
1775836800  (2026-04-11 02:00) 7.1 4.4 3.9 80 1.5 W 7 9 2641012.5 1.9 2.1
1775835000  (2026-04-11 01:30) 7.5 4.8 4.4 81 1.4 W 7 9 2651012.6 1.9 2.1
1775833200  (2026-04-11 01:00) 6.9 4.5 4.2 83 1.2 W 5 7 2631012.7 1.9 2.1
1775831400  (2026-04-11 00:30) 7.2 5.2 4.2 81 1.4 W 3 4 2631012.6 1.9 2.1
1775829600  (2026-04-11 00:00) 8.3 6.4 5.1 80 1.5 W 4 5 2631012.6 1.9 2.1

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