xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
2.99k stars 637 forks source link

Support Multiple Temperature Sensors #2426

Open pcornill opened 3 years ago

pcornill commented 3 years ago

Hello, on my floor heater system is composed of several water collectors and I would like to measure the temperature at 4 different levels. Could you enhance Espurna to support several Dallas or DHT22? Thanks in advance, you guys created a great firmware!

davebuk commented 3 years ago

I've used two sensors (BME280 and LUX) configured to use I2C which connect to the one data bus. https://lastminuteengineers.com/multiple-ds18b20-arduino-tutorial/amp/ suggests you could connect multiple Dallas sensors to one configured GPIO pin. The firmware will then show each sensor.