Skip to content

View mode customization

jziolkowski edited this page Oct 9, 2019 · 5 revisions

TDM provides 5 default views: Home, Health, Firmware, Wifi and MQTT

Currently there is no built-in editor for these (it's planned), but you can modify them to your preferences with minimal effort.

Open file tdm.cfg in a text editor. The file is located in your system user directory:

Windows:

C:\Users\<username>\TDM\tdm.cfg

Linux:

~/TDM/tdm.cfg

Section [General] contains a key views_order. It is a semi-colon separated list of view names. You can edit, remove or add your own, as long as at least one view is declared.

The columns displayed in each view are declared in [Views] section, using the syntax

<view name>=<column1>;<column2>;...;<columnN>

The keys and column names are case-sensitive.

The column names are exactly the same as these found in payloads of Tasmota commands like Status <x> or State.

Pending fix: The response to State command contains a sub-dictionary Wifi which currently is "flattened", thus rewriting the value of the PWM command Channel

Column "FriendlyName" is added internally as the first column.

In case you break something, simply remove view_order key and entire [Views] section; TDM will restore them to defaults.