I successfully configured Broadlink RM Pro+ switch with my external blinds.
However I’ve noticed that switch.broadlink platform supports only ON, OFF command.
Is there any way to configure it to have all my 3 three buttons as exist on my remote. Currently STOP is missing ?
Is there any way to get position information of blinds or I have to add eg. xiaomi door/window sensor ?
Few examples images from google
current view
prefered view 1
prefered view 2
configuration.yaml
switch 1:
platform: broadlink
host: 192.168.1.2
mac: AA:AA:AA:AA:AA:AA’
timeout: 15
type: rm2_pro_plus2
#rolety
switches:
blind_1:
friendly_name: “Blind 1”
command_on: ‘catched RF code’
command_off: ‘catched RF code’
1 Like
Albertf
(Albert )
August 13, 2019, 6:57am
2
I would also love an answer to this question. thanks
uiguy
October 30, 2019, 12:18pm
3
JUST USE YOUR OWN CODES>>>>
This is located in my covers.yaml file.
- platform: template
covers:
study:
friendly_name: "Study Blinds"
open_cover:
service: remote.send_command
data:
entity_id: remote.broadlink_remote
command: b64:sgCoAoNRNwoMFAwVDBQMFRYKDRQXCRcKDBUWCgwVFgoMFRcJFwoMFRcJDRQMFA0UDBUMFBcKFgoXCgwVDBQMFQwUDRQMFQwUFwoMFBcKDBQNFAwVDBQNFLlRNgoMFQwVDBQMFRcJDRQWChcKDBUWCgwVFgoMFRcKFgoMFRYKDRQMFAwVDBQNFBcKFgoXCgwUDRQMFQwUDBUMFQwUFwoMFBcKDBQMFQwUDRQMFRajUTcJDBUMFQwUDBUWCwwUFgoXCgwVFgoMFRYLDBQXCRcKDBUWCg0UDBUMFAwVDBQXChYKFwoMFQwUDBUMFAwVDBQNFBcKDBQXCgwUDBUMFQwUDBW5UTcJDBUMFAwVDBUWCgwVFwkXCgwVFgoMFRYKDBUXChYKDBQXCgwVDBQNFAwVDBQXChYKFwoNEw0UDBUMFAwVDBQMFRcKDBQXCgwVDBQMFQwUDBW5UTcKDBQMFQwUDBUWCg0UFwoWCgwVFgoMFRcKDBQXChYKDBUWCgwVDBQNFAwVDBQXChcJFwoMFQwUDBUMFAwVDBQMFRcKDBQXCgwUDRQMFQwUDBUWo1E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QWCwsVFwoMFBcKFwoMFBcKDBQMFQwUFwoMFRYKDBUXCQ0UDBQMFQwVDBQMFQwVFgoMFRYKDRQWChcKFwoMFLlRNwkMFQwUDBUNFBYKDBUXChYKDBUWCgwVFwkNFBcKFgsMFBcKCxUMFQwUFwoMFRYKDBUWCgwVDBULFQwVDBULFQwVFgoMFRYKDBUXCRcKFgoMFRcABdwAAAAAAAAAAAAAAAAAAA==
icon_template: >-
{% if is_state('switch.study_blinds_opener_16', 'on') %}
mdi:blinds-open
{% else %}
mdi:blinds
{% endif %}
1 Like
uiguy
August 30, 2022, 10:09am
4
Note, the above has now been updated
frawau
(François Wautier)
August 20, 2023, 9:41am
5
Sorry, I am new to this, but I do not understand the ‘icon_template’ bits. It refers to a switch when the rest above uses a remote controller.
I am trying to set up some RF curtains, and the curtain’s icon seems to have curtain and curtain_close, can I somehow use a timer to decide on the icon?
cheers
uiguy
August 21, 2023, 4:25pm
6
use the device class as this will automatically set the icons
frawau
(François Wautier)
August 22, 2023, 3:51pm
7
Thanks for the reply.
That is what I am trying to do. My covers.yaml is like
- platform: template
covers:
lr_back_window_curtain:
device_class: curtain
friendly_name: "Living Room Back Window Curtain"
open_cover:
service: script.lrbwc_open
close_cover:
service: script.lrbwc_close
stop_cover:
service: script.lrbwc_stop
lr_door_curtain:
device_class: curtain
friendly_name: "Living Room Door Curtain"
open_cover:
service: script.lrdc_open
close_cover:
service: script.lrdc_close
stop_cover:
service: script.lrdc_stop
lr_side_door_curtain:
device_class: curtain
friendly_name: "Living Room Side Door Curtain"
open_cover:
service: script.lrsdc_open
close_cover:
service: script.lrsdc_close
stop_cover:
service: script.lrsdc_stop
lr_window_curtain:
device_class: curtain
friendly_name: "Living Room Window Curtain"
open_cover:
service: script.lrwc_open
close_cover:
service: script.lrwc_close
stop_cover:
service: script.lrwc_stop
stairwell_curtain:
device_class: curtain
friendly_name: "Stairwell Curtain"
open_cover:
service: script.swc_open
close_cover:
service: script.swc_close
stop_cover:
service: script.swc_stop
uproom_curtain:
device_class: curtain
friendly_name: "Upper Room Curtain"
open_cover:
service: script.uprc_open
close_cover:
service: script.uprc_close
stop_cover:
service: script.uprc_stopor paste code here
But just covers.yaml is not being loaded I tried to include it in configuration.yaml, but even though it loaded, nothing happened I could see not cover device, I put this in template.yaml to no avail.
Where should I put this?
Thank you.
frawau
(François Wautier)
August 23, 2023, 3:48pm
8
Got it… Needed to do a full restart, not just a reload.
Thanks
vinodnx
(Vinod)
January 25, 2024, 1:51am
9
Hello Frawau.
Can you please advise you on how you set it . I have some query
how to add cover.yaml
Did you change some things in configuration.yaml
frawau
(François Wautier)
May 11, 2024, 1:15pm
10
Sorry. I totally missed your message. You still nned help?