Czy ktoś posiada SLR-22?

  • 72 Odpowiedzi
  • 8699 Wyświetleń
*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #60 dnia: Grudnia 10, 2019, 22:28:26 »
Brakuje tam : na końcu linii po 2. Dodaj i zobacz.
Tak to jest jak się na komórce bez edytora programuje  ;D

Ja już końce na dzisiaj. Jak nie zadziała to ściągnij ostatnia wersję z wczoraj żeby nie stracić sterowania tym SLR
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #61 dnia: Grudnia 10, 2019, 22:33:54 »
tak, już poprawiłem i .... wygląda na to że działa :D
Ale jeszcze potestuję

*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #62 dnia: Grudnia 10, 2019, 22:36:19 »
tak, już poprawiłem i .... wygląda na to że działa :D
Ale jeszcze potestuję
To się nazywa pozytywne zakończenie dnia  ;D Dzięki ponownie za cierpliwość ;)
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #63 dnia: Grudnia 10, 2019, 22:40:12 »
he he jak dla mnie wszystko działa jak powinno, ale..............................................
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 275, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 316, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 493, in state_attributes
    data[ATTR_EFFECT] = self.effect
  File "/config/custom_components/extalife/light.py", line 220, in effect
    return MAP_MODE_VAL_EFFECT[mode_val]
KeyError: '2'
"pewne niedociągnięcia są" :D

Jeszcze jedna sprawa - jeśli W zmniejszy się na 0% to nie ma efektu (nie ściemnia się), ale przy zmniejszeniu do 1% już jest ok, tylko 0% nie reaguje
« Ostatnia zmiana: Grudnia 10, 2019, 22:46:43 wysłana przez SebiCo »

*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #64 dnia: Grudnia 11, 2019, 07:46:21 »
Ok, KeyError już powinien być naprawiony.

A co do braku reakcji na 0% to wrzuć proszę log z HA bo muszę widzieć wartości jakie HA podaje do metody turn_on
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #65 dnia: Grudnia 11, 2019, 08:33:40 »
ś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
« Ostatnia zmiana: Grudnia 11, 2019, 08:36:13 wysłana przez SebiCo »

*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #66 dnia: Grudnia 11, 2019, 08:45:03 »
ś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
Zdecydowanie widać problem. Wychodzą na jaw kolejne różnice Pythona do innych języków. Ok chyba uda się naprawić dość łatwo. Stay tuned😉
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant

*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #67 dnia: Grudnia 11, 2019, 08:56:36 »
ok, no to zobaczmy czy rozumiem już niuanse Pythona czy nie :) Zmiany zrobione
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #68 dnia: Grudnia 11, 2019, 09:21:21 »
Wygląda ok, ale potwierdzę "naocznie" dopiero po południu  ;)
scenariusz ten sam:

2019-12-11 08:19:03 DEBUG (SyncWorker_7) [custom_components.extalife.light] kwargs: {}
2019-12-11 08:19:03 DEBUG (SyncWorker_7) [custom_components.extalife.light] 'mode_val' value: C8FF2431
2019-12-11 08:19:03 DEBUG (SyncWorker_7) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164145
2019-12-11 08:19:03 DEBUG (SyncWorker_7) [custom_components.extalife.light] RGB value: 13172516. W value: 49
2019-12-11 08:19:03 DEBUG (SyncWorker_7) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164145, 'mode': 1}
2019-12-11 08:19:03 DEBUG (SyncWorker_7) [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 08:19:03 DEBUG (SyncWorker_7) [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 08:19:03 DEBUG (SyncWorker_7) [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 08:19:03 DEBUG (SyncWorker_7) [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 08:19: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 08:19: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 08:19:03 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:03 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19: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 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.light] kwargs: {'white_value': 250}
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.light] 'mode_val' value: C8FF2431
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164145
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.light] RGB value: 13172516. W value: 250
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164346, 'mode': 1}
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164346, "mode": 1}}\x03'
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FA'}, 'status': 'notification'}]
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FA'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:07 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF24FA'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:07 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:07 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': 'C8FF24FA'}, 'status': 'notification'}]
2019-12-11 08:19:07 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:07 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': 'C8FF24FA'}, 'status': 'notification'}
2019-12-11 08:19:07 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': 'C8FF24FA'}
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.light] kwargs: {'white_value': 0}
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.light] 'mode_val' value: C8FF24FA
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164346
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.light] RGB value: 13172516. W value: 0
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164096, 'mode': 1}
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164096, "mode": 1}}\x03'
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2400'}, 'status': 'notification'}]
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2400'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:09 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2400'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:09 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': 'C8FF2400'}, 'status': 'notification'}]
2019-12-11 08:19:09 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': 'C8FF2400'}, 'status': 'notification'}
2019-12-11 08:19:09 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:09 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:09 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': 'C8FF2400'}
2019-12-11 08:19:12 DEBUG (SyncWorker_7) [custom_components.extalife.light] kwargs: {'white_value': 255}
2019-12-11 08:19:12 DEBUG (SyncWorker_7) [custom_components.extalife.light] 'mode_val' value: C8FF2400
2019-12-11 08:19:12 DEBUG (SyncWorker_7) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164096
2019-12-11 08:19:12 DEBUG (SyncWorker_7) [custom_components.extalife.light] RGB value: 13172516. W value: 255
2019-12-11 08:19:12 DEBUG (SyncWorker_7) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164351, 'mode': 1}
2019-12-11 08:19:12 DEBUG (SyncWorker_7) [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 08:19:12 DEBUG (SyncWorker_7) [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 08:19:12 DEBUG (SyncWorker_7) [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 08:19:12 DEBUG (SyncWorker_7) [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 08:19:12 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 08:19:12 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:12 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 08:19:12 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:12 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 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.light] kwargs: {'white_value': 103}
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.light] 'mode_val' value: C8FF24FF
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 3372164351
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.light] RGB value: 13172516. W value: 103
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 57, 'mode_val': 3372164199, 'mode': 1}
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 57, "mode_val": 3372164199, "mode": 1}}\x03'
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2467'}, 'status': 'notification'}]
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2467'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:14 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2467'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:14 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': 'C8FF2467'}, 'status': 'notification'}]
2019-12-11 08:19:14 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:14 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': 'C8FF2467'}, 'status': 'notification'}
2019-12-11 08:19:14 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:14 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': 'C8FF2467'}
2019-12-11 08:19:16 DEBUG (SyncWorker_18) [custom_components.extalife] Executing action TURN_OFF on channel 10-1, params: {'mode': 1, 'mode_val': 3372164199, 'value': 57}
2019-12-11 08:19:16 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 0, "mode": 1, "mode_val": 3372164199, "value": 57}}\x03'
2019-12-11 08:19:16 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2467'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:16 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': 'C8FF2467'}, 'status': 'notification'}]
2019-12-11 08:19:16 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 57, 'mode': 1, 'mode_val': 'C8FF2467'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-11 08:19:16 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': 'C8FF2467'}, 'status': 'notification'}
2019-12-11 08:19:16 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149
2019-12-11 08:19:16 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 149

*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #69 dnia: Grudnia 11, 2019, 09:59:52 »
Zaiste wygląda dobrze  :D To daj znać jak będziesz naocznie obserwował te cuda to wtedy będziemy mieli już całkowita pewność, że działa.

A próbowałeś włączać efekty? Bo w logu widać, że sprawdzałeś tylko sterowanie wartością W. Efekty też powinny już się załączać tak jak w aplikacji. Jakby co to wrzucaj loga :)
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #70 dnia: Grudnia 11, 2019, 10:17:17 »
Tak, tak efekty już wczoraj testowałem i działają bez problemu  :D

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #71 dnia: Grudnia 11, 2019, 15:17:36 »
Oficjalnie potwierdzam, że według mnie wszystko działa zgodnie z założeniami  :D
GRATULUJĘ!!! I dziękuję z trud, za wkład, za zaangażowanie ... ;)

*

Offline admin

  • *****
  • 1657
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #72 dnia: Grudnia 11, 2019, 15:48:41 »
Oficjalnie potwierdzam, że według mnie wszystko działa zgodnie z założeniami  :D
Niezmiernie się cieszę, że po tylu trudach udało się w końcu osiągnąć stan 'zen'  ;D
Cytuj
GRATULUJĘ!!! I dziękuję z trud, za wkład, za zaangażowanie ... ;)
I wzajemnie!! Nie ukrywam, żę gdyby nie dawałoby mi to w jakiś sposób satysfakcji to pewnie z zaangażowaniem byłoby trudniej :) Dzięki wielkie także za cierpliwość, bo musiałeś restartować HA chyba kilkadziesiąt razy jakby policzyć razem rozgryzanie tego SLR i RGT :)
Dzięki Tobie już drugi komponent Exta Life, którego nie posiadam może działac z HA :)

Wieczorem wypuszczę wersję 1.0.1 integracji
« Ostatnia zmiana: Grudnia 11, 2019, 16:00:56 wysłana przez admin »
Elementy systemu, których używam: 3xSRP-22, 5xRDP-21, 3xROP-22, 4x ROP-21, 1xP-456/36, 1xRNK-24, 3x RNP-21, 1xRCT-22, aplikacja na Android oraz iOS + Home Assistant