Triggering FreePBX actions from external IoT sensor events?

Hi everyone — I’m working on a small project where I’d like to trigger FreePBX actions (like sending alerts or starting a call) based on events detected by external IoT sensors. I’ve been experimenting with ESP32 devices and found this motion-detection example https://www.theengineeringprojects.com/2022/03/iot-based-motion-detection-with-email-alert-using-esp32.html that posts simple HTTP alerts, and I’m curious how best to bridge that into a FreePBX workflow. I’ve seen Arduino forum threads and some Raspberry Pi community projects where sensor data is posted to webhooks or backends, and I’m wondering whether using FreePBX’s API, webhooks, or perhaps a middleware script is the most reliable pattern. For those who’ve integrated external event sources with FreePBX before, what approach worked best for you, particularly for secure, low-latency triggers?

Probably best to use AMI or call files.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.