# Self-host TasmoAdmin

> A web panel to manage and update many Tasmota smart home devices from one place.

- Page: https://levelrail.com/templates/tasmoadmin/
- JSON: https://levelrail.com/templates/tasmoadmin.json
- Category: Applications
- Licence: GPL-3.0-only (Copyleft license)
- Source: https://github.com/TasmoAdmin/TasmoAdmin
- Upstream docs: https://github.com/TasmoAdmin/TasmoAdmin

## Requirements
- Memory: about 128 MiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: v5.0.0

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| tasmoadmin | ghcr.io/tasmoadmin/tasmoadmin | v5.0.0 | 80 | data -> /data |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| tasmoadmin | TZ | preset |

## Deploy

### CLI

```bash
levelrail-cli templates install tasmoadmin --name my-tasmoadmin
```

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain tasmoadmin=app.example.com.

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/tasmoadmin/install \
  -d '{
    "name": "my-tasmoadmin"
  }'
```

Create a token in the dashboard first. Name, env and domains are the request fields.

## First run
1. Open the address and set the admin account on the first visit, then scan your network for devices.

## Questions

### Can I deploy TasmoAdmin on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for TasmoAdmin, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image ghcr.io/tasmoadmin/tasmoadmin:v5.0.0 is what you deploy there.

Self-host TasmoAdmin, TasmoAdmin docker compose file, deploy TasmoAdmin on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
