Update xsns_14_sht3x.ino

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

View File

@ -113,8 +113,10 @@ void Sht3xShow(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