homebridge-homematicip icon indicating copy to clipboard operation
homebridge-homematicip copied to clipboard

HM IP Dimmer 100% flicker

Open KoljaV opened this issue 2 years ago • 4 comments

Hi,

I guess it is common problem for people using HM IP Dimmers with HomeKit. Unfortunately, the Homematic IP API does not seem to know a normal “On” for Dimmers, but only “setDimLevel”. Thus, the light initially goes to 100% when off previously. This results in a flicker when dimming. Is there any solution for that? Maybe, by storing the last dim value within this plugin?

Thanks a lot, Kolja

KoljaV avatar Oct 31 '22 07:10 KoljaV

Hi @KoljaV

I tried several things but the current behavior is the best I could achieve for now. Home app and Eve app seem to send a different order of "on" and "setDimLevel" and in the end I thought the end result is what matters. But I will look at it again - maybe I come up with a better solution.

Marc

marcsowen avatar Nov 14 '22 08:11 marcsowen

Hi @KoljaV

I tried several things but the current behavior is the best I could achieve for now. Home app and Eve app seem to send a different order of "on" and "setDimLevel" and in the end I thought the end result is what matters. But I will look at it again - maybe I come up with a better solution.

Marc

Hi @marcsowen ! Thanks for your reply! I can record a video, if you like. It really feels not very smart. :) but for sure, that’s not your fault! Thanks for the great work! do you have experiences/knowledge with the last dim value feature of HM IP. I read somewhere that is activated by sending a 100,5% as dim level?

BR, Kolja

KoljaV avatar Nov 14 '22 21:11 KoljaV

I read somewhere that is activated by sending a 100,5% as dim level?

Oh, this sounds interesting! Do you remember where you read it? The dim level is actually provided as a floating point value between 0 and 1. So 100,5% would be 1,005 - but I guess it's more like 1,5? Anyway, I will try this out. If you stumble on the link where this topic is discussed, let me know.

Marc

marcsowen avatar Nov 16 '22 09:11 marcsowen

https://homematic-forum.de/forum/viewtopic.php?t=12099

KoljaV avatar Nov 16 '22 10:11 KoljaV