Skip to content

Define the data format

Before start to publish data from device to West Connectivity, We can use Resource to define the data format.

For this chapter, we assume we have a thermometer which can detect the environmental temperature and publish the celsius degree value to West Connectivity for recording.

Follow the guide, you are going to create a resource named temperature.

Add Resource

Click Resources on the left sidebar.

Click +NEW RESOURCE button on the top-right.

Connector resource page

Resource definition

For quick start, fill in the Alias(resource name), choose the resource type, leave other setting empty.

Add Resource

Data storage

For quick start, leave the setting as default.

Add Resource

Communication

For quick start, enable Trigger scripting event, leave other setting as default.

Add Resource

Timeout event (optional)

For quick start, leave this setting as default.

Add Resource

After press submit, you would see the resource you created on resource list page:

Resource list

Next: You can Publish the data