0.0.7 • Published 3 years ago
homebridge-temperature-sensor-han v0.0.7
检测相对湿度
支持的传感器(type)
Adafruit_Python_DHT
支持三种传感器:
- DHT11(type=11)
- DHT22(type=22)
- AM2302(type=2302)
通过 homebridge config.json
中的 type
进行选择(默认为 DHT 11)
引脚(source)
接到树莓派上的引脚通过 homebridge config.json
中的 source
进行选择,遵循 GPIO/BCM 方式,(默认为 4)