diff --git a/sonoff/xsns_06_dht.ino b/sonoff/xsns_06_dht.ino index e23d1989f..7bd7923ae 100644 --- a/sonoff/xsns_06_dht.ino +++ b/sonoff/xsns_06_dht.ino @@ -231,6 +231,12 @@ void DhtShow(boolean json) dsxflg++; } #endif // USE_DOMOTICZ + +#ifdef USE_KNX + KNX_Sensor(KNX_temperature, t); + KNX_Sensor(KNX_humidity, h); +#endif // USE_KNX + #ifdef USE_WEBSERVER } else { snprintf_P(mqtt_data, sizeof(mqtt_data), HTTP_SNS_TEMP, mqtt_data, Dht[i].stype, temperature, TempUnit());