# Simple sensor-driven notifications in Discourse via Webhooks or MQTT?

**URL:** https://meta.discourse.org/t/simple-sensor-driven-notifications-in-discourse-via-webhooks-or-mqtt/383924
**Category:** Support
**Created:** [September 24, 2025, 6:40pm UTC](https://meta.discourse.org/t/simple-sensor-driven-notifications-in-discourse-via-webhooks-or-mqtt/383924 "2025-09-24T18:40:19Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![aria\_12](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@aria\_12](https://meta.discourse.org/u/aria_12)
#### Post date: [September 24, 2025, 6:40pm UTC](https://meta.discourse.org/t/simple-sensor-driven-notifications-in-discourse-via-webhooks-or-mqtt/383924/1 "2025-09-24T18:40:19Z")

</div>

Hi everyone, I’m trying to build a small sensor-to-Discourse integration: like having motion sensors or temperature sensors publish data to a Discourse topic (or trigger a post/private message) when certain thresholds are crossed. I was inspired by this article on using ESP32 + MQTT for motion detection and email alerts:

[https://www.theengineeringprojects.com/2022/03/iot-based-motion-detection-with-email-alert-using-esp32.html](https://www.theengineeringprojects.com/2022/03/iot-based-motion-detection-with-email-alert-using-esp32.html)

I also looked at Discourse’s webhook and plugin APIs, and a few community threads on MQTT bridges with Discourse. I’m curious: what’s the easiest way to send external IoT data into Discourse in a clean, minimal way (without building a full plugin)? Any known lightweight approaches or example setups people have used?

---

_[View the full topic](https://meta.discourse.org/t/simple-sensor-driven-notifications-in-discourse-via-webhooks-or-mqtt/383924)._
