ślepy test, ale chyba widać problem
- wąłczyłem
- zmieniłem z min na max
- zmieniłem z max na min
- zmieniłem z min ma max
- zmieniłem z max na ok 20%
- wyłączyłem
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.light] kwargs: {}
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.light] 'mode_val' value: C8FF240B
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164107
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.light] RGB value: 13172516. W value: 11
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164107, 'mode': 1}
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164107, "mode": 1}}\x03'
2019-12-11 07:29:47 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF240B'}, 'status': 'notification'}]
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF240B'}, 'status': 'notification'}]
2019-12-11 07:29:47 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF240B'}, 'status': 'notification'}
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF240B'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:29:47 DEBUG (SyncWorker_4) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF240B'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:29:47 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF240B'}
2019-12-11 07:29:47 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:29:47 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.light] kwargs: {'white_value': 255}
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.light] 'mode_val' value: C8FF240B
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164107
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.light] RGB value: 13172516. W value: 255
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164351, 'mode': 1}
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164351, "mode": 1}}\x03'
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}]
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:29:50 DEBUG (SyncWorker_12) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:29:50 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}]
2019-12-11 07:29:50 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}
2019-12-11 07:29:50 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}
2019-12-11 07:29:50 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:29:50 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.light] kwargs: {'white_value': 0}
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.light] 'mode_val' value: C8FF24FF
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164351
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.light] RGB value: 13172516. W value: 255 <-- tu była zmiana na min
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164351, 'mode': 1}
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164351, "mode": 1}}\x03'
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}]
2019-12-11 07:29:57 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}]
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:29:57 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}
2019-12-11 07:29:57 DEBUG (SyncWorker_8) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:29:57 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}
2019-12-11 07:29:57 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:29:57 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.light] kwargs: {'white_value': 255}
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.light] 'mode_val' value: C8FF24FF
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164351
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.light] RGB value: 13172516. W value: 255
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164351, 'mode': 1}
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164351, "mode": 1}}\x03'
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}]
2019-12-11 07:30:00 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}]
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:30:00 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}
2019-12-11 07:30:00 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:30:00 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FF'}
2019-12-11 07:30:00 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:30:00 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.light] kwargs: {'white_value': 49}
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.light] 'mode_val' value: C8FF24FF
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164351
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.light] RGB value: 13172516. W value: 49
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164145, 'mode': 1}
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164145, "mode": 1}}\x03'
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}]
2019-12-11 07:30:03 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}]
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:30:03 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}
2019-12-11 07:30:03 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:30:03 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}
2019-12-11 07:30:03 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:30:03 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:30:06 DEBUG (SyncWorker_9) [custom_components.extalife] Executing action TURN_OFF on channel 10-1, params: {'mode': 1, 'mode_val': 3372164145, 'value': 57}
2019-12-11 07:30:06 DEBUG (SyncWorker_9) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 0, "mode": 1, "mode_val": 3372164145, "value": 57}}\x03'
2019-12-11 07:30:06 DEBUG (SyncWorker_9) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}]
2019-12-11 07:30:06 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}]
2019-12-11 07:30:06 DEBUG (SyncWorker_9) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:30:06 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}
2019-12-11 07:30:06 DEBUG (SyncWorker_9) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 07:30:06 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2431'}
2019-12-11 07:30:06 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 07:30:06 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149