Sonoff B1 R2 is the replacement for Sonoff B1 and can be programmed the same way as the B1. See [here](https://github.com/arendst/Tasmota/issues/3347#issuecomment-413579744) for more background information.
Sonoff B1 uses hardware PWM (My92x1 chips) and has hardware Gamma correction. You need to disable software Gamma correction with `LedTable 0`, as included in the temmplate above.
## Serial Flashing
Please see the [Hardware Preparation](https://tasmota.github.io/docs/Getting-Started/#hardware-preparation) page for general instructions.
As always, you need to access the serial interface. First pop up the top part of the bulb with controlled force. The PCB as shown in the image will become visible.