MessMate Farm, Vic, Australia

18/01/26 15:53: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-01-18 15:04 32.8 32.1 9.1 23 12.8 W 3 6 2671013.9 0 0


Using todays date.

Historical Observations for the date of 2026-01-18

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-01-18          13.1 (33.9) 13.2 (34.1) 8.3 (13.5) 23 (83) SE 0 (11) 0 (24) 1461013.9 (1016.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
°
1768708800  (2026-01-18 15:00) 32.2 31 9.4 25 12.3 W 6 8 2641014 0 0
1768707000  (2026-01-18 14:30) 31.8 30.7 9.6 26 12.1 SSW 5 7 2021014.1 0 0
1768705200  (2026-01-18 14:00) 31.9 31.1 10 26 12 SW 4 6 2281014.3 0 0
1768703400  (2026-01-18 13:30) 29.5 28.7 9.8 30 10.8 S 4 6 1891014.5 0 0
1768701600  (2026-01-18 13:00) 31.6 30.8 10.2 27 11.8 SE 4 7 1471014.7 0 0
1768699800  (2026-01-18 12:30) 31.8 30.9 9.1 25 12.2 W 4 6 2741015 0 0
1768698000  (2026-01-18 12:00) 30.7 29.6 9.5 27 11.5 W 5 8 2611015.3 0 0
1768696200  (2026-01-18 11:30) 30.8 30 10 28 11.4 SSW 4 6 1991015.5 0 0
1768694400  (2026-01-18 11:00) 28.4 28 10 32 10.1 SE 2 4 1321015.8 0 0
1768692600  (2026-01-18 10:30) 28.3 27.6 9.5 31 10.2 WNW 3 5 2981015.9 0 0
1768690800  (2026-01-18 10:00) 27.4 26.7 9.2 32 9.8 WNW 3 5 2971016 0 0
1768689000  (2026-01-18 09:30) 26.9 26.2 9.4 33 9.5 S 3 5 1841016.2 0 0
1768687200  (2026-01-18 09:00) 26.1 25.8 10.1 37 8.9 ESE 2 3 1171016.2 0 0
1768685400  (2026-01-18 08:30) 25.8 25.9 10.9 39 8.4 ESE 1 3 1171016.1 0 0
1768683600  (2026-01-18 08:00) 22.2 22.5 11.9 53 5.8 ESE 1 2 1091016 0 0
1768681800  (2026-01-18 07:30) 16.6 17.2 12 74 2.6 E 0 0 951015.9 0 0
1768680000  (2026-01-18 07:00) 14.6 14.9 10.9 79 2.1 E 0 0 951015.7 0 0
1768678200  (2026-01-18 06:30) 13.8 14 10.5 80 1.8 E 0 0 951015.4 0 0
1768676400  (2026-01-18 06:00) 13.4 13.5 10.2 81 1.8 E 0 0 951015.4 0 0
1768674600  (2026-01-18 05:30) 13.4 13.5 10.2 81 1.7 E 0 0 951015.4 0 0
1768672800  (2026-01-18 05:00) 13.8 14 10.5 81 1.8 E 0 0 951015.1 0 0
1768671000  (2026-01-18 04:30) 14.4 14.5 10.3 77 2.2 E 0 0 951014.9 0 0
1768669200  (2026-01-18 04:00) 14.9 14.9 10.9 77 2.2 E 1 3 951014.7 0 0
1768667400  (2026-01-18 03:30) 15.3 15.5 11 76 2.4 E 1 1 951014.7 0 0
1768665600  (2026-01-18 03:00) 15.8 15.8 11 73 2.7 E 2 3 951014.5 0 0
1768663800  (2026-01-18 02:30) 16.3 16.1 11.1 71 2.9 E 3 5 941014.3 0 0
1768662000  (2026-01-18 02:00) 16.8 16.6 11.1 69 3.1 ESE 3 4 1161014.5 0 0
1768660200  (2026-01-18 01:30) 16.9 17.1 11.1 68 3.3 ESE 1 2 1211014.7 0 0
1768658400  (2026-01-18 01:00) 17.3 17.1 11.4 68 3.4 ESE 4 5 1121014.8 0 0
1768656600  (2026-01-18 00:30) 17 16.4 11.6 70 3.1 E 5 8 991014.7 0 0
1768654800  (2026-01-18 00:00) 17 16.3 11.7 71 3 ESE 6 8 1021014.7 0 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