From 4f316f80dcdc087b1d9766ded3269b4db71a53b6 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Wed, 18 Apr 2018 22:27:02 -0300 Subject: [PATCH] Update xsns_09_bmp.ino --- sonoff/xsns_09_bmp.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sonoff/xsns_09_bmp.ino b/sonoff/xsns_09_bmp.ino index 34953899b..01eb29799 100644 --- a/sonoff/xsns_09_bmp.ino +++ b/sonoff/xsns_09_bmp.ino @@ -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