MessMate Farm, Vic, Australia

10/05/25 15:30: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-05-10 15:04 23.5 22.2 4.5 29 8.8 NE 0 1 421028.5 0 0


Using todays date.

Historical Observations for the date of 2025-05-10

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-05-10          5.8 (23.8) 3.5 (22.2) 3 (8.8) 29 (89) SSE 0 (9) 0 (15) 1471028.5 (1031.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
°
1746853200  (2025-05-10 15:00) 23.4 21.9 4.6 30 8.8 NE 1 3 421028.5 0 0
1746851400  (2025-05-10 14:30) 23.3 21.8 4.9 30 8.7 SW 2 3 2141028.6 0 0
1746849600  (2025-05-10 14:00) 22.9 21.3 4.9 31 8.5 SSW 2 4 2021028.7 0 0
1746847800  (2025-05-10 13:30) 22.7 21.1 4.8 31 8.4 SW 2 4 2241029.1 0 0
1746846000  (2025-05-10 13:00) 22 20.2 4.8 33 8.1 WNW 3 6 3021029.4 0 0
1746844200  (2025-05-10 12:30) 21.4 19.8 5.2 35 7.7 W 3 5 2621029.8 0 0
1746842400  (2025-05-10 12:00) 21.5 20 5.5 35 7.7 SW 3 4 2361030.4 0 0
1746840600  (2025-05-10 11:30) 21.5 20 6.2 37 7.5 SSW 3 5 1951030.8 0 0
1746838800  (2025-05-10 11:00) 20.7 19.3 6.4 40 7 SSW 3 5 2121031.1 0 0
1746837000  (2025-05-10 10:30) 20 18.6 6.8 42 6.6 S 3 5 1771031.2 0 0
1746835200  (2025-05-10 10:00) 18.9 17.4 7.2 47 5.9 ENE 4 6 581031.1 0 0
1746833400  (2025-05-10 09:30) 17.9 16.5 7.5 51 5.3 NE 4 6 401031.2 0 0
1746831600  (2025-05-10 09:00) 16.8 15.4 7.5 54 4.7 E 4 5 811031.2 0 0
1746829800  (2025-05-10 08:30) 16.8 16 7.7 55 4.6 ESE 1 2 1191031.4 0 0
1746828000  (2025-05-10 08:00) 13.2 12.1 7.4 68 2.9 ESE 3 3 1191031.2 0 0
1746826200  (2025-05-10 07:30) 7.3 5.3 4.9 85 1.1 ESE 5 5 1191031.1 0 0
1746824400  (2025-05-10 07:00) 6.1 4 3.6 84 1.1 ESE 4 4 1211031 0 0
1746822600  (2025-05-10 06:30) 6.9 5.2 3.9 81 1.4 ESE 2 2 1221030.8 0 0
1746820800  (2025-05-10 06:00) 7.3 5.5 4.6 83 1.3 ESE 3 4 1221030.6 0 0
1746819000  (2025-05-10 05:30) 7.3 5.4 4.6 83 1.2 ESE 3 4 1221030.5 0 0
1746817200  (2025-05-10 05:00) 7.2 5.2 4.5 83 1.3 ESE 4 4 1221030.3 0 0
1746815400  (2025-05-10 04:30) 7.6 5.5 4.7 82 1.4 ESE 5 5 1221030.2 0 0
1746813600  (2025-05-10 04:00) 7.8 5.9 5.1 83 1.3 SE 4 5 1251029.9 0 0
1746811800  (2025-05-10 03:30) 8 6.3 5.3 83 1.3 SE 3 4 1251029.9 0 0
1746810000  (2025-05-10 03:00) 8.3 6.6 5.6 84 1.3 SE 4 4 1251030 0 0
1746808200  (2025-05-10 02:30) 8.7 7.4 6.2 85 1.2 SE 2 2 1251030.1 0 0
1746806400  (2025-05-10 02:00) 7.7 6.7 5.8 88 0.9 SE 0 0 1261030.2 0 0
1746804600  (2025-05-10 01:30) 7.2 6.1 5 86 1 SE 0 0 1261030.3 0 0
1746802800  (2025-05-10 01:00) 7.3 6.1 4.6 83 1.2 SE 0 0 1261030.4 0 0
1746801000  (2025-05-10 00:30) 8.4 7.3 4.9 79 1.6 SE 0 0 1261030.6 0 0
1746799200  (2025-05-10 00:00) 9.7 8.8 6.2 79 1.7 SE 0 0 1261030.6 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