mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
v5.12.0d - Add more Sonoff Sc Domoticz support
5.12.0d * Add Sonoff SC domoticz support for Sound level as Counter and Air quality (#2118)
This commit is contained in:
parent
34fc03d6f8
commit
ba3fc63265
@ -10,6 +10,7 @@
|
|||||||
* Add support for Nova Fitness SDS011 and possibly SDS021 particle concentration sensor (#2070)
|
* Add support for Nova Fitness SDS011 and possibly SDS021 particle concentration sensor (#2070)
|
||||||
* Add single decimal precision to Nova Fitness SDS0x1 sensor values (#2093)
|
* Add single decimal precision to Nova Fitness SDS0x1 sensor values (#2093)
|
||||||
* Add support for multiple SHT3X sensors (#1949, #2110)
|
* Add support for multiple SHT3X sensors (#1949, #2110)
|
||||||
|
* Add Sonoff SC domoticz support for Sound level as Counter and Air quality (#2118)
|
||||||
* Fix MQTT TLS fingerprint validation (#2033)
|
* Fix MQTT TLS fingerprint validation (#2033)
|
||||||
*
|
*
|
||||||
* 5.12.0c
|
* 5.12.0c
|
||||||
|
@ -125,6 +125,8 @@ void SonoffScShow(boolean json)
|
|||||||
#ifdef USE_DOMOTICZ
|
#ifdef USE_DOMOTICZ
|
||||||
DomoticzTempHumSensor(temperature, humidity);
|
DomoticzTempHumSensor(temperature, humidity);
|
||||||
DomoticzSensor(DZ_ILLUMINANCE, sc_value[2]);
|
DomoticzSensor(DZ_ILLUMINANCE, sc_value[2]);
|
||||||
|
DomoticzSensor(DZ_COUNT, sc_value[3]);
|
||||||
|
DomoticzSensor(DZ_AIRQUALITY, 500 + ((100 - sc_value[4]) * 20));
|
||||||
#endif // USE_DOMOTICZ
|
#endif // USE_DOMOTICZ
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user