# Using XMPP with Raspberry Pi GPIO (with Node-RED)

**URL:** <https://discourse.nodered.org/t/using-xmpp-with-raspberry-pi-gpio-with-node-red/52783>\
**Category:** General\
**Created:** [26 October 2021 20:29 UTC](https://discourse.nodered.org/t/using-xmpp-with-raspberry-pi-gpio-with-node-red/52783 "2021-10-26T20:29:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevj12](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@kevj12](https://discourse.nodered.org/u/kevj12)\
**Post date:** [26 October 2021 20:29 UTC](https://discourse.nodered.org/t/using-xmpp-with-raspberry-pi-gpio-with-node-red/52783/1 "2021-10-26T20:29:16Z")

</div>

Hi, I’m assigned with a project to compare the performances of several smart home IoT (with RPi GPIO) protocols, one of them being XMPP, and now I'm trying to integrate XMPP with GPIO and Home Assistant. One of the tips I got to realize that is Iusing Node-RED to take the messages from XMPP and translate them to MQTT to trigger things from chatting to a bot.

And so far I’ve created this in Node-RED, but I’d show one for a GPIO relay, and one for a sensor.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5c30c5965cb5b4240e1153e96e5b2dd0c179814b.png)

What should I do next here to realize the XMPP IoT of taking XMPP messages and translating them to MQTT (using “node-red-node-xmpp”?), where to put the XMPP and MQTT nodes there?

---

<div class="post-metadata">

**Author:** ![kevj12](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@kevj12](https://discourse.nodered.org/u/kevj12)\
**Post date:** [27 October 2021 11:00 UTC](https://discourse.nodered.org/t/using-xmpp-with-raspberry-pi-gpio-with-node-red/52783/2 "2021-10-27T11:00:54Z")

</div>

Anyone can help?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 December 2021 11:01 UTC](https://discourse.nodered.org/t/using-xmpp-with-raspberry-pi-gpio-with-node-red/52783/3 "2021-12-26T11:01:41Z")

</div>

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