MessMate Farm, Vic, Australia

17/04/26 16:48: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-17 16:04 15.8 11.8 2.5 41 5.8 SSW 13 16 1951020.7 0.3 0.5


Using todays date.

Historical Observations for the date of 2026-04-17

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-17          9.1 (17.1) 6.8 (13.7) 1.5 (9.9) 38 (89) SW 2 (22) 3 (32) 2151016.2 (1020.7) 0.3 0.5

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
°
1776405600  (2026-04-17 16:00) 15.7 11.6 2.4 41 5.8 SW 13 17 2181020.7 0.3 0.5
1776403800  (2026-04-17 15:30) 15.3 11.2 2.3 41 5.6 SSW 13 17 1941020.6 0.3 0.5
1776402000  (2026-04-17 15:00) 14.8 10.8 3 45 5.3 SSW 13 17 1931020.2 0.3 0.5
1776400200  (2026-04-17 14:30) 15.6 11.5 2.5 41 5.7 SSW 13 17 2041020.1 0.3 0.5
1776398400  (2026-04-17 14:00) 15.9 11.2 2.7 41 5.8 SSW 16 20 2091020.1 0.3 0.5
1776396600  (2026-04-17 13:30) 15.6 11.6 4.7 48 5.1 SSW 15 19 2091020.2 0.3 0.5
1776394800  (2026-04-17 13:00) 14.7 11 5.6 54 4.4 SW 14 18 2151020.4 0.3 0.5
1776393000  (2026-04-17 12:30) 13.5 10.1 6.8 64 3.3 SSW 14 17 2061020.7 0.3 0.5
1776391200  (2026-04-17 12:00) 13.9 10.8 7.5 65 3.2 SW 12 16 2141020.6 0.3 0.5
1776389400  (2026-04-17 11:30) 12.3 9.5 7.6 73 2.4 SSW 11 15 2081020.6 0.3 0.5
1776387600  (2026-04-17 11:00) 12.9 9.6 7.4 69 2.8 SSW 14 17 1921020.4 0.3 0.5
1776385800  (2026-04-17 10:30) 12 9.1 7.9 76 2.1 SSW 12 15 1961020.3 0.3 0.5
1776384000  (2026-04-17 10:00) 12.9 9.9 7.5 70 2.7 SSW 12 16 2071019.9 0.3 0
1776382200  (2026-04-17 09:30) 13.4 11.1 8.4 72 2.6 SW 10 13 2241019.8 0.3 0
1776380400  (2026-04-17 09:00) 11.1 8.5 8.1 82 1.5 SW 11 14 2251019.4 1.3 0.5
1776378600  (2026-04-17 08:30) 11.6 9.8 8.6 81 1.6 SW 8 10 2231019 1 0.5
1776376800  (2026-04-17 08:00) 10.7 9.2 8.4 85 1.2 SSW 6 8 2031018.5 1 0.5
1776375000  (2026-04-17 07:30) 10.1 8.8 8 87 1.1 SW 5 6 2311018.1 1 0.5
1776373200  (2026-04-17 07:00) 9.4 7.9 7.4 87 1 SW 5 7 2281017.8 1 0.5
1776371400  (2026-04-17 06:30) 9.2 7.3 7.3 88 1 SSW 6 8 2081017.6 1 0.5
1776369600  (2026-04-17 06:00) 9.6 7.5 7.7 88 1 SW 8 10 2221017.3 1 0.5
1776367800  (2026-04-17 05:30) 10.2 8.2 8.3 88 1 SW 8 11 2281017.3 1 0.5
1776366000  (2026-04-17 05:00) 10.2 8.1 8.3 88 1 SW 9 12 2271017.1 1 0.5
1776364200  (2026-04-17 04:30) 10.6 8.7 8.7 88 1 SW 9 11 2161016.7 1 0.5
1776362400  (2026-04-17 04:00) 10.2 8.1 8.3 88 1 SW 9 11 2251016.4 0.3 0
1776360600  (2026-04-17 03:30) 9.9 8.2 7.7 86 1.2 SW 6 7 2301016.4 0.3 0
1776358800  (2026-04-17 03:00) 10.6 8.8 8.1 84 1.3 SW 7 9 2231016.6 0.3 0
1776357000  (2026-04-17 02:30) 11 9 8.4 84 1.4 SW 8 11 2161016.8 0.3 0
1776355200  (2026-04-17 02:00) 11.2 9.4 8.6 84 1.3 SW 8 10 2231016.8 0.3 0
1776353400  (2026-04-17 01:30) 11.4 9.1 8.7 83 1.4 SW 11 13 2211016.7 0.3 0
1776351600  (2026-04-17 01:00) 11.8 8.9 8.9 83 1.5 SW 14 18 2161016.6 0.3 0
1776349800  (2026-04-17 00:30) 12.5 9.7 9.4 81 1.7 SW 14 18 2211016.5 0.3 0
1776348000  (2026-04-17 00:00) 13 10.6 9.4 79 1.9 SW 12 15 2241016.6 0.3 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