arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.19k stars 4.81k forks source link

None of the events Http#Initialized, wifi#connected, mqtt#connected, Power1#Boot, Time#Initialized, Time#Minute triggers #16069

Closed achim42 closed 2 years ago

achim42 commented 2 years ago

I am not a beginner - run various SonOff, HikingDS238 and Shelly, flashed with Tasmota. All together with MQTT. But I have a strange problem with 2 Sonoff CH4 Pro. They report via MQTT and can also be controlled. But except for events of the type "ON Power1#state=1" (it works), no event is triggered. After hours of futile attempts, I completely reset a Sonoff 4CH Pro, set WiFi and MQTT again and defined a simple Rule1: Rule1 ON Http#Initialized DO Var4 4 ENDON ON wifi#connected DO Var4 4 ENDON ON mqtt#connected DO Var4 4 ENDON ON Power1#Boot DO Var4 4 ENDON ON Time#Initialized DO Var4 5 ENDON ON Time#Minute DO Var5 1 ENDON Rule1 1

Here is the log: 00:00:00.001 HDW: ESP8285 00:00:00.050 CFG: aus Flash geladen am F8, Anzahl 28 00:00:00.056 QPC: Count 1 00:00:00.058 CFG: CR 366/699, Busy 0 00:00:00.062 SRC: Restart 00:00:00.064 Projekt tasmota Tasmota Version 9.5.0(tasmota)-2_7_4_9(2021.06.17 08:28:30) 00:00:00.216 WIF: Prüfe Verbindung... 00:00:00.216 WIF: Verbindungsversuch... 00:00:00.552 WIF: verbinden mit AP1 ImpTest Channel 1 BSSId 44:4E:6D:2B:2B:2B in Modus 11n als tasmota_EAF5C4-5572... 00:00:01.752 WIF: Prüfe Verbindung... 00:00:01.753 WIF: verbunden 00:00:02.004 HTP: Web-Server aktiv bei tasmota_EAF5C4-5572 mit IP-Adresse 192.168.xxx.180 00:00:02.109 HTP: Hauptmenü 00:00:02.490 RTC: UTC 2022-07-24T20:27:50, DST 2022-03-27T02:00:00, STD 2022-10-30T03:00:00 21:27:51.027 MQT: Verbindungsversuch... 21:27:51.122 MQT: verbunden 21:27:51.125 MQT: tele/tasmota_EAF5C4/LWT = Online (beibehalten) 21:27:51.127 MQT: cmnd/tasmota_EAF5C4/POWER = 21:27:51.129 MQT: abonniere cmnd/tasmota_EAF5C4/# 21:27:51.132 MQT: abonniere cmnd/tasmotas/# 21:27:51.133 MQT: abonniere cmnd/DVES_EAF5C4_fb/# 21:27:51.135 MQT: löse abo. von homeassistant/status 21:27:51.141 MQT: tele/tasmota_EAF5C4/INFO1 = {"Info1":{"Module":"Sonoff 4CH Pro","Version":"9.5.0(tasmota)","FallbackTopic":"cmnd/DVES_EAF5C4_fb/","GroupTopic":"cmnd/tasmotas/"}} 21:27:51.156 MQT: tele/tasmota_EAF5C4/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"tasmota_EAF5C4-5572","IPAddress":"192.168.xxx.180"}} 21:27:51.167 MQT: tele/tasmota_EAF5C4/INFO3 = {"Info3":{"RestartReason":"Software/System restart"}} 21:27:51.174 MQT: stat/tasmota_EAF5C4/RESULT = {"POWER1":"ON"} 21:27:51.176 MQT: stat/tasmota_EAF5C4/POWER1 = ON 21:27:51.179 MQT: stat/tasmota_EAF5C4/RESULT = {"POWER2":"ON"} 21:27:51.185 MQT: stat/tasmota_EAF5C4/POWER2 = ON 21:27:51.190 MQT: stat/tasmota_EAF5C4/RESULT = {"POWER3":"ON"} 21:27:51.195 MQT: stat/tasmota_EAF5C4/POWER3 = ON 21:27:51.199 MQT: stat/tasmota_EAF5C4/RESULT = {"POWER4":"OFF"} 21:27:51.207 MQT: stat/tasmota_EAF5C4/POWER4 = OFF 21:27:52.843 HTP: Konsole 21:27:54.468 QPC: Reset 21:27:55.386 MQT: tele/tasmota_EAF5C4/STATE = {"Time":"2022-07-24T21:27:55","Uptime":"0T00:00:09","UptimeSec":9,"Heap":28,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"ON","POWER2":"ON","POWER3":"ON","POWER4":"OFF","Wifi":{"AP":1,"SSId":"ImpTest","BSSId":"44:4E:6D:2B:2B:2B","Channel":1,"Mode":"11n","RSSI":58,"Signal":-71,"LinkCount":1,"Downtime":"0T00:00:03"}} 21:27:56.397 APP: Anzahl Startvorgänge 12 21:27:56.622 CFG: in Flash gespeichert am F7, Anzahl 29, Bytes 4096 21:28:00.423 MQT: tasmota/discovery/C44F33EAF5C4/config = {"ip":"192.168.xxx.180","dn":"Tasmota","fn":["Tasmota","Tasmota2","Tasmota3","Tasmota4",null,null,null,null],"hn":"tasmota_EAF5C4-5572","mac":"C44F33EAF5C4","md":"Sonoff 4CH Pro","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.5.0","t":"tasmota_EAF5C4","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[1,1,1,1,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":0,"sho":[0,0,0,0],"ver":1} (beibehalten) 21:28:00.428 MQT: tasmota/discovery/C44F33EAF5C4/sensors = {"sn":{"Time":"2022-07-24T21:28:00"},"ver":1} (beibehalten) 21:28:09.790 WIF: Prüfe Verbindung... 21:28:13.323 CMD: Var4 21:28:13.325 SRC: WebConsole from 192.168.xxx.78 21:28:13.327 CMD: Grp 0, Cmnd 'VAR', Idx 4, Len 0, Data '' 21:28:13.333 MQT: stat/tasmota_EAF5C4/RESULT = {"Var4":""} 21:28:16.919 CMD: Var5 21:28:16.921 SRC: WebConsole from 192.168.xxx.78 21:28:16.923 CMD: Grp 0, Cmnd 'VAR', Idx 5, Len 0, Data '' 21:28:16.929 MQT: stat/tasmota_EAF5C4/RESULT = {"Var5":""} 21:28:22.160 CMD: Rule1 21:28:22.162 SRC: WebConsole from 192.168.xxx.78 21:28:22.165 CMD: Grp 0, Cmnd 'RULE', Idx 1, Len 0, Data '' 21:28:22.171 MQT: stat/tasmota_EAF5C4/RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":231,"Free":280,"Rules":"ON Http#Initialized DO Var4 4 ENDON ON .....

As you can see: No line with a "RUL" execution.

Apart from these simple commands, variants with delays or timers do not work either. Variants with defined ruletimerX work - as soon as they are started in the console or via a Power1#state=1 trigger. But never via the events listed at the beginning. By the way: event#myPing is also not triggered.

Any help is appreciated.

close-issue-app[bot] commented 2 years ago

This issue has been automatically closed because the PROBLEM REPORT TEMPLATE is missing or incomplete. Filling the template is required so standard questions don't need to be asked again each time. Our ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template with the requested information. The details requested potentially affect which options to pursue. The small amount of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce the time required to help you. Please, could you be so kind on completing the PROBLEM REPORT TEMPLATE in order to have more information so as to properly help you? Thank you for taking the time to report, hopefully it can be resolved soon. Docs for more information. Discussions for Questions, Feature Requests and Projects. Chat for more users experience.
Please check the Code of Conduct and the Contributing Guideline and Policy