AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.75k stars 416 forks source link

l3-5m-p, brightness command different from ewlink #1517

Open MaxvdBerk opened 2 weeks ago

MaxvdBerk commented 2 weeks ago

First of all, great code, much appreciated. I've tried to read where the issue is but am missing some insights on inputs and outputs. I assume it's some default value assigned to brightness.

Scenario,

pick green 100% brightness Using brightness slider in Lovelace reduce brightnes to 30% Lovelace UI shows green 30% Expected result green color, brightness 30% Actual output of the strip a blue color, brightness 30% ? This is true for all colors,

it will always default to blue and then adjust brightness but not retain the original color as you would expect and what the ui shows.

When I change color in ha ui, but keep the brightness the same in ha ui. The color is updated in ewlink app, but the brightness is set to 100%, the light strip goed to 100% also.

When using ewlink the ui displays the correct brightness and color in the strip and in the home assistant ui. So the issue is from state switch originating from home assistant to the ledstrip.

No errors found in the logs as there is no error

L3-5M-P by SONOFF Firmware: 1000.2.1060

AlexxIT commented 2 weeks ago

You needs to collect debug logs for your cases https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues

AlexxIT commented 2 weeks ago

This logs from some TH device. I thought we talking about bulb.

MaxvdBerk commented 2 weeks ago

Apologies... filterd for the correct device.

2024-11-07 13:59:33.471 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 99} | 1730984373471 2024-11-07 13:59:33.708 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | 1730984373708 2024-11-07 13:59:33.727 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 228, 'colorB': 205, 'mode': 1, 'bright': 99, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984373708 2024-11-07 13:59:34.152 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 86} | 1730984374152 2024-11-07 13:59:34.498 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 75} | 1730984374498 2024-11-07 13:59:34.599 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984374599 2024-11-07 13:59:34.617 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 228, 'colorB': 205, 'mode': 1, 'bright': 75, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984374599 2024-11-07 13:59:34.700 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | DDoS | 1730984374700 2024-11-07 13:59:34.719 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 228, 'colorB': 205, 'mode': 1, 'bright': 75, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984374700 2024-11-07 13:59:34.801 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 48} | DDoS | 1730984374737 2024-11-07 13:59:34.906 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984374906 2024-11-07 13:59:34.926 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 228, 'colorB': 205, 'mode': 1, 'bright': 48, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984374906 2024-11-07 13:59:35.006 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 24} | DDoS | 1730984375003 2024-11-07 13:59:35.108 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984375108 2024-11-07 13:59:35.126 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 228, 'colorB': 205, 'mode': 1, 'bright': 24, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984375108 2024-11-07 13:59:35.801 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'light_type': 1} | 1730984375801 2024-11-07 13:59:35.902 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984375902 2024-11-07 13:59:35.920 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 24, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984375902 2024-11-07 13:59:36.758 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 22} | 1730984376758 2024-11-07 13:59:36.859 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984376859 2024-11-07 13:59:36.878 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 22, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984376859 2024-11-07 13:59:37.369 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 55} | 1730984377369 2024-11-07 13:59:37.469 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984377469 2024-11-07 13:59:37.488 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 55, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984377469 2024-11-07 13:59:37.678 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 40} | 1730984377677 2024-11-07 13:59:37.778 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984377778 2024-11-07 13:59:37.798 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 40, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984377778 2024-11-07 13:59:37.879 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 24} | DDoS | 1730984377849 2024-11-07 13:59:37.980 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984377980 2024-11-07 13:59:37.999 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 24, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984377980 2024-11-07 13:59:38.146 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 90} | 1730984378146 2024-11-07 13:59:38.247 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984378246 2024-11-07 13:59:38.265 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 90, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984378246 2024-11-07 13:59:38.355 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 100} | 1730984378355 2024-11-07 13:59:38.455 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984378455 2024-11-07 13:59:38.474 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 100, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984378455 2024-11-07 13:59:39.176 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'light_type': 1} | 1730984379176 2024-11-07 13:59:39.277 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984379277 2024-11-07 13:59:39.296 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 100, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984379277 2024-11-07 13:59:39.852 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 43} | 1730984379851 2024-11-07 13:59:39.953 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984379952 2024-11-07 13:59:39.971 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 43, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984379952 2024-11-07 13:59:40.009 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ffc5ed <= Local3 | 192.168.1.237:8081 | {'switch': 'on', 'startup': 'off', 'pulseConfig': {'pulse': 'off', 'switch': 'off', 'pulseWidth': 500}, 'sledOnline': 'on', 'tempUnit': 0, 'timeZone': 2, 'sensorType': 'MS01', 'currentTemperature': 'unavailable', 'currentHumidity': '42.5', 'tempCorrection': 0, 'humCorrection': 0, 'autoControlEnabled': 0, 'fwVersion': '1.2.0', 'rssi': -70, 'staMac': 'FC:B4:67:94:3B:64', 'ssid': 'Wifi-name', 'bssid': '66:32:B1:EA:45:4C'} | 331113 2024-11-07 13:59:40.423 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 17} | 1730984380423 2024-11-07 13:59:40.638 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | 1730984380637 2024-11-07 13:59:40.656 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 17, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984380637 2024-11-07 13:59:41.222 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 85} | 1730984381221 2024-11-07 13:59:41.322 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984381322 2024-11-07 13:59:41.340 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 85, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984381322 2024-11-07 13:59:41.694 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 97} | 1730984381693 2024-11-07 13:59:41.796 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984381796 2024-11-07 13:59:41.814 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 97, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984381796 2024-11-07 13:59:42.011 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 42} | 1730984382011 2024-11-07 13:59:42.112 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984382112 2024-11-07 13:59:42.131 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 42, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984382112 2024-11-07 13:59:42.299 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 24} | 1730984382299 2024-11-07 13:59:42.400 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984382400 2024-11-07 13:59:42.419 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 24, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984382400 2024-11-07 13:59:42.919 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 87} | 1730984382918 2024-11-07 13:59:43.019 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984383019 2024-11-07 13:59:43.038 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 87, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984383019 2024-11-07 13:59:43.315 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 48} | 1730984383315 2024-11-07 13:59:43.416 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984383416 2024-11-07 13:59:43.434 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 48, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984383416 2024-11-07 13:59:43.550 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 20} | 1730984383549 2024-11-07 13:59:43.650 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984383650 2024-11-07 13:59:43.669 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 20, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984383650 2024-11-07 13:59:43.751 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 15} | DDoS | 1730984383734 2024-11-07 13:59:43.853 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730984383853 2024-11-07 13:59:43.871 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wifi-name', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 15, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730984383853

MaxvdBerk commented 2 weeks ago
2024-11-07 14:47:40.053 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987260052
2024-11-07 14:47:40.071 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 15, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987260052
2024-11-07 14:47:42.381 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 100} | 1730987262381
2024-11-07 14:47:42.482 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987262482
2024-11-07 14:47:42.501 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 100, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987262482
2024-11-07 14:47:44.761 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'light_type': 1} | 1730987264761
2024-11-07 14:47:44.861 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987264861
2024-11-07 14:47:44.880 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 100, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987264861
2024-11-07 14:47:46.680 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 42} | 1730987266680
2024-11-07 14:47:46.782 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987266781
2024-11-07 14:47:46.801 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 42, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987266781
2024-11-07 14:47:47.709 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'light_type': 1} | 1730987267709
2024-11-07 14:47:47.812 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987267812
2024-11-07 14:47:47.831 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 42, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987267812
2024-11-07 14:47:48.635 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 17} | 1730987268635
2024-11-07 14:47:48.736 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987268736
2024-11-07 14:47:48.755 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 17, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987268736
2024-11-07 14:47:49.350 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'light_type': 1} | 1730987269349
2024-11-07 14:47:49.450 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987269450
2024-11-07 14:47:49.469 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 17, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987269450
2024-11-07 14:47:49.913 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 8} | 1730987269913
2024-11-07 14:47:50.015 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987270015
2024-11-07 14:47:50.035 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987270015
2024-11-07 14:47:50.385 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'light_type': 1} | 1730987270385
2024-11-07 14:47:50.486 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987270486
2024-11-07 14:47:50.506 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987270486
2024-11-07 14:47:52.763 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'light_type': 1} | 1730987272763
2024-11-07 14:47:52.865 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987272865
2024-11-07 14:47:52.885 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987272865
2024-11-07 14:47:53.878 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'light_type': 1} | 1730987273878
2024-11-07 14:47:53.979 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987273978
2024-11-07 14:47:54.005 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987273978
2024-11-07 14:47:54.446 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'light_type': 1} | 1730987274446
2024-11-07 14:47:54.547 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987274547
2024-11-07 14:47:54.566 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987274547
2024-11-07 14:47:54.890 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'light_type': 1} | 1730987274890
2024-11-07 14:47:54.991 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987274991
2024-11-07 14:47:55.010 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987274991
2024-11-07 14:47:55.332 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'light_type': 1} | 1730987275332
2024-11-07 14:47:55.433 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987275433
2024-11-07 14:47:55.452 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987275433
2024-11-07 14:47:55.786 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'light_type': 1} | 1730987275786
2024-11-07 14:47:55.887 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987275887
2024-11-07 14:47:55.907 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987275887
2024-11-07 14:47:56.052 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'light_type': 1} | 1730987276052
2024-11-07 14:47:56.153 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987276153
2024-11-07 14:47:56.173 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987276153
2024-11-07 14:47:56.386 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 127, 'colorG': 172, 'colorB': 255, 'light_type': 1} | 1730987276386
2024-11-07 14:47:56.487 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987276487
2024-11-07 14:47:56.507 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 127, 'colorG': 172, 'colorB': 255, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987276487
2024-11-07 14:47:56.752 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'light_type': 1} | 1730987276751
2024-11-07 14:47:56.852 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987276852
2024-11-07 14:47:56.872 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 215, 'colorG': 150, 'colorB': 255, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987276852
2024-11-07 14:47:56.999 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'light_type': 1} | 1730987276999
2024-11-07 14:47:57.100 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987277100
2024-11-07 14:47:57.119 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 158, 'colorB': 243, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987277100
2024-11-07 14:47:57.295 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'light_type': 1} | 1730987277295
2024-11-07 14:47:57.397 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987277397
2024-11-07 14:47:57.416 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 110, 'colorB': 84, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987277397
2024-11-07 14:47:58.077 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'light_type': 1} | 1730987278077
2024-11-07 14:47:58.178 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987278178
2024-11-07 14:47:58.197 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987278178
2024-11-07 14:47:58.893 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 8} | 1730987278892
2024-11-07 14:47:58.999 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987278999
2024-11-07 14:47:59.018 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 8, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987278999
2024-11-07 14:47:59.687 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 13} | 1730987279687
2024-11-07 14:47:59.789 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | DDoS | 1730987279789
2024-11-07 14:47:59.809 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'bindInfos': {}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1060', 'ssid': 'Wijfie-extra', 'bssid': '102:50:177:234:69:76', 'switch': 'on', 'lineSequence': {'2': 'r', '1': 'g', '3': 'b'}, 'icNumber': 150, 'icType': 0, 'colorR': 255, 'colorG': 136, 'colorB': 13, 'mode': 1, 'bright': 13, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'timeZone': 1, 'speed39': 50, 'bright39': 100} | 1730987279789
MaxvdBerk commented 2 weeks ago

I did some more testing and got debug logs from when I control it from ewlink and from HA.

Controlling from Ewelink, changing colour and brightness results in sending both colour and brightness for either a brightness update or colour update.

2024-11-08 11:54:48.074 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'switch': 'on', 'colorR': 255, 'colorG': 2, 'colorB': 60, 'mode': 1, 'bright': 40, 'light_type': 1} | None
2024-11-08 11:54:48.401 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'switch': 'on', 'colorR': 5, 'colorG': 115, 'colorB': 255, 'mode': 1, 'bright': 40, 'light_type': 1} | None
2024-11-08 11:54:48.550 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'switch': 'on', 'colorR': 255, 'colorG': 2, 'colorB': 60, 'mode': 1, 'bright': 48, 'light_type': 1} | None
2024-11-08 11:54:48.851 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'switch': 'on', 'colorR': 255, 'colorG': 2, 'colorB': 60, 'mode': 1, 'bright': 88, 'light_type': 1} | None
2024-11-08 11:54:49.113 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 1001ed8504 <= Cloud3 | {'switch': 'on', 'colorR': 255, 'colorG': 2, 'colorB': 60, 'mode': 1, 'bright': 88, 'light_type': 1} | None

When I control from HA I get either brightness or colour information per update, seems like function def get_params on line 361 controls that.

updating brightness results in: 2024-11-08 11:20:48.754 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'bright': 12} | 1731061248754

or updating colour results in: 2024-11-08 11:20:48.213 DEBUG (MainThread) [custom_components.sonoff.core.ewelink.cloud] 1001ed8504 => Cloud4 | {'mode': 1, 'colorR': 255, 'colorG': 228, 'colorB': 205, 'light_type': 1} | 1731061248209

Perhaps that if is not correct and both values need to be sent?