Location Services

last person joined: yesterday 

Location-based mobile app development and Bluetooth-based asset tracking with Meridian. Gathering analytics and business intelligence from Wi-Fi with Analytics and Location Engine (ALE).
Expand all | Collapse all

Possible to get real-time client info via Meridian API?

This thread has been viewed 1 times
  • 1.  Possible to get real-time client info via Meridian API?

    Posted Sep 12, 2018 09:23 AM

    Hi

     

    For a demo we would like to get real-time info about people in a specific room and trigger an action (for example turn on the light), depending on the number of people in this room. Is it possible to get that info out of Meridian via an API call or other?

     

    Thx

    Peter


    #ALE
    #LocationServices
    #Meridian


  • 2.  RE: Possible to get real-time client info via Meridian API?

    Posted Sep 12, 2018 10:05 AM

    Hello Peter,

    I think this could work:

    - setup a campaign in meridian editor: choose action 'notify a custom endpoint'

    - the custom endpoint should be an api call which triggers a script, e.g. execute an sql insert statement
    - from the database you could get the number of people by your choice of technology I would consider postgREST

    Regards Guido



  • 3.  RE: Possible to get real-time client info via Meridian API?

    Posted Sep 12, 2018 10:13 AM

    The API call (post) should get triggered by two campaigns, one on enter and another one on exit. Unfortunately lowest cooldown time is one hour.

    Regards Guido