Page 3 of 18

Re: Alternative CumulusMX Interface

Posted: Mon 15 Nov 2021 12:37 pm
by yamen
Same issue confirmed.

Re: Alternative CumulusMX Interface

Posted: Mon 15 Nov 2021 3:05 pm
by NeilThomas
Hi Guys

I have looked through all the code and can find no reason why this has happed. However, I am having difficulty with transferring stuff between my rPi and Mac using VNC. So I am wondering if the transfer stripped out or corrupted the zip file.

Would either of you be prepared to test the system for me. I can provide you with a new zip file that will create a second copy of the alternative interface in a folder ai.CumulusMX-v2 so that it won't corrupt your existing system. This will come directly from my rPi.

Re: Alternative CumulusMX Interface

Posted: Mon 15 Nov 2021 3:11 pm
by HansR
NeilThomas wrote: Mon 15 Nov 2021 3:05 pm Hi Guys

I have looked through all the code and can find no reason why this has happed. However, I am having difficulty with transferring stuff between my rPi and Mac using VNC. So I am wondering if the transfer stripped out or corrupted the zip file.

Would either of you be prepared to test the system for me. I can provide you with a new zip file that will create a second copy of the alternative interface in a folder ai.CumulusMX-v2 so that it won't corrupt your existing system. This will come directly from my rPi.
Sure, post/send it.

Re: Alternative CumulusMX Interface

Posted: Mon 15 Nov 2021 5:59 pm
by water01
I can test it as well.

Re: Alternative CumulusMX Interface

Posted: Mon 15 Nov 2021 6:02 pm
by AndyKF650
Yes count me in as a tester as well.

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 10:05 am
by NeilThomas
Hi all

Version 2 of the Alternative Interface is finally ready with thanks to AndyKF650, HansR and water01 who kindly helped me iron out the bugs.

This version has the same look and feel as version 1 but now uses flex containers wherever possible and appropriate. This is mainly in the 'weather data' pages making it easy for you to change the order in which blocks are displayed. It also makes better use of space when viewing on smaller screens. This applies to the following pages:
  • The Dashboard - The alarms can be hidden and the sunrise, etc., data is displayed in a popup.
  • Current readings - All blocks align correctly and can also be made to be then same height.
  • Gauges - All blocks align correctly and you can reorder them according to your needs just by changing their 'order=x' style. You don't need to cut-n-paste.
  • All Chart pages - All charts are zoomable, and the selection buttons always display as full rows. You can change their order as above if you want.
  • Today v Yesterday - All done using flex containers, the 'Pressure', 'Hums' and 'Solar' panels can be re-arranged in their panel and all 4 large panels can also be reordered.
  • Weather Records - The buttons and the main category panels all use flex boxes so can be reorganised to suite your specific interest - for example you can put rainfall at the top if preferred.
  • Extra Sensors - If you only have CO2 and Partical sensors these can be placed at the top of the page to avoid having to scroll down.
  • Airlink Sensors - Arranged as columns; outdoor / indoor by default but, again can be changed.
The Main Configuration pages
Only superficial changes have been made to these such as any that use a row of buttons, all of which are in flex boxes. The exception to this are the Data Logs pages which have had one of the library javascript files modified to make better use of the popup panel used to actually edit values.
The only other change is to the Diary / Conditions editor pages which are now combined into one page.

Down load using the link below.

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 3:37 pm
by Mapantz
I think I have installed this before I saw the 'withdrawn to errors'

It seems to be working fine?

Great work anyway- really like it!

I do see one error though; Loading the gauges page has dew point as the default, but there's no reading, if I change it to feels like, there's no reading either.

Side note: Not sure if you're interested in using them, but I put together my own set of images for up/down arrows and online/offline.
cmx_img.zip

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 3:53 pm
by NeilThomas
Hi

One of my testers has reported an error when trying to access the Page Manager which controls the header and footer positioning on every page. It also loads any theme you have switched too. I have not been able to replicate the error so I have removed the comment about Errors.

With regards to the gauge issue, I don't use the 'Feels Like' readings and when I switch to that gauge, I also get no response from the gauge. However, the Dew Point reading does work. I'll put that on my todo list to check that Have included all the required data.

Neil

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 4:01 pm
by Mapantz
NeilThomas wrote: Thu 25 Nov 2021 3:53 pm
With regards to the gauge issue, I don't use the 'Feels Like' readings and when I switch to that gauge, I also get no response from the gauge. However, the Dew Point reading does work. I'll put that on my todo list to check that Have included all the required data.

Neil
The dew point shows this when I first load the page:
Screenshot 2021-11-25 155855.png
However, if I switch to windchill for example, then back to dew point, it works.

PS: Small typo on the 'Recent Charts' page title.
Screenshot 2021-11-25 160056.png

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 4:08 pm
by HansR
NeilThomas wrote: Thu 25 Nov 2021 3:53 pm Hi

One of my testers has reported an error when trying to access the Page Manager which controls the header and footer positioning on every page. It also loads any theme you have switched too. I have not been able to replicate the error so I have removed the comment about Errors.

With regards to the gauge issue, I don't use the 'Feels Like' readings and when I switch to that gauge, I also get no response from the gauge. However, the Dew Point reading does work. I'll put that on my todo list to check that Have included all the required data.

Neil
I must copy the directory to interface/ai.cmx-v2 to get it working, I would expect it to be ai.cmx which does not work.
The version should not be in the directory name.

NB: you may call me by name, I am not afraid of what I say here even if in error which is just human.

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 4:22 pm
by NeilThomas
Hi Hans

There is nothing in the code that makes it directory specific. Nothing is accessed using an absolute path to resources in stored in this release, only relative urls are used. Libraries from the default installation are accessed using an absolute url so don't include any reference to the directory used to contain the alternative interface.

My system is running from a completely different subdirectory in 'interface'. In fact I have just completely renamed the parent folder for this version and it still functions as expected.

Neil

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 4:29 pm
by PaulMy
Nice job Neil, and thanks for continued development.
I do see one error though; Loading the gauges page has dew point as the default, but there's no reading, if I change it to feels like, there's no reading either.
With regards to the gauge issue, I don't use the 'Feels Like' readings and when I switch to that gauge, I also get no response from the gauge. However, the Dew Point reading does work. I'll put that on my todo list to check that Have included all the required data.
My ai-v2 Gauges show Dew point as default and as 3.6° which is ok and the popup also shows it correct. However if I change to Feels Like it shows -20.0 which I believe is like null, and the popup shows Feels Like Temperature Lowest and highest as -9999° C at undefined . Feels like is in my monthly data files. All the other selectable items, Apparent, Wind Chill, etc. are ok including the popup. And that then also leads to... Should that Gauge block be identified as Dewpoint, or as Other Temps?

The Gauges in the default website show correct for Dew point, Feels like, etc... http://www.komokaweather.com/cumulusmx/gauges.htm

Enjoy,
Paul

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 5:27 pm
by HansR
NeilThomas wrote: Thu 25 Nov 2021 4:22 pm Hi Hans

There is nothing in the code that makes it directory specific. Nothing is accessed using an absolute path to resources in stored in this release, only relative urls are used. Libraries from the default installation are accessed using an absolute url so don't include any reference to the directory used to contain the alternative interface.

My system is running from a completely different subdirectory in 'interface'. In fact I have just completely renamed the parent folder for this version and it still functions as expected.

Neil
I just retried the same exercise (copy as is to interface/ai.cmx-v2 and then rename to ai.cmx) and indeed it now works.
It may have been a cache issue (the previous test version was ai.cmx and had errors).
I should have done a ctrl-F5 before reporting.

Re: Alternative CumulusMX Interface

Posted: Thu 25 Nov 2021 10:00 pm
by NeilThomas
Hi Hans

That is such an easy mistake to make. The number of times I have done it I don’t care to think. It’s even easier when editing Wordpress sites the have their own cache, a theme cache and your own computer cache.

Neil.

Re: Alternative CumulusMX Interface

Posted: Sat 27 Nov 2021 10:40 am
by NeilThomas
Hi Paul

The next update to the AI v2 will fix this - I left out the Feels Like lines in the gaugefeed.js file. The update should happen later today.
PaulMy wrote: Thu 25 Nov 2021 4:29 pm Nice job Neil, and thanks for continued development.
I do see one error though; Loading the gauges page has dew point as the default, but there's no reading, if I change it to feels like, there's no reading either.
With regards to the gauge issue, I don't use the 'Feels Like' readings and when I switch to that gauge, I also get no response from the gauge. However, the Dew Point reading does work. I'll put that on my todo list to check that Have included all the required data.
My ai-v2 Gauges show Dew point as default and as 3.6° which is ok and the popup also shows it correct. However if I change to Feels Like it shows -20.0 which I believe is like null, and the popup shows Feels Like Temperature Lowest and highest as -9999° C at undefined . Feels like is in my monthly data files. All the other selectable items, Apparent, Wind Chill, etc. are ok including the popup. And that then also leads to... Should that Gauge block be identified as Dewpoint, or as Other Temps?

The Gauges in the default website show correct for Dew point, Feels like, etc... http://www.komokaweather.com/cumulusmx/gauges.htm

Enjoy,
Paul