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

[QUESTION] Making the MQTT Color topic accept the R, G, B format #1371

Closed
hegeda14 opened this issue Sep 30, 2024 · 4 comments
Closed

[QUESTION] Making the MQTT Color topic accept the R, G, B format #1371

hegeda14 opened this issue Sep 30, 2024 · 4 comments

Comments

@hegeda14
Copy link

Hi :)

Tried to dig through the code/issues/readmes, but only found scarce mentions about this. Is there an option to make the firmware accept the 0-255, 0-255, 0-255 format for the LED Colors? All my ESP32 Tasmota devices are using this, OpenHAB is configured by default for this. Thank you!

@openshwprojects
Copy link
Owner

Hey, what kind of syntax do you want exactly, do you want:
Color 255 255 255
or
Color 255,255,255
or something else?

@hegeda14
Copy link
Author

Hi :)
The second one. Right now, it behaves as:

cmnd/MagicHomeLED5/COLOR 69,255,162
MagicHomeLED5/led_basecolor_rgb/get 690525
stat/MagicHomeLED5/RESULT {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"105,5,37","HSBColor":"340,95,41","Channel":[41,1,14],"POWER":"ON"}

@openshwprojects
Copy link
Owner

i see, can you try now?
0783916

@hegeda14
Copy link
Author

hegeda14 commented Oct 2, 2024

Hi :)
Works wonderfully, thank you for your quick help! Have a splendid day!

@hegeda14 hegeda14 closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants