This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Color code data type
#1
Hi,

I have HUE color hex code: for example #255000 "GREEN" and I want to set this code to KNX group address 10/0/40 that type is 232.600. How can I do that?

Thanks!

Sorry for lame questions.
Reply
#2
Hi
The value has to converted to int before writing you can do like this
Code:
RGB = lmcore.hextoint('255000')

grp.write('1/1/1', RGB)
------------------------------
Ctrl+F5
Reply
#3
Thanks a lot!
Reply


Forum Jump: