Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Can I add information to local Dashboard?
Moderator: mcrossley
-
Ken22
- Posts: 97
- Joined: Tue 14 Jan 2014 3:08 pm
- Weather Station: Ecowitt WS90/HP2560,GW1200,WN32
- Operating System: Windows 10 Pro
- Location: Massachusetts, USA
- Contact:
Can I add information to local Dashboard?
I have searched the forum for information and not found anything to help me.
I wish to add additional rain information to my local Dashboard. Do I have the ability to do this? What file do I need to modify?
I wish to add additional rain information to my local Dashboard. Do I have the ability to do this? What file do I need to modify?
-
Ken22
- Posts: 97
- Joined: Tue 14 Jan 2014 3:08 pm
- Weather Station: Ecowitt WS90/HP2560,GW1200,WN32
- Operating System: Windows 10 Pro
- Location: Massachusetts, USA
- Contact:
Re: Can I add information to local Dashboard?
I would like to add LastRainTip and IsRaining to the Dashboard page.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Can I add information to local Dashboard?
LastRainTip is sent in the data, so you could utilise that.
Israining is not sent, but it is just a non-zero rainfall rate anyway, and rainfall rate is already displayed.
Israining is not sent, but it is just a non-zero rainfall rate anyway, and rainfall rate is already displayed.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Can I add information to local Dashboard?
Actually the last rain tip is sent as LastRaintTipISO - format = YYYY-MM-DD HH:MM
-
Ken22
- Posts: 97
- Joined: Tue 14 Jan 2014 3:08 pm
- Weather Station: Ecowitt WS90/HP2560,GW1200,WN32
- Operating System: Windows 10 Pro
- Location: Massachusetts, USA
- Contact:
Re: Can I add information to local Dashboard?
What file do I modify to use LastRainTip?
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Can I add information to local Dashboard?
Which page do you want to modify?
Take a look at the HTML and it should be clear how to add LastRaintTipISO.
Note that you will have to be careful, every time you upgrade you will have to merge any changes you make in the standard files that come with MX. It isn't recommended to do it.
Take a look at the HTML and it should be clear how to add LastRaintTipISO.
Note that you will have to be careful, every time you upgrade you will have to merge any changes you make in the standard files that come with MX. It isn't recommended to do it.
-
Ken22
- Posts: 97
- Joined: Tue 14 Jan 2014 3:08 pm
- Weather Station: Ecowitt WS90/HP2560,GW1200,WN32
- Operating System: Windows 10 Pro
- Location: Massachusetts, USA
- Contact:
Re: Can I add information to local Dashboard?
I have found my basic problem. I was editing \interface\index.html and nothing happened. I was just refreshing the web page, and did not realize that the server process had to be restarted to pick up my changes.
Also, assuming future support for Ecowitt "srain_piezo" being tied to "IsRaining", it would be good to have access to "IsRaining" as well.
Could I get access to "LastRainTip" to use instead of "LastRainTipISO"?
Also, assuming future support for Ecowitt "srain_piezo" being tied to "IsRaining", it would be good to have access to "IsRaining" as well.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Can I add information to local Dashboard?
There is no requirement to do that, the HTML is independent of the process.
Not without coding something yourself - some JS code to get it now via the local web tag API.
On the possible list, or write some JS code to get it now via the local web tag API.
-
Ken22
- Posts: 97
- Joined: Tue 14 Jan 2014 3:08 pm
- Weather Station: Ecowitt WS90/HP2560,GW1200,WN32
- Operating System: Windows 10 Pro
- Location: Massachusetts, USA
- Contact:
Re: Can I add information to local Dashboard?
I guess I did not fully describe what I was doing wrong. I had the Dashboard up in Firefox (http://localhost:8998/). Then I edited \interface\index.html and saved it. Then I went back to Firefox and hit the refresh button. My changes did not appear. Even if I closed the Cumulus tab in Firefox (leaving Firefox up in another (non-Cumulus) tab), and then reopened the Cumulus Dashboard, my changes were not there. However, if I restarted the server process ***OR*** closed ALL tabs in Firefox and restarted FireFox, my changes do show up.
I will look for some examples of how to use JS code via the local web API. Is there an example I can look at in the \interface folder?
Thanks much for your help.