From 536ac403a2b8e4781a1b17fdde95776e84d14213 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Wed, 29 Sep 2010 16:41:18 +0200 Subject: [PATCH] openwrt: introduce a UCI file to centralize Flukso params --- mote/v1/openwrt/package/flukso/src/flukso.uci | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 mote/v1/openwrt/package/flukso/src/flukso.uci diff --git a/mote/v1/openwrt/package/flukso/src/flukso.uci b/mote/v1/openwrt/package/flukso/src/flukso.uci new file mode 100644 index 0000000..9f769eb --- /dev/null +++ b/mote/v1/openwrt/package/flukso/src/flukso.uci @@ -0,0 +1,40 @@ +config flukso main + option port /dev/ttyS0 + option home logger.flukso.net + option homeVersion 1 + option homeInterval 300 + option homeEnable 1 + option local /tmp/sensor + option localVersion 1 + option localInterval 0 + option localEnable 1 + option debug 0 + +### sensor config options +# config sensor <1..6> +# option id +# option input +# list port <1..6> +# option constant [] +# option voltage [] +# option current [] + +config sensor 1 + option id 0123456789abcdef0123456789abcde0 + option input analog + list port 1 + option voltage 230 + option current 50 + +config sensor 2 + option id 0123456789abcdef0123456789abcde1 + option input analog + list port 2 + option voltage 230 + option current 50 + +config sensor 3 + option id 0123456789abcdef0123456789abcde2 + option input pulse + list port 3 + option constant 1