Broadlink não lê códigos

Ao tentar ler o comando desta forma não me apresenta nada.

Estou a tentar ler de um comando de RF

Dá a seguinte mensagem
Capturar

Olá @Pedro_Oliveira, antes de mais peço-te que respeites o assunto dos tópicos. É prático ir colocando tudo no mesmo tópico, mas depois torna-se inútil para os outros utilizadores a curto prazo. Isto faz também com que seja difícil pesquisar a melhor solução para os problemas. A regra é: Novo Assunto = Novo Tópico. Por esse motivo a tua pergunta foi movida para este novo tópico.

O Broadlink não lê RFID… Dependendo dos modelos, o Broadlink lê RF e noutros RF e IR. Estás a fazer confusão ou isso foi gralha?

Penso ter sido gralha… contudo tenta novamente… as vezes acontece dar esse warning. Já agora que comando é? e qual a frequencia?

Boas peço desculpa pela gralha .

O comando é dos estores, com a aplicação da broadlink consegui o código.

Tenho uma questão no type, apesar de já ter testado com vários como identifico qual é o meu.

Pelo broadlink Manager que não consegui obter nada dá o seguinte

Capturar_1

O código que tenho é

switch:
 - platform: broadlink
   host: 192.168.0.196
   mac: '78:0F:77:00:D4:8C'
   type: rm2_pro_plus2

EDIT: Já consegui ler os códigos através da solução Broadlink - Método alternativo para copiar os códigos (Android)

@Pedro_Oliveira
E qual era o problema? Alguma configuração?

Não tinha experimentado desta forma, pelas outras vias continuo sem conseguir.

Agora tenho outro problema :frowning:

Ao validar o código dá esta mensagem

- platform: broadlink
  host: 192.168.0.196
  mac: '78:0F:77:00:D4:8C'
  type: rm2_pro_plus2
  switches:
    Estore_Quarto_UP:
      friendly_name: Estore Quarto UP
      command_on: 'sgAqAwsSCxIKEwoSCxILEQsSCxOtEhUICxIVCAoSCxILERYHFQgLEhUIChMUCBUIFQgVBwsSCxILEQsSFQgVCBQIFQgVCBUIFQcLEhUIFQcLEgsSChMKEwoSCxILEQsSCxILEhQJChILEgsSChILEgsSChILEgsSChMKEgsSFQgKEhUIFQgLEhQIFQgLEgoSCxILEhUHFautExQICxIVCAoSCxILEhUHFQgLEhUIChIVCBUIFQgVBwsSCxIKEgsSFQgVCBUHFQgVCBUIFQcLEhUIFQgKEgsSCxELEwoSCxIKEgsSCxIKExQJChILEgsSChILEgoTChILEgsSChILEgsSFQgKEhUIFQgKEhUJFAgLEQsSCxILEhUIFKutEhUICxIVBwsSCxIKExQIFQgLEhUIChMUCBUIFQcVCAsSCxIKEwoSFQgVBxYHFQgVCBUIFAgLEhUIFAgLEgsSCxELEgsSCxIKEgsSCxIKEhUICxILEgoSCxILEgoSCxILEgsSChILEgsSFQgKEhUIFQgKExUHFQgLEQsSCxILEhUHFautEhUICxIVBwsSCxIKExQIFQgLEhUIChIVCBUIFQcVCAsSChMKEgsSFQgVBxUIFQgVCBQJFAgLEhUHFgcLEgsSChILEgsSChMKEgsSCxIKEhUICxIKEgsTChILEgoSCxILEgoTChILEgsSFQcLEhUIFQgKEhUIFQgKEgsSCxILEhUHFautEhUIChMUCAsSCxIKEhUIFQgLERYHCxIVCBUIFAgVCAsSChILEgsSFQgUCBUIFQgVCBQIFQgLEhUHFQgLEgoSCxMKEgsSChILEgsSChMKEhUICxIKEgsSCxIKEgsSCxIKEwoTChILEgsSFQcLEhUIFQcLEhUIFQgKEgsSCxIKEhYHFautEhUIChMUCAsSCxELEhUIFQgKExQICxIVCBUIFAgVCAsSChILEgsSFAgVCBUIFQcWBxUIFQgLEhQIFQgKEwoSCxILEgsRCxILEgsSChILEhUICxIKEgsSCxIKEgsSCxIKEwoSCxILEQsSFQgLEhUIFAkKEhUIFQcLEgsSChMKEhUIFQAF3AAAAAAAAAAAAAAAAAAA'
    Estore_Quarto_Down:
      friendly_name: Estore Quarto Down
      command_on: 'sgAqAwsSChILEgsSCxIKEgsSCxOuERYHCxIVCAoTChILEhUIFQgKEhUICxIVCBQIFQgVCAoTChILEgsRFgcVCBUIFQgUCBUIFQgLEhQJFAgLEgsSChILEgsSChILEgsSChILEhUICxILEQsSCxILEgoSCxILEgoTFQcLEgsSChILEhUIFQgVCAoSCxIVCBUHCxILEhUHFauuEhUHCxIVCAoTChILEhUIFQgKEhUICxIVCBQIFQgVCAoTChILEgsSFQcVCBYHFQgVCBUHFQgLEhUHFQgLEgsSChILEgsSChMKEgsSCxIKEhUICxILEQsSCxILEgoTChILEgsSFQcLEgsSCxILERUIFQgVCAoSCxIVCBUHCxILEhUIFKuuEhUIChIVCAsSChILEhUIFQgKEhUICxIVCBUHFQgVCAoTChILEgsRFgcVCBUIFQgVCBUHFQgLEhUHFQgLEgsSChILEgsSChMKEgsSCxIKEhYHCxILEgoSCxILEgoTChILEgsSFQcLEgsSCxIKExQIFQgVCAoTChIVCBUHDBELEhUIFautEhUIChIVCAsSChILEhUIFQgLEhQICxIVCBUIFAgVCAsSChILEgsSFQcWBxUIFQgVCBUIFAgLEhUIFQcLEgsSChILEgsSCxIKEgsSCxILEhUHCxILEgoTChILEgoTChILEgsSFQcLEgsSCxIKExQIFQgVCAoTChIVCBUIChILEhUIFaquEhUICxEVCAsSCxELEhUIFQgKEhYHCxIVCBUIFAkUCAsSCxIKEgsSFQgVBxUIFQgVCBUHFQgLEhUIFQgKEgsSCxIKEgsSCxIKEwoSCxILERYHCxILEgoTChILEgsSChILEgsSFQcLEgsSCxIKExQIFQgVCAsSChIVCBUIChILEhUIFautEhUIChMUCAsSCxELEhUIFQgLEhUHCxIVCBUIFAkUCAsSCxIKEgsSFQgVCBQIFQgVCBUIFAgLEhUIFQgKEgsSCxIKEwoSCxIKEwoSCxILEhUIChILEgoTChMKEgsSCxELEgsSFQgLEQsSCxIKExUHFQgVCAsSChIVCBUIChMKEhUIFQAF3AAAAAAAAAAAAAAAAAAA'
    Estore_Quarto_OK:
      friendly_name: Estore Quarto OK
      command_on: 'sgAsAwoTChILEgsSChILEgsSCxOtEhUIChMVBwsSCxIKEhUIFQgLEhUIChIVCBUIFQgVBwsSCxELEgsSFQgVCBQJFAgVCBUHFgcLEhUIFQcLEgsSChMKEgsSCxILEgoSCxILEhUIChILEgsSChILEgsSChILEgsSChMUCAsSCxILERYHFgcLEhUIFAgVCBUIChMKEhUIFautEhUIChIVCAsSChMKExQIFQgKEhYHCxIVCBUHFQgVCAoTChMKEgsSFQgVBxUIFQgVCBUHFQgLEhUIFAgLEgsSChILEgsSChMKEgsSCxIKEhUICxILEgoSCxILEgoTChILEgsSChIVCAsSChMKEhUIFQgKExQIFQgVCBUHCxILEhUIFKuuEhQJChIVCAoTChILEhUIFQcLEhUICxIUCRQIFQgVBwsSCxILEgoSFQgVCBUIFQcVCBUIFQgKEhUIFQgKEwoSCxILEgoSCxILEgsRCxILEhUIChMKEgsSCxELEgsSCxIKEgsSCxIVCAoSCxILEhUHFgcLEhUIFQgUCBUICxIKEhUIFQACrK0SFQgKEhUICxIKEwoSFQgVCAsRFgcLEhUIFQcVCBUIChMKEgsSCxIVBxYHFQgVCBUIFQcVCAsSFQcVCAsSCxELEgsSCxIKEwoSCxILEgoSFgcLEgoTChILEgsSChILEgsSCxELEhUICxIKEwoSFQgVCAoTFQcVCBUIFAgLEgsSFQgUq60SFQgLEhUHCxILEgoTFAgVCAsSFQgKEhYHFQgVBxUICxILEgoTChIVCBUHFgcVCBUIFQgVBwsSFQgVCAoSCxILEgsRCxILEgoTChILEgsSFQcLEgsSCxIKEgsSChMKEwoSCxILERYHCxILEgoTFAgVCAsSFQcWBxUIFQgKEgsSFQgUq60TFQcLEhUICxIKEgsSFQgVCAoSFQgLEhUHFQgVCBUIChILEgsSChIVCBUIFQgVCBQIFQgVCAoSFQgVCAoSCxILEgsSChILEgsSChMKEgsSFQgKEwoSCxIKEgsSCxIKEwoTChILEhUIChILEgsSFQgUCAsSFQgVBxYHFQgLEQsSFQgVAAXcAAAAAAAAAAAAAAAA'



- group:
   Estore_Quarto:
     name: Estore Quarto
     view: yes
     entities:
       - switch.Estore_Quarto_UP
       - switch.Estore_Quarto_Down
       - switch.Estore_Quarto_OK

Um conselho que te dou para evitares dores de cabeça no futuro é NUNCA utilizares letras maiúsculas no nome das entidades.

Isso está dentro de um ficheiro de package?

Sim está dentro do package . Já mudei para minúsculas mas continuo com erro

O erro não é por causa das maiusculas, só falei nisso para evitares problemas futuros.

Segundo o erro, tem a ver com um entidade com o nome EstoreQuarto dentro de um ficheiro package.

@Pedro_Oliveira por favor testa isto:

- platform: broadlink
  host: 192.168.0.196
  mac: '78:0F:77:00:D4:8C'
  type: rm2_pro_plus2
  switches:
    estore_quarto_up:
      friendly_name: 'Estore Quarto UP'
      command_on: 'sgAqAwsSCxIKEwoSCxILEQsSCxOtEhUICxIVCAoSCxILERYHFQgLEhUIChMUCBUIFQgVBwsSCxILEQsSFQgVCBQIFQgVCBUIFQcLEhUIFQcLEgsSChMKEwoSCxILEQsSCxILEhQJChILEgsSChILEgsSChILEgsSChMKEgsSFQgKEhUIFQgLEhQIFQgLEgoSCxILEhUHFautExQICxIVCAoSCxILEhUHFQgLEhUIChIVCBUIFQgVBwsSCxIKEgsSFQgVCBUHFQgVCBUIFQcLEhUIFQgKEgsSCxELEwoSCxIKEgsSCxIKExQJChILEgsSChILEgoTChILEgsSChILEgsSFQgKEhUIFQgKEhUJFAgLEQsSCxILEhUIFKutEhUICxIVBwsSCxIKExQIFQgLEhUIChMUCBUIFQcVCAsSCxIKEwoSFQgVBxYHFQgVCBUIFAgLEhUIFAgLEgsSCxELEgsSCxIKEgsSCxIKEhUICxILEgoSCxILEgoSCxILEgsSChILEgsSFQgKEhUIFQgKExUHFQgLEQsSCxILEhUHFautEhUICxIVBwsSCxIKExQIFQgLEhUIChIVCBUIFQcVCAsSChMKEgsSFQgVBxUIFQgVCBQJFAgLEhUHFgcLEgsSChILEgsSChMKEgsSCxIKEhUICxIKEgsTChILEgoSCxILEgoTChILEgsSFQcLEhUIFQgKEhUIFQgKEgsSCxILEhUHFautEhUIChMUCAsSCxIKEhUIFQgLERYHCxIVCBUIFAgVCAsSChILEgsSFQgUCBUIFQgVCBQIFQgLEhUHFQgLEgoSCxMKEgsSChILEgsSChMKEhUICxIKEgsSCxIKEgsSCxIKEwoTChILEgsSFQcLEhUIFQcLEhUIFQgKEgsSCxIKEhYHFautEhUIChMUCAsSCxELEhUIFQgKExQICxIVCBUIFAgVCAsSChILEgsSFAgVCBUIFQcWBxUIFQgLEhQIFQgKEwoSCxILEgsRCxILEgsSChILEhUICxIKEgsSCxIKEgsSCxIKEwoSCxILEQsSFQgLEhUIFAkKEhUIFQcLEgsSChMKEhUIFQAF3AAAAAAAAAAAAAAAAAAA'
    estore_quarto_down:
      friendly_name: 'Estore Quarto Down'
      command_on: 'sgAqAwsSChILEgsSCxIKEgsSCxOuERYHCxIVCAoTChILEhUIFQgKEhUICxIVCBQIFQgVCAoTChILEgsRFgcVCBUIFQgUCBUIFQgLEhQJFAgLEgsSChILEgsSChILEgsSChILEhUICxILEQsSCxILEgoSCxILEgoTFQcLEgsSChILEhUIFQgVCAoSCxIVCBUHCxILEhUHFauuEhUHCxIVCAoTChILEhUIFQgKEhUICxIVCBQIFQgVCAoTChILEgsSFQcVCBYHFQgVCBUHFQgLEhUHFQgLEgsSChILEgsSChMKEgsSCxIKEhUICxILEQsSCxILEgoTChILEgsSFQcLEgsSCxILERUIFQgVCAoSCxIVCBUHCxILEhUIFKuuEhUIChIVCAsSChILEhUIFQgKEhUICxIVCBUHFQgVCAoTChILEgsRFgcVCBUIFQgVCBUHFQgLEhUHFQgLEgsSChILEgsSChMKEgsSCxIKEhYHCxILEgoSCxILEgoTChILEgsSFQcLEgsSCxIKExQIFQgVCAoTChIVCBUHDBELEhUIFautEhUIChIVCAsSChILEhUIFQgLEhQICxIVCBUIFAgVCAsSChILEgsSFQcWBxUIFQgVCBUIFAgLEhUIFQcLEgsSChILEgsSCxIKEgsSCxILEhUHCxILEgoTChILEgoTChILEgsSFQcLEgsSCxIKExQIFQgVCAoTChIVCBUIChILEhUIFaquEhUICxEVCAsSCxELEhUIFQgKEhYHCxIVCBUIFAkUCAsSCxIKEgsSFQgVBxUIFQgVCBUHFQgLEhUIFQgKEgsSCxIKEgsSCxIKEwoSCxILERYHCxILEgoTChILEgsSChILEgsSFQcLEgsSCxIKExQIFQgVCAsSChIVCBUIChILEhUIFautEhUIChMUCAsSCxELEhUIFQgLEhUHCxIVCBUIFAkUCAsSCxIKEgsSFQgVCBQIFQgVCBUIFAgLEhUIFQgKEgsSCxIKEwoSCxIKEwoSCxILEhUIChILEgoTChMKEgsSCxELEgsSFQgLEQsSCxIKExUHFQgVCAsSChIVCBUIChMKEhUIFQAF3AAAAAAAAAAAAAAAAAAA'
    estore_quarto_ok:
      friendly_name: 'Estore Quarto OK'
      command_on: 'sgAsAwoTChILEgsSChILEgsSCxOtEhUIChMVBwsSCxIKEhUIFQgLEhUIChIVCBUIFQgVBwsSCxELEgsSFQgVCBQJFAgVCBUHFgcLEhUIFQcLEgsSChMKEgsSCxILEgoSCxILEhUIChILEgsSChILEgsSChILEgsSChMUCAsSCxILERYHFgcLEhUIFAgVCBUIChMKEhUIFautEhUIChIVCAsSChMKExQIFQgKEhYHCxIVCBUHFQgVCAoTChMKEgsSFQgVBxUIFQgVCBUHFQgLEhUIFAgLEgsSChILEgsSChMKEgsSCxIKEhUICxILEgoSCxILEgoTChILEgsSChIVCAsSChMKEhUIFQgKExQIFQgVCBUHCxILEhUIFKuuEhQJChIVCAoTChILEhUIFQcLEhUICxIUCRQIFQgVBwsSCxILEgoSFQgVCBUIFQcVCBUIFQgKEhUIFQgKEwoSCxILEgoSCxILEgsRCxILEhUIChMKEgsSCxELEgsSCxIKEgsSCxIVCAoSCxILEhUHFgcLEhUIFQgUCBUICxIKEhUIFQACrK0SFQgKEhUICxIKEwoSFQgVCAsRFgcLEhUIFQcVCBUIChMKEgsSCxIVBxYHFQgVCBUIFQcVCAsSFQcVCAsSCxELEgsSCxIKEwoSCxILEgoSFgcLEgoTChILEgsSChILEgsSCxELEhUICxIKEwoSFQgVCAoTFQcVCBUIFAgLEgsSFQgUq60SFQgLEhUHCxILEgoTFAgVCAsSFQgKEhYHFQgVBxUICxILEgoTChIVCBUHFgcVCBUIFQgVBwsSFQgVCAoSCxILEgsRCxILEgoTChILEgsSFQcLEgsSCxIKEgsSChMKEwoSCxILERYHCxILEgoTFAgVCAsSFQcWBxUIFQgKEgsSFQgUq60TFQcLEhUICxIKEgsSFQgVCAoSFQgLEhUHFQgVCBUIChILEgsSChIVCBUIFQgVCBQIFQgVCAoSFQgVCAoSCxILEgsSChILEgsSChMKEgsSFQgKEwoSCxIKEgsSCxIKEwoTChILEhUIChILEgsSFQgUCAsSFQgVBxYHFQgLEQsSFQgVAAXcAAAAAAAAAAAAAAAA'



- group:
   Estore_Quarto:
     name: Estore Quarto
     view: yes
     entities:
       - switch.estore_quarto_up
       - switch.estore_quarto_down
       - switch.estore_qeuarto_ok

Está a dar erro mesmo corregindo
switch.estore_qeuarto_ok

Isso já é um erro de espaçamentos. Verifica os espaços em brancos nessas linha.

Conseguiste corrigir o erro?
Podes partilhar aqui o código final?

Obrigado

Boas @attackk ainda não consegui corrigir o erro. Não identifico nada nos espaçamentos.

Vou tentar nova, quando conseguir posto o código

@RodolfoVieira e @j_assuncao obrigado pelo apoio .

Precisava de mais uma pequena orientação não sei como fazer se me poderem identificar um exemplo agradeço.

Tenho a apresentar desta forma
img_1

e queria apresentar desta forma
img_2

Código corrigido e a funcionar :

homeassistant:

group:
 estore_quarto:
   name: Estore Quarto
   view: yes
   entities:
     - switch.estore_quarto_up
     - switch.estore_quarto_down
     - switch.estore_quarto_ok
     
switch:
  - platform: broadlink
    host: 192.168.0.196
    mac: '78:0F:77:00:D4:8C'
    timeout: 15
    switches:
      estore_quarto_up:
        friendly_name: Estore Quarto UP
        command_on: 'sgAqAwsSCxIKEwoSCxILEQsSCxOtEhUICxIVCAoSCxILERYHFQgLEhUIChMUCBUIFQgVBwsSCxILEQsSFQgVCBQIFQgVCBUIFQcLEhUIFQcLEgsSChMKEwoSCxILEQsSCxILEhQJChILEgsSChILEgsSChILEgsSChMKEgsSFQgKEhUIFQgLEhQIFQgLEgoSCxILEhUHFautExQICxIVCAoSCxILEhUHFQgLEhUIChIVCBUIFQgVBwsSCxIKEgsSFQgVCBUHFQgVCBUIFQcLEhUIFQgKEgsSCxELEwoSCxIKEgsSCxIKExQJChILEgsSChILEgoTChILEgsSChILEgsSFQgKEhUIFQgKEhUJFAgLEQsSCxILEhUIFKutEhUICxIVBwsSCxIKExQIFQgLEhUIChMUCBUIFQcVCAsSCxIKEwoSFQgVBxYHFQgVCBUIFAgLEhUIFAgLEgsSCxELEgsSCxIKEgsSCxIKEhUICxILEgoSCxILEgoSCxILEgsSChILEgsSFQgKEhUIFQgKExUHFQgLEQsSCxILEhUHFautEhUICxIVBwsSCxIKExQIFQgLEhUIChIVCBUIFQcVCAsSChMKEgsSFQgVBxUIFQgVCBQJFAgLEhUHFgcLEgsSChILEgsSChMKEgsSCxIKEhUICxIKEgsTChILEgoSCxILEgoTChILEgsSFQcLEhUIFQgKEhUIFQgKEgsSCxILEhUHFautEhUIChMUCAsSCxIKEhUIFQgLERYHCxIVCBUIFAgVCAsSChILEgsSFQgUCBUIFQgVCBQIFQgLEhUHFQgLEgoSCxMKEgsSChILEgsSChMKEhUICxIKEgsSCxIKEgsSCxIKEwoTChILEgsSFQcLEhUIFQcLEhUIFQgKEgsSCxIKEhYHFautEhUIChMUCAsSCxELEhUIFQgKExQICxIVCBUIFAgVCAsSChILEgsSFAgVCBUIFQcWBxUIFQgLEhQIFQgKEwoSCxILEgsRCxILEgsSChILEhUICxIKEgsSCxIKEgsSCxIKEwoSCxILEQsSFQgLEhUIFAkKEhUIFQcLEgsSChMKEhUIFQAF3AAAAAAAAAAAAAAAAAAA'
      estore_quarto_down:
        friendly_name: Estore Quarto Down
        command_on: 'sgAqAwsSChILEgsSCxIKEgsSCxOuERYHCxIVCAoTChILEhUIFQgKEhUICxIVCBQIFQgVCAoTChILEgsRFgcVCBUIFQgUCBUIFQgLEhQJFAgLEgsSChILEgsSChILEgsSChILEhUICxILEQsSCxILEgoSCxILEgoTFQcLEgsSChILEhUIFQgVCAoSCxIVCBUHCxILEhUHFauuEhUHCxIVCAoTChILEhUIFQgKEhUICxIVCBQIFQgVCAoTChILEgsSFQcVCBYHFQgVCBUHFQgLEhUHFQgLEgsSChILEgsSChMKEgsSCxIKEhUICxILEQsSCxILEgoTChILEgsSFQcLEgsSCxILERUIFQgVCAoSCxIVCBUHCxILEhUIFKuuEhUIChIVCAsSChILEhUIFQgKEhUICxIVCBUHFQgVCAoTChILEgsRFgcVCBUIFQgVCBUHFQgLEhUHFQgLEgsSChILEgsSChMKEgsSCxIKEhYHCxILEgoSCxILEgoTChILEgsSFQcLEgsSCxIKExQIFQgVCAoTChIVCBUHDBELEhUIFautEhUIChIVCAsSChILEhUIFQgLEhQICxIVCBUIFAgVCAsSChILEgsSFQcWBxUIFQgVCBUIFAgLEhUIFQcLEgsSChILEgsSCxIKEgsSCxILEhUHCxILEgoTChILEgoTChILEgsSFQcLEgsSCxIKExQIFQgVCAoTChIVCBUIChILEhUIFaquEhUICxEVCAsSCxELEhUIFQgKEhYHCxIVCBUIFAkUCAsSCxIKEgsSFQgVBxUIFQgVCBUHFQgLEhUIFQgKEgsSCxIKEgsSCxIKEwoSCxILERYHCxILEgoTChILEgsSChILEgsSFQcLEgsSCxIKExQIFQgVCAsSChIVCBUIChILEhUIFautEhUIChMUCAsSCxELEhUIFQgLEhUHCxIVCBUIFAkUCAsSCxIKEgsSFQgVCBQIFQgVCBUIFAgLEhUIFQgKEgsSCxIKEwoSCxIKEwoSCxILEhUIChILEgoTChMKEgsSCxELEgsSFQgLEQsSCxIKExUHFQgVCAsSChIVCBUIChMKEhUIFQAF3AAAAAAAAAAAAAAAAAAA'
      estore_quarto_ok:
        friendly_name: Estore Quarto OK
        command_on: 'sgAsAwoTChILEgsSChILEgsSCxOtEhUIChMVBwsSCxIKEhUIFQgLEhUIChIVCBUIFQgVBwsSCxELEgsSFQgVCBQJFAgVCBUHFgcLEhUIFQcLEgsSChMKEgsSCxILEgoSCxILEhUIChILEgsSChILEgsSChILEgsSChMUCAsSCxILERYHFgcLEhUIFAgVCBUIChMKEhUIFautEhUIChIVCAsSChMKExQIFQgKEhYHCxIVCBUHFQgVCAoTChMKEgsSFQgVBxUIFQgVCBUHFQgLEhUIFAgLEgsSChILEgsSChMKEgsSCxIKEhUICxILEgoSCxILEgoTChILEgsSChIVCAsSChMKEhUIFQgKExQIFQgVCBUHCxILEhUIFKuuEhQJChIVCAoTChILEhUIFQcLEhUICxIUCRQIFQgVBwsSCxILEgoSFQgVCBUIFQcVCBUIFQgKEhUIFQgKEwoSCxILEgoSCxILEgsRCxILEhUIChMKEgsSCxELEgsSCxIKEgsSCxIVCAoSCxILEhUHFgcLEhUIFQgUCBUICxIKEhUIFQACrK0SFQgKEhUICxIKEwoSFQgVCAsRFgcLEhUIFQcVCBUIChMKEgsSCxIVBxYHFQgVCBUIFQcVCAsSFQcVCAsSCxELEgsSCxIKEwoSCxILEgoSFgcLEgoTChILEgsSChILEgsSCxELEhUICxIKEwoSFQgVCAoTFQcVCBUIFAgLEgsSFQgUq60SFQgLEhUHCxILEgoTFAgVCAsSFQgKEhYHFQgVBxUICxILEgoTChIVCBUHFgcVCBUIFQgVBwsSFQgVCAoSCxILEgsRCxILEgoTChILEgsSFQcLEgsSCxIKEgsSChMKEwoSCxILERYHCxILEgoTFAgVCAsSFQcWBxUIFQgKEgsSFQgUq60TFQcLEhUICxIKEgsSFQgVCAoSFQgLEhUHFQgVCBUIChILEgsSChIVCBUIFQgVCBQIFQgVCAoSFQgVCAoSCxILEgsSChILEgsSChMKEgsSFQgKEwoSCxIKEgsSCxIKEwoTChILEhUIChILEgsSFQgUCAsSFQgVBxYHFQgLEQsSFQgVAAXcAAAAAAAAAAAAAAAA'

Bom dia!

Eu uso também estores RF 433 com Broadlink a um bom tempo com sucesso.

Para teres o layout como o exemplo, precisas configurar como cover. O meu ficou assim (usando includes):

cover.yaml:

- platform: template
  covers:
    persiana_suite:
      friendly_name: "Persiana da suíte"
      open_cover:
        service: script.persiana_suite_abrir
      close_cover:
        service: script.persiana_suite_fechar
      stop_cover:
        service: script.persiana_suite_parar

script.yaml:

persiana_suite_abrir:
  sequence:
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XGAsMGBcLDBgMFwwXGAsMFwwXGAwXDAsYDBcYCxgMnTEYCxgLGAsMGAsYCxgLGBcMDBcMFwwXDBcYCwwYDBcYCwwXDBcYCwwXGAsMGAsYDBcMFxgLDBcYDAsYCxgMFxgLDBcMFxgMFwwLGAsYFwwYDJ0yFwwXDBgLDBcMFwwXDBcYCwwXDBgLGAwXFwwMFwwXGAwLGAsYFwwMFxgLDBcMFwwXDBgXDAsYFwwMFwwXDBcYDAsYCxgXDBgLGAsYCwwXDAABB50yFwwXDBgLDBcMFwwXDBcYDAwXDBcMFwwXGAsMFwwXGAwMFwwXGAsMFxgLDBcMGAsYDBcYCwwXGAsMFwwXDBcYDAwXDBcYCxgLGAsYDAsYCwABCJ0xGAsYCxgLDBcMGAsYCxgXDAwXDBcMFwwXGAwLFwwYFwwMFwwXGAsMFxgLDBgLGAsYDBcYCwwXGAsMFwwXDBgXDAwXDBcYCxgLGAwXDAsYDAAF3AAAAAA==
  - delay: 00:00:03
  alias: "Persiana fechar"

persiana_suite_parar:
  sequence:
  - service: switch.broadlink_send_packet_192_168_1_32
    data:
      packet:
      - sgH2ABgMFwwXDAwXDBcMFwwYFwsMFwwYCxgLGBcMDBcMFxgLDBcMGBcLDBgXDAwXDBcMFwwXGAsMFxgLDBgLGAwXFwwMFxgLDBcYCwwXGAwLGBcMnTIXDBgLGAsMFwwXDBcMFxgMCxgMFwwXDBcYCwwXDBcYDAsXDBcYDAsYGAsMFwwXDBcMFxgMCxcYDAwXDBcMFxgLDBcYDAsXGAsMGBcMDBcYC54xFwwYCxgLDBcMFwwXDBcYDAsYDBcMFwwXGAsMFwwXGAwLGAsYGAsMFxgLDBcMFwwXDBgXDAsYFwwMFwwXDBcYDAsYFwsMGBcMDBcYCwwXGAAF3AAA==
  - delay: 00:00:03
  alias: "Persiana parar"

Ficou assim:

image

Coloquei um delay para resolver um problema com a interface do HomeKit que não atualizava na hora, isto resolveu. Podes tirar se quiseres.

Espero ter ajudado!

1 Like

Também para aprender códigos de maneira rápida e prática sugiro este método: https://forum.cpha.tech/t/broadlink-metodo-alternativo-para-copiar-os-codigos-android/

Embora você já tenha resolvido o problema com a leitura dos sensores RF, tenho uma outra forma de solucionar, tive o mesmo problema que você no momento de tentar ler sensores RF.

Precisei seguir esse procedimento para funcionar corretamente.

Basicamente ao enviar o comando switch.broadlink_learn_command no HA, o broadlink só ficava fazendo a varredura em uma faixa de frequencia, diferente dos meus sensores.

O que o procedimento citado acima faz, é primeiro verificar a faixa de frequencia do sensor RF, e depois ler o sinal no home assistant e no aplicativo, de forma simultânea.

Já referente ao outro erro que está acontecendo, prefiro deixar para quem entende mais do assunto,

1 Like

tiveste que criar o ficheiro cover.yaml?

é so criar o ficheiro e colocar esse código la dentro? (e substituir os comandos RF)

no configuration.yaml não se coloca nada?