# Generic IO

**URL:** <https://community.homey.app/t/generic-io/1211>\
**Category:** Devices\
**Created:** [September 6, 2018, 8:17am UTC](https://community.homey.app/t/generic-io/1211 "2018-09-06T08:17:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CasperD](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/casperd/32/9509_2.png) [@CasperD](https://community.homey.app/u/CasperD)\
**Post date:** [September 6, 2018, 8:17am UTC](https://community.homey.app/t/generic-io/1211/1 "2018-09-06T08:17:38Z")

</div>

I would like to add a generic IO module, could be based on a Raspberry Pi Zero, communicating over wifi.  
Such that I can build both triggers for Homey, and outputs in the Pi GPIO’s.  
One way could be to emulate a generic IO, like ADAM, although no app for ADAM exists in the Homey store.  
Any suggestions on how to implement such a device.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [September 6, 2018, 11:25am UTC](https://community.homey.app/t/generic-io/1211/2 "2018-09-06T11:25:47Z")

</div>

A pretty easy implementation could leverage the [HTTP request flow cards](https://apps.athom.com/app/com.internet) app, where the RPi would request URL’s on Homey running that app to trigger flows, and Homey would request URL’s on the RPi to perform the I/O.

Another solution would be to use MQTT. You can run an MQTT broker [on Homey](https://apps.athom.com/app/nl.scanno.mqttbroker), as well as a [client](https://apps.athom.com/app/nl.scanno.mqtt) that can be used to send/receive messages.

Something more elaborate would be to use [MySensors](https://www.mysensors.org/), but I’m not sure if that has a simple-enough client implementation to run on RPi (using the RPi as a _controller_ is supported, but in your case, the RPi should also act as the sensor node). It can also use MQTT, and there is a [MySensors app for Homey](https://apps.athom.com/app/org.mysensors.homey).

---

<div class="post-metadata">

**Author:** ![CasperD](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/casperd/32/9509_2.png) [@CasperD](https://community.homey.app/u/CasperD)\
**Post date:** [September 6, 2018, 11:49am UTC](https://community.homey.app/t/generic-io/1211/3 "2018-09-06T11:49:32Z")

</div>

Great reply, thanks  
I’ll look into it.  
/Casper

---

<div class="post-metadata">

**Author:** ![Michel\_Holmgren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michel_holmgren/32/16391_2.png) [@Michel\_Holmgren](https://community.homey.app/u/Michel_Holmgren)\
**Post date:** [December 17, 2019, 11:26am UTC](https://community.homey.app/t/generic-io/1211/4 "2019-12-17T11:26:24Z")

</div>

@CasperD

What system did you eventually went by?

greetings

---

<div class="post-metadata">

**Author:** ![CasperD](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/casperd/32/9509_2.png) [@CasperD](https://community.homey.app/u/CasperD)\
**Post date:** [December 17, 2019, 12:10pm UTC](https://community.homey.app/t/generic-io/1211/5 "2019-12-17T12:10:03Z")

</div>

I have installed quite a few HomeyDuino, in my installation.  
Very easy to work with, and adds a lot of flexibility.  
For Arduino unit I use NodeMCU, plenty of memory, easy to use, everything on board. and less than €2.5.  
With Arduino IDE, ant OTA install and maintenance works like a charm. WIth OTA I can upgrade the software in the unit from my PC (no need to go to the device).  
The Homeyduino is not perfect but does the trick (there is a few bugs)

> **[Nodemcu ESP8266 ESP-12E WIFI Internet Development Board CP2102 IoT Lua 267 |...](https://www.ebay.com/itm/Nodemcu-ESP8266-ESP-12E-WIFI-Internet-Development-Board-CP2102-IoT-Lua-267/272271678505?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649)**
>
> NodeMCU ESP8266 ESP-12E V1.0 Wifi CP2102 IoT Lua 267. WiFi 2.4 GHz, support WPA/WPA2. Adapter Module. Chip Features Step up module. Step down module. GPRS Board. Integrated TR switch, balun, LNA, power amplifier and matching network.
