/
dev.txt
43 lines (30 loc) · 785 Bytes
/
dev.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
========================
Development informations
========================
Timeout on sensors
==================
The timeout is set to 0 for all sensors : as the interval between 2 checks is a global parameter, we can't set a proper default timeout. If needed, the timeout should be set manually by the user for this plugin.
How it the disk space data calculated ?
=======================================
The plugin just use the ``os.statvfs(path)`` function.
xPL messages
============
xpl-stat
--------
The **sensor.basic** message is used: ::
xpl-stat
{
...
}
sensor.basic
{
type=<one of these values : total_space, free_space, used_space, percent_used>
device=<path>
current=<value>
}
xpl-trig
--------
n/a
xpl-cmnd
--------
n/a