Estimote LTE Beacon and Estimote Trigger


#1

I’m curious if anyone has experience with Estimote, specifically the new LTE Beacons. These appear to be able to operate as GPS beacons at a price point lower than what I can currently do with a Particle asset tracker. Secondary question: is Losant considering an Estimote Trigger?


#2

It would be cool to do an Estimote Trigger (via an Integration), however Estimote doesn’t provide any ways for us to stream those events into our cloud.

At the moment, you’ll have to add some Estimote Cloud Code to invoke a Losant Webhook whenever an event is received. The code would look something like this:

const request = require('request-promise');
module.exports = async function (event) {
    if (event.type === 'assets-update') {
        const assets = event.payload.assets;
        await request.post(
            'http://triggers.losant.com/webhooks/your-webhook-id', {json: true, body: {assets}});
    }
}

The above example came directly from Estimote’s Cloud Code documentation. You’d then use the Webhook Trigger, which would kick off your workflow whenever an event is received.