Updated Sonoff RF Bridge 433 (markdown)

Michael Ingraham 2019-10-14 09:41:30 -04:00
parent 25a962d1a3
commit 54d25de333
1 changed files with 20 additions and 21 deletions

@ -39,6 +39,17 @@ See [RF Commands](https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#sonoff
**R2 V1.0** RF firmware flashing:
<img src="https://github.com/arendst/arendst.github.io/raw/master/media/sonoff_bridge_rffw_upgrade.png" width="300">
### Hardware Preparation - _R2 Board only_
_This section applies only to the R2 revision of the Sonoff RF Bridge_
<img src="https://user-images.githubusercontent.com/34340210/53682776-39f49700-3cc7-11e9-9184-4cecf2a3a4c3.png" width="250" align="right" />
Apply this modification **_only_** if you intend to use USB for powering the device during flash process or if you want to use GPIO4 or GPIO5 for other purposes with the RF Bridge.
The R2 revision boards connect the GPIO4 and GPIO5 pins to the USB data lines of the power connector. Compliant USB chargers/power supplies are expected to short the two pins together, which is no good. These lines are not used by the original firmware, nor by Tasmota. The traces toward the USB power connector need to be cut to avoid interference by the USB wiring. Removing these connections does not interfere with the normal Bridge functionality.
### Flashing Portisch RF Firmware
1. Make sure you have previously flashed a Tasmota binary built with `RF_FLASH`. Refer to the [builds table](Builds) for pre-compiled binaries which include this feature. Otherwise the "Magic byte is not 0xE9" error will occur.
2. Set the module type to `Sonoff Bridge (25)`
3. This step will be different depending on your `Sonoff RF Bridge 433` hardware version. You will have to connect two wires:
@ -49,27 +60,15 @@ See [RF Commands](https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#sonoff
5. Power up the bridge via the 3.3V & GND pins. (See below if you need to power the device through the USB power port)
6. Go to the Web UI **Firmware Upgrade** > **Upgrade by File Upload** (introduced in v6.0.0a)
7. Download the Portisch Firmware: <br>(Downloading them from the GitHub web site does **not** work since it will download the GitHub preview/content of the file)
1. Download the entire contents of the [Tasmota GitHub project](https://github.com/arendst/Sonoff-Tasmota/tree/master/) project via the green `Clone or Download` button to ensure that the firmware hex files are downloaded properly.
2. As an alternative use wget/curl or PowerShell to download the raw file directly from that folder:\
https://github.com/arendst/Sonoff-Tasmota/tree/master/tools/fw_efm8bb1
```
PowerShell example (⚠️ Change file name to the latest available version!):
wget https://github.com/arendst/Sonoff-Tasmota/raw/master/tools/fw_efm8bb1/RF-Bridge-EFM8BB1-XXXXXXXX.hex -OutFile .\RF-Bridge-EFM8BB1-XXXXXXXX.hex
```
Navigate to the folder on your computer where you saved the GitHub/hex file download. The firmware files are located in the `./tools/fw_efm8bb1/` folder. Select the newest available hex file. Otherwise you may get `error "Magic byte is not 0xE9"`.
8. Hit **Start Upgrade**. The flashing should complete within 60 seconds. Device will restart after upgrade completes.
9. Disconnect wiring and put the ON/OFF switch on the board back to 'ON' to enable the RF again.
### Hardware Preparation - _R2 Board only_
_This section applies only to the R2 revision of the Sonoff RF Bridge_
<img src="https://user-images.githubusercontent.com/34340210/53682776-39f49700-3cc7-11e9-9184-4cecf2a3a4c3.png" width="250" align="right" />
Apply this modification **_only_** if you intend to use USB for powering the device during flash process or if you want to use GPIO4 or GPIO5 for other purposes with the RF Bridge.
The R2 revision boards connect the GPIO4 and GPIO5 pins to the USB data lines of the power connector. Compliant USB chargers/power supplies are expected to short the two pins together, which is no good. These lines are not used by the original firmware, nor by Tasmota. The traces toward the USB power connector need to be cut to avoid interference by the USB wiring. Removing these connections does not interfere with the normal Bridge functionality.
1. Download the entire contents of the [Tasmota GitHub project](https://github.com/arendst/Sonoff-Tasmota/tree/master/) project via the green `Clone or Download` button to ensure that the firmware hex files are downloaded properly. The firmware files are located in the `./tools/fw_efm8bb1/` folder. **Select the newest available hex file. Otherwise you may get `error "Magic byte is not 0xE9"`**.
2. As an alternative use wget/curl or PowerShell to download the raw file (https://github.com/arendst/Sonoff-Tasmota/tree/master/tools/fw_efm8bb1) directly. **Select the newest available hex file. Otherwise you may get `error "Magic byte is not 0xE9"`**.
PowerShell example:
```
wget https://github.com/arendst/Sonoff-Tasmota/raw/master/tools/fw_efm8bb1/RF-Bridge-EFM8BB1-XXXXXXXX.hex -OutFile .\RF-Bridge-EFM8BB1-XXXXXXXX.hex
```
8. In the file selection dialog, navigate to the folder on your computer where you saved the hex file.
9. Hit **Start Upgrade**. The flashing should complete within 60 seconds. Device will restart after upgrade completes.
10. Disconnect wiring and put the ON/OFF switch on the board back to 'ON' to enable the RF again.
## Portisch Firmware Specific Usage
These sections only apply to the custom Portisch firmware.