Configure - other - {“NAME”:“Athom Plug V2 -s”,“GPIO”:[0,0,0,3104,0,32,0,0,224,576,0,0,0,0],“FLAG”:0,“BASE”:18}

Restartovat jedno denně, nebo jednou za měsíc není snadné. Ale lze to. https://github.com/arendst/Tasmota/discussions/17792

Rule1 on StatusTIM#Local$|-01T01 do backlog power1 0; delay 300; power1 1 endon
Rule2 on Time#Minute=60 do backlog Status 7 endon
Rule1 1
Rule2 1
Rule1 on Time#Minute=60 do backlog event checkdate=%timestamp% endon 
      on event#checkdate$|-01T01 do backlog ping4 81.31.45.51 endon
Rule1 1
Pulsetime 130
PowerOnState 5

Kontrola pingu. https://tasmota.github.io/docs/Rules/#watchdog-for-wi-fi-router-or-modem

Rule1
  ON Time#Minute|3 DO backlog Ping4 192.168.1.10 ENDON
  ON Ping#192.168.1.10#Success==0 DO Backlog Power1 0; Delay 10; Power1 1; ENDON
Rule1 1

Rule1
  ON Time#Minute=1022 DO backlog Ping4 81.31.45.51 ENDON
  ON Ping#81.31.45.51#Success==0 DO Backlog Power1 0; Delay 30; Power1 1; ENDON
Rule1 1

Rule1
  ON Time#Minute=1022 DO backlog Ping4 81.31.45.51 ENDON
  ON Ping#81.31.45.51#Success==0 DO Backlog Power1 0; Delay 30; Power1 1; ENDON
Rule1 1

Můj příklad kdy se to resetuje jednou denně:

Rule1 on Time#Minute=60 do backlog event checkdate=%timestamp% endon 
      on event#checkdate$|T12 do backlog ping4 81.31.45.51 endon
      on Ping#81.31.45.51#Success==0 DO Backlog Power1 0; Delay 10; Power1 1; ENDON
Rule1 1

Rule1 on Time#Minute=60 do backlog event checkdate=%timestamp% endon 
      on event#checkdate$|T12 do backlog ping4 10.10.10.10 endon
      on Ping#10.10.10.10#Success==0 DO Backlog Power1 0; Delay 10; Power1 1; ENDON
Rule1 1

Rule1 on Time#Minute|3 do backlog event checkdate=%timestamp% endon 
      on event#checkdate$|T12 do backlog ping4 10.10.10.10 endon
      on Ping#10.10.10.10#Success==0 DO Backlog Power1 0; Delay 10; Power1 1; ENDON
Rule1 1

Rule1 on Time#Minute=60 do Backlog Power1 0; Delay 10; Power1 1; ENDON
Rule1 1
Pulsetime 130
PowerOnState 5

http://192.168.0.123/cs?

https://mqtt-explorer.com/

https://www.howtoforge.com/how-to-install-mosquitto-mqtt-message-broker-on-debian-11/

mosquitto_sub -h 89.185.255.57 -t “#” -p 51883 -u “user” -P “pass”

# - loguje všechno stat/+ - wilcard jen v rámci levelu.

 
tasmota.txt · Last modified: 2024/01/29 22:37 by root