# Starting KNX Binding

**URL:** <https://community.openhab.org/t/starting-knx-binding/26006>\
**Category:** Bindings\
**Created:** [April 2, 2017, 12:22pm UTC](https://community.openhab.org/t/starting-knx-binding/26006 "2017-04-02T12:22:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yasser](https://community.openhab.org/letter_avatar_proxy/v4/letter/y/5f9b8f/32.png) [@Yasser](https://community.openhab.org/u/Yasser)\
**Post date:** [April 2, 2017, 12:22pm UTC](https://community.openhab.org/t/starting-knx-binding/26006/1 "2017-04-02T12:22:41Z")

</div>

i have an knx smart home installed, and i need to connect (binding) with openhab solution… i need this to control a TV screen (on/off change HDMI interface) using network through a knx system that installed… is this possible..? how i can start…?

---

<div class="post-metadata">

**Author:** ![Dries](https://community.openhab.org/user_avatar/community.openhab.org/dries/32/8797_2.png) [@Dries](https://community.openhab.org/u/Dries)\
**Post date:** [April 2, 2017, 1:03pm UTC](https://community.openhab.org/t/starting-knx-binding/26006/2 "2017-04-02T13:03:08Z")

</div>

Hi Yasser,

What you’re asking is definitely possible.  
How to start… by reading a lot! 🙂

I would start by going trough [the tutorial](http://docs.openhab.org/tutorials/beginner/index.html). So you understand the basic concepts of OpenHAB.  
The next step is to install and set up the KNX binding.  
Some interesting links can be found [here](https://github.com/openhab/openhab1-addons/wiki/KNX-Binding) and [here](https://community.openhab.org/t/howto-gira-knx-ip-router/14618).  
Before thinking about controlling your TV, make sure that the KNX binding well. Create an item that allows you to toggle one of your KNX lights (that is how I’ve started).

The next step is to install the binding for your TV. You didn’t specify what TV you have, but you can find a list of bindings [here](http://docs.openhab.org/addons/bindings.html). Depending on the make/model of your TV, you need to follow different steps.

When your TV binding is set up, you might need to create a rule to connect your KNX action with your TV. Some reading material can be found [here](https://github.com/openhab/openhab1-addons/wiki/rules).

Don’t be overambitious, take it step by step. 🙂

---

<div class="post-metadata">

**Author:** ![Yasser](https://community.openhab.org/letter_avatar_proxy/v4/letter/y/5f9b8f/32.png) [@Yasser](https://community.openhab.org/u/Yasser)\
**Post date:** [April 3, 2017, 8:39am UTC](https://community.openhab.org/t/starting-knx-binding/26006/3 "2017-04-03T08:39:48Z")

</div>

Quoting Dries [bot@community.openhab.org](mailto:bot@community.openhab.org):

> Hi Yasser,
> 
> What you’re asking is definitely possible.  
> How to start… by reading a lot! 🙂
> 
> I would start by going trough [the  
> tutorial](http://docs.openhab.org/tutorials/beginner/index.html). So  
> you understand the basic concepts of OpenHAB.  
> The next step is to install and set up the KNX binding.  
> Some interesting links can be found  
> [here](https://github.com/openhab/openhab1-addons/wiki/KNX-Binding)  
> and  
> [here](https://community.openhab.org/t/howto-gira-knx-ip-router/14618).  
> Before thinking about controlling your TV, make sure that the KNX  
> binding well. Create an item that allows you to toggle one of your  
> KNX lights (that is how I’ve started).
> 
> The next step is to install the binding for your TV. You didn’t  
> specify what TV you have, but you can find a list of bindings  
> [here](http://docs.openhab.org/addons/bindings.html). Depending on  
> the make/model of your TV, you need to follow different steps.
> 
> When your TV binding is set up, you might need to create a rule to  
> connect your KNX action with your TV. Some reading material can be  
> found [here](https://github.com/openhab/openhab1-addons/wiki/rules).
> 
> Don’t be overambitious, take it step by step. 🙂
> 
> * * *
> 
> [Visit  
> Topic](https://community.openhab.org/t/starting-knx-binding/26006/2)  
> or reply to this email to respond.
> 
> To unsubscribe from these emails, [click  
> here](https://community.openhab.org/email/unsubscribe/f33f2a3a002fdd40ad03b3717e95137f4d723f791d1c3bf4f2667dd5f7b26b00).

Tanks…

---

<div class="post-metadata">

**Author:** ![Yasser](https://community.openhab.org/letter_avatar_proxy/v4/letter/y/5f9b8f/32.png) [@Yasser](https://community.openhab.org/u/Yasser)\
**Post date:** [April 15, 2017, 7:14am UTC](https://community.openhab.org/t/starting-knx-binding/26006/4 "2017-04-15T07:14:11Z")

</div>

Can someone help me to write the soitable code (rule) to make the knx system to control the samsung TV as follows : when the group address (for example 1/3/6) have a signal from sensor the TV should view the HDMI input 2 for a 10 sec then go back to same status at HDMI input 1…

---

<div class="post-metadata">

**Author:** ![Yasser](https://community.openhab.org/letter_avatar_proxy/v4/letter/y/5f9b8f/32.png) [@Yasser](https://community.openhab.org/u/Yasser)\
**Post date:** [April 20, 2017, 10:26am UTC](https://community.openhab.org/t/starting-knx-binding/26006/5 "2017-04-20T10:26:02Z")

</div>

i am beginner in openhab, so, can someone to help me to add a samsung TV in the .things file and use it to send a commend to this TV to switch source to HDMI2 when some rule applied…
