added example for new fluksov2 protocol
This commit is contained in:
parent
a04c73764e
commit
b68d09513f
1 changed files with 9 additions and 1 deletions
|
@ -34,7 +34,6 @@
|
||||||
"uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90c",
|
"uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90c",
|
||||||
"middleware" : "http://localhost/volkszaehler/middleware.php",
|
"middleware" : "http://localhost/volkszaehler/middleware.php",
|
||||||
"identifier" : "counter",
|
"identifier" : "counter",
|
||||||
"counter" : true /* send only delta between to values (simluate impulses) */
|
|
||||||
}, {
|
}, {
|
||||||
"uuid" : "d5c6db0f-533e-498d-a85a-be972c104b48",
|
"uuid" : "d5c6db0f-533e-498d-a85a-be972c104b48",
|
||||||
"middleware" : "http://localhost/volkszaehler/middleware.php",
|
"middleware" : "http://localhost/volkszaehler/middleware.php",
|
||||||
|
@ -66,5 +65,14 @@
|
||||||
/* $i => identifier, $v => value, $t => timestamp */
|
/* $i => identifier, $v => value, $t => timestamp */
|
||||||
"rewind" : true, /* reset file pointer each interval to the beginning of the file */
|
"rewind" : true, /* reset file pointer each interval to the beginning of the file */
|
||||||
"interval" : 2 /* of ommitted, we will try to listen on changes with inotify */
|
"interval" : 2 /* of ommitted, we will try to listen on changes with inotify */
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"protocol" : "fluksov2",
|
||||||
|
"fifo" : "/var/spid/delta/out",
|
||||||
|
"channel" : {
|
||||||
|
"uuid" : "3b4da450-42a8-11e1-8b8d-c526d853edec",
|
||||||
|
"middleware" : "http://demo.volkszaehler.org/middleware.php",
|
||||||
|
"identifier" : "sensor0/power" /* or "sensor2/consumption" e.g. */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
|
Loading…
Add table
Reference in a new issue