Line 30: | Line 30: | ||
To set color units to R,G,B,W (0-255): | To set color units to R,G,B,W (0-255): | ||
SetOption17 1 | SetOption17 1 | ||
+ | To set color red: | ||
+ | color 255,0,0,0 | ||
+ | To set color green: | ||
+ | color 0,255,0,0 | ||
+ | To set color blue: | ||
+ | color 0,0,255,0 | ||
+ | To set color white: | ||
+ | color 0,0,0,255 | ||
Revision as of 08:52, 12 April 2020
Contents
Overview
Some useful command line options for devices running Tasmota firmware
Console
Open the device's webpage, and click the 'Console' button. At the console enter your commands. Commands are automatically saved and should survive a reboot.
MQTT
https://github.com/arendst/Tasmota/wiki/Commands#mqtt
Update Interval
To set the update interval / frequency at which the devices sends MQTT messages:
TelePeriod 30
0 = disable telemetry messages
1 = reset telemetry period to firmware default (TELE_PERIOD)
10..3600 = set telemetry period in seconds (default = 300)
SetOptions
https://github.com/arendst/Tasmota/wiki/commands#setoption-overview
Temperature Units
To set temperature units to Fahrenheit:
SetOption8 1
Color Values
To set color units to R,G,B,W (0-255):
SetOption17 1
To set color red:
color 255,0,0,0
To set color green:
color 0,255,0,0
To set color blue:
color 0,0,255,0
To set color white:
color 0,0,0,255
WiFi Manager
If you have a device that is physically difficult to get to, or difficult to flash (bulbs), you may want to enable the WiFi Manager. This will cause the device to switch to AP mode when it can't find a wireless network to connect to. When in AP mode, you can connect to it from another wireless device like a laptop or smart phone and change the network config.
WifiConfig 2