tomaae / homeassistant-openmediavault

OpenMediaVault integration for Home Assistant
Apache License 2.0
109 stars 16 forks source link

Prevents disk spindown on Raspberyy Pi 4 #151

Closed phreatic62 closed 4 months ago

phreatic62 commented 4 months ago

Describe the issue

OMV monitor spins up drives/prevents drives spinning down

How to reproduce the issue

Enable OMV monitor. Disk will immediately spin up and be accessed. This will occur even if the disk monitoring HA devices are disabled.

Expected behavior

No disk monitoring selected, no disk activity caused by monitor. 'OMV Disk' enabled in monitor - no activity caused by monitor - I'm not 100% sure about this, but think SMART attributes can be read without causing the disk to spin up. 'OMV Filesystem' enabled - probably expect disk access as these attributes need the disk spun up to be read (I think)

Screenshots

Software versions

Diagnostics data

All data provided by OMV Monitor seems accurate and consistent with OMV's own monitoring.

Traceback/Error logs

Additional context

OMV running natively (not in docker) on RasPi4 with 2 x HDD and 2 x SSD (plus O/S on SD card) HASST running on separate Pi3 on same network - no docker.

tomaae commented 4 months ago

disable smart in integration option.

phreatic62 commented 4 months ago

Thank you for your rapid reply, I'll do this and report back.

lajoshanko commented 4 months ago

I had the same issue, disabled the SMART info, but the filesystem still get accessed by the integration preventing the standby for the HDDs.

phreatic62 commented 4 months ago

@tomaae - this has worked for me, the integration is working how I would expect.

phreatic62 commented 4 months ago

I had the same issue, disabled the SMART info, but the filesystem still get accessed by the integration preventing the standby for the HDDs.

Dim question - have you also disabled 'OMV Filesystem'?

lajoshanko commented 4 months ago

Yes, this is how I came to the conclusion that it was the problem.

tomaae commented 4 months ago

you dont have to disable the sensor, that wont affect query, just disabling smart in integration will do it.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.