Getting Started with Zatar

Follow the steps below to quickly build your IoT devices and your custom IoT applications

Device API

How to build your IoT device

1 Select Your IoT Device

Choose your LWM2M device or use our developer kits:

2 Onboard Your Device

Use the Zatar Device Portal to onboard your device and create its Avatar.

 

Start the Add Device wizard by selecting the Add Device option from the ADD+ button.

 

Enter the device UDI and tap the NEXT button

 

Select the Device type, Manufacturer, and Model from teh dropdown menus.

If more than one avatar definition matches your selection, choose the appropriate avatar definition from the list

Last, give your avatar a name and specify its location. Tap FINISH and you're done!

 

Thats it! Your device now has a Zatar Avatar and is ready to connect to the cloud. 

3 Customize Your IoT Device and Avatar

Add a device token to your device's firmware,
create your own Avatar Definition,
design your UI Definition and see the results in the Zatar Device Portal.

Applications API

How to build your IoT application

1
Select Your IoT Device

Get a device and its Avatar up and running on Zatar:

2
Explore the Applications API

Use our interactive documentation and learn how to authorize access to your device avatars.

 

GET worlds and find your home world (CRUDXO) ID

 

GET Avatar Definitions and find your Avatar Definition ID

 

then locate your Revision ID

 

Ensure homeWorld is your world (or Zatar_public)

 

The Avatar Definition should be compatible with your Device - check its Name, Type, Model, Manufacturer,

 

and Author

 

POST your Avatar using your world ID and UDI/Serial number of your Device. Do this with the previously selected Avatar Definition.

 

GET Avatars and find your Avatar by its UDI and its Avatar ID

 

 

Change your Avatar with a PUT

In this example, we control the LEDs of the Rpi

3 Integrate OAuth 2

Authorization is done with OAuth 2.0 and to keep it simple, we've put together a  video tutorial that will teach you how to authorize an application and then show it in action with a iOS example. Read more...