-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
RC-Switch Protocol Disable via Console #10063
Conversation
Removed all code changes out i18n.h & support_command.ino
Hopefully the only changes left are resolving an actual entry in settings and the routines associated that and saving settings. |
I will cleanup after the merge. Thx. |
Add command ``RfProtocol`` to control RcSwitch receive protocols by BBBits (#10063)
@BBBits want to update the decode-config tool and wondering myself: What are the possible syntax of the new command 'RfProtocol'? |
Hi,
Currently there are 35 protocols .
CMD: RfProtocol :: Returns an array of the Enabled Protocols
{"RfProtocol":"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35"}
CMD: rfprotocol 17 :: Sets The Enabled Protocols Mask Value
MQT: stat/tasmota_D722A4/RESULT = {"RfProtocol":"1,5"}
CMD: rfprotocol a :: ( case sensitive ) Sets the Mask to All
{"RfProtocol":"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35"}
CMD: rfprotocol7 1 :: Sets a Specific Protocol On or Off
MQT: stat/tasmota_D722A4/RESULT = {"RfProtocol":"1,5,7"}
CMD: rfprotocol5 0 :: Sets a Specific Protocol On or Off
MQT: stat/tasmota_D722A4/RESULT = {"RfProtocol":"1,7"}
CMD: rfprotocol 0 :: Turns All Off . N.B. After a restart , If Mask is
zero , it will be set to Max value .
MQT: stat/tasmota_D722A4/RESULT = {"RfProtocol":"None Enabled"}
|
@BBBits Please can you add the info to the docu? |
@BBBits Thanks for this, it helped me! I was wondering if there is anyway to support 2 RF TX and RX. My ultimate aim is to point multiple interrupts to 1 single ISR, however, it greatly reduced the number of times the ISR was called, i.e. if I pressed my remote 433Mhz 10 times, the 433Mhz ISR only triggers 2 or 3 times, likewise for my 315Mhz. See my commit that uses 2 buffers bilogic/rc-switch@70320fb |
I'll have a look when I get some time. |
I did a quick search for multiple receivers and found this https://github.com/BCsabaEngine/RCSwitch |
Hi Jason, |
prob not the right place to ask but can someone point me to a place with instructions that work for mkdocs in windows tried here https://github.com/cmitu/mkdocs-altlink-plugin but no go |
@BBBits was there an issue you were trying to solve with this PR? I'm asking as I tested https://github.com/BCsabaEngine/RCSwitch and found it to be fast and accurate, not to mention being able to support multiple frequencies without the need for multiple ISRs. I plan to make a PR into tasmota and wanted to understand your motivation first. Thank you. |
OOPS also have finally got mkdocs running . |
I am in lala land. |
Also wanted to keep the noise down because I blindly send the received RF codes out with KNX |
Ok, understood. I will bear them in mind. Thank you. |
Description:
Related issue (if applicable): fixes #
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass
Hope there is a spare 64bit space in settings.
still has the ifdef BAZMODS tags in the code.
created the uint64_t_t because printf didn't play nice with 64bit and was easy way to split it up.