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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Solar Data not displayed.

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
watsonm
Posts: 208
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Solar Data not displayed.

Post by watsonm »

Moved to new topic

I have ordered a Solar Pod from ebay and while I wait I thought I would tweak my python software to process the data.
I produce an Easweather.dat file with locations 27 and 28 containing data to hopefully be read by Cumulusmx.

'0105, 2022-04-12 11:53:14, 2022-04-12 11:53:14, 0, 0, 20.90, 84, 12.6, 0, 0, 0, 991.46, 0.34, 0, 0.68, 0, 10, SW, 0, 0, 0, 0.0, 0, 0, 0, 24.9, 10000, 3, 0, 0, 0'

However I do not see anything on the Solar panel other than zero's. I wandered around all the settings panels but could not find anything that will
switch this on.

I toggled the Solar calculation method: in case this stopped it reading from the Easyweather.dat file but no joy.
Also made sure:
Station Settings => Display Options , have ticked [x] Display Solar data and UV-1 dat

and restarted cumulusmx after doing these changes..

There is obviously something I have missed as the Easyweather.cs file in the github does indicate this data being proocessed.

Any help with what I have missed would be appreciated......???
Last edited by watsonm on Tue 12 Apr 2022 1:53 pm, edited 1 time in total.
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
watsonm
Posts: 208
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: Solar Data not displayed.

Post by watsonm »

Found the answer myself, just in case anyone else needs it.

While looking through the Easyweather.cs code there is an if statement before the light processing code.

...
if (cumulus.StationOptions.LogExtraSensors)
{
var lightReading = GetConvertedValue(st[EW_LIGHT]);
......

1) Not sure why it is there as the EW_Light values will normally be zero anyway.
2) Doesn't seem to be an obvious way to set this flag in Cumulus.ini file although...

In the EasyWeather_Format WIKI it says :
Cumulus 1.9.4 beta build 1071 is first build that for 'easyweather.dat' input method will Read UV and Lux values from easyweatherplus.dat file if 'Extra Sensors' selected in Settings frame on Station Settings screen.

Can't find this setting in current CMX build.


So set LogExtraSensors to 1 using an editor, restart cumulusmx and the data appears...
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Solar Data not displayed.

Post by mcrossley »

Glad you got it working, for reference the setting is under Station Settings | Common Options.
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: Solar Data not displayed.

Post by sfws »

For further reference, that Extra Sensors setting is documented in the Wiki here in a section about configuration file rather sensibly headed data logging. That documentation was written in advance of release 3.12.0 last year, and says, the option was due to be moved into a settings page at release 3.12.0.
watsonm
Posts: 208
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: Solar Data not displayed.

Post by watsonm »

Thanks for that info.

Went around in circles a bit but didn't realise that the solar data was classified as an extra sensor since the data was just part of the easyweather.dat file. :bash:

Thanks again...
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Solar Data not displayed.

Post by mcrossley »

Neither did I, I haven't had to really look at that code much! :)
I think it is unique to that station driver, afaik it is included as standard in all the others, or has its own setting.
Post Reply