Public
Authored by Dave Thomas

Simple bash script to send Life360 location data to OpenHab's gpstracker binding

Edited
life360_presence.sh 2.93 KB
  • 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment