esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 34 forks source link

Remote_transmitter not working? #6000

Open deanfourie1 opened 6 days ago

deanfourie1 commented 6 days ago

The problem

I cannot get the remote_transmitter integration to work.

When attempting to send a code with a switch,

switch:
  - platform: template
    name: Raw Code Power Button
    turn_on_action:
      - remote_transmitter.transmit_raw:
          code: [4088, -1542, 1019, -510, 513, -1019, 510, -509, 511, -510, 1020,
                 -1020, 1022, -1019, 510, -509, 511, -510, 511, -509, 511, -510,
                 1020, -1019, 510, -511, 1020, -510, 512, -508, 510, -1020, 1022]

I would expect to see "Sending RF code" or something in the logs, however, I simply just see

[19:15:01][D][switch:012]: 'Raw Code Power Button' Turning ON.
[19:15:03][D][switch:016]: 'Raw Code Power Button' Turning OFF.
[19:15:04][D][switch:012]: 'Raw Code Power Button' Turning ON.
[19:15:05][D][switch:016]: 'Raw Code Power Button' Turning OFF.

Also, checked my received and nothing is received.

Which version of ESPHome has the issue?

2024.6.4

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.6.4

What platform are you using?

ESP32

Board

esp32dev

Component causing the issue

remote_transmitter

Example YAML snippet

remote_transmitter:
  pin: 27
  carrier_duty_percent: 100%

switch:
  - platform: template
    name: Raw Code Power Button
    turn_on_action:
      - remote_transmitter.transmit_raw:
          code: [4088, -1542, 1019, -510, 513, -1019, 510, -509, 511, -510, 1020,
                 -1020, 1022, -1019, 510, -509, 511, -510, 511, -509, 511, -510,
                 1020, -1019, 510, -511, 1020, -510, 512, -508, 510, -1020, 1022]

Anything in the logs that might be useful for us?

No response

Additional information

Hardware is the basic ASK 433 transmitter board, 3 pin VCC, GND and DATA.

https://randomnerdtutorials.com/rf-433mhz-transmitter-receiver-module-with-arduino/

ssieb commented 6 days ago

There is no logging for transmits unless something fails.

deanfourie1 commented 6 days ago

Oh ok is that new? I swear I used to get a message when sending a code,

It was using LAMBDA though.