Comments (6)
I think you need to add bluetooth integration:
https://www.home-assistant.io/integrations/bluetooth/
from elkbledom.
Was already there and it doesn't help :/
And doesn't change the logs... 2023-09-01 15:20:28.974 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration elkbledom: No module named 'bluetooth_sensor_state_data'
However, while digging over the log file, I found this. Not sure how to understand it nor if it's related ? Copying it in case it's useful 🤷
2023-09-01 15:17:39.619 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration elkbledom: No module named 'bluetooth_sensor_state_data'
2023-09-01 15:17:41.605 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration elkbledom: No module named 'bluetooth_sensor_state_data'
2023-09-01 15:17:41.608 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/config_entries.py", line 2045, in _load_integration
integration.get_platform("config_flow")
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/__init__.py", line 9, in <module>
from .elkbledom import BLEDOMInstance
File "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/elkbledom.py", line 17, in <module>
from bluetooth_sensor_state_data import BluetoothData
ModuleNotFoundError: No module named 'bluetooth_sensor_state_data'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/config_entries.py", line 856, in async_init
flow, result = await task
^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/config_entries.py", line 874, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/config_entries.py", line 974, in async_create_flow
await _load_integration(self.hass, handler_key, self._hass_config)
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/config_entries.py", line 2052, in _load_integration
raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler
from elkbledom.
hi, i upload changes in page elkbledom.py, in your path is "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/elkbledom.py"
Can you replace this file with new file uploaded and restart HA ?
Send me new log file
from elkbledom.
I did replace only the elkbledom.py
file from the master, and I have different error while trying to connect the led :
2023-09-12 19:19:32.903 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/config/config_entries.py", line 181, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/data_entry_flow.py", line 297, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/site-packages/homeassistant/data_entry_flow.py", line 393, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/config_flow.py", line 134, in async_step_manual
return await self.async_step_validate()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/config_flow.py", line 112, in async_step_validate
error = await self.toggle_light()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/config_flow.py", line 164, in toggle_light
await self._instance.stop()
^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'stop'
from elkbledom.
hi, i upload changes in page config_flow.py, in your path is "/mnt/dietpi_userdata/homeassistant/custom_components/elkbledom/config_flow.py"
You can replace this file with new file uploaded and restart HA, but I advance you that will show connection error.
You must have another different strip because if you had the same one it would detect it automatically and not is needed type mac address
from elkbledom.
you can follow instructions in https://github.com/dave-code-ruiz/elkbledom/#supported-strips and send me results, i need strip bluetooth name and uuids
from elkbledom.
Related Issues (20)
- Effect Speed LED HOT 1
- Adding Light strip fails HOT 7
- Set Color HOT 1
- ELK-BLE pattern support HOT 5
- Integration error HOT 5
- Any way to also control with App (I have Magic Lantern)? HOT 1
- anyway to add music sync support? HOT 1
- HA OS HOT 8
- ELK-BLEDOB HOT 1
- Error tryng to add lights HOT 4
- LED strip not returning any data HOT 3
- Cannot configure LotusLamp strip (worked before) HOT 3
- Live state polling dont work. HOT 3
- Bledom device not working HOT 9
- More than 1 light HOT 9
- Connecting but still getting an error. HOT 1
- New device HOT 1
- Nrw device wont work HOT 14
- GreenSun LED RGB HOT 7
- Can't connect using gatttool HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elkbledom.