Synology switch for Home Assistant. Control your Synology Diskstation with Home Assistant.
supports DSM 5.x and 6.x
Install Home Assistant first.
Using Home Assistant Community Store
OR
Copy __init__.py
and switch.py
to homeassistant/custom_components/synology_switch/
Edit configuration.yaml
Example:
switch:
- platform: synology_switch
url: https://www.example.com:5001
mac: 00:11:22:33:EE:FF
username: username
password: pass
secure: False
- wake up (wake-on-lan has to be active) your diskstation
- shutdown your diskstation
This plugin does not support 2FA. If you have enabled 2FA, consider creating another account without 2FA.
Please double check your config.json before opening an issue. When you open an issue provide a detailed description of your problem and add your config.json (without password).
PRs are always welcome.