Update xsns_06_dht.ino

This commit is contained in:
Adrian Scillato 2018-04-18 22:24:33 -03:00 committed by GitHub
parent 8c5a650826
commit ed44c29839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -233,8 +233,10 @@ void DhtShow(boolean json)
#endif // USE_DOMOTICZ
#ifdef USE_KNX
KNX_Sensor(KNX_temperature, t);
KNX_Sensor(KNX_humidity, h);
if (0 == tele_period) {
KnxSensor(KNX_TEMPERATURE, t);
KnxSensor(KNX_HUMIDITY, h);
}
#endif // USE_KNX
#ifdef USE_WEBSERVER