Hardware
========
-You need a ampmeter sensor that outputs an audio signal.
+You need a ammeter sensor that outputs an audio signal.
It has been tested with `this YHDC sensor`_.
Select the alsa audio input
---------------------------
-Run ``device.py`` to find out which entry you should use.
+Run ``device.py`` to select which entry you want to use.
Then adjust DEVICE in run.py
watch -n 0.5 rrdtool graphv - '-s' '1546280606' 'DEF:watts=/var/lib/rrdcached/db/power.rrd:watts:AVERAGE' 'VDEF:avg=watts,AVERAGE' 'VDEF:last=watts,LAST' 'PRINT:avg:%lf' 'PRINT:last:%lf'
Alors que ça si:
watch -n 0.5 rrdtool lastupdate --daemon /var/run/rrdcached.sock /var/lib/rrdcached/db/power.rrd
+
+ If you want to run in a cgroup2 protected container, you need to add:
+ lxc.cgroup2.devices.allow = c 116:* rwm