Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasmota32 freezing after displaytext more than 128 characters #21401

Closed
11 of 14 tasks
roschuba opened this issue May 11, 2024 · 1 comment
Closed
11 of 14 tasks

tasmota32 freezing after displaytext more than 128 characters #21401

roschuba opened this issue May 11, 2024 · 1 comment
Assignees
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended

Comments

@roschuba
Copy link

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.
Tasmota32 ist freezing after a displaytext command with more than 128 characters to display.

REQUESTED INFORMATION

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

  • Read the Contributing Guide and Policy and the Code of Conduct
  • Searched the problem in issues
  • Searched the problem in discussions
  • Searched the problem in the docs
  • Searched the problem in the chat
  • Device used (e.g., Sonoff Basic): AZ-Touch
  • Tasmota binary firmware version number used: Tasmota 13.4.1.2 (display)
    • Pre-compiled
    • Self-compiled
  • Flashing tools used: OTA
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here:
12:33:14.727 CMD: Backlog Template; Module; GPIO 255
12:33:14.751 MQT: stat/OGAZAT/RESULT = {"NAME":"ESP32-DevKit","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
12:33:14.978 MQT: stat/OGAZAT/RESULT = {"Module":{"1":"ESP32-DevKit"}}
12:33:15.183 MQT: stat/OGAZAT/RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"11008":"TS IRQ"},"GPIO3":{"0":"None"},"GPIO4":{"800":"SPI DC1"},"GPIO5":{"768":"SPI CS1"},"GPIO6":{"0":"None"},"GPIO7":{"0":"None"},"GPIO8":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO11":{"0":"None"},"GPIO12":{"10944":"TS SPI CS"},"GPIO13":{"0":"None"},"GPIO14":{"0":"None"},"GPIO15":{"992":"Backlight"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"},"GPIO18":{"736":"SPI CLK1"},"GPIO19":{"672":"SPI MISO1"},"GPIO20":{"0":"None"},"GPIO21":{"0":"None"},"GPIO22":{"1024":"Display Rst"},"GPIO23":{"704":"SPI MOSI1"},"GPIO24":{"0":"None"},"GPIO25":{"0":"None"},"GPIO26":{"0":"None"},"GPIO27":{"0":"None"},"GPIO32":{"0":"None"},"GPIO33":{"0":"None"},"GPIO34":{"0":"None"},"GPIO35":{"0":"None"},"GPIO36":{"0":"None"},"GPIO37":{"0":"None"},"GPIO38":{"0":"None"},"GPIO39":{"6210":"Option A3"}}

  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here:

  • Provide the output of this command: Status 0:
  STATUS 0 output here:
12:35:11.701 CMD: status 0
12:35:11.707 MQT: stat/OGAZAT/STATUS = {"Status":{"Module":1,"DeviceName":"OGAZAT","FriendlyName":["OGAZAT"],"Topic":"OGAZAT","ButtonTopic":"0","Power":"1","PowerLock":"0","PowerOnState":3,"LedState":8,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
12:35:11.723 MQT: stat/OGAZAT/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota32/release/tasmota32.bin","RestartReason":"Vbat power on reset","Uptime":"0T00:47:17","StartupUTC":"2024-05-11T09:47:54","Sleep":50,"CfgHolder":4617,"BootCount":199,"BCResetTime":"2021-06-06T17:23:56","SaveCount":252}}
12:35:11.739 MQT: stat/OGAZAT/STATUS2 = {"StatusFWR":{"Version":"13.4.1.2(display)","BuildDateTime":"2024.05.11 10:42:45","Core":"3_0_0","SDK":"5.1.3.240430","CpuFrequency":160,"Hardware":"ESP32-D0WDQ6 v1.0","CR":"377/699"}}
12:35:11.748 MQT: stat/OGAZAT/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["xxxxxx",""],"TelePeriod":120,"Resolution":"558180C0","SetOption":["00000009","2805C80001000600003C5A0A002800000000","000200C1","00006000","00004002","00000000"]}}
12:35:11.766 MQT: stat/OGAZAT/STATUS4 = {"StatusMEM":{"ProgramSize":1398,"Free":1481,"Heap":119,"StackLowMark":3,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"164068","FlashFrequency":40,"FlashMode":"DIO","Features":["0407","0FAA85CE","000482A1","000000C3","00000000","00000080","000000A0","40200000","54000008","00000080","00000004"],"Drivers":"1,2,!4,!5,!8,9,10,12,13,!16,38,50,52,55,62,!68,!121","Sensors":"1,2,5,6,127","I2CDriver":"3,5,47"}}
12:35:11.781 MQT: stat/OGAZAT/STATUS5 = {"StatusNET":{"Hostname":"OGAZAT-4888","IPAddress":"xxx.xxx.xxx.xxx","Gateway":"xxx.xxx.xxx.xxx","Subnetmask":"255.255.255.0","DNSServer1":"xxx.xxx.xxx.xxx","DNSServer2":"xxx.xxx.xxx.xxx","Mac":"xx:xx:xx:xx:xx:18","IP6Global":"","IP6Local":"xxxx::xxxx:xxxx:xxxx:xxxx%st2","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
12:35:11.795 MQT: stat/OGAZAT/STATUS6 = {"StatusMQT":{"MqttHost":"xxx.xxx.xxx.xxx","MqttPort":1883,"MqttClientMask":"OGAZAT_%06X","MqttClient":"OGAZAT_F29318","MqttUser":"xxxxxxxx","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
12:35:11.808 MQT: stat/OGAZAT/STATUS7 = {"StatusTIM":{"UTC":"2024-05-11T10:35:11Z","Local":"2024-05-11T12:35:11","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":99,"Sunrise":"05:50","Sunset":"20:56"}}
12:35:11.822 MQT: stat/OGAZAT/STATUS10 = {"StatusSNS":{"Time":"2024-05-11T12:35:11"}}
12:35:11.838 MQT: stat/OGAZAT/STATUS11 = {"StatusSTS":{"Time":"2024-05-11T12:35:11","Uptime":"0T00:47:17","UptimeSec":2837,"Heap":116,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Berry":{"HeapUsed":37,"Objects":676},"POWER":"ON","Wifi":{"AP":1,"SSId":"xxxxxxxx","BSSId":"xx:xx:xx:xx:xx:xx","Channel":11,"Mode":"HT20","RSSI":100,"Signal":-50,"LinkCount":1,"Downtime":"0T00:00:06"}}}

  • Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
  Console output here:
No output - immediate freezing of Tasmota

TO REPRODUCE

Steps to reproduce the behavior:
Console command:

displaytext [f1l2c1Ci11Bi14p34]1...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80...85...90...95..100..105..110..115..120..125..130


EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.
The character string should be truncated to prevent freezing.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

Add any other context about the problem here.

(Please, remember to close the issue when the problem has been addressed)

@arendst arendst self-assigned this May 17, 2024
@arendst arendst added the bug Type - Confirmated Bug label May 17, 2024
@arendst
Copy link
Owner

arendst commented May 17, 2024

As we enabled the watchdog timer for ESP32 in v14.0.0.1 the freeze should now result in a watchdog restart. The same command does indeed start the watchdog on an ESP8266.

I'll fix the watchdog by fixing the command displaytext now.

@arendst arendst added the fixed Result - The work on the issue has ended label May 17, 2024
@arendst arendst closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type - Confirmated Bug fixed Result - The work on the issue has ended
Projects
None yet
Development

No branches or pull requests

2 participants