Successfully Integrating Orvibo AllOne IR Blaster with openHAB

After spending several months configuring my home automation system with openHAB, I decided to take the next step by integrating my Orvibo AllOne IR blaster to control my air conditioner. This guide shares my journey and the steps I took to make it work seamlessly.

Background
I’ve been using openHAB for about three months now, primarily to control my INSTEON lights and roller shutters. While the INSTEON app was functional, it lacked the external accessibility I desired. My air conditioner, a brand-new split system, didn’t come with any smart features, relying solely on an infrared remote. This made it the perfect candidate for integration with the Orvibo AllOne IR blaster.

Setup Process

  1. Install the Exec Binding: I started by installing the exec binding in openHAB, which allows running external scripts. This was essential for interacting with the Orvibo Python library.

  2. Download Orvibo Python Library: I downloaded the Python library created by Pavel Cherezov from GitHub. This library supports both the AllOne IR blaster and the S20 socket. I transferred the orvibo.py file to my Raspberry Pi for easy access.

  3. Learning and Testing IR Codes: Using the terminal, I learned how to capture IR codes from my air conditioner remote. The process involved pointing the remote at the AllOne device and pressing the desired buttons. Each code was saved to a file, such as ac-turn-on.ir and ac-turn-off.ir.

  4. Configuring Items and Sitemap: I created a Switch item in my openHAB items file to represent the air conditioner. This item uses the exec binding to run Python scripts that emit the learned IR codes. I also added a button for the “Powerful” mode, which adjusts the air flow.

  5. Testing the Integration: After setting everything up, I tested the integration extensively. The result was seamless control of my air conditioner through openHAB, with both on/off functionality and adjustable settings.

Final Thoughts
This project was a significant milestone in my home automation journey. It not only enhanced my comfort but also demonstrated the versatility of openHAB. I’m now inspired to explore further integrations, such as controlling my TV and other appliances.

Thanks to the openHAB community and Pavel Cherezov for creating such powerful tools. If you’re considering similar integrations, I highly recommend exploring the Orvibo AllOne IR blaster and the Python library. Happy automating!