From c6d6d0966972693b75db339bcc12f93d52ccaf3d Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Mon, 6 May 2019 08:13:36 +0200 Subject: [PATCH] another way of obtaining codes (#9365) (#9392) * another way to grab codes solution to grab codes with broadlink_cli and some extra info about LIRC db * rewritten after suggestions * Minor changes --- source/_components/broadlink.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_components/broadlink.markdown b/source/_components/broadlink.markdown index 61aee2d9d1d..55efe41007b 100644 --- a/source/_components/broadlink.markdown +++ b/source/_components/broadlink.markdown @@ -478,3 +478,18 @@ This is the code we need to transmit again to replicate the same remote function The "status" : "OK" at the end is a feedback that the Broadlink RM device is connected and has transmitted the payload. Now you can add as many template nodes, each having a specific code, and add any type of input nodes to activate the template and transmit the code. + +### {% linkable_title Using broadlink_cli to obtain codes %} + +It is also possible to obtain codes using `broadlink_cli` from [python-broadlink](https://github.com/mjg59/python-broadlink) project. + +### {% linkable_title Conversion of codes from other projects %} + +For old/awkward devices another possibility is to try to get codes by using data gathered by the LIRC project. + +Assuming that your (or similar) device is in one of these databases: + +- https://sourceforge.net/p/lirc-remotes/code/ci/master/tree/ +- https://github.com/probonopd/irdb/tree/master/ + +You can grab `irdb2broadlinkha.sh` from [irdb2broadlinkha](https://github.com/molexx/irdb2broadlinkha) project and try to convert codes to format suitable for Home Assistant.