I have been playing with the wyoming satellite and I am wondering if anyone else has run into this. If I change any parameters and restart the wyoming service, or reboot. I get this error for a little while then it eventually connects. Not sure if there is a clean way I am supposed to handle this.
Jan 29 09:10:31 office-assistant run[1226]: Traceback (most recent call last):
Jan 29 09:10:31 office-assistant run[1226]: File "<frozen runpy>", line 198, in _run_module_as_main
Jan 29 09:10:31 office-assistant run[1226]: File "<frozen runpy>", line 88, in _run_code
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/wyoming_satellite/__main__.py", line 410, in <module>
Jan 29 09:10:31 office-assistant run[1226]: run()
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/wyoming_satellite/__main__.py", line 404, in run
Jan 29 09:10:31 office-assistant run[1226]: asyncio.run(main())
Jan 29 09:10:31 office-assistant run[1226]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
Jan 29 09:10:31 office-assistant run[1226]: return runner.run(main)
Jan 29 09:10:31 office-assistant run[1226]: ^^^^^^^^^^^^^^^^
Jan 29 09:10:31 office-assistant run[1226]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
Jan 29 09:10:31 office-assistant run[1226]: return self._loop.run_until_complete(task)
Jan 29 09:10:31 office-assistant run[1226]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 29 09:10:31 office-assistant run[1226]: File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
Jan 29 09:10:31 office-assistant run[1226]: return future.result()
Jan 29 09:10:31 office-assistant run[1226]: ^^^^^^^^^^^^^^^
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/wyoming_satellite/__main__.py", line 377, in main
Jan 29 09:10:31 office-assistant run[1226]: await register_server(
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/.venv/lib/python3.11/site-packages/wyoming/zeroconf.py", line 35, in register_server
Jan 29 09:10:31 office-assistant run[1226]: await aiozc.async_register_service(service_info)
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/.venv/lib/python3.11/site-packages/zeroconf/asyncio.py", line 207, in async_register_service
Jan 29 09:10:31 office-assistant run[1226]: return await self.zeroconf.async_register_service(
Jan 29 09:10:31 office-assistant run[1226]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/.venv/lib/python3.11/site-packages/zeroconf/_core.py", line 342, in async_register_service
Jan 29 09:10:31 office-assistant run[1226]: await self.async_check_service(info, allow_name_change, cooperating_responders, strict)
Jan 29 09:10:31 office-assistant run[1226]: File "/home/jbrunk/wyoming-satellite/.venv/lib/python3.11/site-packages/zeroconf/_core.py", line 508, in async_check_service
Jan 29 09:10:31 office-assistant run[1226]: raise NonUniqueNameException
Jan 29 09:10:31 office-assistant run[1226]: zeroconf._exceptions.NonUniqueNameException
Jan 29 09:10:32 office-assistant run[1225]: Traceback (most recent call last):
Jan 29 09:10:32 office-assistant run[1225]: File "/home/jbrunk/wyoming-satellite/script/run", line 12, in <module>
Jan 29 09:10:32 office-assistant run[1225]: subprocess.check_call([context.env_exe, "-m", "wyoming_satellite"] + sys.argv[1:])
Jan 29 09:10:32 office-assistant run[1225]: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
Jan 29 09:10:32 office-assistant run[1225]: raise CalledProcessError(retcode, cmd)
Looks like it’s basically saying that a device with this name already exists… which is fine… but this is the device, just restarted…