NorthernMan54 / homebridge-tasmota

Plugin for Tasmota devices leveraging Home Assistant auto discovery
Apache License 2.0
35 stars 9 forks source link

RGB light support with Tasmota 10+ not working #43

Closed NorthernMan54 closed 2 years ago

NorthernMan54 commented 2 years ago

Describe The Bug:

When using RGB lights or LED strips the ability to change colors is not available when using Tasmota 10+. Until resolved, please use Tasmota versions less than 10.x.x.

TimVerheul commented 2 years ago

If I look into the code, this should be easy to implement. If im correct, the only file that needs to be updated is tasmotaLightService.ts right? Or is the rgb_cmd used anywhere else?

It seems that you already got support for changing colors to HSB. This is very useful

NorthernMan54 commented 2 years ago

Only tasmotaLightService.ts handles color lights and led strips.

TimVerheul commented 2 years ago

After downgrading to 9.5, The bulb is fixed. But this is still not showing up in HomeKit image

NorthernMan54 commented 2 years ago

Do a discovery to add a new accessory on the home app. I used a tv accessory to enable a selector for the various effects available,

TimVerheul commented 2 years ago

Oh I see, I needed to go to the available items for homekit and there was the accessory. Thank you this was not clear for me

NorthernMan54 commented 2 years ago

Glad to see you got this working

TimVerheul commented 2 years ago

This issue is still present, because I downgraded to 9.5 and it doesn't properly work on Tasmota 9.5+

phdoerfler commented 2 years ago

Whilst "don't upgrade" might be an OK workaround for those who started with an old tasmota installation, my devices are all on Tasmota 11 and the Tasmota docs are very clear on that you should not downgrade. I'd really like to see this resolved! I tried putting a bounty on this on bountysource.com but their sign-up process seems to have hiccupped on my e-mail.

phdoerfler commented 2 years ago

There we go: https://app.bountysource.com/issues/105666298-rgb-light-support-with-tasmota-10-not-working

NorthernMan54 commented 2 years ago

Everyone, finally got a spare moment to put together a test device and update it to Tasmota 11.x.x. The change was pretty straight forward and should make the colour's a little bit better. Previously I was converting from RGB to HSB and back, but now it is just HSB within HomeKit and Tasmota. So no minor colour issues due to data conversion.