MessMate Farm, Vic, Australia

13/12/25 11:51: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
°
2025-12-13 11:04 23.9 23.4 14.6 56 5.7 NE 10 12 481010.1 0 0


Using todays date.

Historical Observations for the date of 2025-12-13

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
°
2025-12-13          18 (23.9) 16.8 (24.7) 9 (15.2) 46 (68) ENE 0 (13) 0 (21) 671008.9 (1011.6) 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
°
1765584000  (2025-12-13 11:00) 23.8 23.1 14.3 55 5.8 NE 11 14 401010.1 0 0
1765582200  (2025-12-13 10:30) 23.6 23 14.4 56 5.6 NE 11 13 401010.4 0 0
1765580400  (2025-12-13 10:00) 22.8 22.3 14.4 59 5.1 NE 10 12 441010.7 0 0
1765578600  (2025-12-13 09:30) 22.6 22.1 14.3 60 5 NE 10 12 531011 0 0
1765576800  (2025-12-13 09:00) 22.4 23.7 14.7 62 4.7 ENE 1 2 721011.5 0 0
1765575000  (2025-12-13 08:30) 20.8 22.1 14.2 66 4 ENE 0 0 721011.5 0 0
1765573200  (2025-12-13 08:00) 20.1 20.5 13.1 64 4.1 ENE 3 4 721011.2 0 0
1765571400  (2025-12-13 07:30) 19.6 19.8 12.9 65 3.9 ENE 3 4 721010.6 0 0
1765569600  (2025-12-13 07:00) 19.5 19.3 12.6 64 4 ENE 5 7 611009.9 0 0
1765567800  (2025-12-13 06:30) 19 18.2 12.6 66 3.7 NNE 8 10 291010.6 0 0
1765566000  (2025-12-13 06:00) 19.6 19 11.9 61 4.4 NE 6 8 481010.4 0 0
1765564200  (2025-12-13 05:30) 19.5 18.1 11.5 60 4.6 NE 10 12 521009.9 0 0
1765562400  (2025-12-13 05:00) 19.6 18.3 11.4 59 4.6 NE 9 11 531009.7 0 0
1765560600  (2025-12-13 04:30) 20.2 19 11.2 56 5 NE 8 10 541009.5 0 0
1765558800  (2025-12-13 04:00) 20.2 18.4 10.4 54 5.4 ENE 10 12 591009.1 0 0
1765557000  (2025-12-13 03:30) 20.7 18.6 9.7 49 6 ENE 11 13 621009.1 0 0
1765555200  (2025-12-13 03:00) 20.9 19 9.3 47 6.3 ENE 9 11 621009.1 0 0
1765553400  (2025-12-13 02:30) 20.1 18.9 9.4 50 5.8 ENE 6 8 731009.2 0 0
1765551600  (2025-12-13 02:00) 20 18.8 9.4 51 5.7 ENE 6 7 761009.4 0 0
1765549800  (2025-12-13 01:30) 19.3 18.3 9.5 53 5.3 ESE 5 6 1021009.7 0 0
1765548000  (2025-12-13 01:00) 19 17.8 9.4 54 5.2 ESE 5 7 1041009.7 0 0
1765546200  (2025-12-13 00:30) 18.5 17.3 9.5 56 4.9 ESE 6 7 1041009.9 0 0
1765544400  (2025-12-13 00:00) 18.2 17.1 9.6 57 4.7 ESE 5 6 1111010.2 0 0

Time taken to generate page was 0.07 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