Skip to content

kader0100/Losant-Setup-Script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Auto setup script for the Omega2 on Losant Cloud Platform

Usage

wget -qP /tmp https://raw.githubusercontent.com/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

Communicating with Losant

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"

About

Auto Setup Script for the Losant Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%