Skip to content

Unable to connect to Elkbledom #122

@emirmkd

Description

@emirmkd

Hi,

I'm trying to connect a light strip that should be supported, it works with BTScan.py and autodiscover sees it, but when I try to connect, I get an error message saying "Unable to connect to Elkbledom"

I did 2 tests, I made a mistake on the first one and said the turn on and off functions didn't work, but they actually did in the second test.

First Test

{
  "device_info": {
    "name": "ELK-BLEDOM 3F",
    "address": "87DD2072-DEAD-3DAB-475E-E4C56BBE3130",
    "rssi": "N/A"
  },
  "characteristics": {
    "write": [
      {
        "uuid": "0000fff3-0000-1000-8000-00805f9b34fb",
        "properties": [
          "write",
          "write-without-response",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ],
    "read": [
      {
        "uuid": "0000fff3-0000-1000-8000-00805f9b34fb",
        "properties": [
          "write",
          "write-without-response",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      },
      {
        "uuid": "0000fff4-0000-1000-8000-00805f9b34fb",
        "properties": [
          "notify",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ],
    "notify": [
      {
        "uuid": "0000fff4-0000-1000-8000-00805f9b34fb",
        "properties": [
          "notify",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ],
    "all": [
      {
        "uuid": "0000fff3-0000-1000-8000-00805f9b34fb",
        "properties": [
          "write",
          "write-without-response",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      },
      {
        "uuid": "0000fff4-0000-1000-8000-00805f9b34fb",
        "properties": [
          "notify",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ]
  },
  "working_commands": {
    "turn_on": [
      {
        "command": [
          126,
          0,
          4,
          240,
          0,
          1,
          255,
          0,
          239
        ],
        "description": "Known turn on #2",
        "type": "known"
      }
    ],
    "turn_off": [
      {
        "command": [
          126,
          4,
          4,
          0,
          0,
          0,
          255,
          0,
          239
        ],
        "description": "Known turn off #1",
        "type": "known"
      }
    ],
    "color": [],
    "white": [],
    "color_temp": [
      {
        "command": [
          126,
          0,
          5,
          2,
          187,
          187,
          0,
          0,
          239
        ],
        "description": "Known color temp #1",
        "type": "known"
      }
    ],
    "query": []
  },
  "custom_commands": []
}

Second Test:

{
  "device_info": {
    "name": "ELK-BLEDOM 3F",
    "address": "87DD2072-DEAD-3DAB-475E-E4C56BBE3130",
    "rssi": "N/A"
  },
  "characteristics": {
    "write": [
      {
        "uuid": "0000fff3-0000-1000-8000-00805f9b34fb",
        "properties": [
          "write",
          "read",
          "write-without-response"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ],
    "read": [
      {
        "uuid": "0000fff3-0000-1000-8000-00805f9b34fb",
        "properties": [
          "write",
          "read",
          "write-without-response"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      },
      {
        "uuid": "0000fff4-0000-1000-8000-00805f9b34fb",
        "properties": [
          "notify",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ],
    "notify": [
      {
        "uuid": "0000fff4-0000-1000-8000-00805f9b34fb",
        "properties": [
          "notify",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ],
    "all": [
      {
        "uuid": "0000fff3-0000-1000-8000-00805f9b34fb",
        "properties": [
          "write",
          "read",
          "write-without-response"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      },
      {
        "uuid": "0000fff4-0000-1000-8000-00805f9b34fb",
        "properties": [
          "notify",
          "read"
        ],
        "service": "0000fff0-0000-1000-8000-00805f9b34fb"
      }
    ]
  },
  "working_commands": {
    "turn_on": [],
    "turn_off": [],
    "color": [
      {
        "command_template": "lambda r, g, b: ['0x7e', '0x0', '0x5', '0x3', '0x0', '0x0', '0x0', '0x0', '0xef']",
        "description": "Color command #1",
        "test_values": [
          [
            255,
            0,
            0,
            "Red"
          ],
          [
            0,
            255,
            0,
            "Green"
          ],
          [
            0,
            0,
            255,
            "Blue"
          ]
        ],
        "colors_confirmed": 3
      }
    ],
    "white": [],
    "color_temp": [
      {
        "command_template": "lambda warm, cold: ['0x7e', '0x0', '0x5', '0x2', '0x32', '0x32', '0x0', '0x0', '0xef']",
        "description": "New color temp #1",
        "type": "new"
      }
    ],
    "query": []
  },
  "custom_commands": []
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions