# Tasmota (+ PlatformIO)

**URL:** https://forum.ficusonline.com/t/topic/563
**Category:** Firmware
**Tags:** tasmota, esp8266, platformio, esp32
**Created:** [2026 年 7 月 10 日午後 10:29 UTC](https://forum.ficusonline.com/t/topic/563 "2026-07-10T22:29:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2026 年 7 月 10 日午後 10:29 UTC](https://forum.ficusonline.com/t/topic/563/1 "2026-07-10T22:29:20Z")

</div>

> **[GitHub - arendst/Tasmota: Alternative firmware for ESP8266 and ESP32 based...](https://github.com/arendst/tasmota)**
>
> Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at

ESP8266およびESP32ベースのデバイス向け代替ファームウェア。WebUIによる簡単な設定、OTAアップデート、タイマーやルールによる自動化、拡張性、そしてMQTT、HTTP、シリアル、KNXを介した完全なローカル制御に対応。PlatformIO向けに開発されています。

#### 機能セットによる違い(容量が少ない場合の節約用)

| 名前 | 内容 |
| --- | --- |
| `tasmota` | 標準、フル機能、英語UI |
| `tasmota-minimal` | 最小構成(主にOTA更新の踏み台用、実運用には基本使わない) |
| `tasmota-lite` | ルール/スクリプト機能などを省いた軽量版 |
| `tasmota-sensors` | 通常入っていない追加センサードライバを詰め込んだ版 |
| `tasmota-ir` | 赤外線リモコン機能特化版 |
| `tasmota-display` | ディスプレイ(OLED等)機能特化版 |
| `tasmota-zbbridge` / `tasmota-zigbee` | Zigbee連携デバイス専用(全く別用途) |

**4MBフラッシュがあれば容量的な制約はほぼ無い** ので、通常は標準の`tasmota`(または`tasmota-4M`)で全機能入りを使用。

#### 言語による違い(AD, AF, BG, BR, CN, CZ, DE…など)

これは **Web UIの表示言語違い** 。`DE`=ドイツ語、`FR`=フランス語、`CN`=中国語…のように、あらかじめその言語用にビルド済みのバージョン。1MB機では全言語を1つのファームに詰め込む余裕が無いため、言語ごとに別ファイルとして配布されています。

---

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2026 年 10 月 15 日午前 6:54 UTC](https://forum.ficusonline.com/t/topic/563/2 "2026-10-15T06:54:42Z")

</div>

**MQTT**

> **[MQTT - Tasmota](https://tasmota.github.io/docs/MQTT/)**
>
> Documentation (Wiki) for Tasmota

デバイスのUIから`Console`を選択すると、`Console`経由でデバイスを直接制御できます。  
トピックは `Information` の `MQTT Full Topic` から確認できます。

例）ステータス確認。`stat/...`をサブスクライブすることで、パブリッシュのフィードバックとして利用します。

```auto
cmnd/tasmota_switch/Power ← // an empty message/payload sends a status query
    ↳ stat/tasmota_switch/RESULT → {"POWER":"OFF"}  
    ↳ stat/tasmota_switch/POWER → OFF

```

**コマンド**

Topicのコマンド一覧

> **[Commands - Tasmota](https://tasmota.github.io/docs/Commands/)**
>
> Documentation (Wiki) for Tasmota

`cmnd/%topic%/<command>`

| Power | Control the corresponding power state (also restarts PulseTime)  
`0` / `off` / `false` = turn OFF  
`1` / `on` / `true` = turn ON  
`2` / `toggle` = if power state is `ON` switch to `OFF` and vice versa  
`3` / `blink` = toggle power for [BlinkCount](https://tasmota.github.io/docs/Commands/#blinkcount) times each [BlinkTime](https://tasmota.github.io/docs/Commands/#blinktime) duration (at the end of `blink`, power state is returned to pre-blink state)  
`4` / `blinkoff` = stop blink sequence and return power state to pre-blink state |
| --- | --- |

| Dimmer | `0..100` = set dimmer value from 0 to 100%  
`+` = increase by `DimmerStep` value _(default = `10`)_  
`+step` = increase by `step` value  
`-` = decrease by `DimmerStep` value _(default =`10`)_  
`-step` = decrease by `step`  
_Use of these parameters with `Fade` on enables dimmer level “move down,” “move up,” and “stop” commands_ ([#11269](https://github.com/arendst/Tasmota/pull/11269))  
`<` = decrease to 1  
`>` = increase to 100  
`!` = stop any dimmer fade in progress at current dimmer level |
| --- | --- |

cmndをstatに入れ替えて状態確認（サブスクライブトピックとし、パブリッシュのフィードバックとして利用）

```auto
cmnd/tasmota_xxxxxx/POWER 2
stat/tasmota_xxxxxx/RESULT = {"POWER":"ON"}
stat/tasmota_xxxxxx/POWER = ON
stat/tasmota_xxxxxx/Dimmer
stat/tasmota_xxxxxx/RESULT = {"Dimmer":50}

```

---

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2026 年 10 月 15 日午前 7:11 UTC](https://forum.ficusonline.com/t/topic/563/3 "2026-10-15T07:11:36Z")

</div>

### MQTT設定

> 注）ESP8266はMQTT/TLS接続はサポートされていないため、LAN限定で使用すること。

 ![Screenshot from 2026-10-15 13-08-04](https://forum.ficusonline.com/uploads/default/original/2X/7/7f3489558ce776498b89c918ad1adfa86f62e9c1.png)

### デバイステンプレート作成

LED照明デバイス：ESP8266+ロータリエンコーダ（スイッチ付）+PWM

テンプレート

 ![Screenshot from 2026-10-15 13-07-24](https://forum.ficusonline.com/uploads/default/original/2X/1/11cbaff3ace33ac62770d13e58ea374d4319d802.png)

テンプレートを選択

 ![Screenshot from 2026-10-15 13-07-45](https://forum.ficusonline.com/uploads/default/original/2X/8/816ba35d65287a42fb20e826596c71352ff29374.png)
