Page 2 of 4
Moon icon on CUtils
Posted: Sat 20 Nov 2021 2:37 pm
by AndyKF650
Hi Hans
Would it be possible to add the moon icon cf CMX to the CUtils desktop? This could be an either/or use of your moon diagram or the CMX generated image presumably access through the .ini file so that it stays in place through the website upgrade process.
Re: Change Requests
Posted: Sat 20 Nov 2021 2:44 pm
by HansR
@AndyKF650 : OK, Moon on the ToDo list for when the dust settled on the tech changes.
Re: Change Requests
Posted: Mon 22 Nov 2021 8:24 am
by AndyKF650
Hi Hans
I put my mind to the Moon change request over the weekend and came up with a solution.
If you remove the link to a Moon panel item and copy it to a CUserMenu.txt new tab called Moon, the following script works for me. It also has the advantage of being permanent when a Website update is performed.
""
</li>
<li class='nav-item dropdown'>
<a class='nav-link dropdown-toggle' href='#' id='navbarDropdown' role='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'> Moon </a>
<div class='dropdown-menu' aria-labelledby='navbarDropdown'>
<div class='col border rounded-lg CUCellBody' onclick="ClickGauge(26);"> <h4 class='CUCellTitle'>Moon</h4> <img id="Moon" src="/Generalicons/moon.png";>
<p> <span>Moonrise: @ </span> <span id='CUmoonrise'></span><br />
<span>Moonset: @ </span> <span id='CUmoonset'></span > </p>
<div class='dropdown-divider'>
</div>
</div>
""
I expect you will have a more slick solution but given my rather limited coding knowledge I will use this for the time being.
Re: Change Requests
Posted: Mon 22 Nov 2021 9:50 am
by HansR
AndyKF650 wrote: ↑Mon 22 Nov 2021 8:24 am
I expect you will have a more slick solution but given my rather limited coding knowledge I will use this for the time being.
Haha... respect for the inventive solution

, but you are right, I'll probably do it differently
[EDIT]
And I am a bit surprised this works fine
Re: Change Requests
Posted: Tue 30 Nov 2021 9:49 am
by HansR
Summary of requests so far (since end of may 2021):
Done:
- Extra Sensors (full module inclusing support of / with the ChartsCompiler)
- Dashboard configurable panel order
- Sun hours today addition
- Using CMX moon image iso CUtils moon abstraction
ToDo (not decided yet):
- Scroll bar on day records table: under investigation, ToDo for version 7.0
- Change the image for the header depending on the time of day: ToDo for version 7.0
Under investigation; Currently experimental;
(Implementation is aimed at different images for all phases of dawn/day/dusk/night)
Re: Change Requests
Posted: Wed 01 Dec 2021 7:35 pm
by HansR
Please note that I will be making scrollbars for some modules to have them more nicely fit in the reportview of the website like e.g. pwsFWI had it from the beginning.
However if you are using these modules really modular (that is in your own website), it may have an effect (possibly unwanted) on how you do things.
If you would like NOT to use scrollbars on e.g. Top10 or Daily Records modules, please let me know and I will parametrise this.
Re: Change Requests
Posted: Wed 01 Dec 2021 7:59 pm
by AndyKF650
Hi Hans
Thanks for the update on scrollbars. I am very happy that they get incorporated into the CUtils release.
I have been working on my site and have now incorporated a virtual Davis Console, CMX website and the Beteljuice YADR into my site. At the moment I am happy with it but I am sure something new will spark some more development work.
Re: Change Requests
Posted: Thu 02 Dec 2021 5:35 am
by meteo19
Hi Hans
I fully understand the improvement for Utils certainly a nice advance.On the other hand as you know I use your powerful program for all my sites and I am afraid of encountering problems.Ideally you should be able to try and go back if it is not suitable but it may not be possible

.Have a nice day and thank you for everything.
Best regards,
Patrick
Re: Change Requests
Posted: Thu 02 Dec 2021 6:11 am
by HansR
meteo19 wrote: ↑Thu 02 Dec 2021 5:35 am
Hi Hans
I fully understand the improvement for Utils certainly a nice advance.On the other hand as you know I use your powerful program for all my sites and I am afraid of encountering problems.Ideally you should be able to try and go back if it is not suitable but it may not be possible

.Have a nice day and thank you for everything.
Best regards,
Patrick
Hi Patrick,
Thanks for the comment and OK, I get your point.
I'll make it a choice and parametrise the scroll bars on the records pages to make it optional.
Regards,
Re: Change Requests
Posted: Tue 07 Dec 2021 9:49 am
by HansR
HansR wrote: ↑Tue 30 Nov 2021 9:49 am
ToDo (not decided yet):
- Scroll bar on day records table: under investigation, ToDo for version 7.0
- Change the image for the header depending on the time of day: ToDo for version 7.0
Under investigation; Currently experimental;
(Implementation is aimed at different images for all phases of dawn/day/dusk/night)
Done. These will be available in version 7 (depending on CMX).
You can see the results in the CMX4 test site (see below in my signature). You should be able to see the header image change within a minute of the solar phases changes.
(see the release notes for what is going on in that release)
Re: Change Requests
Posted: Tue 07 Dec 2021 11:27 am
by AndyKF650
Hi Hans
I really like the scroll bar option for the day records, this will make interpreting long data table much easier.
Not sure about the changeable header, I will need to do some further investigation.
Re: Change Requests
Posted: Tue 28 Dec 2021 9:30 am
by meteo19
Hi Hans
I've been using Ecowitt's DP60 lightning detector for about two months.Je me demandais s'il été possible de récupérer les données pour créer des graphiques avec Utils.I guess for this to be possible we would have to add the tags to the strings.ini of CMX.
Thank you very much.
Regards,
Patrick
Re: Change Requests
Posted: Tue 28 Dec 2021 9:52 am
by HansR
Hi Patrick,
The problem with the lightning detector is that CMX does not log it so there is no data to handle for CumulusUtils.
I did not bother to ask Mark to log this sensor because in my view the detector is missing a very important attribute: direction. But if it gets logged I will provide CumulusUtils to pick it up and make it possible to chart it (strike moment and distance). It would be charted like all ExtraSensors only as a RECENT plotvariable (and not sure yet how you would like to see time, distance and number plotted, I assume some kind of scatter plot).
I am not really sure it is worth the trouble though.
Currently the lightning detector is only presented by CMX on the Extra Sensor page as instantaneous data and it would be a change to CMX (to log it).
You would have to ask Mark to add logging for it in the
Cumulus MX Development Suggestions board.
NB: nice mix of French/English. I only noticed after I had published the answer
Regards,
Re: Change Requests
Posted: Tue 28 Dec 2021 2:23 pm
by meteo19
HansR wrote: ↑Tue 28 Dec 2021 9:52 am
Hi Patrick,
The problem with the lightning detector is that CMX does not log it so there is no data to handle for CumulusUtils.
I did not bother to ask Mark to log this sensor because in my view the detector is missing a very important attribute: direction. But if it gets logged I will provide CumulusUtils to pick it up and make it possible to chart it (strike moment and distance). It would be charted like all ExtraSensors only as a RECENT plotvariable (and not sure yet how you would like to see time, distance and number plotted, I assume some kind of scatter plot).
I am not really sure it is worth the trouble though.
Currently the lightning detector is only presented by CMX on the Extra Sensor page as instantaneous data and it would be a change to CMX (to log it).
You would have to ask Mark to add logging for it in the
Cumulus MX Development Suggestions board.
NB: nice mix of French/English. I only noticed after I had published the answer
Regards,
Hi Hans
I'm really sorry for the French English mix

.For the rest you are right we do not have here on the European continent thunderstorms every day.A simple line like below will do.
Capture.PNG
Regards
Re: Change Requests
Posted: Tue 28 Dec 2021 2:40 pm
by water01
I am storing all the lightning detected in a MySQL table updated at "rollover" by
Code: Select all
INSERT IGNORE INTO Lightning (LogDate,StrikesToday) VALUES ('<#metdateyesterday format=yyyy-MM-dd>',<#LightningStrikesToday>)
In a Table called Lightning containing two columns LogDate (type date) and StrikesToday (type int(11)).
I am then plotting these on my historical graphs page
https://www.dmjsystems.co.uk/weatherbos ... graphs.php click on
Lightning.
Code kindly supplied by mapantz on this forum and I am sure she will not mind me supplying if you want to do this.