nilmtools/extras/sample-cron-scripts/capture.sh

11 lines
269 B
Bash
Raw Permalink Normal View History

2013-07-29 18:37:55 -04:00
#!/bin/bash
# Start the ethstream capture using nilm-pipewatch
# Bail out on errors
set -e
nilm-pipewatch --daemon --lock "/tmp/nilmdb-capture.lock" --timeout 30 \
"ethstream -a 192.168.1.209 -n 9 -r 8000 -N" \
"nilm-insert -m 10 -r 8000 --live /sharon/raw"