Site updated at 2015-11-22 20:47:53 UTC
This commit is contained in:
parent
8e4da669aa
commit
f372cd0b12
97 changed files with 2687 additions and 548 deletions
|
@ -102,7 +102,7 @@
|
|||
|
||||
<p>The glances sensor platform is consuming the system information provided by the <a href="https://github.com/nicolargo/glances">Glances</a> API. This enables one to track remote host and display their stats in Home Assistant.</p>
|
||||
|
||||
<p>This sensors needs a running isntance of <code>glances</code> on the host:</p>
|
||||
<p>This sensors needs a running instance of <code>glances</code> on the host. The minimal supported version of <code>glances</code> is 2.3:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>glances -w
|
||||
|
@ -111,6 +111,15 @@ Glances web server started on http://0.0.0.0:61208/
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<p>Check if you are able to access the API located at <code>http://IP_ADRRESS:61208/api/2</code>. The details about your memory usage is provided as a JSON response. If so, you are good to proceed.</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>$ curl -X GET http://IP_ADDRESS:61208/api/2/mem/free
|
||||
{"free": 203943936}
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>To enable the glances sensor, add the following lines to your <code>configuration.yaml</code>:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue