MessMate Farm, Vic, Australia

15/03/26 19:00: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-03-15 18:04 27.5 27.5 9.7 33 9.7 W 0 0 2781020.3 0 0


Using todays date.

Historical Observations for the date of 2026-03-15

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-03-15          11.6 (33) 10.3 (32.8) 5.8 (10.2) 21 (73) SSE 0 (11) 0 (16) 1491020.1 (1025.1) 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
°
1773558000  (2026-03-15 18:00) 27.5 27.4 9.5 32 9.8 W 0 0 2781020.3 0 0
1773556200  (2026-03-15 17:30) 27.5 27 8.2 30 10.1 W 0 1 2781020.3 0 0
1773554400  (2026-03-15 17:00) 28 26.5 7.5 27 10.5 W 5 6 2801020.3 0 0
1773552600  (2026-03-15 16:30) 29 27.8 7.1 25 11.1 NW 3 4 3061020.3 0 0
1773550800  (2026-03-15 16:00) 29.2 28.4 7.9 26 11 NW 2 3 3041020.5 0 0
1773549000  (2026-03-15 15:30) 31.4 30.3 8.1 24 12.1 ESE 3 6 1201020.8 0 0
1773547200  (2026-03-15 15:00) 32 31.3 8.2 23 12.5 W 1 3 2701021.2 0 0
1773545400  (2026-03-15 14:30) 30.8 29.7 8 24 11.9 S 3 6 1701021.6 0 0
1773543600  (2026-03-15 14:00) 30.6 29.6 8.1 25 11.7 W 3 5 2711022.1 0 0
1773541800  (2026-03-15 13:30) 30.7 29.8 8.3 25 11.7 W 2 4 2721022.3 0 0
1773540000  (2026-03-15 13:00) 28.9 27.9 8.3 28 10.8 SW 3 5 2171022.7 0 0
1773538200  (2026-03-15 12:30) 27.7 26.6 7.8 28 10.3 SW 3 5 2241023.1 0 0
1773536400  (2026-03-15 12:00) 29.7 28.5 7.8 25 11.3 W 4 6 2591023.4 0 0
1773534600  (2026-03-15 11:30) 29 27.8 7.3 26 11 SSE 3 5 1601023.7 0 0
1773532800  (2026-03-15 11:00) 28 26.7 7.1 27 10.6 SW 3 6 2321023.8 0 0
1773531000  (2026-03-15 10:30) 27.8 26.2 6.9 27 10.5 ESE 4 7 1161023.8 0 0
1773529200  (2026-03-15 10:00) 26.6 24.8 7.7 30 9.7 NE 6 9 461023.7 0 0
1773527400  (2026-03-15 09:30) 24.9 23.4 8.3 35 8.7 ENE 6 8 601023.8 0 0
1773525600  (2026-03-15 09:00) 23.5 22.4 8.7 39 7.8 E 4 6 811023.8 0 0
1773523800  (2026-03-15 08:30) 23 22.7 9.6 43 7.3 E 1 2 931023.8 0 0
1773522000  (2026-03-15 08:00) 17.8 17 8.4 54 4.9 E 2 3 931023.6 0 0
1773520200  (2026-03-15 07:30) 13.8 12.6 7.3 65 3.3 E 3 4 931023.3 0 0
1773518400  (2026-03-15 07:00) 12.9 11.4 7 67 2.9 E 4 5 931023.2 0 0
1773516600  (2026-03-15 06:30) 12.8 11.3 7 68 2.9 E 4 5 931023.3 0 0
1773514800  (2026-03-15 06:00) 12.4 11.1 7 70 2.7 E 3 4 931023.3 0 0
1773513000  (2026-03-15 05:30) 12.8 12.3 7.6 70 2.7 E 0 0 931023.2 0 0
1773511200  (2026-03-15 05:00) 12.2 11.6 7.4 73 2.4 E 0 0 931022.9 0 0
1773509400  (2026-03-15 04:30) 13 12.4 7.6 70 2.7 E 0 0 931023 0 0
1773507600  (2026-03-15 04:00) 13.9 13 8.3 69 2.9 E 3 3 931023 0 0
1773505800  (2026-03-15 03:30) 13.7 13.2 8.4 70 2.7 E 1 1 931023.2 0 0
1773504000  (2026-03-15 03:00) 13.7 13.3 8.5 71 2.7 E 0 1 931023.3 0 0
1773502200  (2026-03-15 02:30) 14.1 13.2 8.6 69 2.9 E 3 4 931023.5 0 0
1773500400  (2026-03-15 02:00) 14.1 13 8.5 69 2.9 E 4 5 931023.8 0 0
1773498600  (2026-03-15 01:30) 14.5 13.5 8.6 68 3 E 3 4 931024.2 0 0
1773496800  (2026-03-15 01:00) 14.6 14 8.8 68 3 E 2 3 931024.5 0 0
1773495000  (2026-03-15 00:30) 14.6 13.9 8.7 67 3.1 E 2 3 931024.8 0 0
1773493200  (2026-03-15 00:00) 14.6 13.7 8.6 67 3.1 E 3 4 921024.9 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