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

not working for me via home assistant. #1

Open
mihaiaka opened this issue May 8, 2024 · 1 comment
Open

not working for me via home assistant. #1

mihaiaka opened this issue May 8, 2024 · 1 comment

Comments

@mihaiaka
Copy link

mihaiaka commented May 8, 2024

hi there. nice project/idea. I'm not able to start it tho'
I'm getting the below, would you be able to assist?

Logger: homeassistant.setup
Source: setup.py:404
First occurred: 16:49:08 (1 occurrences)
Last logged: 16:49:08

Error during setup of component wakepsx_on_bt
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 404, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wakepsx_on_bt/init.py", line 69, in setup
hass.services.async_register(
File "/usr/src/homeassistant/homeassistant/core.py", line 2522, in async_register
self._hass.verify_event_loop_thread("async_register")
File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
frame.report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
_report_integration(what, integration_frame, level, error_if_integration)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
raise RuntimeError(
RuntimeError: Detected that custom integration 'wakepsx_on_bt' calls async_register from a thread at custom_components/wakepsx_on_bt/init.py, line 69: hass.services.async_register(. Please report it to the author of the 'wakepsx_on_bt' custom integration.

@mihaiaka
Copy link
Author

mihaiaka commented May 8, 2024

also, would this work with an esp32 Bluetooth proxy? as my HA machine is in the attic, I'm planning to have an esp32 board behind the tv/cabinet in the living room to turn ON the PS3, PS4, and PS5.

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

No branches or pull requests

1 participant