Skip to Content
avatar image
Former Member

Link device location and Thing location in IOT AE

Hi,

I have IoT devices that sends out its location(GPS co-ordinates) to SAP IoT.

The 'Things' linked to these devices have fields for latitude and longitude but only accepts static values(numbers). How can the device location which is part of sensor data(measured values) be linked to a Thing location?

Is there away to assign a variable to the location fields in Thing definition?

Thanks,

vkdas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 24 at 01:20 PM

    Hi Vkdas,

    Are you using HCI/SCPI as a middleware?

    Nitin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      IoT AE is supposed to be a service that can use all the device data residing in IoT 4.0. Needing another integrator like SCPI to transfer data between IoT 4.0 and IoTAE would defeat the purpose of IoT AE, wouldnt it?

  • Jan 25 at 09:19 AM

    Hi,

    You are right, the Thing location is designed for Things with static locations. If you have geo positions as Time Series Data you should also model them as Time Series Data. So just extend your Thing Model by a Property Set Type with longitude and latitude and store the position there.

    Regards

    Jan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      Yes, the map uses the static locations.

      I think you have two options. The first option is to use another map control. We also had an app, where we draw the route of a Thing using Time Series Data.

      The second option is to update the location on a regular basis. You could run a background job on SAP Cloud Platform, which gets the location from the Time Series Data and updates the static one.

      Regards

      Jan