hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

🐛 [Samba NAS] MQTT keeps a USB HDD spinning (prevents sleep)

Open Lukanex opened this issue 9 months ago • 3 comments

Addon

SambaNAS

Description

MQTT keeps an external USB HDD spinning (prevents sleep), the sleep works with the MQTT disabled.

Would it be possible to check the free space and other parameters only when the USB drive in not sleeping please?

Reproduction steps

1. Connect a USB external HDD (mechanical) (WD My Book in this case)
2. Enable 'mqtt_enable'
3. Enable 'mqtt_nexgen_entities'
4. save and restart Samba NAS Add-On
5. Observe that the external HDD does not stop spinning the entire day while the sleep timer is set to 10 min.

The same drive goes to sleep correctly with the MQTT disabled ('mqtt_enable' = off)

Addon Logs

Nothing different prints after the add-on starts within or after the sleep period

Addon Config

workgroup: WORKGROUP
username: <******>
password: <******>
allow_hosts:
  - 192.168.0.0/16
automount: true
moredisks:
  - DATA_4TB
mountoptions:
  - nosuid
  - relatime
  - noexec
available_disks_log: true
medialibrary:
  enable: true
veto_files:
  - ._*
  - .DS_Store
  - .Trashes
compatibility_mode: false
recyle_bin_enabled: false
wsdd2: false
mqtt_nexgen_entities: true
autodiscovery: {}
other_users:
  - username: <******>
    password: <******>
  - username: <******>
    password: <******>
acl:
  - share: addon
    disabled: false
    users:
      - <******>
  - share: DATA_4TB
    disabled: false
    users:
      - <******>
interfaces: []
mqtt_use_legacy_entities: false
mqtt_enable: true

Architecture

armv7

OS

HaOS

Lukanex avatar May 16 '24 19:05 Lukanex