Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

DP1500/GW1000 and logging additional sensors

GW1000 WiFi gateway
Post Reply
User avatar
philpugh
Posts: 384
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 11 (RPi4)
Location: Antrobus, Cheshire, UK
Contact:

DP1500/GW1000 and logging additional sensors

Post by philpugh »

Just bought and installed a Froggit WH3000SE (has DP1500 but no console display) and it is now running in 'test mode' with CumulusMX running on a RPi 3A.

All working quite well and data is reassuringly very close to my trusty Davis VantageVue.

Just one thing is puzzling me at present. The package from Froggit comes with an additional indoor Temp/Humidity sensor which connected without a problem and I can see the data on the WS-View app on my iPad - but it doesn't appear to be logged by CumulusMX automatically. Is this correct - I have the
LogExtraSensors=1
set in cumulus.ini but no values appear in any of the three SQL tables.

Cheers

Phil
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
Mapantz
Posts: 1808
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: DP1500/GW1000 and logging additional sensors

Post by Mapantz »

For extra sensors, you would have to add an SQL insert to the custom SQL uploads, either second/minutes/hours.

For example, I have this inserting at 1 minute intervals:

Code: Select all

INSERT IGNORE INTO Realtime (LogDateTime,SoilMoisture,AirQuality) VALUES ('<#date format=yyyy-MM-dd> <#time format=HH:mm:ss>',<#SoilMoisture1>,<#AirQuality1>); DELETE FROM Realtime WHERE LogDateTime < DATE_SUB(NOW(), INTERVAL 96 HOUR);
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: DP1500/GW1000 and logging additional sensors

Post by sfws »

philpugh wrote: Sat 04 Jul 2020 2:00 pm it doesn't appear to be logged by CumulusMX automatically. Is this correct - I have the

LogExtraSensors=1

set in cumulus.ini but no values appear
You claim not logged because you cannot see it in database tables, but I expect MX does log it, it should appear in the https://cumuluswiki.org/a/Extra_Sensor_Files which can be viewed in the admin interface Data Logs menu, and Extra logs page.

When the next release is available (build 3087), there will be an option on extra log files settings page to upload these extra sensor log files more easily than at present (look at the wiki reference above), as Mark has already edited the Wiki (elsewhere) to say that! Plus from the same build these extra sensor log files will be backed up whenever the standard log files are backed up, making your reading safer!

You still need to write your own code to add these into database tables.EDIT (repeated to get right): Unless Mark has plans re this that I don't know about!
Last edited by sfws on Sun 05 Jul 2020 3:20 pm, edited 2 times in total.
User avatar
philpugh
Posts: 384
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 11 (RPi4)
Location: Antrobus, Cheshire, UK
Contact:

Re: DP1500/GW1000 and logging additional sensors

Post by philpugh »

Thanks for that. I was rather hoping to get away without! I have had to do similar to integrate some home brew equipment!
Phil Pugh
GW1000 + WH65/WH57/WH31; HP2551 + WS68/WH40A; GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
http://goosegate.uk/
Post Reply