Yes I do now not receiving the errors anymore!
Thanks!
To use broadlink switches:
Click Configuration in the sidebar and click Integrations . Click the + icon in the lower right, enter the hostname or IP address of the device. Enter a name. FInally you can set your switches like before:
But remove ip, timeout and friendly name
switch:
- platform: broadlink
mac: MAC_ADDRESS
switches:
- name: Philips TV
command_on: JgAcAB0dHB44HhweGx4cHR06HB0cHhwdHB8bHhwADQUAAAAAAAAAAAAAAAA=
command_off: 'JgAaABweOR4bHhwdHB4dHRw6HhsdHR0dOTocAA0FAAAAAAAAAAAAAAAAAAA='
Also you cant put friendly name in this section, you have to set on the customize.yaml:
switch.philips_tv:
friendly_name: 'Estudio Power Button'
icon: mdi:power-standby
I also have problems with my RM3 mini switch, since the broadlink.send command is not available anymore. I’ve tried to do everything as stated above.
1st I’ve added the device in the integrations section as “RM3 Mini” is the given name here important?
2nd I’ve added this to the configuration.yaml
# Broadlink Switch:
switch:
- platform: broadlink
mac: 78:0F:77:D6:58:0D
switches:
# Licht Terasse im Hof:
- name: 'Licht Hof'
command_on: JgAWAwABKEoTAAxZAAEoShMADFgAASdLEwAMWQABJkwSAAxZAAEoShAADFwAASdLEQAMWgABKEoRAAxbAAEnSxIADFkAAShKEgAMWgABJ0sPAAxcAAEoShAADFwAASdLDwAMXAABKEoQAAxcAAEkTg8ADFwAASVNEAAMXAABJkwPAAxcAAEnSxAADFwAASZMDwAMXAABKEoQAAxbAAElTg8ADFwAAShKEAAMWwABJU4PAAxcAAEnSxEADFoAAShLDwAMXAABJ0sPAAxcAAEoShEADFsAASdLDwAMXAABKEoQAAxcAAEnSw8ADFwAAShKEAAMXAABJ0sPAAxcAAElTRAADFwAASdLDwAMXAABKEoQAAxcAAEnSw8ADFwAAShKEAAMXAABJ0sPAAxcAAEoShAADFwAASdLDwAMXAABJU0QAAxcAAEnSw8ADFwAAShKEQAMWwABJ0sPAAxcAAEoShEADFoAAShLEgAMWQABKEoSAAxZAAEoShMADFkAAShKEAAMWwABKEoTAAxZAAEoSg8ADFwAAShKEgAMWgABKEoPAAxcAAEoShIADFoAASdLEQAMWgABKEoSAAxaAAEmTBEADFoAAShKEgAMWgABJ0sPAAxcAAEoShEADFsAASdLEQAMWgABKEoQAAxcAAEnSw8ADFwAASVNEAAMWwABJU0SAAxaAAEoSg8ADFwAAShKEgAMWgABJU0PAAxcAAEoShAADFwAASdLDwAMXAABKEoQAAxcAAElTQ8ADFwAASVNEQAMWwABJ0sSAAxZAAEoShIADFoAASdLEgAMWQABKEoSAAxaAAEnSw8ADFwAAShKEQAMWwABJ0sRAAxaAAEoSg8ADF0AASdLDwAMXAABKEoPAAxcAAEnSxAADFwAASVNDwAMXAABJU0QAAxcAAEnSw8ADFwAASdLEAAMXAABJkwPAAxcAAEnSxAADFwAASZMDwAMXAABKEoQAAxcAAEnSw8ADFwAASdLDwAMXQABJ0sPAAxcAAElTQ8ADFwAASdMDwAMXAABJU0PAAxcAAEoShAADFwAASUADQUAAA==
command_off: JgAWAwABKEoTAAxZAAEoShMADFgAASdLEwAMWQABJkwSAAxZAAEoShAADFwAASdLEQAMWgABKEoRAAxbAAEnSxIADFkAAShKEgAMWgABJ0sPAAxcAAEoShAADFwAASdLDwAMXAABKEoQAAxcAAEkTg8ADFwAASVNEAAMXAABJkwPAAxcAAEnSxAADFwAASZMDwAMXAABKEoQAAxbAAElTg8ADFwAAShKEAAMWwABJU4PAAxcAAEnSxEADFoAAShLDwAMXAABJ0sPAAxcAAEoShEADFsAASdLDwAMXAABKEoQAAxcAAEnSw8ADFwAAShKEAAMXAABJ0sPAAxcAAElTRAADFwAASdLDwAMXAABKEoQAAxcAAEnSw8ADFwAAShKEAAMXAABJ0sPAAxcAAEoShAADFwAASdLDwAMXAABJU0QAAxcAAEnSw8ADFwAAShKEQAMWwABJ0sPAAxcAAEoShEADFoAAShLEgAMWQABKEoSAAxZAAEoShMADFkAAShKEAAMWwABKEoTAAxZAAEoSg8ADFwAAShKEgAMWgABKEoPAAxcAAEoShIADFoAASdLEQAMWgABKEoSAAxaAAEmTBEADFoAAShKEgAMWgABJ0sPAAxcAAEoShEADFsAASdLEQAMWgABKEoQAAxcAAEnSw8ADFwAASVNEAAMWwABJU0SAAxaAAEoSg8ADFwAAShKEgAMWgABJU0PAAxcAAEoShAADFwAASdLDwAMXAABKEoQAAxcAAElTQ8ADFwAASVNEQAMWwABJ0sSAAxZAAEoShIADFoAASdLEgAMWQABKEoSAAxaAAEnSw8ADFwAAShKEQAMWwABJ0sRAAxaAAEoSg8ADF0AASdLDwAMXAABKEoPAAxcAAEnSxAADFwAASVNDwAMXAABJU0QAAxcAAEnSw8ADFwAASdLEAAMXAABJkwPAAxcAAEnSxAADFwAASZMDwAMXAABKEoQAAxcAAEnSw8ADFwAASdLDwAMXQABJ0sPAAxcAAElTQ8ADFwAASdMDwAMXAABJU0PAAxcAAEoShAADFwAASUADQUAAA==
I wonder if the differnt color of the 78 in the MAC address can be an issue?
If everything works fine I should find the command switch.licht_hof right?
Thanks for your assistance, Andreas
Hello. I see that your last three lines need to be indented with another ‘space’. See if it helps. Indenting in YAML is with (groups of) two spaces and that may be the problem.
I think the mac address should look like this,
mac: ‘780F77D6580D’
F
I have a related issue where I have 2 devices, only the switches from the second one is showing.
I imagine there is some YAML black magic happening and the second one is overriding the first one but I’m not sure how to write it correctly.
#Switches
switch:
- platform: broadlink
# host: 192.168.1.106
mac: '34:EA:34:BB:1F:6F'
switches:
- name: rfplug_1
command_on: 'sgGEAwcL...'
command_off: 'sgAWAwgL...'
- name: rfplug_2
command_on: 'sgGEAwgK...'
command_off: 'sgCeAghe...'
- name: rfplug_3
command_on: 'sgCeAgheBws...'
command_off: 'sgCoAgcLCQo...'
- name: ac_bedroom
command_on: 'JgDYAAABK...'
command_off: 'JgDYAAABK...'
- platform: broadlink
# host: 192.168.1.107
mac: '24:DF:A7:36:BB:F2'
switches:
- name: ac_living
command_on: 'JgBMAZ9GD...'
command_off: 'JgBMAZ9GD...'
Only switch.ac_living
is showing under Developer > States
Update: commented the second part and still nothing. Weird because the sections look the same:
Also tried with MAC in alternative format mac: '34EA34BB1F6F'
, nothing.
I had an issue with my Broadlink switches not appearing. I tried using lower case on the Mac address and it worked. Might be worth a try.
I had this problem too - the issue for me was that if the broadlink remote does not load, the switch will not appear. I had forgotten to give it a static IP address, so when it changed there was an error in the integration, and therefore the switch did not appear. Giving it a static IP and deleted/re-adding the integration caused the switch to reappear without a restart.