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

RGB-CCT white mode (Cold/Warm White) does not stick #14

Open
hakmes opened this issue Jun 4, 2020 · 1 comment
Open

RGB-CCT white mode (Cold/Warm White) does not stick #14

hakmes opened this issue Jun 4, 2020 · 1 comment

Comments

@hakmes
Copy link

hakmes commented Jun 4, 2020

I am using this plugin with a RGB-CCT LED strip. I've set the controller to RGB-CCT and using it with the ESP web interface everything functions as expected.

With this plugin I have the issue that when I switch to Cold White mode trough the domoticz interface. It switches to cold white for a second and then returns back to Warm White.

This is in my log.


Switching to cold white:

2020-06-04 09:06:13.986 Status: setcolbrightnessvalue: ID: 249, bri: 54, color: '{m: 2, RGB: 000000, CWWW: ff00, CT: 0}'
2020-06-04 09:06:14.018 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: Command: 'Set Color', Level: 54, Color:{"b":0,"cw":255,"g":0,"m":2,"r":0,"t":0,"ww":0}
2020-06-04 09:06:14.322 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'state': 'ON'}
2020-06-04 09:06:14.568 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'color_temp': 153}
2020-06-04 09:06:14.793 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'brightness': 138}
2020-06-04 09:06:15.018 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'color_temp': 153} 


Switching to warm white:
2020-06-04 09:06:49.971 Status: setcolbrightnessvalue: ID: 249, bri: 54, color: '{m: 2, RGB: 000000, CWWW: 00ff, CT: 255}'
2020-06-04 09:06:50.011 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: Command: 'Set Color', Level: 54, Color:{"b":0,"cw":0,"g":0,"m":2,"r":0,"t":255,"ww":255}
2020-06-04 09:06:50.364 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'state': 'ON'}
2020-06-04 09:06:50.578 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'color_temp': 370}
2020-06-04 09:06:50.855 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'brightness': 138}
2020-06-04 09:06:51.079 (ESP Milight Hub) 001/ESP Milight Hub - 0x12B9/rgb_cct/1: State change: '{'color_temp': 153} 

It seem to revert to color_temp 153.

@hakmes
Copy link
Author

hakmes commented Feb 11, 2023

This fixed it: #15
Pulled line 352 in the code and it works! tnx depuytnl

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

1 participant