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

Make rfbridge module generic RF<->MQTT #1014

Closed
mcspr opened this issue Jul 1, 2018 · 2 comments
Closed

Make rfbridge module generic RF<->MQTT #1014

mcspr opened this issue Jul 1, 2018 · 2 comments
Labels
enhancement New feature or request rf bridge

Comments

@mcspr
Copy link
Collaborator

mcspr commented Jul 1, 2018

Current RF_SUPPORT (rf.ino) does not provide MQTT API nor does allow sending data. And current ITEAD_SONOFF_RFBRIDGE (rfbridge.ino) allows to use rcswitch directly. They can be combined into one module.

Some things to change:

  • decide at compile time what logic to use (rcswitch or efm)
  • rename either RFB_DIRECT or RF_SUPPORT
  • combine RF_PINs and RFB_TX_PINs definitions (pending gpio settings in config, namespace is the same)
@xoseperez xoseperez added enhancement New feature or request rf bridge labels Jul 2, 2018
@iprak
Copy link
Contributor

iprak commented Apr 11, 2019

I don't think there is any rf.ino module, right ? I too was quite confused about what RF_SUPPORT is meant for. I wanted to use basic 315Mhz Tx/Rx modules to control a switch so ended up faking it as ITEAD_SONOFF_RFBRIDGE with RFB_DIRECT and everything seems to be working even the MQTT part.

@mcspr
Copy link
Collaborator Author

mcspr commented Apr 12, 2019

It was combined with rfbridge: #1435
Although it is still kinda confusing. See #1693, some tests would be appreciated.

@mcspr mcspr closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rf bridge
Projects
None yet
Development

No branches or pull requests

3 participants