sajmonr / homebridge-hubspace

Homebridge plugin for controlling Hubspace accessories.
Apache License 2.0
9 stars 9 forks source link

RGB color control for Commercial electric recessed LED #22

Open Yashrg opened 1 year ago

Yashrg commented 1 year ago

Hello,

I have these can-less ceiling RGB lights from Home Depot that I have added around my home. I installed the subspace plugin and can control the power and dimming using the Apple home app.

However, there is no way to control the color of the lights using the Home app. Is this something that is possible in the home app in some way?

apaulo11 commented 1 year ago

Curious about the same thing. I have the 4" recessed lights.

Yashrg commented 1 year ago

@apaulo11 I found a fork of a different Hubspace plugin that seems to have support for color lights. However, I have been running into issues trying to install that fork. If you want to give it a try, here is the link https://github.com/shrayus-masanam/homebridge-plugin-hubspace-color

sajmonr commented 1 year ago

Hi, there is a work in progress on lights with RGB and light temp support, however, I don't have a timeframe when that will be available. I'm not familiar with that fork, so I cannot comment on the functionality. I'll take a look at it though. Thanks.

apaulo11 commented 1 year ago

Running v2.0.0-preview3 currently and that seems to be working well for controlling RGB.

I'm excited to build out iOS Shortcuts that will activate specific color patterns with one tap for things like holidays and sports teams (the Hubspace app falls short in this regard). Also, it's frustrating that the Home.app and Shortcuts.app won't let me specify color temperature (e.g., 3000K) or an RGB value (e.g., #502E81).

sajmonr commented 1 year ago

You beat me to posting here... I literally just published preview 3 this morning. It is first release that includes rewritten underlying architecture of discovering devices from the API. The original one was very rigid and was preventing from adding some devices (like power strips). Anyways, this preview adds support for RGB, but not for color temperature just yet. I'm pretty new to Homebridge plugin development, but once you add RGB support Home app shows the temperature wheel regardless whether it is implemented or not. I'm not sure if this is me misunderstanding something or that's just how HomeKit works (which would be weird). Anyways, it is a work in progress, hence the beta version. I hope implementing temperature will not take that long and we can have v2 out soon. I appreciate the feedback!

apaulo11 commented 1 year ago

I really appreciate all your work — it's great to finally be able to control Hubspace things in the Home.app.

Anyways, this preview adds support for RGB, but not for color temperature just yet.

Oh, interesting. I'm able to control color temperature, but I was lamenting that I can't specify a value. It just shows a temperature wheel: IMG_D6FAB41E5132-1

That's most definitely a limitation of the Home.app, not your plugin. Regardless, I'm happy to test any subsequent versions. Do you have a Patreon or similar so I can support you in other ways?

Yashrg commented 1 year ago

Thank you so much for the preview. I am running it now as well. I did notice that the color temperature wheel doesn't completely turn these lights to their white light settings. As a result, they are not as bright as they would be if I used the subspace app to pick a color temperature for white light. But this makes sense after reading that you haven't actually added support for color temperature yet. Just wanted to share what I noticed as I was testing it.

sajmonr commented 1 year ago

I appreciate all the feedback guys! @apaulo11 Thanks for wanting to support. I don't have Patreon or anything like that. It's enough for you to star the repo and keep the feedback coming. 👍