Discourse에서 Webhook 또는 MQTT를 활용한 간단한 센서 기반 알림?

Your best bet is Use scoped API Keys

Once you have a key, you can make requests to Discourse that create posts from whatever platform/language you like on your IoT setup.

Sounds like a cool project, good luck!