mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-28 16:57:16 +00:00
Update xsns_08_htu21.ino
This commit is contained in:
parent
10f25c9bf1
commit
f031be681e
@ -264,6 +264,12 @@ void HtuShow(boolean json)
|
|||||||
#ifdef USE_DOMOTICZ
|
#ifdef USE_DOMOTICZ
|
||||||
DomoticzTempHumSensor(temperature, humidity);
|
DomoticzTempHumSensor(temperature, humidity);
|
||||||
#endif // USE_DOMOTICZ
|
#endif // USE_DOMOTICZ
|
||||||
|
|
||||||
|
#ifdef USE_KNX
|
||||||
|
KNX_Sensor(KNX_temperature, t);
|
||||||
|
KNX_Sensor(KNX_humidity, h);
|
||||||
|
#endif // USE_KNX
|
||||||
|
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
} else {
|
} else {
|
||||||
snprintf_P(mqtt_data, sizeof(mqtt_data), HTTP_SNS_TEMP, mqtt_data, htu_types, temperature, TempUnit());
|
snprintf_P(mqtt_data, sizeof(mqtt_data), HTTP_SNS_TEMP, mqtt_data, htu_types, temperature, TempUnit());
|
||||||
@ -303,4 +309,3 @@ boolean Xsns08(byte function)
|
|||||||
|
|
||||||
#endif // USE_HTU
|
#endif // USE_HTU
|
||||||
#endif // USE_I2C
|
#endif // USE_I2C
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user