Skip to content

Commit

Permalink
📚 Adds Glances sensor example
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Feb 5, 2019
1 parent f8fb909 commit 57d5e5d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,32 @@ panel_iframe:
url: http://hassio.local:61208
```
## Adding Glances as a sensor into Home Assistant
The Home Assistant Glances sensor platform is consuming the system information
provided by the Glances API.
This enables one to track and display their stats in Home Assistant,
and even build automations based on that data.
```yaml
sensor:
- platform: glances
host: 127.0.0.1
username: YOUR_GLANCES_USERNAME
password: YOUR_GLANCES_PASSWORD
version: 3
resources:
- 'processor_load'
- 'memory_use_percent'
- 'disk_use_percent'
```
More information about the Glances sensor platform can be found in the
Home Assistant documentation:
<https://www.home-assistant.io/components/sensor.glances/>
## Changelog & Releases
This repository keeps a change log using [GitHub's releases][releases]
Expand Down

0 comments on commit 57d5e5d

Please sign in to comment.