MessMate Farm, Vic, Australia

20/04/26 17:20: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-20 17:04 26.3 26 8.8 33 9.3 NW 0 0 3171024.4 0 0


Using todays date.

Historical Observations for the date of 2026-04-20

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-20          8.8 (28.4) 6.3 (28.4) 3.9 (10.8) 29 (74) SE 0 (10) 0 (12) 1311023.3 (1026.4) 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
°
1776668400  (2026-04-20 17:00) 26.7 26.5 8.9 33 9.5 NW 0 0 3171024.5 0 0
1776666600  (2026-04-20 16:30) 27.1 26.9 9.2 32 9.6 WNW 0 1 2871024.5 0 0
1776664800  (2026-04-20 16:00) 26.6 26.1 9 33 9.4 WSW 1 2 2381024.6 0 0
1776663000  (2026-04-20 15:30) 26.1 25.7 9.4 35 9 NE 1 2 391024.6 0 0
1776661200  (2026-04-20 15:00) 26.5 26 9.3 34 9.3 SW 2 3 2301024.6 0 0
1776659400  (2026-04-20 14:30) 26.9 26.4 9.3 33 9.5 S 2 4 1851024.6 0 0
1776657600  (2026-04-20 14:00) 27 26.4 9 32 9.6 WNW 2 3 2891024.6 0 0
1776655800  (2026-04-20 13:30) 26.8 26.4 9 33 9.5 WNW 1 2 3001024.7 0 0
1776654000  (2026-04-20 13:00) 26.6 25.9 8.6 32 9.5 WNW 2 4 2941025 0 0
1776652200  (2026-04-20 12:30) 26.2 25.4 8.1 32 9.4 WNW 2 3 2921025.3 0 0
1776650400  (2026-04-20 12:00) 25.1 23.6 7.4 33 9 WNW 4 7 2931025.7 0 0
1776648600  (2026-04-20 11:30) 25.3 24.3 7.2 31 9.2 SW 2 3 2271026 0 0
1776646800  (2026-04-20 11:00) 25 24 6.9 31 9.1 NW 1 2 3141026 0 0
1776645000  (2026-04-20 10:30) 24.1 22.9 6.1 32 8.8 NW 1 3 3061026.1 0 0
1776643200  (2026-04-20 10:00) 23.6 22.2 5.8 32 8.6 S 2 4 1791026.2 0 0
1776641400  (2026-04-20 09:30) 23.5 22.5 6 32 8.6 NE 1 1 491026.3 0 0
1776639600  (2026-04-20 09:00) 23 21.8 5.6 33 8.4 NE 1 1 491026.4 0 0
1776637800  (2026-04-20 08:30) 22.3 21.3 6 35 8 NE 1 1 491026.3 0 0
1776636000  (2026-04-20 08:00) 18.1 18 9.2 57 4.6 NE 0 0 501026.1 0 0
1776634200  (2026-04-20 07:30) 11.3 10.3 5.8 69 2.7 NE 0 0 491025.8 0 0
1776632400  (2026-04-20 07:00) 9.8 7.9 4.3 69 2.5 NE 4 4 491025.2 0 0
1776630600  (2026-04-20 06:30) 9.6 7.4 4 68 2.6 NE 5 5 491025 0 0
1776628800  (2026-04-20 06:00) 9.6 7.3 4.1 69 2.5 NE 5 6 491024.6 0 0
1776627000  (2026-04-20 05:30) 9.3 7.1 4.4 71 2.2 NE 5 6 491024.6 0 0
1776625200  (2026-04-20 05:00) 9.1 6.7 4.4 73 2.1 NE 6 7 481024.3 0 0
1776623400  (2026-04-20 04:30) 9.2 7 4.5 73 2.1 NE 5 5 441024.1 0 0
1776621600  (2026-04-20 04:00) 9.6 7.5 4.5 71 2.3 NE 5 5 441023.7 0 0
1776619800  (2026-04-20 03:30) 9.9 7.7 4.6 70 2.5 NE 5 6 441023.6 0 0
1776618000  (2026-04-20 03:00) 10.5 8.4 4.6 67 2.7 NE 5 5 441023.5 0 0
1776616200  (2026-04-20 02:30) 10.4 8.4 4.6 67 2.7 NE 4 5 441023.7 0 0
1776614400  (2026-04-20 02:00) 10.8 9 4.8 66 2.8 NE 3 4 441023.8 0 0
1776612600  (2026-04-20 01:30) 11.3 9.7 5.3 66 2.9 NE 3 3 441023.9 0 0
1776610800  (2026-04-20 01:00) 11.1 9.5 5.4 68 2.7 NE 3 4 441023.7 0 0
1776609000  (2026-04-20 00:30) 10.4 8.5 4.9 68 2.6 NE 4 5 441023.4 0 0
1776607200  (2026-04-20 00:00) 10.4 8.8 4.7 68 2.6 NE 2 2 441023.4 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