Fix merge

This commit is contained in:
Fabian Affolter 2016-11-19 13:13:07 +01:00
parent 36d13382d8
commit 04c19e8b8f
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -20,7 +20,7 @@ This `synologydms` sensor allows getting various statistics from your [Synology
This sensor will wake up your Synology NAS if it's in hibernation mode.
</p>
To use the SynologyDSM sensor in your installation, add the following to your `configuration.yaml` file:
To use the `synologydsm` sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yml entry
@ -34,13 +34,13 @@ sensor:
- memory_real_usage
- network_up
```
Note: After booting HASS it can take up to 15 minutes for the sensors to show up. This is due to the fact that sensors are created after HASS has fully been initialised.
Note: After booting Home Assistant it can take up to 15 minutes for the sensors to show up. This is due to the fact that sensors are created after Home Assistant has fully been initialized.
Configuration variables:
- **host** (*Required*): The IP address of the Synology NAS to monitor
- **port** (*Optional*): The port number on which the NAS is reachable. Defaults to `5000`.
- **username** (*Required*): An user to connect to the Synology NAS (a seperate account is adviced, see the Seperate User Configuration section below for details).
- **port** (*Optional*): The port number on which the Synology NAS is reachable. Defaults to `5000`.
- **username** (*Required*): An user to connect to the Synology NAS (a separate account is advised, see the Separate User Configuration section below for details).
- **password** (*Required*): The password of the user to connect to the Synology NAS.
- **volumes** (*Optional*): Array of volumes to monitor. Defaults to all volumes.
- **disks** (*Optional*): Array of disks to monitor. Defaults to all disks.
@ -61,13 +61,13 @@ Configuration variables:
- **memory_total_real**: Displays total size of real memory in MB.
- **network_up**: Displays total up speed of network interfaces (combines all interfaces).
- **network_down**: Displays total down speed of network interfaces (combines all interfaces).
- **disk_name**: Displays the name of the harddisk (creates a new entry for each disk).
- **disk_device**: Displays the path of the harddisk (creates a new entry for each disk).
- **disk_smart_status**: Displays the S.M.A.R.T status of the harddisk (creates a new entry for each disk).
- **disk_status**: Displays the status of the harddisk (creates a new entry for each disk).
- **disk_exceed_bad_sector_thr**: Displays true / false to indicate if the harddisk exceeded the maximum bad sector threshold (creates a new entry for each disk).
- **disk_below_remain_life_thr**: Displays true / false to indicate if the harddisk dropped below the remain life threshold (creates a new entry for each disk).
- **disk_temp**: Displays the temperature of the harddisk (creates a new entry for each disk, uses the unit_system to display in C or F).
- **disk_name**: Displays the name of the hard disk (creates a new entry for each disk).
- **disk_device**: Displays the path of the hard disk (creates a new entry for each disk).
- **disk_smart_status**: Displays the S.M.A.R.T status of the hard disk (creates a new entry for each disk).
- **disk_status**: Displays the status of the hard disk (creates a new entry for each disk).
- **disk_exceed_bad_sector_thr**: Displays true / false to indicate if the hard disk exceeded the maximum bad sector threshold (creates a new entry for each disk).
- **disk_below_remain_life_thr**: Displays true / false to indicate if the hard disk dropped below the remain life threshold (creates a new entry for each disk).
- **disk_temp**: Displays the temperature of the hard disk (creates a new entry for each disk, uses the unit_system to display in C or F).
- **volume_status**: Displays the status of the volume (creates a new entry for each volume).
- **volume_device_type**: Displays the volume type (RAID, etc) (creates a new entry for each volume).
- **volume_size_total**: Displays the total size of the volume in GB's (creates a new entry for each volume).
@ -76,8 +76,8 @@ Configuration variables:
- **volume_disk_temp_avg**: Displays the average temperature of all disks in the volume (creates a new entry for each volume).
- **volume_disk_temp_max**: Displays the maximum temperature of all disks in the volume (creates a new entry for each volume).
Seperate User Configuration:
Separate User Configuration:
Due to the nature of the Synology DSM Api it is required to grant de user admin rights. This is related to the fact that utilisation information is stored in the core module.
Due to the nature of the Synology DSM API it is required to grant the user admin rights. This is related to the fact that utilization information is stored in the core module.
When creating the user it is possible to deny access to all locations and applications. By doing this the user will not be able to login to the web interface or view any of the files on the NAS. It is still able to read the utilisation and storage information using the API.
When creating the user it is possible to deny access to all locations and applications. By doing this the user will not be able to login to the web interface or view any of the files on the Synology NAS. It is still able to read the utilization and storage information using the API.