adapted 1-wire logging script to new timestamp and controller definitions
This commit is contained in:
parent
888fc0aa1a
commit
53446529d2
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ do
|
|||
IFS=";"
|
||||
COLUMNS=( $LINE )
|
||||
UCID="${UCID_PREFIX}${COLUMNS[1]:0:4}-${COLUMNS[1]:5}"
|
||||
curl ${CURL_OPTS} "${URL}?controller=channel&action=log&ucid=${UCID}&value=${COLUMNS[2]}×tamp=${COLUMNS[0]}${URL_PARAMS}"
|
||||
curl ${CURL_OPTS} "${URL}?controller=data&action=add&ucid=${UCID}&value=${COLUMNS[2]}×tamp=$(( ${COLUMNS[0]} * 1000 ))${URL_PARAMS}"
|
||||
done
|
||||
|
||||
# reset old ifs
|
||||
|
|
Loading…
Add table
Reference in a new issue