Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L1 and L2 led strip not working in v3.7.1 onwards (v3.6.0 seems ok to me) #1415

Open
Kydonakis opened this issue May 10, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@Kydonakis
Copy link

Kydonakis commented May 10, 2024

Since v3.7.1 (in 3.7.2 and 3.7.3), I get errors with my L1 and L2 led strips. The last working (for me) version is 3.6.0.

The problem is that the devices seem unable to load in home assistant while they work perfectly through the ewelink app.

By checking the logs and device diags I managed to stop some differences:

Relevant device diag in 3.6.0

  ],
   "version": "3.6.0",
   "is_built_in": false
 },
 "data": {
   "version": "8dd8af9",
   "cloud_auth": true,
   "config": {
   "errors": [],

Same diag lines in 3.7.3

    "version": "3.7.3",
    "is_built_in": false
  },
  "data": {
    "version": "e240aaf",
    "cloud_auth": false,
    "config": {

    "errors": [
      {
        "name": "custom_components.sonoff",
        "message": [
          "Can't login in auto mode: TimeoutError()"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/__init__.py",
          184
        ],
        "timestamp": 1715362061.2242923,
        "exception": "",
        "count": 1,
        "first_occurred": 1715362061.2242923
      }
    ],

Relevant home assistant logs pointing to some error (L2 led strip):

2024-05-10 20:27:41.227 DEBUG (MainThread) [custom_components.sonoff.core.ewelink] 10013f4d9a UIID 0137 | {'bindInfos': {'alexa': ['e/2'], 'ifttt': ['e/f']}, 'version': 8, 'init': 1, 'fwVersion': '1000.2.1050', 'ssid': '/', 'bssid': '/', 'switch': 'off', 'colorR': 151, 'colorG': 241, 'colorB': 145, 'mode': 1, 'bright': 20, 'light_type': 1, 'NO_SEND_TO_APP': 0, 'lineSequence': {'1': 'b', '2': 'g', '3': 'r'}, 'timeZone': 2}

From the integration diagnostics I see for one of the L2 led strips:

    "devices": {
      "10013f4d9a": {
        "uiid": 137,
        "params": {
          "bindInfos": "***",
          "version": 8,
          "init": 1,
          "fwVersion": "1000.2.1050",
          "ssid": "***",
          "bssid": "***",
          "switch": "off",
          "colorR": 151,
          "colorG": 241,
          "colorB": 145,
          "mode": 1,
          "bright": 20,
          "light_type": 1,
          "NO_SEND_TO_APP": 0,
          "lineSequence": {
            "1": "b",
            "2": "g",
            "3": "r"
          },
          "timeZone": 2
        },
        "model": "L2",
        "online": true,
        "local": null,
        "localtype": null,
        "host": null
      },

My current setup is

Core 2024.5.2
Supervisor 2024.05.1
Operating System 12.3
Frontend 20240501.1

By the way, the integration is working in auto mode, however, when I changed to cloud (n 3.7.3), no progress was made. On the contrary, no devices were loaded at all.

Any ideas?

@AlexxIT AlexxIT added the question Further information is requested label May 12, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented May 12, 2024

Cloud auth don't work for you. TimeoutError - probably you have problems with Internet.
This device don't work for you in local mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants