11 lines
269 B
Bash
11 lines
269 B
Bash
|
#!/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"
|