MessMate Farm, Vic, Australia

05/02/25 20:55: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-02-05 20:04 21.6 19.8 10.6 50 6.1 SE 11 12 1381013.9 0 0


Historical Observations for the date of 2025-02-05

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-02-05          13.1 (29) 10 (27.2) 6.2 (12.2) 25 (82) SSE 4 (21) 5 (28) 1491013.2 (1015.5) 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
°
1738746000  (2025-02-05 20:00) 21.6 19.6 10.4 49 6.2 SSE 11 14 1531013.9 0 0
1738744200  (2025-02-05 19:30) 22.7 20.6 9.4 43 7.2 SSE 10 12 1591013.8 0 0
1738742400  (2025-02-05 19:00) 24.8 22.4 9.2 37 8.4 S 12 14 1691013.6 0 0
1738740600  (2025-02-05 18:30) 25.3 22.7 9.1 36 8.7 SSE 12 15 1521013.5 0 0
1738738800  (2025-02-05 18:00) 26.3 23.7 8.9 33 9.3 SSE 12 15 1591013.4 0 0
1738737000  (2025-02-05 17:30) 27.1 24.6 8.7 31 9.8 SSE 11 13 1511013.3 0 0
1738735200  (2025-02-05 17:00) 27.9 25.4 8.2 29 10.3 SSE 11 14 1551013.3 0 0
1738733400  (2025-02-05 16:30) 28.2 25.5 8 28 10.5 SE 11 13 1451013.4 0 0
1738731600  (2025-02-05 16:00) 28.5 26 7.5 27 10.8 SE 10 13 1321013.7 0 0
1738729800  (2025-02-05 15:30) 28.6 26.2 7.2 26 10.9 SE 9 12 1341013.9 0 0
1738728000  (2025-02-05 15:00) 28.2 25.7 7 26 10.7 SE 9 12 1291014.1 0 0
1738726200  (2025-02-05 14:30) 27.8 25.4 7.1 27 10.5 SE 9 11 1281014.3 0 0
1738724400  (2025-02-05 14:00) 26.9 24.3 7 28 10.1 SE 10 12 1411014.5 0 0
1738722600  (2025-02-05 13:30) 25.7 23 7.4 31 9.4 SE 11 13 1381014.6 0 0
1738720800  (2025-02-05 13:00) 25 22.7 8.1 34 8.8 SE 10 12 1281014.7 0 0
1738719000  (2025-02-05 12:30) 24.1 21.6 8.5 37 8.3 SE 11 14 1331014.7 0 0
1738717200  (2025-02-05 12:00) 22.6 19.7 8.4 40 7.5 SSE 13 15 1551014.9 0 0
1738715400  (2025-02-05 11:30) 21.2 18.4 8.7 45 6.6 SE 13 16 1361015.1 0 0
1738713600  (2025-02-05 11:00) 20.5 17.8 8.5 46 6.4 SE 13 16 1331015.2 0 0
1738711800  (2025-02-05 10:30) 19.3 16.6 8.8 51 5.6 SE 12 15 1441015.2 0 0
1738710000  (2025-02-05 10:00) 18.2 15.6 8.8 54 5 SE 12 15 1401015.2 0 0
1738708200  (2025-02-05 09:30) 17.9 15.4 9 56 4.7 SE 12 14 1431015.1 0 0
1738706400  (2025-02-05 09:00) 17.4 15.1 9.3 59 4.3 SSE 11 14 1491015.1 0 0
1738704600  (2025-02-05 08:30) 16.4 14 9.1 62 3.9 SSE 11 14 1481014.8 0 0
1738702800  (2025-02-05 08:00) 15.8 13.2 9.5 66 3.4 SSE 13 17 1501014.3 0 0
1738701000  (2025-02-05 07:30) 13.9 11.5 9.5 75 2.4 SSE 12 15 1491014 0 0
1738699200  (2025-02-05 07:00) 13.4 11.2 9.3 76 2.2 SSE 11 14 1551014 0 0
1738697400  (2025-02-05 06:30) 13.2 11.2 9 75 2.2 SSE 9 11 1601013.9 0 0
1738695600  (2025-02-05 06:00) 13.3 11.4 9.4 78 2.1 SSE 9 12 1601013.8 0 0
1738693800  (2025-02-05 05:30) 13.4 11.5 9.9 79 1.9 SSE 10 12 1581013.7 0 0
1738692000  (2025-02-05 05:00) 13.5 11.6 10.2 81 1.8 SSE 10 13 1581013.5 0 0
1738690200  (2025-02-05 04:30) 13.6 11.8 10.3 81 1.8 SSE 10 13 1581013.5 0 0
1738688400  (2025-02-05 04:00) 13.6 11.8 10.5 81 1.7 SSE 10 13 1591013.5 0 0
1738686600  (2025-02-05 03:30) 13.9 12.1 10.8 81 1.8 SSE 11 14 1581013.6 0 0
1738684800  (2025-02-05 03:00) 14.7 13 11.5 81 1.8 SSE 11 15 1641013.7 0 0
1738683000  (2025-02-05 02:30) 15.5 14.3 12.1 81 1.9 SSE 10 12 1601013.7 0 0
1738681200  (2025-02-05 02:00) 15.4 14.2 12 80 1.9 SSE 9 12 1551013.7 0 0
1738679400  (2025-02-05 01:30) 15.5 14 11.7 78 2.1 SSE 10 13 1521013.9 0 0
1738677600  (2025-02-05 01:00) 15.7 14.1 11.7 77 2.3 SSE 11 14 1571014.1 0 0
1738675800  (2025-02-05 00:30) 15.8 14.3 11.8 77 2.3 SSE 10 14 1561014.2 0 0
1738674000  (2025-02-05 00:00) 15.8 14.3 11.5 76 2.4 SSE 10 13 1561014.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