Closed Monkeystation closed 8 years ago
I should go and buy some newer KaKu stuff, I guess ;D
Haha yes! The brightness control is a really nice feature. I've embedded some dimmer switches into my wall sockets which works nicely. I've also added a brightness control to your homebridge plugin which at least allows me to send several "on" commands to the receiver, making it possible to use the basic dimming capabilities. Though it's a bit of a hack and definitely not perfect. I'm pretty new to the HomeKit / Homebridge world and I was wondering if it is possible to display separate on-off switches in the Apple Home app instead of the current toggle switch? This way you could also control the dimming the same way as the KaKu remote does. Even better off course would be to get the brightness control actually working :)
I'm pretty new to the HomeKit / Homebridge world and I was wondering if it is possible to display separate on-off switches in the Apple Home app instead of the current toggle switch?
Right now, the default Homebridge service that's being used is "Outlet".
You can configure the service in the configuration file. An example is shown in the README, where the first device is configured as a "Lightbulb". However, the only characteristic that's supported at the moment is On (to toggle the lightbulb/switch on/off; lightbulbs also have other characteristics that may be worth implementing, but to test those I'm really going to need some actual devices).
Others you could try are "Switch" or "StatelessProgrammableSwitch" (I have no idea what the difference between those two is, nor if they will be presented any differently from the default "Outlet") The "StatelessProgrammableSwitch" uses a different characteristic than Outlet and Switch so won't work.
I'm not sure if this would be possible to implement but many KaKu devices have dimming capabilities. With the basic remote this works by turning on the lamp/switch, press on again to start cycling through from light to dark and vice versa, and confirm by pressing on again. Apparently the Internet Control Systems can also adjust the brightness directly to a given percentage. This could perhaps work with the brightness slider in Homebridge?