X-Git-Url: https://git.nirgal.com/?p=ampy.git;a=blobdiff_plain;f=README.rst;h=9f37c36383a3827c9fd55dfcf91a3ded3678a7e4;hp=52ef1dd6e4569edfbe01937391fe843d3a0ed613;hb=49a339fe30a4943e15e39f64444714de061ee818;hpb=fb18bfbe9f1ee500ce19a054892468990bd12593 diff --git a/README.rst b/README.rst index 52ef1dd..9f37c36 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ It is designed for self-hosting, without any third party analysing when you're h 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`_. @@ -85,7 +85,7 @@ Configuration 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 @@ -192,3 +192,6 @@ Notes to cleanup (ignore that) 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