Hi,
After using multiple examples how to send the outside temperature from openweather to my KNX bus, I see the temperature is just send once if the temp remains the same. how can I manage to send the temp cyclic? I have a KNX wall display and needs cyclic sending of Temp. If he does not receive the temp within the programmed timeout, then he displays — and I get a time out error.
KNX.things:
Type number-control : tempBuiten "Buitentemperatuur" [ ga="9.001:4/1/5" ]
I have tried also without the channel linking in the items file. with the rule it should not needed, correct?
KNX.items:
Number tempBuiten "Buitentemperatuur [%.1f °C]" <temperature
{channel="openweathermap:weather-and-forecast:xxxxxxxx:local:current#temperature",
channel="knx:device:bridge:Thermostats:tempBuiten", autoupdate="false" }
KNX.rules:
rule "buitentempverwerking"
when
Time cron "0 0/1 * * * ?"
then
val double currentTempVal = LocalWeatherAndForecast_Current_OutdoorTemperature.state
tempBuiten.sendCommand(currentTempVal as Number)
end
in Karaf Console i See “predicted to become”
08:13:00.058 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'tempBuiten' received
command 7.83 °C
08:13:00.102 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Humidity' received
command 71 %
08:13:00.106 [INFO ] [arthome.event.ItemStatePredictedEvent] - tempBuiten predicted to become
7.83 °C
08:13:00.144 [INFO ] [arthome.event.ItemStatePredictedEvent] - Humidity predicted to become 71
%