-
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
RF_SUPPORT configuration #594
Comments
Hi, |
RF support is very old and it has not been tested maybe in the last 2 years... so yes... it might not work as expected (or at all). It was added to the first revisions of ESPurna after this project: http://tinkerman.cat/adding-rf-to-a-non-rf-itead-sonoff/ |
i understand, i've read your initial project but it's not based on standard itead RF module. |
LOL. I guess I disabled it the hard way... |
I have upgraded support for the RF module, using the RFBridge web interface to learn new codes. Can you give it a try? It's in the dev branch, just set RF_SUPPORT to 1 and configure the receiver GPIO. |
i took dev branch and i set -DRF_SUPPORT=1 in build flag. |
Do a |
ok fine, after flash, now i've in debug 👍 |
You should not be seeing those messages, are you sure you are in dev branch?
|
i'm in dev branch, but it an error during flashing. Oups, now i've a new pannel on WebIU for manage RF and when i click on "Learn" i can see in debug log [405174] [WEBSOCKET] Requested action: rfblearn. you ask to set receiver GPIO, but where ? Thanks. |
Configure the GPIO under the RF section in |
you mean, change value : |
The GPIO you have the RF module connected to... |
Oups yes, but where i can find this information ? on Itead schematic ? |
The RF module works when you have the RF module connected to your ESP8266 microcontroller. If you are using the Sonoff RF it should work out-of-the-box without any special features. If it doesn't then it means the Sonoff RF does not support your specific remote. To pair them you have to double click the Sonoff button (the red light should lit) and then click the button in your remote. |
you'r right. when i use sonof button i see led changing color, but nothing in log. |
RF_SUPPORT is meant for devices where the RF module is linked to the ESP8266. On the Sonoff RF there is a secondary microcontroller that manages the RF module, so it's no use. Disable it. The only way to "learn" new codes with the Sonoff RF is to double click the Sonoff button and press the remote button to link that remote button to the Sonoff relay. |
Closing, changes to the RF module are staged for release. |
Hi,
I put last firmware on a Sonoff RF device, it's work perfectly with MQTT/Domotics, now want also configure RF communication with my RFxCom (for use outside my WiFi range).
I've set RF_SUPPORT and now debugger show ;
[010930] [RF] Code ON : 266325
[010931] [RF] Code OFF: 266321
[010933] [RF] Disabled
but after a line with
[RF] Enabled
Best regards
The text was updated successfully, but these errors were encountered: