What you need:
- FTDI adapter
- Sonoff NSPanel
- 5 pins of a pin header with 2.54 mm pitch
- 5 jumper/Dupont cables female/female, separable
- A little bit of courage, because we take no liability for damage caused by following this guide ;-)
IMPORTANT
Attention!
- This procedure cannot be undone!
- There is "no" known way back to the original firmware
To flash, either follow this video https://www.youtube.com/watch?v=uqPz08ZpFW8 ...
... or go by the description below:
The touch plate is held by only two screws that fix the plastic cover. Removing it reveals a well labelled board marked „E32-MSW-NX" and „NSPanel-EU".
The eye goes straight to the five pin holes at the bottom that we all like to see: 3V3, RX, TX, GND and IO0. Easy access for flashing! If you want to solder a pin header there permanently, take care to protect the other side with insulating tape to prevent a short circuit on the metal shielding. Soldering a pin header is not required as such.
Pin assignment for the FTDI adapter
- Set your serial adapter (FTDI) to 3.3 V
- Connect it to the pins GND, ESP_RX, ESP_TX and 3V3 on the board (marked yellow in the picture above).
- Make sure RX-TX are crossed between the NSPanel and the FTDI.
- Grab a Dupont cable and connect it between IO0 and one of the GND pins on the right (next to the 5V pins) to force the NSPanel to boot into flash mode.
- Apply a little pressure to the Dupont cables to ensure a good connection, then plug the FTDI into your computer.
You do not have to take the NSPanel completely apart to flash it. It is enough to carefully slide a check card or a business card under the five pins of the board to avoid a short circuit with the metal foil below the board on the housing.
Make sure that GPIO0 stays connected to ground during the whole flashing process.
Use the web installer - that is the quickest way - https://tasmota.github.io/install/
- Open the Tasmota Web Installer in Chrome or Edge, because the browser has to be able to connect to your serial device.
- Choose Tasmota32 Sonoff-NSPanel (English).
- Press „Connect".
- Select the serial device in the popup.
- Flash Tasmota.
Follow the instructions of the Tasmota web installer - after about 5 minutes your NSPanel is ready for live operation.
IMPORTANT
Afterwards, be sure to enable the HTTP API! Since Tasmota 15.4.0.2 the HTTP API is switched off after flashing. The adapter sets up the panel through exactly this interface (
http://<IP>/cm?cmnd=…) — without it the initialisation fails immediately with Request to the panel failed, and the log showsError in nsPanelInit step 1 … TypeError: fetch failed.Enable it in the Tasmota web interface under Configuration → Configure Other → "HTTP API enable" (tick, save) or on the Tasmota console with:
SetOption128 1
Continue with the adapter installation and putting the panel into service.