We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(venv) ➜ [/home/pi/Soft/blinker-py] git:(dev_3.0) ✗ sudo python3 example/voice_assistant.py Press Ctrl+C to exit 2022-04-11 21:13:27.355 | SUCCESS | blinker.device:device_init:223 - Device auth successful... 2022-04-11 21:13:27.362 | INFO | blinker.device:_cloud_heartbeat:246 - Send cloud heartbeat 2022-04-11 21:13:27.363 | INFO | blinker.httpclient:cloud_heartbeat:128 - http cloud heartbeat Exception in thread Thread-6: Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/usr/local/lib/python3.9/dist-packages/blinker/device.py", line 458, in init_local_service await zero_conf.async_register_service(info) AttributeError: 'Zeroconf' object has no attribute 'async_register_service' 2022-04-11 21:13:27.430 | INFO | blinker.mqttclient:_on_connect:46 - Connect to broker from mqtt 2022-04-11 21:13:27.431 | SUCCESS | blinker.mqttclient:_on_connect:48 - Broker connected... 2022-04-11 21:13:27.432 | SUCCESS | blinker.device:_receiver:382 - Receiver ready... query state: state 2022-04-11 21:13:34.302 | INFO | blinker.mqttclient:send_to_voiceassistant:115 - send mqtt message to voice assistant: {"fromDevice": "E9E2009E1MRJ4VM2VBVHB1XN", "toDevice": "ServerReceiver", "data": {"pState": "true", "mode": "day", "color": "red", "brightness": "66", "messageId": "6254297e30efdd70"}} 2022-04-11 21:13:35.375 | INFO | blinker.mqttclient:_on_connect:46 - Connect to broker from mqtt 2022-04-11 21:13:35.376 | SUCCESS | blinker.mqttclient:_on_connect:48 - Broker connected...
The text was updated successfully, but these errors were encountered:
未复现此错误,执行并截图下 sudo python3 -m pip show zeroconf 得结果
sudo python3 -m pip show zeroconf
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: