Closed JamieMagee closed 1 month ago
For anyone who has the same issue, I resolved it by using DevicePolicy
and DeviceAllow
with systemd.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
I've been periodically seeing the error
Resource temporarily unavailable Cannot lock port
in my zigbee2mqtt logs. It's a common enough issue that zigbee2mqtt have created an FAQ about it ^1.So I created some audit rules to find out what was accessing my Zigbee USB stick:
It turned out to be esphome
Is there any way to prevent esphome from accessing this specific device? Or disable USB access entirely?
Which version of ESPHome has the issue?
2024.5.4
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
2024.5.5
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response