Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Customising the local dashboard
Moderator: mcrossley
- odintheterrible
- Posts: 110
- Joined: Wed 16 Jan 2013 8:18 am
- Weather Station: Brandson 304577 & GW1000
- Operating System: Windows 10 64-bit
- Location: Torre-Pacheco, Murcia, Spain
Re: Customising the local dashboard
You are absolutely right I was referring to the web page/interface and not the dashboard. For the senility of old age, I apologise unreservedly LOL
"Qui Custodit Ipsos Custodes ? ..."
Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !
Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !
- odintheterrible
- Posts: 110
- Joined: Wed 16 Jan 2013 8:18 am
- Weather Station: Brandson 304577 & GW1000
- Operating System: Windows 10 64-bit
- Location: Torre-Pacheco, Murcia, Spain
Re: Customising the local dashboard
I've been looking at the output from the GW1000 and the dasboard from the Brandson 304577 and there does appear to be some variation on certain of the readings at some points in time.
However, more importantly, since migrating away from the old index.htm to the new json based system, some of what I consider to be important data has been excluded. Prime example of this is the UVI data. In the new system, it has been decided to exclude the UV INDEX and only show the SOLAR RADIATION (W/m2 ... watt per square meter). Whilst this may be the unit it of choice for the purists, for the man in the street who tend to view this data (displayed on our holiday apartment web site by way of example) find the UV Index to be far more relevant and of use as it is an instantly recognisable guide. I absolutely guarantee that if you asked the average holiday maker, they would have absolutely no idea what watt per square meter meant to them. The UVI is an instantly recognisable guide.
I would therefore be interested to know if it's possible to replace the watt per square meter reading on the index.htm with the UV Index reading? The data is there, as reference the desktop, but I'm not up to speed with this json stuff so some guidance would be appreciated. Thanks
However, more importantly, since migrating away from the old index.htm to the new json based system, some of what I consider to be important data has been excluded. Prime example of this is the UVI data. In the new system, it has been decided to exclude the UV INDEX and only show the SOLAR RADIATION (W/m2 ... watt per square meter). Whilst this may be the unit it of choice for the purists, for the man in the street who tend to view this data (displayed on our holiday apartment web site by way of example) find the UV Index to be far more relevant and of use as it is an instantly recognisable guide. I absolutely guarantee that if you asked the average holiday maker, they would have absolutely no idea what watt per square meter meant to them. The UVI is an instantly recognisable guide.
I would therefore be interested to know if it's possible to replace the watt per square meter reading on the index.htm with the UV Index reading? The data is there, as reference the desktop, but I'm not up to speed with this json stuff so some guidance would be appreciated. Thanks
"Qui Custodit Ipsos Custodes ? ..."
Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !
Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !
- mcrossley
- Posts: 12902
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Customising the local dashboard
UV-I is on the to-do list for the new web site.
- odintheterrible
- Posts: 110
- Joined: Wed 16 Jan 2013 8:18 am
- Weather Station: Brandson 304577 & GW1000
- Operating System: Windows 10 64-bit
- Location: Torre-Pacheco, Murcia, Spain
Re: Customising the local dashboard
Thanks for the heads up
"Qui Custodit Ipsos Custodes ? ..."
Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !
Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !
- hornychz
- Posts: 10
- Joined: Mon 11 May 2015 3:54 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Raspbian Wheezy
- Location: Brandys nad Labem - Stara Boleslav, Czech republic
- Contact:
Re: Customising the local dashboard
Super, I have tried it since yesterday, but have nothing on my web...
(The file solardata.json on my web contains UV data.)
My code:
Code: Select all
<tr>
<td colspan="4" class="w3-theme-d1">Solar</td>
</tr>
<tr class="w3-theme-l6 w3-hide" data-cmx-solar>
<td>Solar Radiation (SP440):</td>
<td><span data-cmxdata="SolarRad"></span> W/m²</td>
<td>Evapotranspiration Today</td>
<td><span data-cmxdata="ET"></span> <span data-cmxdata="rainunit"></span></td>
</tr>
<tr class="w3-theme-l6" data-solardata>
<td>UV Index (RK200-07):</td>
<td><span data-cmxdata="UV"></span></td>
<td>Is sunny now?</td>
<td>
<script>
$Sunny = (<span data-cmxdata="IsSunny"></span>);
if( $Sunny == 1 ) {
echo "Yes";
else echo "No";
}
</script>
</td>
</tr>
Zdenek
You do not have the required permissions to view the files attached to this post.
Zdenek
https://my-meteo.net/
https://my-meteo.net/
- Ned
- Posts: 258
- Joined: Mon 19 Jul 2010 11:15 am
- Weather Station: WS2083 (aspirated)
- Operating System: Win 10
- Location: Auckland NZ
Re: Customising the local dashboard
I was happy to see AndyK’s customised dashboard showing the moon phases (missed that since Cumulus 1) so i thought I’d try his new index.html along with the newgrid.css.
Unfortunately my installation does not find moon.png (located in the web folder under CumulusMX) while index.html is installed in the interface folder.
I know nothing about html programming, but tried modifying the image path in index.html to
<p><img id="Moon" <img src="../web/moon.png" but no joy there.
The dashboard displays an image if located in the interface folder or a folder under that (with path modification) but I cannot make it work if located anywhere else.
Can anyone see what I’m doing wrong?
Cheers!
Unfortunately my installation does not find moon.png (located in the web folder under CumulusMX) while index.html is installed in the interface folder.
I know nothing about html programming, but tried modifying the image path in index.html to
<p><img id="Moon" <img src="../web/moon.png" but no joy there.
The dashboard displays an image if located in the interface folder or a folder under that (with path modification) but I cannot make it work if located anywhere else.
Can anyone see what I’m doing wrong?
Cheers!
-
- Posts: 722
- Joined: Thu 20 Aug 2020 8:35 am
- Weather Station: Davis VP2 Plus
- Operating System: RPiv4 64bit Linux 12 Bookworm
- Location: Jersey Channel Islands
- Contact:
Re: Customising the local dashboard
Hi Ned
You are correct that the moon.png file is maintained in the web folder and that for the moon to display on the local desktop it needs to be in the interface folder. My work around for this was to setup a cron job to copy the "web folder" moon to the "interface folder" every 3 hours.
Assuming that you are running CMX on a raspberry pi the terminal instruction is as follows 0 */3 * * * cp CumulusMX/web/Moon.png CumulusMX/interface
There is loads of support on the net to assist with setting up cron jobs
To get the moon.png onto the desktop I used the following script <p><img id = "Moon" ,img src = "moon.png">
You are correct that the moon.png file is maintained in the web folder and that for the moon to display on the local desktop it needs to be in the interface folder. My work around for this was to setup a cron job to copy the "web folder" moon to the "interface folder" every 3 hours.
Assuming that you are running CMX on a raspberry pi the terminal instruction is as follows 0 */3 * * * cp CumulusMX/web/Moon.png CumulusMX/interface
There is loads of support on the net to assist with setting up cron jobs
To get the moon.png onto the desktop I used the following script <p><img id = "Moon" ,img src = "moon.png">
- Ned
- Posts: 258
- Joined: Mon 19 Jul 2010 11:15 am
- Weather Station: WS2083 (aspirated)
- Operating System: Win 10
- Location: Auckland NZ
Re: Customising the local dashboard
Thanks AndyK, but I'm lost already with 'cron jobs'
I had a quick google, is is correct that they run in Unix systems and not Windows? (all I have....)
I had a quick google, is is correct that they run in Unix systems and not Windows? (all I have....)
-
- Posts: 2502
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Customising the local dashboard
Why not just use the "extra files" settings provided by MX?
-
- Posts: 722
- Joined: Thu 20 Aug 2020 8:35 am
- Weather Station: Davis VP2 Plus
- Operating System: RPiv4 64bit Linux 12 Bookworm
- Location: Jersey Channel Islands
- Contact:
Re: Customising the local dashboard
Since my use is for the local desktop only I think the "extra web files" in settings will not help me out. Maybe my customisation has hidden the "extra files" function!
I might just have to dig around and see if I can find my error!
I might just have to dig around and see if I can find my error!
-
- Posts: 2502
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Customising the local dashboard
You can (and I do) use extra files for local copies. I'm on my phone right now so can't give you a screenshot. But it is definitely do-able.
- hornychz
- Posts: 10
- Joined: Mon 11 May 2015 3:54 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Raspbian Wheezy
- Location: Brandys nad Labem - Stara Boleslav, Czech republic
- Contact:
Re: Customising the local dashboard
Hello, now it is working for me...
1) I added the 2 tags into ./CumulusMX/web/websitedataT.json
"UV":"<#UV>";
"IsSunny":"<#IsSunny>";
2) Corrected the code in ./CumulusMX/webfiles/idex.htm
Code: Select all
<tr>
<td colspan="4" class="w3-theme-d1">Solar</td>
</tr>
<tr class="w3-theme-l6 w3-hide" data-cmx-solar>
<td>Solar Radiation (SP440):</td>
<td><span data-cmxdata="SolarRad"></span> W/m²</td>
<td>Evapotranspiration Today</td>
<td><span data-cmxdata="ET"></span> <span data-cmxdata="rainunit"></span></td>
</tr>
<tr class="w3-theme-l6" data-cmx-solar>
<td>UV Index (RK200-07):</td>
<td><span data-cmxdata="UV"></span></td>
<td>Is sunny now?</td>
<?php
$Sunny = '<span data-cmxdata="IsSunny"></span>';
?>
<td><?php if( $Sunny == 1 ) echo "Yes"; else{echo "No";}?></td>
</tr>
You do not have the required permissions to view the files attached to this post.
Zdenek
https://my-meteo.net/
https://my-meteo.net/
- hornychz
- Posts: 10
- Joined: Mon 11 May 2015 3:54 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Raspbian Wheezy
- Location: Brandys nad Labem - Stara Boleslav, Czech republic
- Contact:
Re: Customising the local dashboard
It resolved all -> renamed index.htm to index.php and all is working...
You do not have the required permissions to view the files attached to this post.
Zdenek
https://my-meteo.net/
https://my-meteo.net/
- Ned
- Posts: 258
- Joined: Mon 19 Jul 2010 11:15 am
- Weather Station: WS2083 (aspirated)
- Operating System: Win 10
- Location: Auckland NZ
Re: Customising the local dashboard
I was able to get the dashboard in Windows to show the current moon image just by making a batch file to copy moon.png between folders and then using Windows Task Scheduler to run the bat file every hour. All that is needed now is a page refresh from time to time.
All good, thanks!
All good, thanks!
-
- Posts: 2502
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Customising the local dashboard
You could've done that with the extra files settings in MX itself.Ned wrote: ↑Mon 05 Apr 2021 11:38 pm I was able to get the dashboard in Windows to show the current moon image just by making a batch file to copy moon.png between folders and then using Windows Task Scheduler to run the bat file every hour. All that is needed now is a page refresh from time to time.
All good, thanks!