# Best input device for open close

**URL:** <https://discourse.nodered.org/t/best-input-device-for-open-close/78927>\
**Category:** General\
**Created:** [3 June 2023 15:49 UTC](https://discourse.nodered.org/t/best-input-device-for-open-close/78927 "2023-06-03T15:49:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [3 June 2023 16:23 UTC](https://discourse.nodered.org/t/best-input-device-for-open-close/78927/4 "2023-06-03T16:23:24Z")

</div>

As @krambriw said, ESP devices are inexpensive and can do a lot of things.

The ESP32-S2 Mini is very inexpensive and has lots of I/O pins, analog as well as PWM.  
Oh and yes - it is WiFi enabled. Recently I've been programming my devices using MictoPython.

> [@S2 Mini based on ESP32-S2 with the same footprint as the Wemos D1 Mini](https://discourse.nodered.org/t/s2-mini-based-on-esp32-s2-with-the-same-footprint-as-the-wemos-d1-mini/75389):
>
> Apologies to everyone as this post is not directly related to Node-RED. I know many people on the Forum use the Wemos D1 Mini in their projects to collect data and send it to Node-RED via MQTT, so you may be interested in hearing about this device... This is one example (click the purple coloured one) from the WinWin shop on AE. [https://www.aliexpress.us/item/2251832465432818.html?spm=a2g0o.productlist.main.1.30d22f11HxgyCp&algo\_pvid=7fd8b1e6-e2f2-4e2b-bcad-aba951d25af7&aem\_p4p\_detail=2023021…](https://www.aliexpress.us/item/2251832465432818.html?spm=a2g0o.productlist.main.1.30d22f11HxgyCp&algo_pvid=7fd8b1e6-e2f2-4e2b-bcad-aba951d25af7&aem_p4p_detail=202302150942354527169138296900007670003&algo_exp_id=7fd8b1e6-e2f2-4e2b-bcad-aba951d25af7-0&pdp_ext_f=%7B%22sku_id%22%3A%2266484777552%22%7D&pdp_npi=3%40dis%21GBP%211.79%211.47%21%21%21%21%21%402145279016764829553308802d06cb%2166484777552%21sea%21UK%211844326759&curPageLogUid=BtNio7niwzTz&ad_pvid=202302150942354527169138296900007670003_1&ad_pvid=202302150942354527169138296900007670003_1&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US)

---

_[View the full topic](https://discourse.nodered.org/t/best-input-device-for-open-close/78927)._
