Draggon / hassio-hdd-tools

27 stars 12 forks source link

Error about accessing the blocked device in Supervisor log #48

Open McGiverGim opened 2 years ago

McGiverGim commented 2 years ago

Only to not forget...

Home Assistant is very restrictive in the access to the devices. Some time ago, simply by adding a "device" parameter in the configuration the access was granted. They block this way of accessing, and we need to add the "full_access" flag to let disable protected mode (a bad idea, but I have not found any other way). It continues working this way, but now they show an error in the log, maybe they will block the access in a future?

21-12-30 08:55:22 WARNING (SyncWorker_2) [supervisor.docker.addon] HDD Tools running with disabled protected mode!
21-12-30 08:55:22 ERROR (SyncWorker_2) [supervisor.docker.addon] Add-on HDD Tools try to access to blocked device sda!

I've opened several issues in Home Assistant about this without luck. If someone has some idea is welcome.