diyruz / diyruz_rt

Single relay with ds18b20 sensor for TI cc2530 and Sonoff Zigbee
MIT License
60 stars 25 forks source link

[REQUEST] Support for more popular environmental sensors in firmware for CC2530 based Sonoff BASICZBR3? #2

Open Gamester17 opened 4 years ago

Gamester17 commented 4 years ago

@kirovilya Any chance you be willing to add support for any more popular environmental sensors?

I guess that the most popular in demand in this specific case would be the sensors that ITead already sell for Sonoff TH10 / Sonoff TH16 so can buy them and Sonoff BASICZBR3 from same site.

ITead sells these as Sonoff branded sensors:

They sell this "SONOFF 5M Sensor Extension Cable" would could be cut of and made into an adapter:

Other popular low-cost sensors that support both humidity + temperature are DHT11, DHT12 & DHT22

They also sell several different versions of DS18B20

@ptvoinfo Zigbee Configurable Firmware v2.3 for example now supports a lot of environmental sensors; DS18B20, BMP280, BME280, DHT11, DHT22, DHT12, AM2301, Sonoff SI7021, MHZ19, SenseAir S8 so not sure if he would be willing to share his code and input on it for CC2530?

kirovilya commented 4 years ago

My article and this repository are just an example of firmware implementation. If you understand, you can make your firmware to use these sensors.

As you correctly noticed, the @ptvoinfo configurator can make firmware for this device and other sensor. You can build the firmware yourself by correctly specifying the pins on which the button, LED and sensors are located.

Gamester17 commented 4 years ago

If I understand yours is for Z-Stack 3.0 right and @ptvoinfo configurator is for Z-Stack Home 1.2 or?

https://habr.com/ru/company/iobroker/blog/495926/

Sorry I don't read Russian so had to use Google Translate, regardless, this code is beyond my skills.

kirovilya commented 4 years ago

:) This is normal, I also use Google Translate. Yes, my version of Zigbee is 3.0, and the configurator is at 1.2 But this does not affect the operation of the device. You can use both options in different networks.