Page 20 of 21
Re: Reworked default websites
Posted: Sat 18 Jan 2025 10:25 pm
by ConligWX
Excellent.
Thanks for your hard work Neil
Re: Reworked default websites
Posted: Mon 27 Jan 2025 12:40 pm
by philpugh
Neil
Lovely work on V3 - just noticed that there are a couple of spelling errors in todayVyest.html. In the Wind section Highest is incorrectly spelled twice (Lines 196 and 201)
Cheers
Re: Reworked default websites
Posted: Tue 11 Feb 2025 4:59 am
by griffo42
Thanks for your great work with these. Congratulations.
I have noticed recently that, if you would like all the presentations to be consistent in the Records tab -
there are some pages where between the record and its timing there is an "at" whereas in other pages the "at" is not there for example,
Screenshot 2025-02-11 142656.PNG
I have also noticed that in some rainfall records " on on" appears whereas only "on" is necessary.
Screenshot 2025-02-11 142239.PNG
Thanks and best wishes
Re: Reworked default websites
Posted: Tue 11 Feb 2025 9:41 am
by NeilThomas
Hi
Thanks for the heads up on that - it's down to CumulusMX sometimes providing the 'at' and sometime not. Adjustments made and available for upload on either my
https://www.oaktreewebs.co.uk/wiki/doku.php?id=start or the CumulusMX Wiki
Forgot to update th extra 'on' on the all time records page. This is on line 205 of the html file so can easily be corrected.
Neil.
Re: Reworked default websites
Posted: Wed 12 Feb 2025 11:29 pm
by griffo42
Hi Neil
Sorry to be a boor but under the All records tab, the pages for "This year" and "This month" also need similar adjustments to those noted in your last post.
Best wishes
Re: Reworked default websites
Posted: Thu 13 Feb 2025 9:30 am
by NeilThomas
griffo42 wrote: ↑Wed 12 Feb 2025 11:29 pm
Hi Neil
Sorry to be a boor but under the All records tab, the pages for "This year" and "This month" also need similar adjustments to those noted in your last post.
Best wishes
Not a boor but have you hard refreshed the pages - all the 'Recors' pages have an 'at' at the appropriate place - some are small though as these are added by a style attached to the time tag. Others include the 'at' with the data returned by CumulusMX and are not under my control.
I have checked both my development system locally and my published website and there is nothing wrong as far as I can see.
Re: Reworked default websites
Posted: Thu 13 Feb 2025 10:49 am
by water01
I have loaded the latest version and I agree with Neil that it is correct as far as "at" is concerned.
Re: Reworked default websites
Posted: Thu 13 Feb 2025 12:33 pm
by water01
I have noticed an error though that I am getting "undefined" for TempAvg24hrs on the front dashboard
Code: Select all
<span data-cmxdata="TempAvg24Hrs">undefined</span>
Re: Reworked default websites
Posted: Thu 13 Feb 2025 1:26 pm
by NeilThomas
water01 wrote: ↑Thu 13 Feb 2025 12:33 pm
I have noticed an error though that I am getting "undefined" for TempAvg24hrs on the front dashboard
Code: Select all
<span data-cmxdata="TempAvg24Hrs">undefined</span>
Can you check your website data.json file that is uploaded. (You may have a local copy if you have set to make local copies). It should have a tag on line 61:
If this is missing your station is not uploading that data. You can either add the tag to the websitedataT.json file:
or add the style w3-hide to the div on line 130 of the index.html page.
Neil
Re: Reworked default websites
Posted: Thu 13 Feb 2025 4:30 pm
by water01
OK found the problem. I have also done it before.
It is /web directory in a release that contains latest versions of files, in this case websitedataT.json, and I always forget that these may have changed!!
And sure enough it had, copied the latest version and redid the upload and voila TempAvg24hrs is populated.
I feel like this should be pointed out in a release as it is not always obvious that changes have been made to a previous version of these files, and I am sure I am not alone in forgetting to upgrade this file!!
Re: Reworked default websites
Posted: Thu 13 Feb 2025 4:41 pm
by NeilThomas
water01 wrote: ↑Thu 13 Feb 2025 4:30 pm
OK found the problem. I have also done it before.
It is /web directory in a release that contains latest versions of files, in this case websitedataT.json, and I always forget that these may have changed!!
And sure enough it had, copied the latest version and redid the upload and voila TempAvg24hrs is populated.
I feel like this should be pointed out in a release as it is not always obvious that changes have been made to a previous version of these files, and I am sure I am not alone in forgetting to upgrade this file!!
Oh that the Wiki was usable!
Re: Reworked default websites
Posted: Fri 14 Feb 2025 7:32 am
by griffo42
NeilThomas wrote: ↑Thu 13 Feb 2025 9:30 am
griffo42 wrote: ↑Wed 12 Feb 2025 11:29 pm
Hi Neil
Sorry to be a boor but under the All records tab, the pages for "This year" and "This month" also need similar adjustments to those noted in your last post.
Best wishes
Not a boor but have you hard refreshed the pages - all the 'Recors' pages have an 'at' at the appropriate place - some are small though as these are added by a style attached to the time tag. Others include the 'at' with the data returned by CumulusMX and are not under my control.
I have checked both my development system locally and my published website and there is nothing wrong as far as I can see.
Unfortunately, there are 2 pages which, it seems, still need a "look at" by you. The screenshots pf my pages were taken after I cleared the cache in Win 11 and pressed F5 to reload.
Screenshot 2025-02-14 095919m.PNG
Screenshot 2025-02-14 095851m.PNG
best wishes
Re: Reworked default websites for PWS-Suttenbrunn [all working fine]
Posted: Sun 16 Feb 2025 6:00 am
by lse-cumulus
After detecting this post, I had to immedately try the alternative public webinterface for CMX for my site, as I like the look and feel and fast responsiveness (especially the gauges and the icons like "fa-solid fa-cloud-sun-rain"). Downloaded software from here
https://www.cumuluswiki.org/a/Default_W ... evelopment and followed instructios from wiki
https://oaktreewebs.co.uk/wiki/doku.php?id=start
Great Job Neil! thx
- Installation in parllel to my existing CMX webinterface worked almost ouf the box (the files are distinct html/htm and also the .js files have separate names except noaarpts.js and that works for both)
- Only had to keep my old /lib/steelseries directory and to merge /css/gauges.css to have CMX legacy and AI gauges work in paralell
- adapted the frameDesign for /lib/steelseries/scripts/gauges.js to get BLACK_METAL layout
- Had to edit /js/charts.js and /js/chartshistory.js to adapt the following path and filenames of the json datafiles to be in sync with my CMX upload and get also these charts working: co2sensor ('co2sensordata.json'), usertemp, leafwet, soilmoist, soiltemp, extratemp, extradew, extrahum, allchillhrs (dataPath + 'allchillhrsdata.json'), alldailysnow
- selected theme in /js/page-manager.js
- extended websitedataT.json for Lightning
- extended aw-menue.js to add some additional pages (with icons!) and linked with my CMX legacy and CUtils pages
- added some pages based on template.html (that offers a lot of layout options) under menue charts and reports
The resulting page can be seen here:
https://leonas.ddns.net/index.html
- Somehow lost the running right->left scrolling of the Current Conditions on the gauges.html (could not yet identify, but that is just a minor issue for another day)
update: found solution: have to use new /lib/steelseries/... to get scrolling of current condiation; kept /lib/steelseries.old for legacy gauges.htm and adapted script path in gauges.htm; now gauges are drawn in both interfaces; scrolling works in alternate interface but not yet in legacy gauges.htm (guess I also have to seperate /css/gauges.css)
- Could not get the seagull animation working, tried 'Animation': 'slideLeft' in page-manager.js (and 'zoom')
update: seagull animation now works, found keyword options in main.css: fadeIn, growUp, fadeDown, fadeAcrossDown, expand (and you have to close/re-open browser after change)
Re: Reworked default websites
Posted: Sun 09 Mar 2025 1:06 pm
by water01
Has the default website code been changed to work with the HTML formatted NOAA reports?
Re: Reworked default websites
Posted: Sun 09 Mar 2025 2:35 pm
by NeilThomas
water01 wrote: ↑Sun 09 Mar 2025 1:06 pm
Has the default website code been changed to work with the HTML formatted NOAA reports?
Not yet, it’ll be middle of next week.