this post was submitted on 09 Aug 2023
14 points (93.8% liked)

homeassistant

12080 readers
3 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

Hey guys,

I'm planning on putting together an esp32 with esphome to receive the inputs of various reed sensors I have throughout my condo on doors and windows.

I've been doing lots of research and could use some guidance.

  1. How many GPIO pins are actually usable as reed sensor inputs on your typical esp32 board?
  2. I'm aware of expansion boards that connect via I2C to the esp32 and this allows for a max of around 128 sensor inputs. Would this route work with Esphome without too much headache?

I appreciate any input you might have (as long as I have a GPIO to spare).

top 1 comments
sorted by: hot top controversial new old
[–] v1605@lemmy.world 3 points 1 year ago

About 30 pins could be used for various inputs depending on the board. Here is a good reference. https://randomnerdtutorials.com/esp32-pinout-reference-gpios/