1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

ZyAura CO2 / Temperature / Humidity Sensor (#656)

* ZyAura sensors support

* Validation

* Small refactoring

* Some checks

* Small fix

* Use floats, not double

Co-Authored-By: Otto Winter <otto@otto-winter.com>

* uint32_t now

Co-Authored-By: Otto Winter <otto@otto-winter.com>

* A constant for bits in a byte just over-complicates the source code

Co-Authored-By: Otto Winter <otto@otto-winter.com>

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Travis fixes

* Travis fixes

* Travis fixes
This commit is contained in:
Nikolay Vasilchuk
2019-07-03 17:33:18 +03:00
committed by Otto Winter
parent 7ad593d674
commit 762f1b1fc9
5 changed files with 255 additions and 0 deletions

View File

@@ -564,6 +564,15 @@ sensor:
name: CCS811 TVOC
update_interval: 30s
baseline: 0x4242
- platform: zyaura
clock_pin: GPIO5
data_pin: GPIO4
co2:
name: "ZyAura CO2"
temperature:
name: "ZyAura Temperature"
humidity:
name: "ZyAura Humidity"
esp32_touch: