Skip to content

Commit a3f10bc

Browse files
committed
minor changes
1 parent 1f5ca4d commit a3f10bc

8 files changed

+9
-229
lines changed

Diff for: Components.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Components can be: buttons, switches, relays, LEDs, sensors, displays, MCU units
44

55
Every Tasmota device has some components configured by default. Most often there is a relay, a button and a LED configured as is the case for a Sonoff Basic in the following image.
66

7-
![Overview of a Template](/docs/_media/components.png ':size=150')
7+
![Overview of a Template](_media/components.png ':size=150')
88

99

1010
> GPIOs configured as User (255) are the GPIOs that can be assigned to components in the Configure Module page. See next image for an example!
1111
1212
## Assigning Components
1313
If you wish to expand a device with a [peripheral](Peripherals) component, after properly wiring everything, you need to assign it to a free GPIO in **Configure Module** page or use command [`GPIO<x>`](commands#gpio).
1414

15-
![GPIO Assign](/docs/_media/components2.png ':size=150')
15+
![GPIO Assign](_media/components2.png ':size=150')
1616

1717
Read more about [peripherals](Peripherals).
1818

Diff for: For-Developers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
### Maintained Tasmota forks with additional features:
66
[**Time Proportioned Output Fork**](Time-Proportioned-Output-support)
7-
[**PID Control Fork**](PID-Control-with-Sonoff-Devices)
7+
[**PID Control Fork**](PID-Control)

Diff for: New-device-page.md

-34
This file was deleted.
File renamed without changes.

Diff for: Peripherals.md

-90
This file was deleted.

Diff for: Peripherals.orig.md

-90
This file was deleted.

Diff for: Power-Retain-Configuration.md

-8
This file was deleted.

Diff for: PowerOnState-Configuration.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
If MQTT is defined and [`PowerRetain`](Commands#powerretain) is used the last state will be stored permanently in MQTT database.
44

5-
| | |
5+
|Command | Description |
66
|-|-|
77
[`PowerRetain`](Commands#powerretain) | Show current MQTT power retain state.<BR> `0` / `off` = disable MQTT power retain on status update *(default)* <BR> `1` / `on` = enable MQTT power retain on status update
88

9-
A message in your MQTT broker flagged as 'retained' will ***_always_ override the `PowerOnState`***. This is usually the cause for "ghost switching". Learn more in [MQTT retained messages explained](http://www.steves-internet-guide.com/mqtt-retained-messages-example/). Check out [this tutorial](https://www.youtube.com/watch?v=31IyfM1gygo) for troubleshooting switch ghosting.
9+
**BUT**, a message in your MQTT broker flagged as 'retained' will ***_always_ override the `PowerOnState`***.
1010

11-
### Clearing retained messages
11+
This is usually the main cause for "ghost switching". Learn more in [MQTT retained messages explained](http://www.steves-internet-guide.com/mqtt-retained-messages-example/). Check out [this tutorial](https://www.youtube.com/watch?v=31IyfM1gygo) for troubleshooting switch ghosting.
12+
13+
### Clearing Retained Messages
1214
To check, if there is a retain flag set for the switch's power topic, monitor `cmnd/+/power` in a MQTT client (recommended [MQTT.fx](https://mqttfx.jensd.de/) for Windows or [Eclipse Mosquitto](https://mosquitto.org/) in linux).
1315

1416
You can use [Tasmota Device Manager](https://github.com/jziolkowski/tdm) to clear all retained messages for selected device with a single click.
@@ -22,7 +24,7 @@ or use the following tutorials/forum threads:
2224

2325
## Predefined PowerOnState functionality
2426

25-
| | |
27+
| Command | Description |
2628
|-|-|
2729
|[`PowerOnState`](Commands#poweronstate) | Control relay state after _**powering up**_ the device.<BR> `0` / `OFF` = keep relay(s) OFF after power up <BR> `1` / `ON` = turn relay(s) ON after power up <BR> `2` / `TOGGLE` = toggle relay(s) from last saved state <BR> `3` = switch relay(s) to their last saved state *(default)* <BR> `4` = turn relay(s) ON and disable further relay control <BR> `5` = after a `PulseTime` period turn relay(s) ON (acts as inverted [`PulseTime`](Commands#pulsetime) mode)|
2830

0 commit comments

Comments
 (0)