Deploying Tasmota
Introduction
TasmoAdmin is a web-based administration tool for managing Tasmota-flashed IoT devices. Tasmota is popular open-source firmware for ESP8266/ESP32 devices, and TasmoAdmin provides a centralized dashboard for monitoring and controlling all your smart devices.
Key highlights of TasmoAdmin:
- Central Dashboard: Manage all Tasmota devices from one place
- Device Discovery: Automatic discovery of Tasmota devices on your network
- Bulk Actions: Perform actions on multiple devices simultaneously
- Firmware Updates: Update Tasmota firmware across devices
- Device Status: Monitor power consumption, uptime, and more
- Configuration Backup: Backup and restore device configurations
- Scheduling: Set timers and schedules for devices
- Grouping: Organize devices into groups
- Dark Mode: Easy on the eyes interface
- Self-Hosted: Complete control over your IoT management
This guide walks through deploying TasmoAdmin on Klutch.sh using Docker.
Why Deploy TasmoAdmin on Klutch.sh
Deploying TasmoAdmin on Klutch.sh provides several advantages:
Simplified Deployment: Klutch.sh automatically detects your Dockerfile and builds TasmoAdmin without complex orchestration.
Persistent Storage: Attach persistent volumes for device configurations.
HTTPS by Default: Secure access to your IoT dashboard from anywhere.
GitHub Integration: Connect your configuration repository for automatic redeployments.
Note: TasmoAdmin needs network access to your Tasmota devices. Consider VPN or network configuration for remote access to local devices.
Prerequisites
Before deploying TasmoAdmin on Klutch.sh, ensure you have:
- A Klutch.sh account
- A GitHub account with a repository for your TasmoAdmin configuration
- Basic familiarity with Docker and containerization concepts
- Tasmota devices on your network
Deploying TasmoAdmin on Klutch.sh
- Select HTTP as the traffic type
- Set the internal port to 80
Create Your Repository
Create a new GitHub repository with a Dockerfile for TasmoAdmin:
FROM ghcr.io/tasmoadmin/tasmoadmin:latest
ENV TZ=UTCENV PUID=1000ENV PGID=1000
EXPOSE 80
VOLUME ["/data"]Push to GitHub
Initialize and push your repository to GitHub with your Dockerfile.
Create a New Project on Klutch.sh
Navigate to the Klutch.sh dashboard and create a new project.
Create a New App
Within your project, create a new app and connect your GitHub repository.
Configure HTTP Traffic
In the deployment settings:
Set Environment Variables
Configure the following environment variables:
| Variable | Value |
|---|---|
TZ | Your timezone (e.g., America/New_York) |
PUID | 1000 |
PGID | 1000 |
Attach Persistent Volumes
Add the following volumes:
| Mount Path | Recommended Size | Purpose |
|---|---|---|
/data | 1 GB | Device data and configuration |
Deploy Your Application
Click Deploy to start the build process.
Access TasmoAdmin
Once deployment completes, access TasmoAdmin at your app URL.
Configuration
Adding Devices
Add Tasmota devices manually:
- Click Add Device
- Enter the device IP address
- Set device name (optional)
- Click Save
Auto-Discovery
Discover devices automatically:
- Navigate to Device Discovery
- Scan your network
- Add discovered devices
Note: Auto-discovery requires network access to your local network.
Device Groups
Organize devices into groups:
- Navigate to Groups
- Create a new group
- Add devices to the group
- Perform bulk actions on groups
Firmware Updates
Update Tasmota firmware:
- Select devices to update
- Choose firmware version
- Start the update process
- Monitor progress
Additional Resources
- Tasmota Documentation
- TasmoAdmin GitHub Repository
- Klutch.sh Persistent Volumes
- Klutch.sh Deployments
Conclusion
Deploying TasmoAdmin on Klutch.sh gives you a central dashboard for managing Tasmota IoT devices with automatic builds, persistent storage, and secure HTTPS access. Monitor and control your smart devices from anywhere.