Skip to Content

Schema Creation for TiSensorTag on Edge Gateway

Oct 03, 2017 at 07:33 AM


avatar image
Former Member


I'm trying to parse TiSensorTag message payload on Edge Gateway by creating new schema files under config/schemas folder. To do this, I'm following the the steps in the Schema Creation Examples, but I couldn't figure it out.

For example, I couldn't find out the WSNDataModel.xml file in anywhere.

Did anybody create a new schema for different message payload than the default schema - i.e TISensorTag?

TISensorTag payload: { "ambientTemp":"26.34", "objectTemp":"21.59", "humidity":"60.19364", "pressure":"1005.69", "altitude":"0.6075888", "accelX":"0.00", "accelY":"-0.02", "accelZ":"1.08", "gyroX":"-0.95", "gyroY":"1.88", "gyroZ":"0.03", "magX":"-18.44", "magY":"-4.20", "magZ":"-9.89", "light":"299.36" }

Btw: I am using IoT 4.0.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member
Oct 05, 2017 at 07:40 AM

Hi Bulut,

thanks for your request and interest in the Edge Gateway. Unfortunately, the section of the documentation you reported refers to the possibility of enriching the device model via a local file, which is not supported anymore. The documentation will be corrected accordingly in the next release. The task of managing the device model of an IoT instance can now be performed via APIs; as reference, you may want to take a look at the related tutorial:

In general, other improvements to the documentation addressing the schema management are planned for the next releases.

10 |10000 characters needed characters left characters exceeded