Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote receiver not working on a CBU with linptech_g6l_protocol #7

Open
spupetic opened this issue Jan 4, 2024 · 4 comments
Open

Comments

@spupetic
Copy link

spupetic commented Jan 4, 2024

I have installed ESPHome on the CBU based board, the doorbell components are the same as on the ESP32 based board. The chime chip works well via the remote_transmitter component, but the CMT2217B OOK RF receiver does not work somewhy. I can confirm that the RF receiver itself works with well with an ESP32.

I don't get any errors or warnings, except that the PIN should be inverted, but when I invert it, that doesn't change anything. By setting the log level to very verbose, nothing useful comes up, it seems like the protocol decoder never sends log messages.

Switching to remote_raw, I have gotten the following results:

ESP32:
remote_raw_esp32

BK7231N (Tuya CBU):
remote_raw_bk7231n

@spupetic
Copy link
Author

I can confirm, that the same receiver works perfectly fine with an ESP8266 (and of course, the ESP32).

@pauln
Copy link
Owner

pauln commented Jan 19, 2024

I haven't got any experience with the BK7231N / Tuya CBU module, but based on the remote_raw output you've shared, I wonder if you've configured the wrong pin for the remote_receiver - at a quick glance, it seems as though you're after the "P" number from this diagram and should refer to it with the "P" prefix in your config. These numbers appear to correspond to the "Symbol" column in the Tuya docs for the CBU module.

If you've definitely got the right pin configured, it's also possible that you need to enable either pullup or pulldown so that the signal is more decisive - perhaps the default pullup/pulldown status is different on the BK7231N vs ESP32/ESP8266?

@spupetic
Copy link
Author

I haven't got any experience with the BK7231N / Tuya CBU module, but based on the remote_raw output you've shared, I wonder if you've configured the wrong pin for the remote_receiver - at a quick glance, it seems as though you're after the "P" number from this diagram and should refer to it with the "P" prefix in your config. These numbers appear to correspond to the "Symbol" column in the Tuya docs for the CBU module.

If you've definitely got the right pin configured, it's also possible that you need to enable either pullup or pulldown so that the signal is more decisive - perhaps the default pullup/pulldown status is different on the BK7231N vs ESP32/ESP8266?

Thanks for the tips, I will try the enabling of pullup or pulldown. As for the PIN number, it is the one to the left on the bottom of the CBU, so according to the docs, P8 - I know for sure, because I connected the ESPs to that PIN and then it worked with them. My config was this:

remote_receiver:
  pin: 
    number: P8
  dump: linptech_g6l
  filter: 20us
  idle: 900us

@spupetic
Copy link
Author

I have tried pullup and pulldown, but it does not help - still no dumps in the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants