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

Maximum advertisements reached #25

Open
pcj1997 opened this issue Aug 10, 2023 · 0 comments
Open

Maximum advertisements reached #25

pcj1997 opened this issue Aug 10, 2023 · 0 comments
Labels
bluetooth Poweron using bluetooth bug Something isn't working

Comments

@pcj1997
Copy link

pcj1997 commented Aug 10, 2023

麻烦大佬帮忙看看这个报错,感谢!
此错误来自自定义集成。

Logger: homeassistant.helpers.script.websocket_api_script
Source: custom_components/xgimi/pyxgimi.py:76
Integration: Xgimi Projector Remote (documentation, issues)
First occurred: 2023年8月9日 下午9:37:52 (12 occurrences)
Last logged: 下午3:20:33

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Maximum advertisements reached
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 703, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 665, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service
return await cast(
^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 848, in entity_service_call
response_data = task.result() # pop exception if have
^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1192, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/xgimi/remote.py", line 97, in async_send_command
await self.xgimi_api.async_send_command(single_command)
File "/config/custom_components/xgimi/pyxgimi.py", line 97, in async_send_command
await self.async_robust_ble_power_on(self.manufacturer_data)
File "/config/custom_components/xgimi/pyxgimi.py", line 80, in async_robust_ble_power_on
await self.async_ble_power_on(manufacturer_data, company_id, service_uuid)
File "/config/custom_components/xgimi/pyxgimi.py", line 76, in async_ble_power_on
await advert.register(bus)
File "/usr/local/lib/python3.11/site-packages/bluez_peripheral/advert.py", line 119, in register
await interface.call_register_advertisement(path, {})
File "/usr/local/lib/python3.11/site-packages/dbus_next/aio/proxy_object.py", line 92, in method_fn
BaseProxyInterface._check_method_return(msg, intr_method.out_signature)
File "/usr/local/lib/python3.11/site-packages/dbus_next/proxy_object.py", line 62, in _check_method_return
raise DBusError._from_message(msg)
dbus_next.errors.DBusError: Maximum advertisements reached

@manymuch manymuch added bug Something isn't working bluetooth Poweron using bluetooth labels Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bluetooth Poweron using bluetooth bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants