Supergiovane / node-red-contrib-knx-ultimate

Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer.
https://youtu.be/egRbR_KwP9I
MIT License
141 stars 34 forks source link

Startup with dimming from zero #321

Closed Graefer closed 6 months ago

Graefer commented 6 months ago

Hi, two issues/enhancements: 1) if a lamp is off and I turn it on with a short press, it jumps to the previous brightness level (as it should). If a lamp is off and I turn it on by dimming (with a long press), I would expect the lamp to start with 0. Instead of this, the lamp jumps to the previous brightness level which is in memory and continues to dim on from that level.

2) If a lamp ist turned on with a short press, a following long press results that the lamp dims off instead of dimming it on, as I would expect it to do.

Running v.2.3.4 here (with which I am really happy!).

Thank you!

Supergiovane commented 6 months ago

Hi Will work on that as soon as i return home from holiday. 👍🏻

Supergiovane commented 6 months ago

Hi Graefe Please update at least to 2.3.5, as there are some changes in the dimming feature. Then, do you have set these options like this?

Node-RED___Flow_2
Graefer commented 6 months ago

With KNX Brightness Status on "Leave as is" the lamps still jump to the previous level (and it messes up the brightness status on my KNX device). No change with 2.3.5. BTW: This is only a minor request. I am happy as it is, right now.

Supergiovane commented 6 months ago

Hi Graefe You're right. There was a stupid error in the brightness computation. This has now been fixed. As the upcoming version contains many changes, i wish to test it consistently. There is no hurry, because the 2.3.5 is already pretty stable.

Supergiovane commented 6 months ago

PS: if you with to install a beta, you can do it by issuing npm install node-red-contrib-knx-ultimate@2.4.0-beta.0 in the .node-red folder.