A script to download the Hubitat backup file to Synology NAS. This will be configured as a repeating, scheduled task.
Instructions:
1. In your Synology NAS, under Control Panel, open Task Scheduler.
2. Create Scheduled Task -> User Defined Script.
3. Edit the Schedule settings as required.
4. Under Task Settings, add the code from user-defined script from this repository under the User-defined script box.
5. Edit the following variables for your setup:
he_login (the Hubitat login username)
he_password (the Hubitat user's password)
he_ipaddr (the IP address of the Hubitat)
backupdir (the location to store the backup file on your Synology NAS)
6. Now click OK. Test the script by right-clicking the task and click Run.