From e52821464826dd48cafb2b52a79944acd08676bd Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 19 Oct 2010 00:43:24 +0200 Subject: [PATCH] removed port setting which is already defined in digitemp config --- share/tools/log_onewire.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/share/tools/log_onewire.sh b/share/tools/log_onewire.sh index 76ebe27..1e0936d 100755 --- a/share/tools/log_onewire.sh +++ b/share/tools/log_onewire.sh @@ -35,6 +35,8 @@ URL="http://localhost/workspace/volkszaehler.org/backend/index.php/" declare -A MAPPING MAPPING["1012E6D300080077"]="9eed00f0-ca37-11df-9d39-15423b3b842b" MAPPING["10E3D2C400080017"]="875d2cc0-da4b-11df-a67f-e9bb235c3849" +MAPPING["10F59F84010800B0"]="4b549c20-da4f-11df-bd60-4b520f9cd4e0" +MAPPING["1060BB840108000D"]="5fcc9b40-da4f-11df-b981-d55799876663" # the digitemp binary, choose the right one for your adaptor DIGITEMP="digitemp_DS9097" @@ -42,9 +44,6 @@ DIGITEMP="digitemp_DS9097" # the digitemp configuration (holds your sensor ids) DIGITEMP_CONF="/home/steffen/.digitemprc" -# the port of your digitemp adaptor -DIGITEMP_PORT="/dev/ttyUSB1" - # additional options for digitemp # specify single or all sensors here for example #DIGITEMP_OPTS="-t 0" @@ -60,7 +59,7 @@ CURL_OPTS="" # ========================= do not change anything under this line # building digitemp options -DIGITEMP_OPTS="-c ${DIGITEMP_CONF} ${DIGITEMP_OPTS} -s ${DIGITEMP_PORT} -q -o %s;%R;%N;%C" +DIGITEMP_OPTS="-c ${DIGITEMP_CONF} ${DIGITEMP_OPTS} -q -o %s;%R;%N;%C" if [ $DEBUG ]; then echo "enabling debugging output"