Update xsns_09_bmp.ino

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

View File

@ -469,8 +469,10 @@ void BmpShow(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