AZDelivery ESP8266-01S ESP-01: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 5: Zeile 5:
  
 
=Console=
 
=Console=
  SetOptions19 1
+
  SetOption19 1
 
<pre>
 
<pre>
 
Rule1
 
Rule1
Zeile 11: Zeile 11:
 
  on Power1#State=1 do SerialSend5 A00101A2 endon
 
  on Power1#State=1 do SerialSend5 A00101A2 endon
 
  on Power1#State=0 do SerialSend5 A00100A1 endon
 
  on Power1#State=0 do SerialSend5 A00100A1 endon
 +
 +
Rule1 1
 
</pre>
 
</pre>
  
Disable SerialLog (type seriallog 0 in the Tasmota console)
+
 
Add the following rules typing in the console:
 
Rule1
 
on System#Boot do Backlog Baudrate 9600; SerialSend5 0 endon
 
on Power1#State=1 do SerialSend5 A00101A2 endon
 
on Power1#State=0 do SerialSend5 A00100A1 endon
 
Enable the rule (type rule1 1 in the Tasmota console)
 
  
  
 
*https://www.loxwiki.eu/display/LOX/ESP8266-01+mit+Tasmota+Sonoff
 
*https://www.loxwiki.eu/display/LOX/ESP8266-01+mit+Tasmota+Sonoff

Aktuelle Version vom 25. Januar 2021, 08:47 Uhr

Single Relay

Esp-01-relay1.png


Console

SetOption19 1
Rule1
 on System#Boot do Backlog Baudrate 9600; SerialSend5 0 endon
 on Power1#State=1 do SerialSend5 A00101A2 endon
 on Power1#State=0 do SerialSend5 A00100A1 endon

Rule1 1