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.26k stars 4.81k forks source link

weblog >2 and syslog >2 generates a restart (at least with shelly2.5) #10164

Closed Bascht74 closed 3 years ago

Bascht74 commented 3 years ago

PROBLEM DESCRIPTION

If I use syslog 3 syslog 4 or mqttlog 3 or mqttlog 4 the device keeps restarting after a couple of seconds after rebooting until I chance the log level of syslog and/or mqttlog to 2, 1 or 0. weblog seems not to be affected by this, It works flawesly.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:

Rules output here: 18:16:21.794 CMD: Backlog Rule1; Rule2; Rule3 18:16:21.863 MQT: stat/tasmota_FB1089/RESULT = {"Rule1":"ON","Once":"OFF","StopOnError":"OFF","Length":168,"Free":343,"Rules":"ON Clock#Timer=1 DO ShutterOpen1 ENDON ON Clock#Timer=2 DO ShutterClose1 ENDON ON Clock#Timer=3 DO ShutterPosition 10 ENDON ON Clock#Timer=4 DO ShutterPosition 50 ENDON"} 18:16:22.076 MQT: stat/tasmota_FB1089/RESULT = {"Rule2":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":"18:16:22.289 MQT: stat/tasmota_FB1089/RESULT = {"Rule3":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}

- [ ] Provide the output of this command: `Status 0`:

STATUS 0 output here: 18:16:57.466 CMD: Status 0 18:16:57.475 MQT: stat/tasmota_FB1089/STATUS = {"Status":{"Module":0,"DeviceName":"ShellySwitch25-Rollo.EG.Wohnzimmer.Terrasse","FriendlyName":["Rollo.EG.Wohnzimmer.Terrasse","Tasmota2"],"Topic":"tasmota_FB1089","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} 18:16:57.511 MQT: stat/tasmota_FB1089/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/tasmota-DE.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:02:02","StartupUTC":"2020-12-17T17:14:55","Sleep":50,"CfgHolder":4617,"BootCount":13,"BCResetTime":"2020-12-17T02:17:05","SaveCount":558,"SaveAddress":"F7000"}} 18:16:57.546 MQT: stat/tasmota_FB1089/STATUS2 = {"StatusFWR":{"Version":"9.2.0.1(tasmota)","BuildDateTime":"2020.12.17 15:44:44","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"582/699"}} 18:16:57.565 MQT: stat/tasmota_FB1089/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Qar5tz09e589mn05a0",""],"TelePeriod":300,"Resolution":"558180F0","SetOption":["0000C009","0105C80001000600003C5A00000000000000","400000C1","00006000","00000000"]}} 18:16:57.597 MQT: stat/tasmota_FB1089/STATUS4 = {"StatusMEM":{"ProgramSize":587,"Free":416,"Heap":24,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"1540C8","FlashFrequency":40,"FlashMode":3,"Features":["00000407","8FDAC787","04368001","000000CF","010013C0","C000F981","00004004","00001000"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45","Sensors":"1,2,3,4,5,6"}} 18:16:57.629 MQT: stat/tasmota_FB1089/STATUS5 = {"StatusNET":{"Hostname":"Rollo.EG.Wohnzimmer.Terrasse","IPAddress":"192.168.175.42","Gateway":"192.168.175.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.175.1","Mac":"68:C6:3A:FB:10:89","Webserver":2,"WifiConfig":4,"WifiPower":17.0}} 18:16:57.654 MQT: stat/tasmotaFB1089/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.175.214","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_FB1089","MqttUser":"mqtt","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}} 18:16:57.679 MQT: stat/tasmota_FB1089/STATUS7 = {"StatusTIM":{"UTC":"2020-12-17T17:16:57","Local":"2020-12-17T18:16:57","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+01:00","Sunrise":"08:16","Sunset":"16:18"}} 18:16:57.697 MQT: stat/tasmota_FB1089/STATUS9 = {"StatusPTH":{"PowerDelta":[0,0,0],"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 18:16:57.716 MQT: stat/tasmota_FB1089/STATUS10 = {"StatusSNS":{"Time":"2020-12-17T18:16:57.708","ANALOG":{"Temperature":58.6},"ENERGY":{"TotalStartTime":"2020-12-09T09:59:34","Total":0.021,"Yesterday":0.006,"Today":0.005,"Power":[0,0],"ApparentPower":[0,0],"ReactivePower":[0,0],"Factor":[0.00,0.00],"Voltage":0,"Current":[0.000,0.000]},"Shutter1":{"Position":50,"Direction":0,"Target":50},"TempUnit":"C"}} 18:16:57.749 MQT: stat/tasmota_FB1089/STATUS11 = {"StatusSTS":{"Time":"2020-12-17T18:16:57.744","Uptime":"0T00:02:02","UptimeSec":122,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Qar5tz09e589mn05a0","BSSId":"E0:63:DA:53:3C:3E","Channel":11,"RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:17"}}} 18:16:57.782 MQT: stat/tasmota_FB1089/STATUS13 = {"StatusSHT":{"SHT0":{"Relay1":1,"Relay2":2,"Open":304,"Close":282,"50perc":65,"Delay":0,"Opt":"0100","Calib":[1830,425,4085,900,1000],"Mode":"0"}}}

- [ ] Provide the output of the Console log output when you experience your issue; if applicable:
  _(Please use_ `weblog 4` _for more debug information)_

Console output here:

18:17:41.041 CMD: weblog 4 18:17:41.048 MQT: stat/tasmota_FB1089/RESULT = {"WebLog":4} 18:17:41.244 CFG: in Flash gespeichert am F6, zählen 559, Bytes 4096 18:17:41.259 ADE: 6074231, 4475, [1773, -1, 641, 5], [1773, 7, 641, -2] 18:17:41.261 ADE: U 6074231, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:42.208 ADE: 6074445, 4475, [1773, -35, 642, 11], [1773, -51, 641, -2] 18:17:42.211 ADE: U 6074445, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:43.208 ADE: 6073737, 4475, [1773, 2, 641, 75], [1773, -9, 641, 24] 18:17:43.211 ADE: U 6073737, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:44.204 ADE: 6073041, 4475, [1773, -49, 641, 22], [1773, -10, 641, 8] 18:17:44.206 ADE: U 6073041, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:45.211 ADE: 6073658, 4475, [1773, 37, 641, 10], [1773, -8, 641, 4] 18:17:45.213 ADE: U 6073658, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:46.208 ADE: 6071154, 4475, [1773, -46, 641, 14], [1773, -11, 641, -19] 18:17:46.211 ADE: U 6071154, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:47.206 ADE: 6069117, 4475, [1773, 45, 641, 63], [1773, -34, 641, 3] 18:17:47.209 ADE: U 6069117, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:48.209 ADE: 6061200, 4475, [1773, 15, 640, -29], [1773, 9, 640, -7] 18:17:48.212 ADE: U 6061200, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:48.622 CMD: mqttlog 2 18:17:48.625 SRC: WebConsole from 192.168.175.172 18:17:48.628 CMD: Gruppe 0, Index 1, Befehl "MQTTLOG", Daten "2" 18:17:48.634 MQT: stat/tasmota_FB1089/RESULT = {"MqttLog":2} 18:17:49.208 ADE: 6062474, 4475, [1773, -16, 640, 41], [1773, 23, 640, 32] 18:17:49.211 ADE: U 6062474, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:49.303 CFG: in Flash gespeichert am F5, zählen 560, Bytes 4096 18:17:50.207 ADE: 6070897, 4475, [1773, -10, 641, -2], [1773, -8, 641, 2] 18:17:50.210 ADE: U 6070897, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:51.208 ADE: 6072329, 4475, [1773, 47, 641, 42], [1773, 31, 641, -3] 18:17:51.211 ADE: U 6072329, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:52.212 ADE: 6074881, 4475, [1773, -22, 641, 26], [1773, -21, 641, 11] 18:17:52.215 ADE: U 6074881, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:53.208 ADE: 6071452, 4474, [1773, 20, 641, 27], [1773, -8, 641, -13] 18:17:53.211 ADE: U 6071452, C 4474, I 0 + 0 = 0, P 0 + 0 = 0 18:17:54.229 ADE: 6069769, 4475, [1773, 15, 641, -24], [1773, -5, 641, 8] 18:17:54.231 ADE: U 6069769, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:54.456 WIF: Prüfe Verbindung... 18:17:55.208 ADE: 6072398, 4475, [1773, -23, 641, -7], [1773, -22, 641, 8] 18:17:55.211 ADE: U 6072398, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:56.208 ADE: 6069169, 4475, [1773, 30, 641, 44], [1773, 0, 641, 28] 18:17:56.211 ADE: U 6069169, C 4475, I 0 + 0 = 0, P 0 + 0 = 0 18:17:57.208 ADE: 6070287, 4474, [1773, -8, 641, -25], [1773, -4, 641, -31] 18:17:57.211 ADE: U 6070287, C 4474, I 0 + 0 = 0, P 0 + 0 = 0 18:17:57.247 WIF: Sending Gratuitous ARP 18:17:57.443 CMD: mqttlog 4 18:17:57.448 SRC: WebConsole from 192.168.175.172 18:17:57.451 CMD: Gruppe 0, Index 1, Befehl "MQTTLOG", Daten "4" 18:17:57.458 MQT: stat/tasmota_FB1089/RESULT = {"MqttLog":4} 00:00:04.298 WIF: Network 9, AP-, SSId Lotz_Gast, Channel 6, BSSId E2:63:DA:23:86:0A, RSSI -74, Encryption 0 00:00:04.299 WIF: Network 10, AP-, SSId FRITZ!Box 7490, Channel 1, BSSId 7C:FF:4D:A4:3A:E6, RSSI -87, Encryption 1 00:00:04.301 WIF: Network 11, AP-, SSId FRITZ!Box Roehn 7490, Channel 11, BSSId 08:96:D7:F4:87:77, RSSI -83, Encryption 1 00:00:04.303 WIF: Network 12, AP1, SSId Qar5tz09e589mn05a0, Channel 11, BSSId E0:63:DA:53:3C:3E, RSSI -45, Encryption 1 00:00:04.305 WIF: Network 13, AP-, SSId Lotz_Gast, Channel 11, BSSId E2:63:DA:23:3C:3E, RSSI -42, Encryption 0 00:00:04.643 WIF: verbinden mit AP1 Qar5tz09e589mn05a0 Channel 11 BSSId E0:63:DA:53:3C:3E in Modus 11n als Rollo.EG.Wohnzimmer.Terrasse... 00:00:04.646 WIF: Prüfe Verbindung... 00:00:04.648 WIF: Verbindungsversuch... 00:00:05.209 ADE: 6060273, 4477, [1773, 8, 639, 41], [1773, 11, 639, -8] 00:00:05.211 ADE: U 6060273, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:05.901 WIF: Prüfe Verbindung... 00:00:05.903 WIF: Verbindungsversuch... 00:00:06.234 QPC: Reset 00:00:06.247 ADE: 6064852, 4477, [1773, 10, 640, 81], [1773, -22, 640, 33] 00:00:06.249 ADE: U 6064852, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:06.913 WIF: Prüfe Verbindung... 00:00:06.915 WIF: Verbindungsversuch... 00:00:07.209 ADE: 6065076, 4477, [1773, -26, 640, 58], [1773, 11, 640, -14] 00:00:07.211 ADE: U 6065076, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:07.902 WIF: Prüfe Verbindung... 00:00:07.905 WIF: Verbindungsversuch... 00:00:08.208 ADE: 6067065, 4477, [1773, -36, 640, 57], [1773, -20, 640, 24] 00:00:08.211 ADE: U 6067065, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:08.227 APP: Anzahl Startvorgänge 15 00:00:08.751 CFG: in Flash gespeichert am F8, zählen 565, Bytes 4096 00:00:08.894 WIF: Prüfe Verbindung... 00:00:08.897 WIF: Verbindungsversuch... 00:00:09.209 ADE: 6067854, 4477, [1773, -25, 641, 16], [1773, -21, 640, 13] 00:00:09.212 ADE: U 6067854, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:09.941 WIF: Prüfe Verbindung... 00:00:09.943 WIF: Verbindungsversuch... 00:00:10.209 ADE: 6065754, 4477, [1773, 9, 640, 27], [1773, 6, 640, 4] 00:00:10.212 ADE: U 6065754, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:10.919 WIF: Prüfe Verbindung... 00:00:10.922 WIF: Verbindungsversuch... 00:00:11.209 ADE: 6065351, 4477, [1773, -8, 640, 31], [1773, 10, 640, 8] 00:00:11.211 ADE: U 6065351, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:11.913 WIF: Prüfe Verbindung... 00:00:11.915 WIF: Verbindung fehlgeschlagen, da der AP nicht antwortet (timeout) 00:00:12.209 ADE: 6064987, 4477, [1773, 36, 640, 31], [1773, -4, 640, -2] 00:00:12.212 ADE: U 6064987, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:12.711 CFG: in Flash gespeichert am F7, zählen 566, Bytes 4096 00:00:12.905 WIF: Prüfe Verbindung... 00:00:12.908 WIF: Verbindungsversuch... 00:00:13.209 ADE: 6065855, 4477, [1773, -34, 641, 32], [1773, -2, 640, -2] 00:00:13.212 ADE: U 6065855, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:13.906 WIF: Prüfe Verbindung... 00:00:13.909 WIF: Verbindungsversuch... 00:00:14.209 ADE: 6068229, 4477, [1773, -63, 641, 55], [1773, 2, 641, -25] 00:00:14.212 ADE: U 6068229, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:14.907 WIF: Prüfe Verbindung... 00:00:14.909 WIF: Verbindungsversuch... 00:00:15.209 ADE: 6067624, 4477, [1773, 31, 641, 36], [1773, 14, 641, 4] 00:00:15.212 ADE: U 6067624, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:15.914 WIF: Prüfe Verbindung... 00:00:15.917 WIF: verbunden 00:00:16.192 HTP: Web-Server aktiv bei Rollo.EG.Wohnzimmer.Terrasse mit IP-Adresse 192.168.175.42 00:00:16.195 WIF: Sending Gratuitous ARP 00:00:16.209 ADE: 6069194, 4476, [1773, -17, 641, 42], [1773, -22, 641, -9] 00:00:16.212 ADE: U 6069194, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:17.209 ADE: 6068302, 4476, [1773, 2, 641, 108], [1773, -8, 641, -11] 00:00:17.212 ADE: U 6068302, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:17.235 NTP: No reply 18:19:20.112 RTC: UTC 2020-12-17T17:19:20, DST 2020-03-29T02:00:00, STD 2020-10-25T03:00:00 18:19:20.335 CFG: in Flash gespeichert am F6, zählen 567, Bytes 4096

[...] after some restarts... 00:00:04.285 WIF: Network 7, AP-, SSId Lotz_Gast, Channel 6, BSSId E2:63:DA:23:86:0A, RSSI -72, Encryption 0 00:00:04.287 WIF: Network 8, AP1, SSId Qar5tz09e589mn05a0, Channel 6, BSSId E0:63:DA:53:86:8A, RSSI -69, Encryption 1 00:00:04.288 WIF: Network 9, AP-, SSId mobilvl, Channel 6, BSSId 02:A0:57:51:F4:D1, RSSI -89, Encryption 0 00:00:04.290 WIF: Network 10, AP-, SSId FRITZ!Box Roehn 7490, Channel 11, BSSId 08:96:D7:F4:87:77, RSSI -84, Encryption 1 00:00:04.292 WIF: Network 11, AP1, SSId Qar5tz09e589mn05a0, Channel 11, BSSId E0:63:DA:53:3C:3E, RSSI -45, Encryption 1 00:00:04.293 WIF: Network 12, AP-, SSId Lotz_Gast, Channel 11, BSSId E2:63:DA:23:3C:3E, RSSI -42, Encryption 0 00:00:04.631 WIF: verbinden mit AP1 Qar5tz09e589mn05a0 Channel 11 BSSId E0:63:DA:53:3C:3E in Modus 11n als Rollo.EG.Wohnzimmer.Terrasse... 00:00:04.635 WIF: Prüfe Verbindung... 00:00:04.636 WIF: Verbindungsversuch... 00:00:05.209 ADE: 6081294, 4476, [1773, 36, 642, 60], [1773, -22, 642, 7] 00:00:05.211 ADE: U 6081294, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:05.929 WIF: Prüfe Verbindung... 00:00:05.931 WIF: Verbindungsversuch... 00:00:06.235 QPC: Reset 00:00:06.249 ADE: 6081693, 4476, [1773, -13, 642, -48], [1773, 5, 642, 25] 00:00:06.251 ADE: U 6081693, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:06.913 WIF: Prüfe Verbindung... 00:00:06.915 WIF: Verbindungsversuch... 00:00:07.209 ADE: 6080227, 4476, [1773, 17, 642, 85], [1773, -19, 642, 3] 00:00:07.211 ADE: U 6080227, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:07.910 WIF: Prüfe Verbindung... 00:00:07.913 WIF: Verbindungsversuch... 00:00:08.209 ADE: 6071648, 4476, [1773, 21, 641, 66], [1773, 1, 641, -1] 00:00:08.211 ADE: U 6071648, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:08.235 APP: Anzahl Startvorgänge 19 00:00:08.716 CFG: in Flash gespeichert am F6, zählen 575, Bytes 4096 00:00:08.915 WIF: Prüfe Verbindung... 00:00:08.918 WIF: Verbindungsversuch... 00:00:09.209 ADE: 6071978, 4476, [1773, -23, 641, 47], [1773, -12, 641, 9] 00:00:09.212 ADE: U 6071978, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:09.913 WIF: Prüfe Verbindung... 00:00:09.916 WIF: Verbindungsversuch... 00:00:10.208 ADE: 6073538, 4476, [1773, -29, 641, -9], [1773, -1, 641, -17] 00:00:10.210 ADE: U 6073538, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:10.904 WIF: Prüfe Verbindung... 00:00:10.907 WIF: Verbindungsversuch... 00:00:11.208 ADE: 6073458, 4477, [1773, -30, 641, 15], [1773, 17, 641, 2] 00:00:11.211 ADE: U 6073458, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:11.901 WIF: Prüfe Verbindung... 00:00:11.904 WIF: Verbindung fehlgeschlagen, da der AP nicht antwortet (timeout) 00:00:12.208 ADE: 6074259, 4477, [1773, -20, 641, -33], [1773, 18, 641, -10] 00:00:12.211 ADE: U 6074259, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:12.750 CFG: in Flash gespeichert am F5, zählen 576, Bytes 4096 00:00:12.892 WIF: Prüfe Verbindung... 00:00:12.895 WIF: Verbindungsversuch... 00:00:13.208 ADE: 6085401, 4476, [1773, -73, 642, 39], [1773, -23, 642, 37] 00:00:13.211 ADE: U 6085401, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 00:00:13.938 WIF: Prüfe Verbindung... 00:00:13.941 WIF: Verbindungsversuch... 00:00:14.208 ADE: 6089708, 4477, [1773, 2, 643, 22], [1773, 5, 643, -10] 00:00:14.211 ADE: U 6089708, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:14.913 WIF: Prüfe Verbindung... 00:00:14.916 WIF: Verbindungsversuch... 00:00:15.209 ADE: 6088944, 4477, [1773, 23, 642, 73], [1773, -23, 643, 7] 00:00:15.212 ADE: U 6088944, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:15.923 WIF: Prüfe Verbindung... 00:00:15.926 WIF: verbunden 00:00:16.203 HTP: Web-Server aktiv bei Rollo.EG.Wohnzimmer.Terrasse mit IP-Adresse 192.168.175.42 00:00:16.206 WIF: Sending Gratuitous ARP 00:00:16.219 ADE: 6075320, 4476, [1773, 16, 641, 24], [1773, -34, 641, 18] 00:00:16.222 ADE: U 6075320, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 18:20:36.022 RTC: UTC 2020-12-17T17:20:36, DST 2020-03-29T02:00:00, STD 2020-10-25T03:00:00 18:20:36.119 HTP: Konsole 00:00:00.049 CFG: aus Flash geladen am F6, zählen 583 00:00:00.054 QPC: Count 1 00:00:00.059 CFG: CR 582/699, Busy 0 00:00:00.161 I2C: ADE7953 gefunden bei 0x38 00:00:00.162 SHT: mode undef.. calculate... 00:00:00.162 SHT1: Init. Pos: 395500,inverted 0, locked 0, end stop time enabled 1, webButtons inverted 0 00:00:00.163 SRC: Restart 00:00:00.164 SHT: Switched relay: 0 by Restart 00:00:00.165 SHT: Shutter 1: source: Restart, powerstate_local 0, ShutterGlobal.RelayCurrentMask 0, manual change 0 00:00:00.166 Projekt tasmota ShellySwitch25-Rollo.EG.Wohnzimmer.Terrasse Version 9.2.0.1(tasmota)-2_7_4_9(2020.12.17 15:44:44) 00:00:00.474 WIF: Prüfe Verbindung... 00:00:00.475 WIF: Verbindungsversuch... 00:00:01.288 WIF: Network (re)scan started... 00:00:01.289 WIF: Prüfe Verbindung... 00:00:01.290 WIF: Verbindungsversuch... 00:00:02.284 WIF: Prüfe Verbindung... 00:00:02.285 WIF: Verbindungsversuch... 00:00:03.009 ADE: 6064636, 4477, [1773, -40, 640, 52], [1773, -4, 640, 5] 00:00:03.010 ADE: U 6064636, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:03.284 WIF: Prüfe Verbindung... 00:00:03.285 WIF: Verbindungsversuch... 00:00:04.009 ADE: 6072957, 4477, [1773, -16, 641, 25], [1773, -12, 641, -19] 00:00:04.010 ADE: U 6072957, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 00:00:04.278 WIF: Network 0, AP-, SSId FRITZ!Box 7490, Channel 1, BSSId CC:CE:1E:68:87:4F, RSSI -82, Encryption 1 00:00:04.279 WIF: Network 1, AP-, SSId WLAN-22X57J, Channel 1, BSSId 9C:C1:72:16:FF:66, RSSI -76, Encryption 1 00:00:04.280 WIF: Network 2, AP-, SSId VINS WLAN, Channel 1, BSSId E8:DF:70:85:33:30, RSSI -73, Encryption 1 00:00:04.282 WIF: Network 3, AP-, SSId FRITZ!Box 7490, Channel 1, BSSId 38:10:D5:32:0A:86, RSSI -87, Encryption 1 00:00:04.283 WIF: Network 4, AP-, SSId FRITZ!Powerline 540E, Channel 1, BSSId 5C:49:79:E5:25:9A, RSSI -85, Encryption 1 00:00:04.284 WIF: Network 5, AP-, SSId Lotz_Gast, Channel 6, BSSId E2:63:DA:23:86:0A, RSSI -71, Encryption 0 00:00:04.286 WIF: Network 6, AP1, SSId Qar5tz09e589mn05a0, Channel 6, BSSId E0:63:DA:53:86:8A, RSSI -69, Encryption 1 00:00:04.287 WIF: Network 7, AP-, SSId Lotz_Gast, Channel 6, BSSId E2:63:DA:23:86:8A, RSSI -70, Encryption 0 00:00:04.288 WIF: Network 8, AP-, SSId FRITZ!Box 7490, Channel 1, BSSId 7C:FF:4D:A4:3A:E6, RSSI -89, Encryption 1 00:00:04.290 WIF: Network 9, AP-, SSId FRITZ!Box Roehn 7490, Channel 11, BSSId 08:96:D7:F4:87:77, RSSI -84, Encryption 1 00:00:04.292 WIF: Network 10, AP1, SSId Qar5tz09e589mn05a0, Channel 11, BSSId E0:63:DA:53:3C:3E, RSSI -45, Encryption 1 00:00:04.293 WIF: Network 11, AP-, SSId Lotz_Gast, Channel 11, BSSId E2:63:DA:23:3C:3E, RSSI -42, Encryption 0 00:00:04.631 WIF: verbinden mit AP1 Qar5tz09e589mn05a0 Channel 11 BSSId E0:63:DA:53:3C:3E in Modus 11n als Rollo.EG.Wohnzimmer.Terrasse... 00:00:04.634 WIF: Prüfe Verbindung... 00:00:04.636 WIF: Verbindungsversuch... 00:00:05.209 ADE: 6079787, 4478, [1773, -53, 642, 29], [1773, -11, 642, 22] 00:00:05.211 ADE: U 6079787, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 00:00:05.924 WIF: Prüfe Verbindung... 00:00:05.926 WIF: Verbindungsversuch... 00:00:06.234 QPC: Reset 00:00:06.247 ADE: 6079650, 4478, [1773, -57, 642, 24], [1773, 23, 642, 6] 00:00:06.249 ADE: U 6079650, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 00:00:06.913 WIF: Prüfe Verbindung... 00:00:06.916 WIF: verbunden 00:00:07.192 HTP: Web-Server aktiv bei Rollo.EG.Wohnzimmer.Terrasse mit IP-Adresse 192.168.175.42 00:00:07.195 WIF: Sending Gratuitous ARP 00:00:07.209 ADE: 6081889, 4478, [1773, -19, 642, 55], [1773, 14, 642, 19] 00:00:07.211 ADE: U 6081889, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:29.022 RTC: UTC 2020-12-17T17:21:29, DST 2020-03-29T02:00:00, STD 2020-10-25T03:00:00 18:21:29.582 CMD: mqttlog 0 18:21:29.585 SRC: WebConsole from 192.168.175.172 18:21:29.588 CMD: Gruppe 0, Index 1, Befehl "MQTTLOG", Daten "0" 18:21:29.592 RSL: stat/tasmota_FB1089/RESULT = {"MqttLog":0} 18:21:31.383 MQT: stat/tasmota_FB1089/RESULT = {"GPIOs6":{"4800":"ADC Button","4832":"ADC Button_i","4864":"ADC Range","4896":"ADC CT Power","4928":"OpenTherm RX","4960":"OpenTherm TX","4992":"WindMeter Spd","5024":"Button_tc","5056":"BL0940 Rx","5088":"TCP Tx","5120":"TCP Rx","5152":"TInfo Rx","5184":"TInfo EN","5216":"LMT01 Pulse","5248":"iEM3000 TX","5280":"iEM3000 RX","5312":"Zigbee Rst","5344":"DYP Rx","5376":"MiEl HVAC Tx","5408":"MiEl HVAC Rx","5440":"WE517 Tx","5472":"WE517 Rx","5504":"AS608 Tx","5536":"AS608 Rx","5568":"SHD Boot 0","5600":"SHD Reset","5632":"RC522 Rst","5664":"P9813 Clk"}} 18:21:31.433 MQT: stat/tasmota_FB1089/RESULT = {"GPIOs7":{"5696":"P9813 Dat"}} 18:21:31.445 MQT: Datengröße 0, "cmnd/tasmota_FB1089/switchdebounce " 18:21:31.448 SRC: MQTT 18:21:31.452 CMD: Gruppe 0, Index 1, Befehl "SWITCHDEBOUNCE", Daten "" 18:21:31.456 MQT: stat/tasmota_FB1089/RESULT = {"SwitchDebounce":50} 18:21:31.498 MQT: Datengröße 0, "cmnd/tasmota_FB1089/blinktime " 18:21:31.501 SRC: MQTT 18:21:31.503 CMD: Gruppe 0, Index 1, Befehl "BLINKTIME", Daten "" 18:21:31.508 MQT: stat/tasmota_FB1089/RESULT = {"BlinkTime":10} 18:21:31.548 MQT: Datengröße 0, "cmnd/tasmota_FB1089/mqttlog " 18:21:31.551 SRC: MQTT 18:21:31.553 CMD: Gruppe 0, Index 1, Befehl "MQTTLOG", Daten "" 18:21:31.559 MQT: stat/tasmota_FB1089/RESULT = {"MqttLog":0} 18:21:31.599 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime2 " 18:21:31.601 SRC: MQTT 18:21:31.604 CMD: Gruppe 0, Index 2, Befehl "PULSETIME", Daten "" 18:21:31.609 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime2":{"Set":0,"Remaining":0}} 18:21:31.650 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime4 " 18:21:31.652 SRC: MQTT 18:21:31.655 CMD: Gruppe 0, Index 4, Befehl "PULSETIME", Daten "" 18:21:31.660 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime4":{"Set":0,"Remaining":0}} 18:21:31.700 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime6 " 18:21:31.702 SRC: MQTT 18:21:31.705 CMD: Gruppe 0, Index 6, Befehl "PULSETIME", Daten "" 18:21:31.710 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime6":{"Set":0,"Remaining":0}} 18:21:31.750 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime8 " 18:21:31.753 SRC: MQTT 18:21:31.755 CMD: Gruppe 0, Index 8, Befehl "PULSETIME", Daten "" 18:21:31.760 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime8":{"Set":0,"Remaining":0}} 18:21:31.801 MQT: Datengröße 0, "cmnd/tasmota_FB1089/template " 18:21:31.803 SRC: MQTT 18:21:31.806 CMD: Gruppe 0, Index 1, Befehl "TEMPLATE", Daten "" 18:21:31.812 MQT: stat/tasmota_FB1089/RESULT = {"NAME":"Shelly 2.5 (buttons)","GPIO":[320,0,34,0,224,129,0,0,640,128,608,225,3456,4736],"FLAG":0,"BASE":18} 18:21:31.850 MQT: Datengröße 0, "cmnd/tasmota_FB1089/buttondebounce " 18:21:31.853 SRC: MQTT 18:21:31.856 CMD: Gruppe 0, Index 1, Befehl "BUTTONDEBOUNCE", Daten "" 18:21:31.862 MQT: stat/tasmota_FB1089/RESULT = {"ButtonDebounce":50} 18:21:31.903 MQT: Datengröße 0, "cmnd/tasmota_FB1089/blinkcount " 18:21:31.906 SRC: MQTT 18:21:31.908 CMD: Gruppe 0, Index 1, Befehl "BLINKCOUNT", Daten "" 18:21:31.913 MQT: stat/tasmota_FB1089/RESULT = {"BlinkCount":10} 18:21:31.954 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime3 " 18:21:31.957 SRC: MQTT 18:21:31.960 CMD: Gruppe 0, Index 3, Befehl "PULSETIME", Daten "" 18:21:32.001 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime3":{"Set":0,"Remaining":0}} 18:21:32.040 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime7 " 18:21:32.043 SRC: MQTT 18:21:32.045 CMD: Gruppe 0, Index 7, Befehl "PULSETIME", Daten "" 18:21:32.050 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime7":{"Set":0,"Remaining":0}} 18:21:32.091 MQT: Datengröße 0, "cmnd/tasmota_FB1089/gpio " 18:21:32.093 SRC: MQTT 18:21:32.096 CMD: Gruppe 0, Index 1, Befehl "GPIO", Daten "" 18:21:32.102 MQT: stat/tasmota_FB1089/RESULT = {"GPIO":"Not supported"} 18:21:32.207 ADE: 6081358, 4478, [1773, -28, 642, 25], [1773, -17, 642, 5] 18:21:32.209 ADE: U 6081358, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:32.250 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime1 " 18:21:32.253 SRC: MQTT 18:21:32.256 CMD: Gruppe 0, Index 1, Befehl "PULSETIME", Daten "" 18:21:32.261 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime1":{"Set":0,"Remaining":0}} 18:21:32.340 MQT: Datengröße 2, "cmnd/tasmota_FB1089/STATUS 10" 18:21:32.342 SRC: MQTT 18:21:32.345 CMD: Gruppe 0, Index 1, Befehl "STATUS", Daten "10" 18:21:32.355 MQT: stat/tasmota_FB1089/STATUS10 = {"StatusSNS":{"Time":"2020-12-17T18:21:32.348","ANALOG":{"Temperature":59.5},"ENERGY":{"TotalStartTime":"2020-12-09T09:59:34","Total":0.021,"Yesterday":0.006,"Today":0.005,"Power":[0,0],"ApparentPower":[0,0],"ReactivePower":[0,0],"Factor":[0.00,0.00],"Voltage":0,"Current":[0.000,0.000]},"Shutter1":{"Position":50,"Direction":0,"Target":50},"TempUnit":"C"}} 18:21:32.405 MQT: Datengröße 0, "cmnd/tasmota_FB1089/interlock " 18:21:32.408 SRC: MQTT 18:21:32.411 CMD: Gruppe 0, Index 1, Befehl "INTERLOCK", Daten "" 18:21:32.417 MQT: stat/tasmota_FB1089/RESULT = {"Interlock":"ON","Groups":"1,2"} 18:21:32.456 MQT: Datengröße 0, "cmnd/tasmota_FB1089/pulsetime5 " 18:21:32.459 SRC: MQTT 18:21:32.462 CMD: Gruppe 0, Index 5, Befehl "PULSETIME", Daten "" 18:21:32.470 MQT: stat/tasmota_FB1089/RESULT = {"PulseTime5":{"Set":0,"Remaining":0}} 18:21:33.210 ADE: 6084631, 4478, [1773, -21, 642, 65], [1773, 19, 642, -17]�18:21:33.213 ADE: U 6084631, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:34.209 ADE: 6087229, 4478, [1773, 3, 642, 6], [1773, 2, 642, -5] 18:21:34.212 ADE: U 6087229, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:34.233 MQT: tele/tasmota_FB1089/STATE = {"Time":"2020-12-17T18:21:34.228","Uptime":"0T00:00:14","UptimeSec":14,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":32,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"Qar5tz09e589mn05a0","BSSId":"E0:63:DA:53:3C:3E","Channel":11,"RSSI":100,"Signal":-50,"LinkCount":1,"Downtime":"0T00:00:08"}}�18:21:34.268 MQT: tele/tasmota_FB1089/SENSOR = {"Time":"2020-12-17T18:21:34.261","ANALOG":{"Temperature":59.7},"ENERGY":{"TotalStartTime":"2020-12-09T09:59:34","Total":0.021,"Yesterday":0.006,"Today":0.005,"Period":0,"Power":[0,0],"ApparentPower":[0,0],"ReactivePower":[0,0],"Factor":[0.00,0.00],"Voltage":0,"Current":[0.000,0.000]},"Shutter1":{"Position":50,"Direction":0,"Target":50},"TempUnit":"C"} 18:21:35.208 ADE: 6087926, 4478, [1773, -36, 642, -36], [1773, 11, 642, -4] 18:21:35.211 ADE: U 6087926, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:36.208 ADE: 6086701, 4478, [1773, 25, 642, 72], [1773, -12, 642, -21] 18:21:36.211 ADE: U 6086701, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:37.209 ADE: 6082726, 4478, [1773, -13, 642, 35], [1773, 17, 642, -16] 18:21:37.212 ADE: U 6082726, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:38.208 ADE: 6076965, 4478, [1773, -21, 641, 33], [1773, 12, 641, 5] 18:21:38.210 ADE: U 6076965, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:39.220 ADE: 6087340, 4478, [1773, 13, 642, 61], [1773, 19, 642, -16] 18:21:39.223 ADE: U 6087340, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:39.231 MQT: tasmota/discovery/68C63AFB1089/config = {"ip":"192.168.175.42","dn":"ShellySwitch25-Rollo.EG.Wohnzimmer.Terrasse","fn":["Rollo.EG.Wohnzimmer.Terrasse","Tasmota2",null,null,null,null,null,null],"hn":"Rollo.EG.Wohnzimmer.Terrasse","mac":"68C63AFB1089","md":"Shelly 2.5 (buttons)","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.2.0.1","t":"tasmota_FB1089","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[3,3,0,0,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],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0},"lk":1,"lt_st":0,"sho":[4,0,0 ... (beibehalten) 18:21:39.246 MQT: tasmota/discovery/68C63AFB1089/sensors = {"sn":{"Time":"2020-12-17T18:21:39.238","ANALOG":{"Temperature":59.7},"ENERGY":{"TotalStartTime":"2020-12-09T09:59:34","Total":0.021,"Yesterday":0.006,"Today":0.005,"Power":[0,0],"ApparentPower":[0,0],"ReactivePower":[0,0],"Factor":[0.00,0.00],"Voltage":0,"Current":[0.000,0.000]},"Shutter1":{"Position":50,"Direction":0,"Target":50},"TempUnit":"C"},"ver":1} (beibehalten) 18:21:40.208 ADE: 6092577, 4477, [1773, -60, 643, 28], [1773, -7, 643, 3] 18:21:40.211 ADE: U 6092577, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 18:21:41.209 ADE: 6092594, 4478, [1773, 8, 643, 115], [1773, -14, 643, 1] 18:21:41.211 ADE: U 6092594, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:42.208 ADE: 6090169, 4478, [1773, -3, 643, 59], [1773, -1, 643, 9] 18:21:42.210 ADE: U 6090169, C 4478, I 0 + 0 = 0, P 0 + 0 = 0 18:21:43.209 ADE: 6090448, 4477, [1773, -4, 643, 42], [1773, -2, 643, 18] 18:21:43.211 ADE: U 6090448, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 18:21:44.208 ADE: 6091099, 4477, [1773, 6, 643, 17], [1773, 17, 643, -5] 18:21:44.211 ADE: U 6091099, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 18:21:45.216 ADE: 6089960, 4476, [1773, -57, 643, 66], [1773, -22, 643, -7] 18:21:45.219 ADE: U 6089960, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 18:21:46.208 ADE: 6092539, 4476, [1773, -6, 643, 55], [1773, 21, 643, 13] 18:21:46.211 ADE: U 6092539, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 18:21:47.209 ADE: 6092833, 4476, [1773, -2, 643, 65], [1773, -3, 643, -1] 18:21:47.212 ADE: U 6092833, C 4476, I 0 + 0 = 0, P 0 + 0 = 0 18:21:48.209 ADE: 6092239, 4477, [1773, -14, 643, -3], [1773, 7, 643, 2] 18:21:48.211 ADE: U 6092239, C 4477, I 0 + 0 = 0, P 0 + 0 = 0 18:21:48.299 CMD: weblog 2 18:21:48.302 SRC: WebConsole from 192.168.175.172 18:21:48.305 CMD: Gruppe 0, Index 1, Befehl "WEBLOG", Daten "2" 18:21:48.311 MQT: stat/tasmota_FB1089/RESULT = {"WebLog":2}

after setting to mqttlog 0 no problems. Same thing with syslog >2, no problems with weblog >2



### TO REPRODUCE
_Steps to reproduce the behavior:_
Just enter `mqttlog 4` (on a shelly2.4 device, as I don't have any other devices jet, but tried with different devices, they all face the same problem)

### EXPECTED BEHAVIOUR
_A clear and concise description of what you expected to happen._
no restarts after activating mqttlog > 2

### SCREENSHOTS
_If applicable, add screenshots to help explain your problem._

### ADDITIONAL CONTEXT
_Add any other context about the problem here._

One time I tried syslog 4 and the device restarted several times and after I changed it back to "0" the configuration of the device was wrong. The shelly was not anymore configured with two relays, the webpage showed only on. I restored a backup configuration of tasmobackup and everythin was good. I cannot reproduce this specific behaivior, but to write about it might help to get a picture, what is going on.

**(Please, remember to close the issue when the problem has been addressed)**
ascillato2 commented 3 years ago

Bug confirmed with mqttlog 4 on shelly 2.5

Thanks for reporting.

arendst commented 3 years ago

Currently redesigning the logging environment from real-time to async solving issues with UDP and MQTT.

Bascht74 commented 3 years ago

tested --> no more restarts with shelly2.5...

Great!

Sebastian