openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.69k forks source link

[knx] support for Dimmer with Start-Stop Telegramm #635

Closed openhab-bot closed 8 years ago

openhab-bot commented 10 years ago

There are Dimmers (e.G. Hager TXA213) which need a Stop-Telegram for relative dimming. Stop is DPT 3.007 '0' or '8'. The Advantage of Start-Stop is less Telegramms are needed, only one Start-Telegramm and one Stop-Telegramm per dimming. It should be possible to set the Dimming behavior (cyclic Telegramms or Start-Stop) by Setting 'sendFrequency=-1'

Original issue: http://code.google.com/p/openhab/issues/detail?id=125

openhab-bot commented 10 years ago

I found this interesting document by ABB:

http://www.knx-gebaeudesysteme.de/sto_g/English/APPLICATIONS/2CDC500051M0202_ApplikationsHB_lightingcontrol_EN.pdf

On page 26, you see the 4 bit telegrams for KNX dimming. Moreover, as also stated on this page, it seems that start/stop dimming is the todays standard solution.

Maybe IncreaseDecreaseType could be extended with an additional STOP value. This value shall be sent unconditionally when releasing the button after a long operation (in both cyclic and "one-shot" cases). Using sendFrequency=0 shall disable the cyclic sending of the INCREASE/DECREASE value.

openhab-bot commented 10 years ago

My suggestion would be to handle these specifics in the KNX binding. With a special configuration, the binding itself could regularly send INCREASE/DECREASE to the event bus. The EnOcean binding already behaves this way and we discussed to possibly extract the so-called "profiles" from it, so that other bindings can use the same logic.

maihacke commented 10 years ago

This should be useful for z-wave multilevel switches, too

belmondo2001 commented 10 years ago

Hello, Is it planned to implement this functionality?. My MDT glass buttons only have this opportunity to address a dimmer.

tobyS commented 10 years ago

Is this issue in the works somehow?

belmondo2001 commented 10 years ago

Any News ?

belmondo2001 commented 10 years ago

I have implemented the Start-Stop Dimming DPT 3.007 '0' or '8'. If someone need this, i could send him the changed 'org.openhab.binding.knx-1.6.0-SNAPSHOT.jar'. I need this for MDT glass buttons to dimm HUE Bulbs.

udo1toni commented 10 years ago

I'm interested, but wonder, if this patch solves my problem. I have HAGER KNX-Dimmers, which need Start-Stop-Telegrams for relative dimming, i.e. in Classic UI.

madon commented 9 years ago

HI belmondo2001, can you please prepare a patch for the DPT 3.007 dimming, so the feature can be merged into openhab

udo1toni commented 9 years ago

Are there any news to this issue? Since greent is not longer supported/developed, there is no solution for relative dimming in openHAB with HAGER-Dimmers (and others, too, I think). openHAB should be able to work with standard knx-dimmers...

teichsta commented 9 years ago

I have implemented the Start-Stop Dimming DPT 3.007 '0' or '8'.

would be great to have this enhancement as PR. Would you mind sending a PR @belmondo2001 ? Thanks, Thomas E.-E.

cniweb commented 8 years ago

@teichsta Is the PR from @aruder77 OK?

9037568 commented 8 years ago

Closed via merged PR.

udo1toni commented 8 years ago

Do I have to configure something to make use of Start-Stop-Dimming? Updated openHAB to 1.8.3 and got addons from here:https://openhab.ci.cloudbees.com/job/openHAB1-Addons/1285/ but dimming through increase/decrease commands doesn't work as expected.