-
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_DIRECT ignores RF_SEND_TIMES #2330
Comments
It is not fully ignored, just has a different connotation: espurna/code/espurna/rfbridge.cpp Lines 412 to 414 in 0f11b66
espurna/code/espurna/rfbridge.cpp Line 784 in 0f11b66
Perhaps, these are wrong, and repeats should actually mean queued repeats as with the sonoff rfbridge software (idk what transmit value is there though) |
@mcspr thanks for your explanation. So is it possible to set the N times in payload value to override the default |
After erasing |
Also, re:
See #2324 (comment), there is (and was for a while) a bug with the debug print. I'd suggest to also remove those lines in addition to the |
@mcspr thank you so much 😁😁 |
Also just merged #2335 with these issues fixed. Repeats setting is always override-able, both from settings and MQTT. Only difference is codes like this:
Become like this:
0x18 byte is bit length -> 24 bits -> 3 bytes of payload to the right of it. In case you have some saved codes, update should convert existing ones. But, before OTA'ing / flashing it, check out what |
I clean flashed my RF Bridge and I can confirm that changing repeats in web GUI is working only if you reboot the device. But I can't get the repeats overriden by MQTT with this e.g. payload: |
It should work now, check out the latest commit. |
Hi!
I have modified my Sonoff RF Bridge with DIRECT Hack. The problem is RF_SEND_TIMES is completely ignored and always defaulted to 1.
custom.h:
Terminal output (telnet):
Device Info:
Any help would be greatly appreciated! Thank you
The text was updated successfully, but these errors were encountered: