xoseperez / espurna

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

Dallas 1-Wire sensors #1210

Open flashy02 opened 6 years ago

flashy02 commented 6 years ago

Hi, I ve a question. Which Dallas OW-Sensors are supported? Only DS18B20 or others like DS2438 with p.e. additional humidity-sensor too? Or, is it possible to use the sensors offered here: https://www.tm3d.de/shop/kategorien/module

Regard Michael

ColinShorts commented 6 years ago

Hi flashy02, it looks like that the DS2438 is supported by the OneWire library - at least according to Ardunio playground, however it doesn't look like Espurna supports it (yet?), not even in the sensors branch.

Have a look at the files in code/espurna/sensors for currently supported sensors if the list in the wiki isn't sufficient.

flashy02 commented 6 years ago

Hi Colin, thank you for the fast response and the hint to the "DallasSensor.h". An additional enhancement would be the DS2450 like here https://www.tm3d.de/elektronik-projekte/1-wire-sim-beispiele/ds2450/ds2450-multisensor as multisensor. With that, it is possible to use one OneWire-sensor to get e.g. temperature, humidity, illumination and air pressure