rthewhite / homebridge-homewizard

23 stars 13 forks source link

Kaku Dimmer #55

Open erikvanderhorst82 opened 7 years ago

erikvanderhorst82 commented 7 years ago

When I have 1 light on, and I Say all lights on. The light that is allready on wil go in dimmer set mode. And will go to 100% and back to 0% and then back again to 100% and so on. Is there a fix for that or do I something wrong?

DB-Alex commented 7 years ago

Yes i have this issue too!

rthewhite commented 7 years ago

Could you guys update to version 0.0.57 and test please? I made some changes which should hopefully resolve this issue but i can't test it myself. Please test if this issue is resolved and that dimmers and normal light switches are still working fine.

erikvanderhorst82 commented 7 years ago

Thnx for the support, just update to version 0.0.57 but the issue isn't gone. So still the same problem.

DB-Alex commented 7 years ago

Still not fixed indeed. I can test it easily when I put a Kaku dimmer on and then again I put it on in the iPhone Home app (before the state is updated) Then it goes in to dimmer mode

erikvanderhorst82 commented 7 years ago

I did a test with the kaku plugin and a 433mhz transmitter directly to my kaku dimmer. And there is the same problem. So when the light is on, and ask siri to put all the lights on it goes in the dimmer setting mode

rthewhite commented 7 years ago

Ok, i'll see if i can find some time this weekend to look into it. The thing is i can't test it myself since i don't have a HomeWizard anymore.

erikvanderhorst82 commented 7 years ago

Ok that would be nice, do you have an kaku dimmer working on a raspberry with a 433mhz transmitter? Because that is my set up now. So if it works with this setup without an homewizard would also be perfect.

rthewhite commented 7 years ago

I do and i understand the behavior and have an idea on how the fix it. Currently the homewizard plugin just sends the on command through no matter what the current status of the dimmer is. So i need to make sure that i check the status before i send the command to the homewizard and don't send it if it's already turned on. That's what i tried in 0.0.57 but apparently i made a mistake somewhere.

DB-Alex commented 7 years ago

Any updates already?

rthewhite commented 7 years ago

Sorry didn't find time for it yet. Will try to see if i have sometime tonight to look into it.