Czy ktoś posiada SLR-22?

  • 72 Odpowiedzi
  • 7538 Wyświetleń
*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #30 dnia: Grudzień 09, 2019, 17:08:08 »
Na dzień dobry ;)

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 490, in state_attributes
    data[ATTR_WHITE_VALUE] = self.white_value
  File "/config/custom_components/extalife/light.py", line 185, in white_value
    return rgbw & 255
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.light] white value: {}
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.light] 'mode_val' value: FF0000FF
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 4278190335
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 100, 'mode_val': 255, 'mode': 0}
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 100, "mode_val": 255, "mode": 0}}\x03'
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:45 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:45 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}
2019-12-09 16:01:45 DEBUG (SyncWorker_16) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:45 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 255}
2019-12-09 16:01:45 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.light] white value: {'brightness': 41}
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.light] 'mode_val' value: FF
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 255
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 16, 'mode_val': 255, 'mode': 0}
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 16, "mode_val": 255, "mode": 0}}\x03'
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:53 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:53 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:53 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}
2019-12-09 16:01:53 DEBUG (SyncWorker_18) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:53 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 16, 'mode': 0, 'mode_val': 255}
2019-12-09 16:01:53 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.light] white value: {'brightness': 97}
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.light] 'mode_val' value: FF
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 255
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 38, 'mode_val': 255, 'mode': 0}
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 38, "mode_val": 255, "mode": 0}}\x03'
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 38, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 38, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:54 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 38, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:54 DEBUG (SyncWorker_15) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 38, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:54 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 38, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}
2019-12-09 16:01:54 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 16:01:54 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 38, 'mode': 0, 'mode_val': 255}
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.light] white value: {'brightness': 123}
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.light] 'mode_val' value: FF
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 255
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 48, 'mode_val': 255, 'mode': 0}
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 48, "mode_val": 255, "mode": 0}}\x03'
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 48, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:54 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 48, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 16:01:54 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 48, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 48, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:54 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 48, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 16:01:54 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 48, 'mode': 0, 'mode_val': 255}
2019-12-09 16:01:54 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 16:01:55 DEBUG (SyncWorker_5) [custom_components.extalife.light] white value: {'brightness': 153}
2019-12-09 16:01:55 DEBUG (SyncWorker_5) [custom_components.extalife.light] 'mode_val' value: FF
2019-12-09 16:01:55 DEBUG (SyncWorker_5) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 255
2019-12-09 16:01:55 DEBUG (SyncWorker_5) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 60, 'mode_val': 255, 'mode': 0}

z poziomu HA kontroler się włączył, ale póxniej brak wizualizacji więc nie mogłom już nic wyklikać. Wyłaczyć też nie można.


*

Offline admin

  • *****
  • 1644
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #31 dnia: Grudzień 09, 2019, 18:19:48 »
Cholerka, głupi błąd się wkradł. Teraz nie powinno się już krzaczyć. Ale turn_on wygląda dobrze, więc bądź co bądź mamy przełom! :)
Pytanie - dlaczego nie można wyłączyć z HA? Zniknął wyłącznik czy jak? Bo w logach nie ma nic na temat TURN_OFF...

Jeśli ten błąd spowodował, że HA przestał wyświetlać wyłącznik to być może jak podmienisz plik to wszystko zacznie działać. Trzymam kciuki ponownie :)
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ź #32 dnia: Grudzień 09, 2019, 18:49:21 »
można włączyć, działa wizualizacja, nie działa zmiana kolorów, nie można wyłączyć (nie reaguje na wyłącznik) i wykonuje akcje "Executing action TURN_ON on channel 10-1, params: {'value': 75, 'mode_val': 0, 'mode': 0}"


2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.light] white value: {}
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.light] 'mode_val' value: FF0000FF
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 4278190335
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 43, 'mode_val': 255, 'mode': 0}
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 43, "mode_val": 255, "mode": 0}}\x03'
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:39:31 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:39:31 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 17:39:31 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}]
2019-12-09 17:39:31 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 17:39:31 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 255}, 'status': 'notification'}
2019-12-09 17:39:31 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 255}
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.light] white value: {'hs_color': (240.0, 100.0)}
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.light] 'mode_val' value: FF
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 255
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 43, 'mode_val': 0, 'mode': 0}
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 43, "mode_val": 0, "mode": 0}}\x03'
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}]
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:39:38 DEBUG (SyncWorker_10) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:39:38 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}]
2019-12-09 17:39:38 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 17:39:38 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}
2019-12-09 17:39:38 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 17:39:38 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.light] white value: {'hs_color': (240.0, 100.0)}
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.light] 'mode_val' value: 0
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 0
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 43, 'mode_val': 0, 'mode': 0}
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 43, "mode_val": 0, "mode": 0}}\x03'
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}]
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:39:39 DEBUG (SyncWorker_13) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:39:39 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 43, 'mode': 0, 'mode_val': 0}, 'status': 'notification'}]
2019-12-09 17:39:39 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145

I teraz ciekawostka wyłączyć można dopiero po pollingu (włączyć można w każdym momencie)

Executing EFC-01 status polling....
.
.
.
.
.

2019-12-09 17:40:28 DEBUG (SyncWorker_17) [custom_components.extalife] Executing action TURN_OFF on channel 10-1, params: {'mode': 1, 'mode_val': 4278190335, 'value': 43}
2019-12-09 17:40:28 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 0, "mode": 1, "mode_val": 4278190335, "value": 43}}\x03'
2019-12-09 17:40:28 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 43, 'mode': 1, 'mode_val': 'FF0000FF'}, 'status': 'notification'}]
2019-12-09 17:40:28 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 43, 'mode': 1, 'mode_val': 'FF0000FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:40:28 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 43, 'mode': 1, 'mode_val': 'FF0000FF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 17:40:28 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 43, 'mode': 1, 'mode_val': 'FF0000FF'}, 'status': 'notification'}]
2019-12-09 17:40:28 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 17:40:28 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 43, 'mode': 1, 'mode_val': 'FF0000FF'}, 'status': 'notification'}
2019-12-09 17:40:28 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 17:40:28 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': False, 'value': 43, 'mode': 1, 'mode_val': 'FF0000FF'}

i jeszcze jedna ciekawostka - przy odpalonej aplikacji w telefonie kazda zmiana koloru z HA powoduje jej crasha
Przy zmianie kolorów w aplikacji wizualizacja w HA jest natychmiastowa
« Ostatnia zmiana: Grudzień 09, 2019, 19:25:09 wysłana przez SebiCo »

*

Offline admin

  • *****
  • 1644
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #33 dnia: Grudzień 09, 2019, 19:43:52 »
Hmm, teraz znowu mam zagwozdkę dlaczego nie można wyłączyć. Generalnie nie rozumiem dlaczego w logu nie pojawia się nic z TURN_OFF i dopiero działa po status polling. Wygląda to tak, jak gdyby HA w ogóle nie próbował wywołać metody, która wyśle do kontrolera komendę wyłączenia. Nie wiem dlaczego HA tak reaguje. Być może jest jakaś niespójność w danych encji tego SLR, ale na razie nie mam pojęcia dlaczego nie ma wywołania metody turn_off :(

Są dwie rzeczy które mnie martwią i też nie rozumiem dlaczego tak to w logu wygląda:
1. Widzę próbę załączenia z HA, ale HA nie przekazuje ani danych o kolorze ani o wartości White. W tej sytuacji kod powinien wziąć wartość FF0000FF i przekazać ją do komendy jako 4278190335,a le zamiast tego wstawia jedynie 255.
I tu namierzyłem winowajcę. Zrobiłem zmianę w kodzie i ta poprawka powinna ten przypadek rozwiązać. Czyli załączenie powinno zadziałać w pełni ok w tym przypadku.

2. Drugi przypadek - widzę, że HA wywołuje metodę do załączenia (turn_on) i przekazuje dane o kolorze do ustawienia H = 240 i S = 100. mode_val ma wartość 255 (FF) - prawdopodobnie z poprzedniego wywołania TURN_ON. Jednakże do kontrolera nie trafia kolor z HA, a zamiast tego wartość 0 - a w najgorszym przypadku powinno trafić 255 z mode_val
I tego przypadku nie rozumiem. Zgodnie z błędnym kodem powinno pójść 255 a nie 0 :( Poprawka chyba nic to nie zmieni, ale warto spróbować.

Co do crashu aplikacji - przypuszczam, że albo aplikacja ma jakiś błąd, albo HA wysyła do kontrolera błędne dane i aplikacja nie potrafi na nie prawidłowo zareagować. Najśmieszniejsze jest to, że kontroler łyka w ciemno i nie protestuje - zwraca zawsze success :) Aplikacja na Androida reaguje alergicznie na błędy i czesto się krzaczy. Za to apka na iOS jest znacznie bardziej odporna. Widać lepiej jest napisana i obsługa błędów jest lepsza.

Mam prośbę: jak podmienisz plik - spróbuj wykonać taką sekwencję w HA:
1. Włącz
2. Zmiana koloru
3. Wyłącz

Jeśli wykonasz inną sekwencję to napisz jakie kroki po kolei robiłeś. To też jest istotne.
No cóż pozostajemy z kilkoma pytaniami do wyjaśnienia.
Widzę, że rodzi się to w wielkich bólach, ale powolutku idzie do przodu :)
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ź #34 dnia: Grudzień 09, 2019, 19:54:48 »
właczyłem (działa), zmiana koloru (nie działa), wyłaczyłem (nie działa), odczekałem na polling i wyłaczyłem (działa)

2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.light] kwargs: {}
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.light] 'mode_val' value: 0F00EEFF
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 251719423
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.light] RGB value: 251719423. W value: 255
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 100, 'mode_val': 251719423, 'mode': 0}
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 100, "mode_val": 251719423, "mode": 0}}\x03'
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 251719423}, 'status': 'notification'}]
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 251719423}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:49:35 DEBUG (SyncWorker_19) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 251719423}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:49:35 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 251719423}, 'status': 'notification'}]
2019-12-09 18:49:35 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:35 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 251719423}, 'status': 'notification'}
2019-12-09 18:49:35 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:35 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 251719423}
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.light] kwargs: {'hs_color': (360.0, 100.0)}
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.light] 'mode_val' value: F00EEFF
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.light] turn_on for entity: light.sypialnia_rgbw(10-1). mode_val_int: 251719423
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.light] RGB value: 4278190080. W value: 255
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife] Executing action TURN_ON on channel 10-1, params: {'value': 100, 'mode_val': 4278190335, 'mode': 0}
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 1, "value": 100, "mode_val": 4278190335, "mode": 0}}\x03'
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}]
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:49:40 DEBUG (SyncWorker_11) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:49:40 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}]
2019-12-09 18:49:40 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}
2019-12-09 18:49:40 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:40 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:40 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': True, 'value': 100, 'mode': 0, 'mode_val': 2147483647}
2019-12-09 18:49:40 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:40 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:45 DEBUG (SyncWorker_6) [custom_components.extalife] Executing action TURN_OFF on channel 10-1, params: {'mode_val': 2147483647, 'value': 100}
2019-12-09 18:49:45 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 0, "mode_val": 2147483647, "value": 100}}\x03'
2019-12-09 18:49:45 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}]
2019-12-09 18:49:45 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:49:45 DEBUG (SyncWorker_6) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:49:45 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}]
2019-12-09 18:49:45 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 0, 'mode_val': 2147483647}, 'status': 'notification'}
2019-12-09 18:49:45 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 0, 'mode_val': 2147483647}
2019-12-09 18:49:45 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:49:45 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145

cdn.

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #35 dnia: Grudzień 09, 2019, 19:57:27 »
cd

2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife] Executing EFC-01 status polling....
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 37, "data": null}\x03'
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 4, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721468, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia lozko', 'channel': 1, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'sypialnia lampka', 'channel': 2, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 1}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 4, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721468, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia lozko', 'channel': 1, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'sypialnia lampka', 'channel': 2, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 1}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 5, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 722151, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'furtka', 'channel': 1, 'icon': 5, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'brama', 'channel': 2, 'icon': 1, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 2}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 4, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721468, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia lozko', 'channel': 1, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'sypialnia lampka', 'channel': 2, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 1}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 5, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 722151, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'furtka', 'channel': 1, 'icon': 5, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'brama', 'channel': 2, 'icon': 1, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 2}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 8, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048854, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SALON', 'channel': 1, 'icon': 36, 'fav': [150, 190, 220, 250], 'power': 1, 'value': 220, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 225, 'temperature': 225, 'work_mode': True}]}]}, 'page': 3}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 4, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721468, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia lozko', 'channel': 1, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'sypialnia lampka', 'channel': 2, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 1}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 5, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 722151, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'furtka', 'channel': 1, 'icon': 5, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'brama', 'channel': 2, 'icon': 1, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 2}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 8, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048854, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SALON', 'channel': 1, 'icon': 36, 'fav': [150, 190, 220, 250], 'power': 1, 'value': 220, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 225, 'temperature': 225, 'work_mode': True}]}]}, 'page': 3}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 9, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048846, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SYPIALNIA', 'channel': 1, 'icon': 36, 'fav': [150, 190, 215, 250], 'power': 1, 'value': 215, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 220, 'temperature': 220, 'work_mode': True}]}]}, 'page': 4}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 4, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721468, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia lozko', 'channel': 1, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'sypialnia lampka', 'channel': 2, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 1}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 5, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 722151, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'furtka', 'channel': 1, 'icon': 5, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'brama', 'channel': 2, 'icon': 1, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 2}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 8, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048854, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SALON', 'channel': 1, 'icon': 36, 'fav': [150, 190, 220, 250], 'power': 1, 'value': 220, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 225, 'temperature': 225, 'work_mode': True}]}]}, 'page': 3}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 9, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048846, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SYPIALNIA', 'channel': 1, 'icon': 36, 'fav': [150, 190, 215, 250], 'power': 1, 'value': 215, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 220, 'temperature': 220, 'work_mode': True}]}]}, 'page': 4}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 0, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721549, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'salon glowne 1', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 1, 'last_dir': None, 'value': None}, {'alias': 'salon glowne 2', 'channel': 2, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 5}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 3, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 10, 'serial': 655520, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia glowne', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 0}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 4, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721468, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'sypialnia lozko', 'channel': 1, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'sypialnia lampka', 'channel': 2, 'icon': 15, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 1}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 5, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 722151, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'furtka', 'channel': 1, 'icon': 5, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}, {'alias': 'brama', 'channel': 2, 'icon': 1, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 2}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 8, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048854, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SALON', 'channel': 1, 'icon': 36, 'fav': [150, 190, 220, 250], 'power': 1, 'value': 220, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 225, 'temperature': 225, 'work_mode': True}]}]}, 'page': 3}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 9, 'device': 1, 'type': 16, 'is_powered': False, 'serial': 1048846, 'version': 16777401, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'SYPIALNIA', 'channel': 1, 'icon': 36, 'fav': [150, 190, 215, 250], 'power': 1, 'value': 215, 'waiting_to_synchronize': False, 'battery_status': False, 'temperature_old': 220, 'temperature': 220, 'work_mode': True}]}]}, 'page': 4}, {'command': 37, 'status': 'searching', 'data': {'devices': [{'id': 0, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 1, 'type': 11, 'serial': 721549, 'valid_software': True, 'response_time': 0, 'is_timeout': False, 'exta_free_device': False, 'state': [{'alias': 'salon glowne 1', 'channel': 1, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 1, 'last_dir': None, 'value': None}, {'alias': 'salon glowne 2', 'channel': 2, 'icon': 13, 'is_timeout': False, 'fav': None, 'power': 0, 'last_dir': None, 'value': None}]}]}, 'page': 5}, {'command': 37, 'status': 'success', 'data': {'devices': [{'id': 10, 'device': 1, 'type': 27, 'serial': 1769494, 'version': 16908289, 'response_time': 0, 'is_timeout': False, 'valid_software': True, 'exta_free_device': False, 'state': [{'alias': 'sypialnia_rgbw', 'is_timeout': False, 'channel': 1, 'icon': 40, 'fav': [], 'fav_ex': [{'value': 3, 'mode_val': 0, 'mode_val_string': '00000000', 'mode': 2}, {'value': 100, 'mode_val': 'FF0000FF', 'mode_val_string': 'FF0000FF', 'mode': 1}, {'value': 100, 'mode_val': '00FC02FF', 'mode_val_string': '00FC02FF', 'mode': 1}, {'value': 100, 'mode_val': '0F00EEFF', 'mode_val_string': '0F00EEFF', 'mode': 1}], 'power': 1, 'value': 100, 'mode_val': '0F00EEFF', 'mode_val_string': '0F00EEFF', 'mode': 1}]}]}, 'page': 6}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 38, "data": null}\x03'
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 38, 'status': 'searching', 'data': {'devices': [{'id': 2, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 3, 'type': 4, 'serial': 262430, 'valid_software': True, 'response_time': 65535, 'is_timeout': False, 'exta_free_device': False, 'state': [{'channel': 1, 'icon': 1, 'battery_status': 1, 'sensor_mode': 0, 'tamper': False, 'tamper_sync_time': 0, 'activate_sync_time': 1575919777, 'sensor_type': 0, 'alias': 'sypialnia', 'sync_time': 1575919777, 'last_sync': 1258, 'is_timeout': False, 'value_1': '20.5', 'value_2': 5, 'value_3': None, 'is_powered': False}]}]}, 'page': 0}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife.pyextalife] resp_js: [{'command': 38, 'status': 'searching', 'data': {'devices': [{'id': 2, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 3, 'type': 4, 'serial': 262430, 'valid_software': True, 'response_time': 65535, 'is_timeout': False, 'exta_free_device': False, 'state': [{'channel': 1, 'icon': 1, 'battery_status': 1, 'sensor_mode': 0, 'tamper': False, 'tamper_sync_time': 0, 'activate_sync_time': 1575919777, 'sensor_type': 0, 'alias': 'sypialnia', 'sync_time': 1575919777, 'last_sync': 1258, 'is_timeout': False, 'value_1': '20.5', 'value_2': 5, 'value_3': None, 'is_powered': False}]}]}, 'page': 0}, {'command': 38, 'status': 'success', 'data': {'devices': [{'id': 7, 'is_powered': False, 'is_paired': False, 'set_remove_sensor': False, 'device': 3, 'type': 4, 'serial': 262596, 'valid_software': True, 'response_time': 65535, 'is_timeout': False, 'exta_free_device': False, 'state': [{'channel': 1, 'icon': 1, 'battery_status': 1, 'sensor_mode': 0, 'tamper': False, 'tamper_sync_time': 0, 'activate_sync_time': 1575915696, 'sensor_type': 0, 'alias': 'salon', 'sync_time': 1575915696, 'last_sync': 5339, 'is_timeout': False, 'value_1': '21.3', 'value_2': 3, 'value_3': None, 'is_powered': False}]}]}, 'page': 1}]
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife] Exta Life: status for 12 devices updated
2019-12-09 18:50:17 DEBUG (SyncWorker_17) [custom_components.extalife] Exta Life devices found during discovery: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: climate.sypialnia
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: climate.salon
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: switch.brama
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: switch.furtka
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: light.sypialnia_lozko
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: light.sypialnia_rgbw
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: light.sypialnia_lampka
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: light.salon_glowne_1
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: light.sypialnia_glowne
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: light.salon_glowne_2
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: sensor.sypialnia
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife] Update callback for entty id: sensor.salon
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0

cdn.

*

Offline SebiCo

  • ***
  • 225
    • Zobacz profil
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #36 dnia: Grudzień 09, 2019, 19:58:08 »
cd

2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.sensor] {'channel': 1, 'icon': 1, 'battery_status': 1, 'sensor_mode': 0, 'tamper': False, 'tamper_sync_time': 0, 'activate_sync_time': 1575919777, 'sensor_type': 0, 'alias': 'sypialnia', 'sync_time': 1575919777, 'last_sync': 1258, 'is_timeout': False, 'value_1': '20.5', 'value_2': 5, 'value_3': None, 'is_powered': False, 'id': 2, 'is_paired': False, 'set_remove_sensor': False, 'device': 3, 'type': 4, 'serial': 262430, 'valid_software': True, 'response_time': 65535, 'exta_free_device': False}
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.sensor] state: 20.5
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.sensor] {'channel': 1, 'icon': 1, 'battery_status': 1, 'sensor_mode': 0, 'tamper': False, 'tamper_sync_time': 0, 'activate_sync_time': 1575915696, 'sensor_type': 0, 'alias': 'salon', 'sync_time': 1575915696, 'last_sync': 5339, 'is_timeout': False, 'value_1': '21.3', 'value_2': 3, 'value_3': None, 'is_powered': False, 'id': 7, 'is_paired': False, 'set_remove_sensor': False, 'device': 3, 'type': 4, 'serial': 262596, 'valid_software': True, 'response_time': 65535, 'exta_free_device': False}
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.sensor] state: 21.3
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:17 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 0
2019-12-09 18:50:21 DEBUG (SyncWorker_2) [custom_components.extalife] Executing action TURN_OFF on channel 10-1, params: {'mode': 1, 'mode_val': 251719423, 'value': 100}
2019-12-09 18:50:21 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] TCP command to execute: b'{"command": 20, "data": {"id": 10, "channel": 1, "state": 0, "mode": 1, "mode_val": 251719423, "value": 100}}\x03'
2019-12-09 18:50:21 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 1, 'mode_val': '0F00EEFF'}, 'status': 'notification'}]
2019-12-09 18:50:21 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] resp_js: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 1, 'mode_val': '0F00EEFF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:50:21 DEBUG (Thread-2) [custom_components.extalife.pyextalife] resp_js (intermediary): [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 1, 'mode_val': '0F00EEFF'}, 'status': 'notification'}]
2019-12-09 18:50:21 DEBUG (SyncWorker_2) [custom_components.extalife.pyextalife] JSON response for command 20: [{'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 1, 'mode_val': '0F00EEFF'}, 'status': 'notification'}, {'command': 20, 'status': 'success', 'data': None}]
2019-12-09 18:50:21 DEBUG (Thread-2) [custom_components.extalife] Received msg from Notification Listener thread: {'command': 20, 'data': {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 1, 'mode_val': '0F00EEFF'}, 'status': 'notification'}
2019-12-09 18:50:21 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:50:21 DEBUG (MainThread) [custom_components.extalife.light] Supported flags: 145
2019-12-09 18:50:21 DEBUG (MainThread) [custom_components.extalife] State update notification callback for entity id: light.sypialnia_rgbw, data: {'id': 10, 'channel': 1, 'state': False, 'value': 100, 'mode': 1, 'mode_val': '0F00EEFF'}

to cały log - w jednym kawałku nie chciało przejśc

*

Offline admin

  • *****
  • 1644
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #37 dnia: Grudzień 09, 2019, 20:03:49 »
OK, wartości wyglądają lepiej. Wg mnie działa tak jak ma działać wg mojego wyobrażenia, ale najwidoczniej nie takie dane mają trafiać do kontrolera. To też by tłumaczyło crash aplikacji. Widocznie to co wysyłamy z HA to nie to czego oczekuje kontroler.

W takim razie mam prośbę: przechwyć proszę (trace) ten sam scenariusz w aplikacji Exta Life: włącz, zmiana koloru, wyłącz. Musi byś jakaś różnica. Moim zdaniem kluczowe może być tu pole 'mode'. Ja przy włączaniu i zmianie koloru zawsze ustawiam je na 0, ale być może to błąd.
Przechwyć proszę ten scenariusz i będziemy mogli porównać do danych z HA. Przypuszczam, że coś tutaj wyjdzie i może wtedy uda się to załatać.
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ź #38 dnia: Grudzień 09, 2019, 20:04:40 »
he he właśnie to przygotowywałem :)
{"command":20,"data":{"mode":1,"mode_val":251719423,"channel":1,"state":1,"id":10,"value":100}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":100,"mode":1,"mode_val":"0F00EEFF"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":16515839,"channel":1,"state":1,"id":10,"value":100}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":100,"mode":1,"mode_val":"00FC02FF"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":16515839,"channel":1,"state":0,"id":10,"value":100}}
{"command":20,"data":{"id":10,"channel":1,"state":false,"value":100,"mode":1,"mode_val":"00FC02FF"},"status":"notification"}
{"command":20,"status":"success","data":null}

*

Offline admin

  • *****
  • 1644
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #39 dnia: Grudzień 09, 2019, 20:46:57 »
he he właśnie to przygotowywałem :)
Brawo za czujność! :)
No i właśnie widać różnicę: mode w aplikacji jest zawsze = 1. Popatrzyłem do instrukcji i chyba zrozumiałem co ono oznacza. Prawdopodobnie może mieć różne wartości - nie tylko 0 i 1, ale i więcej. To chyba numer programu. Tą funkcjonalność niestety stracimy w HA (brak jakiegoś suwaka do ustawiania trybu pracy w GUI) i na nasze potrzeby będzie można tylko ustawiać tryb świecenia ciągłego z HA z danym kolorem.
Myślałem do tej pory, że to pole oznacza ustawienie w aplikacji o nazwie 'tylko skłądowa W', ale najwidoczniej nie. I pewnie jeśli oznacza tryb pracy to pewnie kontroler nie spodziewał się, że w trypie programu dostanie jeszce wartość RGB i stąd problemy.

Podmień plik i zobacz co będzie. Może w końcu będzie dobrze :)
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ź #40 dnia: Grudzień 09, 2019, 20:54:54 »
działa  :D  GRTULUJE!!!!  ::)

A co do predefiniowanych programów to w HA jest taka funkcjonalność ;)


Jeszcze tylko muszę skołować kawałek białej taśmy i sprawdzę jej obsługę
« Ostatnia zmiana: Grudzień 09, 2019, 20:56:47 wysłana przez SebiCo »

*

Offline admin

  • *****
  • 1644
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #41 dnia: Grudzień 09, 2019, 21:06:40 »
działa  :D  GRTULUJE!!!!  ::)
Nawet nie wiesz jak bardzo chciałem zobaczyć taką wiadomość!  :D
Cytuj
A co do predefiniowanych programów to w HA jest taka funkcjonalność ;)
OK, to będę musiał poczytać co jest potrzebne, żeby to uaktywnić i znowu podejdziemy do tematu :) Przygotuj już trace w aplikacji zawczasu :)

Cytuj
Jeszcze tylko muszę skołować kawałek białej taśmy i sprawdzę jej obsługę
Koniecznie! :)
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ź #42 dnia: Grudzień 09, 2019, 21:12:25 »
ok, ale to już na jutrzejsze popołudnie  ;)
Jak przygotuję wszystko to się. odezwę

*

Offline admin

  • *****
  • 1644
  • Twórca i moderator forum
    • Zobacz profil
    • Forum ExtaLife
Odp: Czy ktoś posiada SLR-22?
« Odpowiedź #43 dnia: Grudzień 09, 2019, 21:13:17 »
ok, ale to już na jutrzejsze popołudnie  ;)
Jak przygotuję wszystko to się. odezwę
Spokojnie, nie pali się. Mnie już też na dzisiaj wystarczy :)
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ź #44 dnia: Grudzień 10, 2019, 17:28:33 »
W HA niestety regulacja białego nie działa :(


W aplikacji, scenariusz:
przy włączonym tylko białym:
-zwiększyłem jasność
-zmniejszyłem jasność
wyłączyłem tylko biały
-wybrałem kolor
-zwiększyłem jasność
-zmniejszyłem jasność


{"command":20,"data":{"mode":1,"mode_val":228,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"000000E4"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":228,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"000000E4"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":20,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"00000014"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":20,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"00000014"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":4278190100,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"FF000014"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":4127196948,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"mode":1,"mode_val":4110419988,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F6000714"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":4093642772,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"mode":1,"mode_val":4093642772,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"mode":1,"mode_val":4093642772,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F5000814"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F4000814"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F4000814"},"status":"notification"}
{"command":20,"status":"success","data":null} 
{"command":20,"data":{"mode":1,"mode_val":-201324316,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"mode":1,"mode_val":-201324317,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F40008E4"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":-201324317,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F40008E3"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F40008E3"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":-201324509,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F4000823"},"status":"notification"}
{"command":20,"status":"success","data":null}
{"command":20,"data":{"mode":1,"mode_val":-201324509,"channel":1,"state":1,"id":10,"value":15}}
{"command":20,"data":{"id":10,"channel":1,"state":true,"value":15,"mode":1,"mode_val":"F4000823"},"status":"notification"}
{"command":20,"status":"success","data":null}
« Ostatnia zmiana: Grudzień 10, 2019, 17:44:07 wysłana przez SebiCo »