Add Application
Blank Application
Create Application
Device Recipes
in the SidebarAdd Device Recipe
button in the top-right cornerSet my own default names, tags and attributes
Create Recipe
buttonProperties
tab of your Device Recipe. In this page, ensure that the Device Class
is Standaone
Attributes
tab. The parameters to be sent to the Losant Server have to be defined here as attributes along with a suitable data type.Update Attributes
.Devices
tab in the sidebar.Add Device
button in the top-right cornerCreate from Recipe
.Create from Recipe
.Save Device
Access Keys
tab in the sidebar.Add Access Key
button in the top-right corner.ACCESS KEY DEVICE RESTRICTIONS
Section, select the devices that the key applies to. Choose All Devices
if you are unsure.Create Access Key
Download to file
to save it on your PC as a text file.Dashboards
tab in the sidebar.Add Dashboard
button in the top-right corner.Create Dashboard
Add Block
.Add block
https://raw.githubusercontent.com/iotify/nsim-examples/master/connectors/losant-connector.json
Paste this URL in the dialog box that opens when you clickImport a Template
from the Network Simulator templates page [ https://beta.iotify.io/network/templates ]
Blank Template
MQTT(S)
protocol and enter a name for your template.MQTT
tab to set the connection parametersmqtt(TCP)
broker.losant.com
and the Endpoint URL
losant/<device-id>/state
device-id
, click on the devices tab of your Losant Application homepage. The device Id is listed below the Device name. Click on the button beside the ID to copy it.device-id
in the ClientID
field.Security
tab and provide the authentication credentials to connect to our Losant applicationAccess Key
as the Username
Access Secret
as the Password
These can be found in the.txt
file we downloaded while making the Access key in Losant
Device Model
Tab.Save
button one you are done editing the template.