433Mhz Fan Protocol, Pulse Length configuration

Hi everyone,

I have been tinkering trying to get my RF 433mhz remote controlled fan working in HA.

I have captured the code and can also successfully replay it from an arduino using the rc-switch library “SendDemo”

Decimal: 2315535114 (32Bit) Binary: 10001010000001000100001100001010 Tri-State: not applicable PulseLength: 450 microseconds Protocol: 2

Now I am trying to incorporate it into a NodeMCU I have running but cannot get the correct output from the transmitter, so i was hoping someone could point me in the right direction.

Here is my config for the switch in ESPHome;

switch:
  - platform: template
    name: Fan - Power On
    turn_on_action:
     - remote_transmitter.transmit_rc_switch_raw:
          code: '10001010000001000100001100001010'
          protocol:
            pulse_length: 450

I can only set the protocol to “2” or alternatively have the pulse length set. I also don’t know how to find the Sync, Zero, One, Inverted optional values that can be set.

Any help is appreciated.

Can you learn the code using ESPHome?

Typically you’d just see the code and protocol in the logs when you learn it and just use those two in your transmitter configuration.

Unfortunately I cannot get a signal recognised by ESPHome when using the remote_receiver function.

Hi, I’ve previously made a fan controller for Home Assistant.

CHECK IT OUT and see if it’s the same controls as your fan.

1 Like

That’s pretty cool. Do you know how the addressing of multiple fans is handled?
I have 3 fans in my house, all are the same model and they work independently. I gather each have their own address.

Thank you

@chrisp250 If that was directed at me, I’m not sure how that is handled. I got these values from the original remote a long time ago.

No worries, thanks. Did you originally use the receiver module to dump the message from the remote and now you just replay them with the transmitter?
Cheers