[vz-users] Verbrauchsalarm
    W3ll Schmidt 
    w3llschmidt at gmail.com
       
    Thu Jul 18 15:39:01 CEST 2013
    
    
  
Nochmal überarbeitet ...
https://github.com/w3llschmidt/volkszaehler.org/blob/master/misc/tools/calert
Umbenannt in 'calert' und einen neuen Parameter dazu -> Type (-t)
usage: cALERT [-h] -u UUID -t {kWh,m3} [-c COSTS] [-i INTERVAL]
Configure cALERT at the commandline ->
optional arguments:
  -h, --help   show this help message and exit
  -u UUID      Enter the coresponding UUID here [required]
  -t {kWh,m3}  Power/Gas [required]
  -c COSTS     Cost limit that will cause a alert
  -i INTERVAL  Monitoring interval in seconds
cALERT is intended to operate as a cronjob and monitors the cost (Power/Gas
consumption) for a particular UUID, based on the configured costs of the
channel and the consumption within the interval.
Man kann also mit *-t m3* oder *-t kWh* Gas/Strom-Alarme generieren ... ja
nach Kanal.
pi at vz:$ calert -u dd5f4c10-8f3e-11e2-b904-8b1be06f6896 -t kWh -c 1.80
7.00kWh / 1.97EUR
pi at vz:$ calert -u d42c7100-8f33-11e2-850c-437776a9e786 -t m3 -c 0.50
1.24m3 / 0.85EUR
Ist der Vebrauch (EUR) unter dem Schwellwert (-c) passiert halt garnischt
und das Script lässt euch in Ruhe ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20130718/846762c6/attachment.html>
    
    
More information about the volkszaehler-users
mailing list