Help to first time KNX code

Greetings,

I have en OpenHAB 2.1 up and running, and my house have EIB / KNX wiring. I plan to use som other Vera Plus things, but want to use OpenHAB as my system.

But I need some help to start use my first OpenHAB and KNX code to read the temperature from my outside lightsensor, which also read the outside temperatur. That will be the first beginning of understanding when reading from other rooms and lights.

I have en KNX IP gateway, have all my groupaddress, and it seems that I have an success bindings for KNX working, the logs “Established connection to the KNX bus on 224.0.23.12:3671 in mode ROUTER”.

I had read some wiki and so on, but a litte difficult to understand everything yet.

So, can someone help me please to write the code in my .items file which reads the value temperature from my groupaddress 1/2/1 (Temperature Celcius), and then into the .sitemap file.

Then I will quick understand the concepts…, and be very greatful…

:slight_smile:

did you check out the docs entry?
http://docs.openhab.org/addons/bindings/knx1/readme.html#further-examples

There is a sample Temp config there:

Number Temperature_GF_Living "Temperature [%.1f °C]" <temperature> (GF_Living) { knx="<1/2/1" }

Then, for your sitemap, display the new Item.

Check http://docs.openhab.org/configuration/sitemaps.html

1 Like