-
You should pull out the IP address here https://gitlab.com/snippets/1865020#L83 and put it as a variable up top with the others.
username360="XXXXXXX" password360="YYYYYYYY" openhabIP="127.0.0.1:8080" ... http://$openhabIP/gpstracker/gpslogger >/dev/null
Also I wanted a more descriptive name for the tid, but when I tried to do this
tid=${firstName}${lastName}
it would blow up. So I clearly don't fully understand how the tid is used.Edited by Jacob Weigand
Please register or sign in to comment