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
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
Fine Offset Weather Station without solar sensors
Moderator: mcrossley
-
- Posts: 54
- Joined: Tue 15 May 2012 8:50 pm
- Weather Station: WH 1080
- Operating System: Windows 8.1 and Raspbian
- Location: Assling
Fine Offset Weather Station without solar sensors
Hi there,
I have a WS 1080 Fine Offset weather Station without any solar sensors. Well, I noticed that - in spite of the absense of any solar senors - my web pages as well as the local interface of Cumulus MX show pages for solar without any reasonible data input.
I thought, that I read recently, that this would automatically disappear with release 3025, but obviously it is not.
Don't know what to do about this - can I hide the wrong and superfluous readings somehow (?) or do I have to do something else (?) or is it simply a bug in CumulusMX which will be fixed later (?)
Wilfried
p.s.: I am asking this question also because I've noticed, that there is also the selection of "Fine Weather with solar" in the station Settings menu available...
I have a WS 1080 Fine Offset weather Station without any solar sensors. Well, I noticed that - in spite of the absense of any solar senors - my web pages as well as the local interface of Cumulus MX show pages for solar without any reasonible data input.
I thought, that I read recently, that this would automatically disappear with release 3025, but obviously it is not.
Don't know what to do about this - can I hide the wrong and superfluous readings somehow (?) or do I have to do something else (?) or is it simply a bug in CumulusMX which will be fixed later (?)
Wilfried
p.s.: I am asking this question also because I've noticed, that there is also the selection of "Fine Weather with solar" in the station Settings menu available...
- PaulMy
- Posts: 3846
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Fine Offset Weather Station without solar sensors
For your web updates modify indexT.htm as per this comment in the file:
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment
<tr class="td_temperature_data">
<td>Solar Radiation</td>
<td><#SolarRad> W/m²</td>
<td>Evapotranspiration Today</td>
<td><#ET> <#rainunit></td>
</tr>
End of solar data -->
I believe you can do something similar for MX dashboard.
Paul
<!-- Solar data. If you don't have a solar sensor, you may wish to delete everything from here to the next comment
<tr class="td_temperature_data">
<td>Solar Radiation</td>
<td><#SolarRad> W/m²</td>
<td>Evapotranspiration Today</td>
<td><#ET> <#rainunit></td>
</tr>
End of solar data -->
I believe you can do something similar for MX dashboard.
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- 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: Fine Offset Weather Station without solar sensors
deleted as answered by Steve
Last edited by sfws on Mon 03 Aug 2015 3:42 pm, edited 1 time in total.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset Weather Station without solar sensors
For the MX UI pages, one of the reasons for having the UI separate in MX is that users can modify and customise it to their own requirements (just as with the web pages). I may look at trying to do something automatically for the specific case of solar sensors at some point in the javascript. But I certainly never said it would be in 3025.
To remove the solar data from the dashboard page, for example, look for this code in index.html and remove it:
To remove the solar data from the dashboard page, for example, look for this code in index.html and remove it:
Code: Select all
<!-- Solar block -->
<div class="col-sm-6 col-lg-3">
<div class="dash-unit">
<span class="dtitle">Solar</span>
<hr>
<div class="cont">
<div class="cont" >
<p>Radiation <span id="SolarRad" style="font-size:200%">---.-</span> W/m<sup>2</sup></p>
<p><span>High </span><span id="HighSolarRadToday" class="high">--.-</span><br><span id="HighSolarRadTodayTime">--:--</span></p>
</div>
<div class="cont" >
<p>UV Index <span id="UVindex" style="font-size:200%">--</span></p>
<p><span>High </span><span id="HighUVindexToday" class="high">--.-</span><br><span id="HighUVindexTodayTime">--:--</span></p>
</div>
</div>
</div>
</div>
Steve
-
- 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: Fine Offset Weather Station without solar sensors
I believe Jacques DesRoches alternative PHP based web pages simply look to see if particular (those not available from all weather stations) values stay zero and if so decide those rows should not appear on the page the script generates concluding the weather station being used is not measuring that parameter. As Cumulus actually knows weather station type, it could make more intelligent decisions based on that. But surely it is only a low priority enhancement, simply because it can be done manually once, more efficiently than script code working it out each time?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset Weather Station without solar sensors
The MX UI is actually just a web site anyway, so there's no difference. The modifications need to be done by the web page code, not by the MX 'server' code.sfws wrote:As Cumulus actually knows weather station type, it could make more intelligent decisions based on that.
Steve
-
- Posts: 54
- Joined: Tue 15 May 2012 8:50 pm
- Weather Station: WH 1080
- Operating System: Windows 8.1 and Raspbian
- Location: Assling
Re: Fine Offset Weather Station without solar sensors
Hello All - thanks a lot for the hints and links. I will try to customize my web pages accordingly.
Sorry for not searching for that beforehand myself, but I was a little bit misled be the possibility to select "Fine Offset" and "Fine Offset with Solar Sensors" in the Station Settings menu of Cumulus MX. And then I took the wrong conclusions based on my imagination ... (sorry Steve)
thanks,
Wilfried
Sorry for not searching for that beforehand myself, but I was a little bit misled be the possibility to select "Fine Offset" and "Fine Offset with Solar Sensors" in the Station Settings menu of Cumulus MX. And then I took the wrong conclusions based on my imagination ... (sorry Steve)
thanks,
Wilfried
-
- 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: Fine Offset Weather Station without solar sensors
I have had a very busy day today and was rather vague re my gem of an idea earlier, but it was rather likesteve wrote:The MX UI is actually just a web site anyway, so there's no difference. The modifications need to be done by the web page code, not by the MX 'server' code.sfws wrote:As Cumulus actually knows weather station type, it could make more intelligent decisions based on that.
.willyweather wrote: I was a little bit misled by the possibility to select "Fine Offset" and "Fine Offset with Solar Sensors" in the Station Settings menu
I do not know how Jacques does his PHP code but it might be "if <#SolarRad>, <#SunshineHours> and <#YSunshineHours> are all zero assume there is no solar sensor". I use 1.9.4 not MX but I suppose the question I was implicitly posing is "can either Cumulus version always work out whether a station has a solar sensor" and set a flag (web tag) accordingly.
For Fine Offset, Cumulus knows whether it is type 5 or type 7; similarly Cumulus knows only Davis can supply ET. What about other makes? If there is a logic test that can end up setting a boolean web tag as "Y" or "N" (alternatively "1" or "0"), then HTML web pages can decide whether to show or hide elements:
For example in "todayT.htm" (or "yesterdayT.htm") the solar row in the HTML could be adjusted to quote the new web tag:
Code: Select all
<tr class="td_temperature_data solar<#solarPresentBool>">
Code: Select all
.solarN, {
display: none;
/* visibility: hidden; */
}
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Fine Offset Weather Station without solar sensors
I'm not saying that it can't be done; Cumulus 1 makes an attempt to do something appropriate on its main screen. In the case of MX, as the interface is a web site, it would require MX passing the required information to the web pages (by whatever means) so that (by whatever mechanism) the page could be updated.
Steve
-
- Posts: 54
- Joined: Tue 15 May 2012 8:50 pm
- Weather Station: WH 1080
- Operating System: Windows 8.1 and Raspbian
- Location: Assling
Re: Fine Offset Weather Station without solar sensors
Hi - it's me again
This time I'm thinking about the opposite ... I have extra HW now (Homematic), which provides a solar measurement result every 3 minutes (in "Flux").
Now I would like to feed this external measurement results somehow into the result files of CumulusMX so that these will be shown in my website
as if my weather station would provide this (which the WH1080 doesn't at all).
There are certainly more than one possibilities to get that. Maybe someone knows, which one would be best ?
Thanks for any hint.
regards,
Wilfried
This time I'm thinking about the opposite ... I have extra HW now (Homematic), which provides a solar measurement result every 3 minutes (in "Flux").
Now I would like to feed this external measurement results somehow into the result files of CumulusMX so that these will be shown in my website
as if my weather station would provide this (which the WH1080 doesn't at all).
There are certainly more than one possibilities to get that. Maybe someone knows, which one would be best ?
Thanks for any hint.
regards,
Wilfried