Added instructions for accessing local image files in known_devices.yaml (#1353)

This commit is contained in:
Alok Saboo 2016-10-29 04:19:17 -04:00 committed by Fabian Affolter
parent d137e4c761
commit 65f2a34c89

View File

@ -69,7 +69,7 @@ devicename:
|----------------|-------------------------------|---------------------------------------------------------------------------------------------------------| |----------------|-------------------------------|---------------------------------------------------------------------------------------------------------|
| `name` | Host name or "Unnamed Device" | The friendly name of the device | | `name` | Host name or "Unnamed Device" | The friendly name of the device |
| `mac` | None | The MAC address of the device. Add this if you are using a network device tracker like Nmap or SNMP | | `mac` | None | The MAC address of the device. Add this if you are using a network device tracker like Nmap or SNMP |
| `picture` | None | A picture that you can use to easily identify the person or device | | `picture` | None | A picture that you can use to easily identify the person or device. You can also save the image file in a folder "www" in the same location (can be obtained from developer tools) where you have your configuration.yaml file and just use `picture: /local/favicon-192x192.png`. |
| `gravatar` | None | An email address for the device's owner. If provided, it will override `picture` | | `gravatar` | None | An email address for the device's owner. If provided, it will override `picture` |
| `track` | False | If `yes`/`on`/`true` then the device will be tracked. Otherwise its location and state will not update | | `track` | False | If `yes`/`on`/`true` then the device will be tracked. Otherwise its location and state will not update |
| `hide_if_away` | False | If `yes`/`on`/`true` then the device will be hidden if it is not at home | | `hide_if_away` | False | If `yes`/`on`/`true` then the device will be hidden if it is not at home |