luebbe / homie-node-collection

Collection of Node implementations for the Homie-ESP8266 library
MIT License
26 stars 12 forks source link

Generic temp sensor node #1

Open mhaack opened 6 years ago

mhaack commented 6 years ago

Hi,

I have seen the reused BME280Node and there is also a DHT22Node. Maybe we can refactor them a little to have some abstract "environment sensor" node as a common base. The could also host the constants from constant.h. I have some SHT3x temp & humidity sensors here and would also create a node class. So there would already be three use cases.

WDYT?

luebbe commented 6 years ago

Sounds good. IIRC I came across a generic environment sensor on github a while ago, but I can't find it right now.