-
Notifications
You must be signed in to change notification settings - Fork 639
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
rfb: rework both efm8bb1 & rcswitch implementations #2335
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- RF_... -> RFB_... - rework rcswitch integration, support variable length payload - rework rfbridge parser (not tested) - rework settings scanning routine when trying to match rf payload with the relay ID - update build tests
- for some reason we were never checking it's output no need to increase +1 since we write the exact number - allow hexEncode output be decoded, enforce even-ness - raw msg must have at least 3 bytes - start+code+end
ref. https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki/0xA2 (desc: Learning OK) https://github.com/Portisch/RF-Bridge-EFM8BB1/wiki/0xA3 (desc: Learning failed) were used, but the pages did not reflect the actual implementation: https://github.com/Portisch/RF-Bridge-EFM8BB1/blob/af1bddb3d81c79d67063184219ec21f8249dffd0/inc/uart.h ... RF_CODE_LEARN_KO = 0xA2 RF_CODE_LEARN_OK = 0xA3 ...
mcspr
changed the title
WIP: rfbridge refactoring, plus
rfb: rework both efm8bb1 & rcswitch implementations
Aug 26, 2020
re: 82d5de0 Merge vs. Squash 'issue' submitted as ticket to Github, at this point it is definitely some kind weird interaction with their servers. |
Merged
This was referenced Aug 27, 2020
Merged
mcspr
added a commit
that referenced
this pull request
Aug 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
re @Sag06, please test :)
https://gitter.im/tinkerman-cat/espurna?at=5f400f3049148b41c963527e
CI here seem to have died for some reason, I need to fix that before nightlies are up again. But, I noticed you mentioned esphome, so you should have all required stuff already since we also use PlatformIO build tools.
Either build works
ESPURNA_FLAGS="-DITEAD_SONOFF_RFBRIDGE -DRFB_PROVIDER=RFB_PROVIDER_RCSWITCH"
Mind the size requirements