hotNipi / node-red-contrib-ui-level

A linear level type widget to the Node-RED dashboard
MIT License
27 stars 6 forks source link

Horizontal Level always displayed as "Max" - again #23

Closed gerhard1951 closed 4 years ago

gerhard1951 commented 4 years ago

Hi, until yesterday I was using node-red-contrib-ui-level without any trouble with an older version. Yesterday I updated to the latest version 0.1.27. After the update a new deployment was urged by all my ui-level nodes. After having done so, I experienced, that depending on the browser type the level display worked correctly or not: Firefox browser on my PC: Level display ok Firefox browser on Android smartphone and tablet: Only "Max" is displayed on all level meters Chrome browser on Andoid tablet: Level display ok.

Who has an idea how to eliminate the dependency of browser types? Best regards Gerhard

hotNipi commented 4 years ago

I have no problems with Android smartphone (Chrome, Brave, Firefox) It may be needs some kind of cache clearing. (Clear private data)

gerhard1951 commented 4 years ago

Unfortunately, cache (and other private data) clearing didn´t help. Other ideas?

gerhard1951 commented 4 years ago

Sorry, I closed the issue unintentionally instead of sending a comment. Clearing the cache (and other private data) did not help. Other ideas?

hotNipi commented 4 years ago

No currently. Can you debug the firefox on mobile device for any possible errors? I know it is painfull and not always successful but if can try .. https://developer.mozilla.org/en-US/docs/Tools/about:debugging

hotNipi commented 4 years ago

Also, as it probably will take some more investigations: How do you run the node red. (locally, cloud, docker ... )? Do you remember what was previous (working) version of ui_level? What is the versions of node red and the dashboard you are using?

gerhard1951 commented 4 years ago

Debugging will need some time, but concerning your other questions.:

Von: hotNipi notifications@github.com Gesendet: Freitag, 15. Mai 2020 14:05 An: hotNipi/node-red-contrib-ui-level node-red-contrib-ui-level@noreply.github.com Cc: gerhard1951 mail@ge-benker.de; State change state_change@noreply.github.com Betreff: Re: [hotNipi/node-red-contrib-ui-level] Horizontal Level always displayed as "Max" - again (#23)

Also, as it probably will take some more investigations: How do you run the node red. (locally, cloud, docker ... )? Do you remember what was previous (working) version of ui_level? What is the versions of node red and the dashboard you are using?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/hotNipi/node-red-contrib-ui-level/issues/23#issuecomment-629197103 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL435QXLJPD7M2UKBXRR533RRUVWVANCNFSM4NBOS4XA .

hotNipi commented 4 years ago

Any good reason why not to update node-red to latest version? v0.20.6 seems kind of old. Can't say if makes any difference according to current issue but ...

hotNipi commented 4 years ago

Ok, I did one update blindly. 0.1.28 will be shortly available.. Try and let me know..

gerhard1951 commented 4 years ago

Sorry, it took me some time to update. I updated node-red and nodejs as you recommended. After the update, version ui_level 0.0.24 was installed. With this version, the bars worked correctly. Then I updated ui_level to version 0.1.28 - and everything works also fine with all output devices and browsers. Unfortunately I cannot say if the nodered-update or ui_level version 0.1.28 were responsible for the improvement. Nevertheless, thanks for your immediate help and recommendations. Best regards Gerhard

hotNipi commented 4 years ago

Nice. But with your help I managed to ui_level also work again with the Edge browser. Thanks a lot :). Case closed

gerhard1951 commented 4 years ago

Just for your information: I tested the dual level mode. Now, the top bar shows always full length independent of the actual value, the bottom bar shows the right value. But only on my Android devices with Firefox.

On an Android device with Chrome browser and on my Windows PC with Firefox it works correctly.

Best regards

Gerhard

Von: hotNipi notifications@github.com Gesendet: Freitag, 15. Mai 2020 18:54 An: hotNipi/node-red-contrib-ui-level node-red-contrib-ui-level@noreply.github.com Cc: gerhard1951 mail@ge-benker.de; State change state_change@noreply.github.com Betreff: Re: [hotNipi/node-red-contrib-ui-level] Horizontal Level always displayed as "Max" - again (#23)

Closed #23 https://github.com/hotNipi/node-red-contrib-ui-level/issues/23 .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/hotNipi/node-red-contrib-ui-level/issues/23#event-3341759596 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL435QQ7HXIDH5KTXWGB533RRVXT5ANCNFSM4NBOS4XA .

hotNipi commented 4 years ago

v0.1.29 has fix for dual mode. It was me not testing all layouts after previous fix was applied.