# LIRC & OpenHAB to Control Devices

**URL:** <https://community.openhab.org/t/lirc-openhab-to-control-devices/57014>\
**Category:** Tutorials & Examples\
**Tags:** raspberry, ansible, lirc\
**Created:** [November 17, 2018, 7:07pm UTC](https://community.openhab.org/t/lirc-openhab-to-control-devices/57014 "2018-11-17T19:07:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MediaManRIT](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/e19adc/32.png) [@MediaManRIT](https://community.openhab.org/u/MediaManRIT)\
**Post date:** [November 17, 2018, 7:07pm UTC](https://community.openhab.org/t/lirc-openhab-to-control-devices/57014/1 "2018-11-17T19:07:21Z")

</div>

Hi all.

I wanted to share with the community what I finally made work for my home office. I had wanted to control all my displays, A/V sources, etc all from OpenHAB with HABPanel. Resources on the web were scattered, and often out of date. So I wrote an Ansible playbook and documented my setup to help others do similar things.

I put my Ansible playbook and all of my documentation (photos included) on GitHub at [https://github.com/mediamanrit/RasLIRC](https://github.com/mediamanrit/RasLIRC) .

If I can improve this in any way, please let me know! I’ll be adding how to learn IR codes soon!

–Brian

---

<div class="post-metadata">

**Author:** ![vzorglub](https://community.openhab.org/user_avatar/community.openhab.org/vzorglub/32/17166_2.png) [@vzorglub](https://community.openhab.org/u/vzorglub)\
**Post date:** [November 17, 2018, 7:20pm UTC](https://community.openhab.org/t/lirc-openhab-to-control-devices/57014/2 "2018-11-17T19:20:28Z")

</div>

Very cool. Thanks for sharing
