From bde5b3ef346fe3013b0adef72d666472aea98eb8 Mon Sep 17 00:00:00 2001 From: Roelof Schuiling Date: Sun, 2 Feb 2020 08:31:53 +0100 Subject: [PATCH 1/2] Added location where learned codes can be found At the moment, the full codes are not published elsewhere it seems (bugs?). Eventually this file location should be removed again, but for now this info will help people. --- source/_integrations/broadlink.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_integrations/broadlink.markdown b/source/_integrations/broadlink.markdown index 541dcf935950..b68b53e82e19 100644 --- a/source/_integrations/broadlink.markdown +++ b/source/_integrations/broadlink.markdown @@ -116,6 +116,9 @@ script: In the above example, two codes will be captured for the power command, and will be sent alternately each time the command is called. +#### Where the learned codes are stored +The learned commands are stored in folder \configuration\.storage in a file called broadlink_remote_xxxxxxxxxxx_codes.json. From here you can copy the codes for use in e.g. a Broadlink switch. Warning: files in the .storage folder should never be edited manually, so just view the file. + ### Send command Use the `remote.send_command` service to send commands. From 51817106158ab978c0d86d5cb83924b2b5eec4c0 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 3 Feb 2020 09:10:23 +0100 Subject: [PATCH 2/2] :pencil2: Tweaks --- source/_integrations/broadlink.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_integrations/broadlink.markdown b/source/_integrations/broadlink.markdown index b68b53e82e19..0ec2d74fc39b 100644 --- a/source/_integrations/broadlink.markdown +++ b/source/_integrations/broadlink.markdown @@ -116,8 +116,9 @@ script: In the above example, two codes will be captured for the power command, and will be sent alternately each time the command is called. -#### Where the learned codes are stored -The learned commands are stored in folder \configuration\.storage in a file called broadlink_remote_xxxxxxxxxxx_codes.json. From here you can copy the codes for use in e.g. a Broadlink switch. Warning: files in the .storage folder should never be edited manually, so just view the file. +#### Learned codes storage location + +The learned commands are stored in folder `\configuration\.storage` in a file called `broadlink_remote_xxxxxxxxxxx_codes.json`. From here, you can copy the codes for use in e.g., a Broadlink switch. Warning: files in the .storage folder should never be edited manually, so just view the file. ### Send command