KNX temperature not working after migration to openhab 2.5

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage: raspberry 3
    • OS: what OS is used and which version raspbian stretch
    • Java Runtime Environment: which java platform is used and what version : 1.8.0_11
    • openHAB version: 2.5.2
  • Issue of the topic:
    With openhab 1, my knx temperature setup was working fine with this configuration:
    items file :
    /* Indoor Temperatures */
    Number temp_hall_cible “Temperature [%.1f C]” { knx=“2/0/2+<9.001:2/0/3” }
    Number temp_hall “Temperature [%.1f C]” { knx="+<9.001:2/0/0" }
    sitemap file:
    Setpoint item=temp_hall_cible label=“Temperature cible [%.1f C]” minValue=16 maxValue=24 step=0.5
    Text item=temp_hall

I then migrated to openhab 2.5.2 using docker, but my temperature is not printed anymore in paper ui, here is my configuration :
knx.things
Type number : temp_hall_cible “Temperature” [ ga=“2/0/2+<9.001:2/0/3”]
Type number : temp_hall “Temperature” [ ga="+<9.001:2/0/0"]
knx.items
Number temp_hall “Temperature” { channel=“knx:device:bridge:generic:temp_hall” }
Number temp_hall_cible “Temperature” { channel=“knx:device:bridge:generic:temp_hall_cible” }
knx.sitemaps
Text item=temp_hall_cible
Text item=temp_hall
I just see “-” instead of my temperature value

Thanks very much for any help!

You do need a Bridge and a Thing, not just channels.

Hi Rossko,

thanks for helping :slight_smile:

I forgot to mention that my setup was working for other objects, and i only provided a sample of my configuration file, here is the whole things file :
Bridge knx:ip:bridge [
type=“TUNNEL”,
ipAddress=“192.168.1.2”,
localSourceAddr=“0.0.0”
] {
Thing device generic [
address=“1.2.3”,
fetch=true,
pingInterval=300,
readInterval=3600
] {
Type switch : lumiere_salle_a_manger “Light” [ ga=“0/0/1+<0/0/13”]
Type switch : lumiere_cuisine “Light” [ ga=“0/0/2+<0/0/14”]
Type switch : lumiere_hall “Light” [ ga=“0/0/3+<0/0/15”]
Type switch : lumiere_toilettes “Light” [ ga=“0/0/4+<0/0/16”]
Type switch : lumiere_sdb “Light” [ ga=“0/0/5+<0/0/16”]
Type switch : lumiere_bureau “Light” [ ga=“0/0/6+<0/0/18”]
Type switch : lumiere_chambre_benjamin “Light” [ ga=“0/0/7+<0/0/19”]
Type switch : lumiere_notre_chambre “Light” [ ga=“0/0/8+<0/0/20”]
Type switch : lumiere_couloir “Light” [ ga=“0/0/9+<0/0/21”]
Type switch : lumiere_salon “Light” [ ga=“0/0/10+<0/0/12”]
Type switch : lumiere_notre_chambre_lit_gauche “Light” [ ga=“0/0/23+<0/0/25”]
Type switch : lumiere_notre_chambre_lit_droite “Light” [ ga=“0/0/24+<0/0/26”]
Type switch : lumiere_terrasse “Light” [ ga=“0/0/28+<0/0/29”]
Type rollershutter : vr_notre_chambre “VR Notre chambre” [ upDown=“1/0/0+<1/0/7” ]
Type rollershutter : vr_chambre_amis “VR Chambre Benjamin” [ upDown=“1/0/11+<1/0/12” ]
Type rollershutter : vr_cuisine “VR Cuisine” [ upDown=“1/0/1+<1/0/4” ]
Type rollershutter : vr_salle_a_manger “VR Salle a manger” [ upDown=“1/0/2+<1/0/8” ]
Type rollershutter : vr_salon “VR Salon” [ upDown=“1/0/3+<1/0/9” ]
Type rollershutter : vr_bureau “VR Bureau” [ upDown=“1/0/5+<1/0/10” ]
Type rollershutter : vr_all “VR Tous” [ upDown=“1/0/6” ]
Type switch : portail_ouverture “Door” [ ga=“3/0/0+<3/0/2”]
Type switch : portail_fermeture “Door” [ ga=“3/0/1+<3/0/3”]
Type number : temp_hall_cible “Temperature” [ ga=“2/0/2+<9.001:2/0/3”]
Type number : temp_hall “Temperature” [ ga="+<9.001:2/0/0"]
Type switch : pompe_chauffage “Light” [ ga="+<2/0/1"]
}
}

You have to write the DPT as the first part.

Type number : temp_hall_cible "Temperature" [ ga="9.001:2/0/2+<2/0/3" ]
Type number : temp_hall "Temperature" [ ga="9.001:<2/0/0" ]
1 Like

Thanks very much Udo, it works !