Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT HSB color command #1642

Closed
DerEnderKeks opened this issue Jan 19, 2018 · 7 comments
Closed

MQTT HSB color command #1642

DerEnderKeks opened this issue Jan 19, 2018 · 7 comments
Labels
enhancement Type - Enhancement that will be worked on fixed Result - The work on the issue has ended

Comments

@DerEnderKeks
Copy link

DerEnderKeks commented Jan 19, 2018

Do understand that right that there is no support to set a HSB color via MQTT right now? I found some code related to HSB but no way to use that with MQTT commands.

If so, it would be really nice to have this possibility as I'm using OpenHAB which can't natively send RGB values, but only HSB values. It would also have to include the HSB color in the response.
(The format should be like it's for RGB right now; "h,s,b")

@ThomDietrich
Copy link

ThomDietrich commented Jan 21, 2018

One can always build an openHAB rule to translate back and forth between HSB and RGBW. See: https://community.openhab.org/t/sonoff-b1-rgbcw-wifi-bulb-w-sonoff-tasmota/34202

Still I agree, it would be amazing if Tasmota also supported HSB natively.

@DerEnderKeks
Copy link
Author

I thought about doing that but it wouldn't feel very native to do it like that and that's why I dislike that way.

@ThomDietrich
Copy link

ThomDietrich commented Jan 22, 2018

Not sure what you mean. To expect everything always served in just the right bits is also a bit too much to ask. If you are still interested, I build working rules yesterday evening:

See below

@DerEnderKeks
Copy link
Author

I will probably use the rules for now but having a native integration of HSB in Tasmota would still be nice to have. :D

@ThomDietrich
Copy link

Yes indeed, I don't argue with that 😉

Actually I'd also like the implementation of an RGBType in openHAB. It's surprising that none exists...

@Cypris2010
Copy link

I also would really appreceate this.

@ThomDietrich
Copy link

The working openHAB solution can be found here: https://community.openhab.org/t/light-color-rgb-rgbw-rgbcw-to-and-from-hsb-dimmer-conversion/39132

@arendst arendst added enhancement Type - Enhancement that will be worked on fixed Result - The work on the issue has ended labels Mar 20, 2018
arendst added a commit that referenced this issue Mar 20, 2018
5.12.0h
 * Add PWM status to command State if PWM enabled (#2203)
 * Add
command HSBColor Hue,Sat,Bri (#1642, #2203)
 * Add command Channel
0..100 to control dimmer value for individual color channels (#2111,
#2203)
@arendst arendst closed this as completed Apr 2, 2018
curzon01 pushed a commit to curzon01/Tasmota that referenced this issue Sep 6, 2018
5.12.0h
 * Add PWM status to command State if PWM enabled (arendst#2203)
 * Add
command HSBColor Hue,Sat,Bri (arendst#1642, arendst#2203)
 * Add command Channel
0..100 to control dimmer value for individual color channels (arendst#2111,
arendst#2203)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type - Enhancement that will be worked on fixed Result - The work on the issue has ended
Projects
None yet
Development

No branches or pull requests

4 participants