SP6138E #75
robbieapplegate
started this conversation in
General
SP6138E
#75
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey man, I am trying to connect my SP6138E device using this integration and am recieving some errors. When I add the integration and have my lights turned on with no bluetooth devices connected to the lights, home assistant detects the device on my network. See screen shot 1,
However, when I try to configure the device appearing on my network I recieve the following errors:
Error 1:
`Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 2:47:36 PM (1 occurrences)
Last logged: 2:47:36 PM
Error setting up entry 41-42-81-33-5C-CF (5CCF) for uniled
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/init.py", line 194, in async_setup_entry
model = await uniled.resolve_model(model_name is None, False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 848, in resolve_model
if await self.update(retry=0):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 303, in update
raise Exception("Update - Failed, no state query command available!")
Exception: Update - Failed, no state query command available!`
Error 2
`This error originated from a custom integration.
Logger: custom_components.uniled.lib.ble.device
Source: custom_components/uniled/lib/ble/device.py:444
integration: Universal Light Controller (documentation, issues)
First occurred: 2:40:27 PM (21 occurrences)
Last logged: 2:47:36 PM
41-42-81-33-5C-CF: Communication failed; Stopping trying; RSSI: -97 - 41-42-81-33-5C-CF - 41:42:81:33:5C:CF: Failed to connect after 11 attempt(s): No backend with an available connection slot that can reach address 41:42:81:33:5C:CF was found: The proxy/adapter is out of connection slots or the device is no longer reachable; Add additional proxies (https://esphome.github.io/bluetooth-proxies/) near this device
41-42-81-33-5C-CF: Communication failed; Stopping trying; RSSI: -97 - 41-42-81-33-5C-CF - 41:42:81:33:5C:CF: Failed to connect after 9 attempt(s): No backend with an available connection slot that can reach address 41:42:81:33:5C:CF was found: The proxy/adapter is out of connection slots or the device is no longer reachable; Add additional proxies (https://esphome.github.io/bluetooth-proxies/) near this device
41-42-81-33-5C-CF: Communication failed; Stopping trying; RSSI: -99 - 41-42-81-33-5C-CF - 41:42:81:33:5C:CF: Failed to connect after 10 attempt(s): No backend with an available connection slot that can reach address 41:42:81:33:5C:CF was found: The proxy/adapter is out of connection slots or the device is no longer reachable; Add additional proxies (https://esphome.github.io/bluetooth-proxies/) near this device
41-42-81-33-5C-CF: Communication failed; Stopping trying; RSSI: -99 - 41-42-81-33-5C-CF - 41:42:81:33:5C:CF: Failed to connect after 9 attempt(s): No backend with an available connection slot that can reach address 41:42:81:33:5C:CF was found: The proxy/adapter is out of connection slots or the device is no longer reachable; Add additional proxies (https://esphome.github.io/bluetooth-proxies/) near this device`
Error 3:
`Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 2:46:04 PM (1 occurrences)
Last logged: 2:46:04 PM
Error setting up entry 41-42-81-33-5C-CF (5CCF) for uniled
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 363, in establish_connection
await client.connect(
File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 286, in connect
wrapped_backend = self._async_get_best_available_backend_and_device(manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/habluetooth/wrappers.py", line 395, in _async_get_best_available_backend_and_device
raise BleakError(
bleak.exc.BleakError: No backend with an available connection slot that can reach address 41:42:81:33:5C:CF was found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/init.py", line 194, in async_setup_entry
model = await uniled.resolve_model(model_name is None, False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 848, in resolve_model
if await self.update(retry=0):
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 310, in update
if not await self.send(query, retry):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 380, in send
if await self._send_command(commands, retry):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 425, in _send_command
return await self._send_commands_locked(commands)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 463, in _send_commands_locked
if not await self._async_ensure_connected():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/uniled/lib/ble/device.py", line 539, in _async_ensure_connected
client: BleakClientWithServiceCache = await establish_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/init.py", line 471, in establish_connection
await wait_for_disconnect(device, backoff_time)
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/bluez.py", line 332, in wait_for_disconnect
await wait_for_device_to_reappear(device, min_wait_time)
File "/usr/local/lib/python3.12/site-packages/bleak_retry_connector/bluez.py", line 266, in wait_for_device_to_reappear
await asyncio.sleep(REAPPEAR_WAIT_INTERVAL)
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 665, in sleep
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError`
Through my own research I was able to determine that the mac address of my device is: FF:24:01:12:01:6D so which ever device is being picked up (41-42-81-33-5C-CF (5CCF)) appears to be incorrect. Further more, when I unplugged my lights the device that is appearing on my network does not go away. As such, I am led to believe that this custom component hasn't been updated in some time and was wondering if you are still actively maintaining it. Please let me know if you are and if you could help me diagnose this issue. Thanks -Robbie
Beta Was this translation helpful? Give feedback.
All reactions