With the TasmoAdmin add-on (formerly SonWEB), you will never have to assign a static IP to a new or existing Tasmota device or keep a note of which device is available at which IP.
What Is the TasmoAdmin Add-on?
TasmoAdmin is a Home Assistant Community add-on created by Franck Nijhof that you may install on your Home Assistant server to manage all your Sonoff-Tasmota devices via a centralized web interface. The add-on can automatically scan your wireless network, list all Tasmota devices with their IP addresses along, and display various other important information about the devices.
With TasmoAdmin on Home Assistant, you can:
Automatically scan and list Sonoff-Tasmota devices on your network Manage multiple sensors and switches Check the status of all devices, whether they are online/offline Configure or make changes to the devices from one single Web UI Update one or more devices with OTA simultaneously Automatically download the latest firmware
TasmoAdmin also comes with a responsive web UI and a night mode.
You can either purchase the Sonoff devices or flash the Tasmota firmware on ESP8266-based boards, such as D1 Mini or NodeMCU, to build your own smart devices and sensors from a private smart home, such as:
DIY Alexa-supported single-channel smart switch 5-channel SSR-based switch compatible with Alexa $10 Wireless IP Security Camera Smart-Motion Sensing Light Switch IR Blaster for Smart Home
Installing TasmoAdmin Add-on on Home Assistant Server
TasmoAdmin installation is quite straightforward if you have Home Assistant installed on a Raspberry Pi.
The steps are as follows:
Login to your Home Assistant server and go to Settings > Add-Ons and click the Add-on Store button. Search for “TasmoAdmin” in the search and then click on the “TasmoAdmin” add-on in search results. Click Install. After the installation, click Configuration and turn off the SSL toggle switch. Also, enable Start on boot and Watchdog if you want to start the add-on with Home Assistant server start-up. Click Start to start the add-on. Click Open Web UI. This will open a new browser tab and load the TasmoAdmin WebUI. Enter the username and password and click Register. Ensure using a strong username and password.
Remember the credentials as these will be required to login to TasmoAdmin and manage all Sonoff-Tasmota devices.
Add Sonoff-Tasmota Devices in TasmoAdmin
To add Sonoff-Tasmota devices on your network to TAsmoAdmin and manage them, login to TasmoAdmin and then follow these steps:
After login, click AutoScan. Enter the IP address range in From IP and To IP. Our network uses 192. 168. 0. 1 to 192. 168. 0. 255. Run the ipconfig or ifconfig command in Command Prompt or Terminal app on your Windows PC or Linux/macOS machine to know the local IP range. You may also check your routers DHCP settinsg to check the IP address range. If some of your Tasmota devices are secured with username and password, enter them. Click Start AutoScan. After the auto scan, it will list all the Sonoff-Tasmota devices connected to your network and list them as Device 1, Device 2, and so on. You can click on the Test button to test if they’re working. The button will toggle the device state. Once all Tasmota devices are listed, click Save All. This will add all the Sonoff-Tasmota devices found on your network. To access and manage all your Sonoff-Tasmota devices, click Devices > List. This will display all the devices added with their IP address, current state, Wi-Fi strength, and Runtime (uptime). If a device is not listed or you want to add a new Tasmota device to the list, click +Add Device, Enter the IP address and click Save. You may also run auto-scan again to automatically find and list newer devices.
Manage Sonoff-Tasmota Smart Devices
To view all information on the discovered and added devices, you can click the Detail View button. This will display additional information about the devices, such as hostname, Mac address, MQTT, PowerOn State, Led State, etc.
To manage these devices, you can click on the Edit icon. You can then change the name of the device and enable disable options, such as Protect from powering on and Protect from powering off.
If you click on the Config icon, you can edit the devices’ General, Network, and MQTT settings.
Under General Settings, you can edit or change FriendlyName (name that Alexa discovers), PowerOnState, LedState, and Sleep time.
In the Network configuration, you can change the devices’ Hostname, define static IP, and NTP server, and update or add the Wi-Fi SSID and password for secondary AP2.
Under MQTT, you will find advanced settings to configure the MQTT services.
After making the desired changes, you can click the Save button to save the changes.
To update the Sonoff-Tasmota devices, go to Devices > Update. Here you can select the firmware package or use the Automatic option to update the Tasmota firmware on your devices.
However, be careful as it can mess up your devices if the updates are not performed correctly.
And finally, under Settings, you can update the login credentials, enable or disable the OTA update, and log in.
Once all devices are configured, you can click on the TasmoAdmin home page logo at the top left to access and control all Sonoff-Tasmota smart devices from one single dashboard.
You can access the TasmoAdmin WebUI via the Home Assistant using the Open Web UI option or visit the Home Assistant IP address at port 9541 to access the TasmoAdmin dashboard or WebUI directly from any smartphone or PC web browser. For instance, http://192.168.1.111:9541 or http://homeassistant.local:9541.
Centralize All Sonoff-Tasmota Devices
If you are not using Home Assistant for smart home automation, you can also install the TasmoAdmin add-on on Windows, Linux, or Docker containers to centralize access control and manage Sonoff-Tasmota sensors or switches. However, the installation is a bit complex as it requires you to set up a web server or Docker on a Linux or Windows machine.
Alternatively, you may also install the Tasmota Device Manager tool on Windows to manage devices on your network.