# Robonomics IR remote with ESPHome: openHAB binding
This article explains how to connect Robonomics IR remote with ESPHome firmware to openHAB. This article assumes that you already uploaded ESPHome firmware on the IR remote. If no, refer to [previous article](https://hackmd.io/@nakata5321/HJNQmcIFp) first.
The article was written in openHAB 4.1.1.
## openHAB
### Binding
To connect ESPHome devices to openHAB first you need to install "ESPHome binding for the Native API". For this go to "Add-on Store -> Search" and type "ESPHome". Install it.

### Things
Power on the IR remote and then go to "Settings -> Things". At the bottom of the page will be the "INBOX" button. Press on it. You will find a new device.

If there is no "INBOX" button, press the button "new thing", choose ESPHome binding, and start scanning the network. This action will discover all available things.

Choose the discovered IR remote and add it. Return to the Things page. Choose the IR remote. At the top of the page, choose the "Channels" tab.

Here press "Add Equipment to Model" and at the bottom of the new page choose "Select All". Then press "Add to Model".

### Add to Page
Now it's time to add the thing to a Page. Go to "Settings -> Pages". Create a new one or choose the existing one. In the example, we will create a new Layout page. Give the "Label" for the page.

Then press "add Masonry" and add a new item. Choose "Add from Model":

Then "Pick" all items which you need:

and save the Page. That's all. Now you can control the IR remote from openHAB.