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.06k stars 4.78k forks source link

Version 7.1.1(display)-2_6_1 - DisplayMode 0 on DisplayModel 4 #7102

Closed itbeyond closed 4 years ago

itbeyond commented 4 years ago

PROBLEM DESCRIPTION

I have been working for a while on Displays and have been successful in making stuff work. I have been mainly working on 6.6.0(release-display) precompiled binary and have been able to make a number of displays work. Today I flashed a WEMOS MINI D1 with a LOLIN TFT-2.4 Shield to the latest 7.7.1(display) - precompiled binary, I was able to make this work in any DisplayMode 1-5 however on DisplayMode 0 I was unable to DisplayText (anything). I flashed back to 6.6.0 and without even a reconfig was able to use DisplayText.

Not currently being a self compiler of this library I am just wondering if there is something missing in the precompiled binary.

REQUESTED INFORMATION

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

18:55:34 CMD: display 18:55:34 SRC: WebConsole from 192.168.100.209 18:55:34 CMD: Group 0, Index 1, Command "DISPLAY", Data "" 18:55:34 MQT: stat/sonoff-6896/RESULT = {"Display":{"Model":4,"Width":240,"Height":320,"Mode":0,"Dimmer":15,"Size":2,"Font":2,"Rotate":0,"Refresh":2,"Cols":[20,8],"Rows":20}}



### TO REPRODUCE
I simply upgrade from 6.6.0 display precompiled to 7.1.1 display precompilied on a device and when using DisplayText Hello - get nothing on the display.

### EXPECTED BEHAVIOUR
I expected the Hello to appear on the display as it does with 6.6.0

### 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)**
Jason2866 commented 4 years ago

Have you switched the display on? You have a toggle on / off button in webfrontend. Set Dimmer to 100 Cols and Rows seems not set correct

itbeyond commented 4 years ago

Yes I have done the process twice going up and down versions and have the display on for sure. As a test I toggle it both ways.

arendst commented 4 years ago

Try to change color with DisplayText [C0] first before any other DisplayText commands

Apparently the DisplayText color seem to be swapped...

itbeyond commented 4 years ago

Theo, Yes thanks that is the problem after the DisplayText [C0] the display is working as expected. I thought I had tried this earlier but I must not have done it right. Thanks for your continued work and efforts. Before I close this issue will this get rolled into a version update at some point or should we keep this open to avoid others having the same problem?