MessMate Farm, Vic, Australia

01/08/25 19: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
°
2025-08-01 19:04 6.4 4.9 2.9 78 1.6 SE 0 0 1371025.9 0 0


Using todays date.

Historical Observations for the date of 2025-08-01

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-08-01          3.4 (13.5) 0.9 (11.8) 1.6 (5.4) 51 (91) SSE 0 (14) 0 (19) 1531024.4 (1026.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
°
1754038800  (2025-08-01 19:00) 6.5 4.9 2.8 77 1.6 SE 0 0 1371025.9 0 0
1754037000  (2025-08-01 18:30) 7.3 5.8 3.3 76 1.8 SE 0 0 1371025.8 0 0
1754035200  (2025-08-01 18:00) 8.2 6.5 3.9 74 1.9 SE 2 3 1371025.5 0 0
1754033400  (2025-08-01 17:30) 9.1 6.7 3.8 70 2.4 SE 5 7 1321025.3 0 0
1754031600  (2025-08-01 17:00) 10.7 8.3 3.5 61 3.2 SE 5 8 1321025 0 0
1754029800  (2025-08-01 16:30) 12.6 9.5 3.4 53 4.1 SE 8 11 1311024.9 0 0
1754028000  (2025-08-01 16:00) 12.4 9.3 3.3 54 4 SE 9 11 1471024.6 0 0
1754026200  (2025-08-01 15:30) 12.3 9.2 3.5 55 4 SE 9 12 1401024.5 0 0
1754024400  (2025-08-01 15:00) 12.2 9 3.2 54 4 SE 9 12 1391024.6 0 0
1754022600  (2025-08-01 14:30) 12.5 9.1 3.6 55 4 SE 10 13 1451024.6 0 0
1754020800  (2025-08-01 14:00) 12.4 9.2 3.7 55 3.9 SE 10 13 1451024.5 0 0
1754019000  (2025-08-01 13:30) 12.8 9.6 4.2 56 3.9 SE 9 12 1461024.5 0 0
1754017200  (2025-08-01 13:00) 11.5 8.7 4 60 3.4 SSE 8 10 1471024.7 0 0
1754015400  (2025-08-01 12:30) 12.7 9.9 4.2 56 3.9 SE 7 10 1421025.2 0 0
1754013600  (2025-08-01 12:00) 12.6 10.3 4 56 3.9 SE 5 8 1371025.7 0 0
1754011800  (2025-08-01 11:30) 11.9 9.3 4 58 3.6 SE 7 10 1301026.2 0 0
1754010000  (2025-08-01 11:00) 11.1 8.2 4.3 63 3.1 SE 8 11 1391026.5 0 0
1754008200  (2025-08-01 10:30) 10.8 7.8 4 63 3.1 SE 9 12 1291026.5 0 0
1754006400  (2025-08-01 10:00) 10.5 7.6 4 64 2.9 SE 8 12 1241026.6 0 0
1754004600  (2025-08-01 09:30) 10.2 7.2 4 66 2.8 SE 9 12 1261026.5 0 0
1754002800  (2025-08-01 09:00) 10.3 7.7 4.1 65 2.8 SE 7 10 1281026.4 0 0
1754001000  (2025-08-01 08:30) 10.4 8.4 4.4 67 2.7 ESE 4 6 1041026.3 0 0
1753999200  (2025-08-01 08:00) 8.4 6.8 4.4 76 1.8 SE 2 3 1281026.1 0 0
1753997400  (2025-08-01 07:30) 6.2 4.6 3.6 84 1.2 SE 1 2 1281025.9 0 0
1753995600  (2025-08-01 07:00) 6.2 4.3 3.6 84 1.2 SE 3 5 1311025.8 0 0
1753993800  (2025-08-01 06:30) 6.3 4.1 3.7 84 1.1 SSE 4 6 1501025.5 0 0
1753992000  (2025-08-01 06:00) 6 4 3.7 85 1 SE 3 5 1411025.4 0 0
1753990200  (2025-08-01 05:30) 5.1 2.7 3.5 90 0.7 SSE 5 7 1631025.1 0 0
1753988400  (2025-08-01 05:00) 3.8 1.9 2.1 89 0.7 SW 1 2 2351025.1 0 0
1753986600  (2025-08-01 04:30) 3.7 2 1.9 88 0.8 WSW 0 0 2501025.1 0 0
1753984800  (2025-08-01 04:00) 3.7 1.9 1.9 88 0.8 WSW 1 1 2501025.1 0 0
1753983000  (2025-08-01 03:30) 4.2 2.1 2.1 86 0.9 WSW 2 3 2491024.9 0 0
1753981200  (2025-08-01 03:00) 4.8 2.1 2.6 85 1 WSW 6 7 2481025.1 0 0
1753979400  (2025-08-01 02:30) 5.3 2.6 3 86 1 SSW 6 7 2091025.2 0 0
1753977600  (2025-08-01 02:00) 5.6 3.3 3.4 86 1 SSE 5 6 1551025.4 0 0
1753975800  (2025-08-01 01:30) 5.8 3.5 3.8 87 0.9 SSE 5 7 1481025.5 0 0
1753974000  (2025-08-01 01:00) 5.9 3.5 3.8 86 1 SE 5 6 1451025.4 0 0
1753972200  (2025-08-01 00:30) 6 3.9 3.7 85 1.1 ESE 4 5 1231025.5 0 0
1753970400  (2025-08-01 00:00) 6.8 5 3.9 82 1.3 ESE 3 4 1221025.7 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