Tasmota: Difference between revisions

From Leo's Notes
This page was last edited on 8 May 2021, at 07:57.
Created page with "<br /> == Formatting == {| class="wikitable" !Description !What you type !What you get |- | |%06X |0353C0 |- |last 4 digits of mac |%04d | |- |hostname |%s | |- |MQTT prefix..."
 
mNo edit summary
Line 1: Line 1:
<br />
<br />


== Formatting ==
==Formatting==
{| class="wikitable"
{| class="wikitable"
!Description
!Description
Line 28: Line 28:
|}
|}


== Configuration ==
==Configuration==
After a factory reset, you will need to configure its WiFi settings manually by connecting to the WifiManager created access point. After it connects to the proper network, connect to it again through a web browser and then set up:
After a factory reset, you will need to configure its WiFi settings manually by connecting to the WifiManager created access point. After it connects to the proper network, connect to it again through a web browser and then set up:


# The device template
#The device template. Remember to check off 'activate' or else the template won't get applied.
# MQTT. The host as <code>mqtt</code>, port as <code>1883</code>, topic as the device name, and the prefix as <code>tasmota/%topic%/</code>.
#MQTT. The host as <code>mqtt</code>, port as <code>1883</code>, topic as the device name, and the prefix as <code>tasmota/%topic%/</code>
 
**

Revision as of 07:57, 8 May 2021


Formatting

Description What you type What you get
%06X 0353C0
last 4 digits of mac %04d
hostname %s
MQTT prefix %prefix% One of: cmnd, stat, tele
MQTT topic %topic% User defined. Eg: WP5-1

Configuration

After a factory reset, you will need to configure its WiFi settings manually by connecting to the WifiManager created access point. After it connects to the proper network, connect to it again through a web browser and then set up:

  1. The device template. Remember to check off 'activate' or else the template won't get applied.
  2. MQTT. The host as mqtt, port as 1883, topic as the device name, and the prefix as tasmota/%topic%/