logo elektroda
logo elektroda
X
logo elektroda

BK7231 RF receiver driver tutorial - how to use SYN590R or similar to control multiple devices

p.kaczmarek2 1680 33
ADVERTISEMENT
📢 Listen (AI):
  • #31 21834108
    DeDaMrAz
    Level 21  
    p.kaczmarek2 wrote:
    Hey aren't defines fixed by @DeDaMrAz in Docker PR?


    No I didn't touch anything outside of the docker folder. I saw the mentioned defines but worked with them rather than trying to change anything.
  • ADVERTISEMENT
  • #32 21834262
    p.kaczmarek2
    Moderator Smart Home
    Ok then we can remove them and introduce proper #define for each driver.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #33 21834266
    DeDaMrAz
    Level 21  
    p.kaczmarek2 wrote:
    Ok then we can remove them and introduce proper #define for each driver.


    Well that would be nice to have, unified looking #define for all availabe drivers, I'll adapt local build to that no problem, and it will help to keep code standardized and future proof - so I agree on the change :)
  • #34 21834480
    max4elektroda
    Level 23  
    p.kaczmarek2 wrote:
    Ok then we can remove them and introduce proper #define for each driver.

    In this case I can't see a problem with defines.

    It's simply the fact that the identical driver and command names are used for two drivers.
    So the user in best case knows, which define is set in his build to find the matching name.
    In both cases for the end user the usage is most important, so if it's equal, this might be acceptable.
    If call is different, e.g. with different arguments, this might be misleading, but given the define the user should be able to get some help...
    Not a big deal, but resolving would be nice to have.
📢 Listen (AI):

Topic summary

The discussion focuses on using the BK7231-based Tuya 4-channel 433 MHz RF Wi-Fi relay module flashed with OpenBeken firmware to create a versatile RF control hub for multiple devices including relays, smart bulbs, and LED controllers. The OpenBeken RC driver supports Princeton and Roger RF protocols, with ongoing testing for broader compatibility. Users report successful configuration of RF input pins (e.g., remote_io on P8) and integration with Easy Flasher and JSON device templates. The Bingoelec W601 T34 5V/7-32V relay board with RF receiver connected to GPIO pins is confirmed compatible, with updated templates available in the OpenBeken webapp repository. The discussion also explores hacking older switches where the 480RA RF receiver is connected to a button controller MCU, suggesting direct connection to the Wi-Fi module for enhanced functionality. The RC driver implementation requires a 50 µs timer similar to the IR driver, with calls for Timer HAL support to facilitate development.
Summary generated by the language model.
ADVERTISEMENT