Skip to Content
0
Aug 03, 2020 at 09:53 AM

Leonardo IoT: Compare GPS value with destination in Custom Master Data to trigger rule

63 Views

Dear Experts,

I am implementing a scenario of IoT we an API should be called when the vehicle is near the destination.

Sensor data we have Longtitude and Latitude. The destination Longtitude and Latitude is stored in Custom Master Data.

I need to create a rule to get the distance from the above data and trigger the action. I have a Thing associated with an Object Instance (Destination).

However, when I create the rule, I cannot access the Custom Master Data from If statement.

Please help to advice how should I implement in Leonardo IOT as I am new to the tool.

Best regards,

Giang.

Attachments