Reply
Highlighted
Frequent Contributor I

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

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

ACMX, ACDX, ACCP, MASE
New Contributor

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

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

New Contributor

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

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

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: