Git Product home page Git Product logo

Comments (10)

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

I update to new release 2022.7.4 and initially led strip not work, and show me connection errors.

When I remove integration and re-add it, then work fine.

Try it and post results.

Thnks

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

Now i think it isn´t your problem.

In other repository i can see:

I had this issue also but I am running with a supervised install of HA on Debian. The issue was the base OS didnt have Bluez installed, installed it and thats solved now so I imagine your installs for whatever reason do not have access to the BT module/device.

You can see logs to locate this error:

bleak.exc.BleakDBusError: [org.bluez.Error.NotReady] Resource Not Ready

You can exec this command to see Bluez's version:

bluetoothctl -v

I think it is your problem, try solved it

from elkbledom.

Next9999 avatar Next9999 commented on June 16, 2024

Hi... i have remove the integration, delete the entity and reboot my raspberry

then re-install the integration, reboot then add the entity

here is the system error
Config flow could not be loaded: undefined
This error originated from a custom integration.

Logger: aiohttp.server
Source: custom_components/elkbledom/elkbledom.py:51
Integration: Elkbledom (documentation, issues)
First occurred: 14:38:17 (1 occurrences)
Last logged: 14:38:17

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 145, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 70, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 222, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 249, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data, init_done)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 359, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/elkbledom/config_flow.py", line 38, in async_step_user
devices = await discover()
File "/config/custom_components/elkbledom/elkbledom.py", line 51, in discover
devices = await BleakScanner.discover()
File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 115, in discover
async with cls(**kwargs) as scanner:
File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 95, in aenter
await self.start()
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/scanner.py", line 155, in start
assert_reply(reply)
File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/utils.py", line 23, in assert_reply
raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.NotReady] Resource Not Ready

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

The issue was the base OS didnt have Bluez installed, installed it and thats solved now

Verify it in Linux with this command:

bluetoothctl -v

Tnks

from elkbledom.

Next9999 avatar Next9999 commented on June 16, 2024

i ran the command bluetoothctl -v

bluetoothctl: 5.64

from elkbledom.

Next9999 avatar Next9999 commented on June 16, 2024

image

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

Exec command:

hcitool dev

And post results

Thnks

from elkbledom.

Next9999 avatar Next9999 commented on June 16, 2024

.

image

from elkbledom.

dave-code-ruiz avatar dave-code-ruiz commented on June 16, 2024

Show this issue for more info, it is config BlueZ or bluetooth device error:

sysofwan/ha-triones#15

from elkbledom.

Next9999 avatar Next9999 commented on June 16, 2024

Leds are back on line

from elkbledom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.