Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tasmota [2023/08/19 20:09] – [Sonoff RF Bridge] geraldtasmota [2024/04/10 19:27] (aktuell) – [PulseTime] gerald
Zeile 2: Zeile 2:
 ====== Tasmota ====== ====== Tasmota ======
  
 +
 +Achtung:
 +
 +Bei Tasmota ist das so, dass der jeweilige Schalter oder Taster (Switch/Button) **IMMER** das jeweilige Relais schaltet.  z.B. Wenn Switch 1 ODER Button1 betätigt wird, dann schaltet Relais1! Bei Switch2 das 2. Relai (wenn vorhanden).
 +Das kann nerven und einen in den Wahnsinn treiben, wenn man das nicht weiß. Abschalten lässt sich das mit:
 +
 +<code>
 +SetOption114 1
 +</code>
 +
 +
 +By default a switch toggles the corresponding power state (e.g., Switch1 controls Power1). Every time the switch gets flipped the power state of the relay toggles.
 +
 +Damit zusammenhängend:
 +
 +Ein Schalter wirs gar nicht via MQTT gemeldet (wenn nicht detached mit SetOption114 1). Wenn detached, gibt es eine 'RESULT = {"Switch1":{"Action":"OFF"}}'. Das versteht ha aber nicht und der Sensor wird erst geupdated, wenn das nächste SENSOR kommt (zeitgesteuert).Es dauert oft Minuten, bis der Schalter geupdated wird. 
 +
 +Daher: ((https://tasmota.github.io/docs/Buttons-and-Switches/#switchmode-15))
 +
 +With command <code>SwitchMode<x> 15</code> you can decouple Switch<x> from its power output and it will instead send MQTT messages in the following format:
 +
 +<code>
 +MQT: tele/tasmota/SENSOR = {"Time":"2021-01-01T00:00:00","Switch1":"OFF"}
 +MQT: tele/tasmota/SENSOR = {"Time":"2021-01-01T00:00:01","Switch1":"ON"}
 +You can globally change the status text with StateText command.
 +You can change the default "Switch1" text using SwitchText<x> command. For example: SwitchText1 Garage_Door_State
 +</code>
 +When Setoption114 1 is used together with SwitchMode<x> 15, Tasmota Integration in Home Assistant will create a binary sensor in HA using the Default text "String1" or the text mentioned in the SwitchText command.
 +
 +Dann erkennt ha die Änderungen am Schalter sofort.
 +
 +====== PulseTime ======
 +
 +[[https://github.com/arendst/Sonoff-Tasmota/wiki/Commands]]
 +
 +Relais nach X Sekunden wieder ausschalten
 +
 +
 +
 +PulseTime<x> Display the amount of PulseTime remaining on the corresponding Relay (enumerated)
 +
 +<value> Set the duration to keep the corresponding Relay ON when Power<x> ON command is issued. After this amount of time, the relay will be turned OFF.
 +
 +0 / OFF = disable use of PulseTime for the corresponding Relay
 +
 +1..111 = set PulseTime for the corresponding Relay in 0.1 second increments
 +
 +112..64900 = set PulseTime for the corresponding Relay, offset by 100, in 1 second increments. Add 100 to desired interval in seconds, e.g., PulseTime 113 = 13 seconds and PulseTime 460 = 6 minutes (i.e., 360 seconds)
 +
 +
 +
 +Weitere Beispiele für den Bereich 0,1 bis 11,1:
 +
 +Haltezeit von 3,7 Sekunden:
 +
 +<code>PulseTime1 37</code>
 +Haltezeit von 4,2 Sekunden:
 +
 +<code>PulseTime1 42</code>
 +PulseTime deaktiveren:
 +
 +<code>PulseTime1 0</code>
  
  
Zeile 37: Zeile 99:
 ==== Garage ==== ==== Garage ====
  
 +  * GND (Schwarz) 
 +  * GPIO 02
   * GPIO 12   * GPIO 12
   * GPIO 13   * GPIO 13
-  * GPIO 15 
  
 Pull-UP 10k Pull-UP 10k
Zeile 70: Zeile 132:
  
 An:  AA B0 21 03 08 0154 03DE 2896 28190819081818181819081818181818181818190819081908 55 An:  AA B0 21 03 08 0154 03DE 2896 28190819081818181819081818181818181818190819081908 55
 +
 +Topic:
 +<code>
 +cmnd/rf_tasmota_B29E24/RFsend
 +</code>
 +
 +
 +Funktioniert: 
 +an/aus
 +<code>
 +cmnd/rf_tasmota_B29E24/RFCode
 +
 +Payload:
 +#504014 (aus)
 +#504015 (an)
 +</code>
 +
 +==== Lüfter für Kühlschrank ====
 +
 +2er-Relais mit ESP & Tasmota
 +
 +=== Rohrdurchmesser ===
 +
 +
 +100mm
 +
 +Innendurchmesser: 101 mm
 +
 +Außendurchmeßer: 105 mm 
 +
 +Wandstärke 1,7 mm (1m lang)
 +
 +
 +
  
 
Nach oben
tasmota.1692475787.txt.gz · Zuletzt geändert: 2024/02/29 13:34 (Externe Bearbeitung)
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp