Help with IR transceiver

I’m trying to get this $7 IR transceiver to log the codes of a remote control, but haven’t had much luck. I don’t see anything in the logs when I press buttons on the remote.

My code so far:

remote_receiver:
  pin: 
    number: GPIO4
    inverted: True
    mode: INPUT_PULLUP
  dump: raw

Any guidance will help. Thanks!

The web page says the receiver is GPIO14 not GPIO4

The module is equipped with an infrared receiving tube and an infrared transmitting tube which are respectively io14 and io4 controlled

Thanks for the reply. I forgot to mention that I tried both GPIO14 and GPIO4. In both cases, It didn’t print anything in the logs when I pressed the buttons on the remote.

Here is my full code:

esphome:
  name: hall-ir-fan

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "PASSWORD_REMOVED"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Hall-Ir-Fan Fallback Hotspot"
    password: "PASSWORD_REMOVED"

captive_portal:

remote_receiver:
  pin: 
    number: GPIO14
    inverted: True
    mode: INPUT_PULLUP
  dump: raw