snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 56 forks source link

problem about relative dimming,using Handler without feedback. #153

Open happylichuanxi opened 4 years ago

happylichuanxi commented 4 years ago

hi there,my knx dimming module only support relative dimming ,I have tried many config files but all failed ,do you have any idea where's the problem?

snowdd1 commented 4 years ago

There currently is no solution. You'll have to write your on dimmer handler that counts the dimming telegrams and calculates an absolute value. And vice versa. Apple did not care about those dimmers.

fred925 commented 3 years ago

Relative dimming. My dimmer modules communicate the brightness with 4 bits (not 1 byte), is this then a relative dimmer? I cannot get my dimmers to work with the current handlers, I can switch off dimmer lights, and I can see in HomeKit (iPhone) that the dimmer value increase/ decrease when I manipulate them from the dimmer wall switch's. Has anyone made a solution to this?

snowdd1 commented 3 years ago

Hi @fred925 , you are right - However, it seems that your dimmer module is able to send the status as 1-byte percentage - otherwise you wouldn't be able to see the value change in Homekit. A lot of dimmer modules support both - 4 bit up/down telegrams and 1 byte percentage to "jump" to the desired brightness.