NSPanel Documentation โ—† Icon overview GitHub Deutsch

Adapter installation and putting the panel into service

Only Tasmota is flashed by hand. Everything else is done by the adapter: it pushes the MQTT and Tasmota settings to the panel, installs the Berry driver and uploads the TFT firmware to the display. All the panel needs is an MQTT connection and internet access of its own.

Contents:

1. Prerequisites

IMPORTANT

Enable the HTTP API! Since Tasmota 15.4.0.2 it is off after flashing. The adapter transfers the settings via HTTP (http://<IP>/cm?cmnd=โ€ฆ) โ€” without the HTTP API the initialisation fails immediately. Enable it in the Tasmota web interface under Configuration โ†’ Configure Other โ†’ "HTTP API enable" or on the Tasmota console with SetOption128 1.

โš ๏ธ Was the panel connected to a different host before? Run reset 4 once on the Tasmota console so the old connection is forgotten. After restoring an ioBroker backup, delete the panels from the configuration and create them again โ€” the TLS certificates are regenerated, otherwise pairing fails.

2. Setting up the MQTT connection

Instance settings โ†’ tab MQTT server settings.

MQTT server settings

Save, then switch to the NSPanel settings tab.

3. Creating and initialising the panel

Instance settings โ†’ tab NSPanel settings.

NSPanel settings with the initialisation section

Fill in the NSPanel initialisation section:

Field Meaning
IP of ioBroker shown only when the built-in MQTT server is used: the address under which the panel reaches ioBroker
IP of the panel the panel's fixed IP on the network
Panel name (unique) free to choose, later used for the script and the states
MQTT topic (unique) the topic the panel publishes and listens on
NSPanel hardware model EU landscape, US portrait or US landscape
Time zone the panel's time zone

Then press NSPanel initialisation and confirm the prompt. โš ๏ธ At the end a dialog with "save" and "cancel" appears โ€” only "save" adds the panel to the configuration. After that it appears as a card in the list below โ€” with connection state, MAC address, IP, topic and model, plus a pencil to edit, a bin to delete and open Tasmota console to jump straight into the panel's web interface.

4. What the initialisation does

The admin reports the progress in three steps; the whole run takes about ten minutes, most of it for the TFT firmware.

Message What happens behind it
Step 1 of 3 done: MQTT credentials transferred, the panel has restarted The adapter writes the MQTT credentials into Tasmota and restarts it.
Step 2 of 3 done: basic settings and time zone transferred The remaining Tasmota options and the chosen time zone go to the panel.
Panel initialised successfully (step 3) The long one: fetch the version list, check the panel's internet access (it must reach raw.githubusercontent.com), install the Berry driver (the existing autoexec.be is kept as autoexec.old, Tasmota downloads the matching version itself via UrlFetch, followed by a restart), upload the TFT firmware (FlashNextionAdv0 with the .tft file for the model), create and start the scripts, activate the panel.

Every sub-step can be followed in the instance log. Once it is done, the panel shows the screensaver.

5. After the initialisation

6. When it does not work

Symptom Cause and remedy
Right after confirming the initialisation: Request to the panel failed, the log shows Error in nsPanelInit step 1 โ€ฆ TypeError: fetch failed Tasmota's HTTP API is off (default since Tasmota 15.4.0.2) โ†’ tick "HTTP API enable" under Configuration โ†’ Configure Other or run SetOption128 1 on the console, then initialise again. If that does not help: check the IP and whether the ioBroker host can reach the panel at all (different VLAN/subnet, firewall).
The panel does not connect to the broker It was attached to another host before โ†’ run reset 4 on the Tasmota console, then initialise again.
No connection after restoring an ioBroker backup Delete the panels from the configuration and create them again (the TLS certificates are regenerated).
The installation stalls at the Berry driver The panel has no internet access (DNS, firewall, guest Wi-Fi) โ€” the adapter checks this beforehand with a ping to raw.githubusercontent.com.
Message no download confirmation from Tasmota after the Berry install Tasmota did not fetch the file โ€” check internet access and, with a protected WebUI, the stored password, then repeat step 3.
Message TFT firmware version could not be determined online The adapter itself cannot reach the version list (internet or proxy on the ioBroker host).
The adapter cannot reach the Tasmota interface Enable use the Tasmota WebUI password in the MQTT server settings tab and store the password.
You want a test build of the TFT firmware The Global settings tab has the beta TFT switch. For testing only, leave it off in normal operation.
Versions in the Maintain tab stay at ??? The panel is not answering over MQTT โ€” check the connection, the topic and the power supply. After an adapter start it takes a moment for the values to arrive.
A panel should be removed completely The bin on the panel card removes the entry from the configuration. The device itself keeps its Tasmota settings โ€” to really wipe it, use the factory reset in tasmotaTools (expert mode).

Pitfalls

Questions: ioBroker forum or GitHub issues.


Source of this page: doc/en/Adapter-Installation.md ยท Project on GitHub

  Back to top