-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Not able to use SSD1306 on version 9.3.0(display)-2_7_4_9(2021-02-19T11:09:31) #11057
Comments
Me too. Looks like the newly changed TM1637 driver is "taking over", thereby disabling other displays. Thin testing.... Looks like the driver is not even trying to detect if that display type is there or not. Not sure if there are easier ways than compiling without USE_DISPLAY_TM1637. |
Fix TM1637 driver now needs ``TM1637 CLK`` and ``TM1637 DIO`` to enable (#11057)
Does not work for me on ESP32 The SSD1306 does show up as 0x3c on I2CScan, DisplayAddress correct at 60, and the on/off toggle does appear in the web front page. This also appears with no display on the I2C bus which I did not expect. At boot time no messages about either SSD1306 or TM1637. Both with and without the SSD1306 connected, the DisplayText causes:
|
But what reports command |
|
The display driver only supports one type of display. In the case both a SSD1306 AND the TM1637 are connected and configured (which a user should not do) it selects the TM1637 as the current driver. I suspect in that case the command I don't like the TM1637 implementation as it deviates from the common way display command are addressed. I will add an extra test for allowance to the TM1637 driver. |
I'm having no TM1637 connected or attempted any config (I own none of that) |
Fails as bad on ESP8266....
|
Pls retry with latest change. |
Now works with SSD1306-only on both ESP8266 and ESP32, but still crashed until I manually selected DisplayModel 2. Did not try that last time. |
It works now. Thanks a lot for the quick response (it's Sunday!). Before updating I disabled both Rule1 and Rule2 just in case... |
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
After updating to 9.3.0 release version or develop 9.3.0.1 the command "DisplayModel 2" reverts to command "DisplayModel 15" after several seconds of being executed and the subsequent reset.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log:TO REPRODUCE
Steps to reproduce the behavior:
Execute:
19:34:58.000 CMD: DisplayModel 2
19:34:58.003 SRC: WebConsole from 192.168.1.77
19:34:58.006 CMD: Group 0, Index 1, Command "DISPLAYMODEL", Data "2"
19:34:58.014 MQT: gvf/cega/stat/salonBlinds/RESULT = {"DisplayModel":2}
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
It should not use TM1637 display driver but SSD1306 display driver
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
00:00:00.049 CFG: Loaded from flash at F7, Count 32502
00:00:00.055 QPC: Count 1
00:00:00.056 CFG: CR 480/699, Busy 0
00:00:00.058 I2C: SSD1306 found at 0x3c
00:00:00.089 Clearing digit 4
00:00:00.090 DSP: TM1637 display driver initialized
00:00:00.091 SRC: Restart
00:00:00.093 Project tasmota TasmotaSalon Version 9.3.0.1(display)-2_7_4_9(2021-02-20T16:47:33)
00:00:00.094 DHT: (v5) Sensors found 1
00:00:00.180 CFG: Saved to flash at F6, Count 32503, Bytes 4096
00:00:00.240 WIF: Checking connection...
00:00:00.240 WIF: Attempting connection...
00:00:00.577 WIF: Connecting to AP1 homeGVF Channel 8 BSSId 90:5C:44:B1:CE:2E in mode 11n as salonBlinds-4361...
00:00:01.803 WIF: Checking connection...
00:00:01.804 WIF: Connected
00:00:02.054 HTP: Web server active on salonBlinds-4361 with IP address 192.168.1.193
00:00:02.458 RTC: UTC 2021-02-20T18:32:46, DST 2021-03-28T02:00:00, STD 2021-10-31T03:00:00
19:32:47.011 MQT: Attempting connection...
19:32:47.029 MQT: Connected
19:32:47.032 MQT: gvf/cega/tele/salonBlinds/LWT = Online (retained)
19:32:47.036 MQT: gvf/cega/cmnd/salonBlinds/POWER =
19:32:47.037 MQT: Subscribe to gvf/cega/cmnd/salonBlinds/#
19:32:47.041 MQT: Subscribe to gvf/cega/cmnd/tasmotas/#
19:32:47.044 MQT: Subscribe to cmnd/TasmotaSalon_fb/#
19:32:47.052 MQT: gvf/cega/tele/salonBlinds/INFO1 = {"Module":"Generic","Version":"9.3.0.1(display)","FallbackTopic":"cmnd/TasmotaSalon_fb/","GroupTopic":"gvf/cega/cmnd/tasmotas/"}
19:32:47.057 MQT: gvf/cega/tele/salonBlinds/INFO2 = {"WebServerMode":"Admin","Hostname":"salonBlinds-4361","IPAddress":"192.168.1.193"}
19:32:47.059 MQT: gvf/cega/tele/salonBlinds/INFO3 = {"RestartReason":"Software/System restart"}
19:32:47.063 MQT: gvf/cega/stat/salonBlinds/RESULT = {"POWER1":"OFF"}
19:32:47.067 MQT: gvf/cega/stat/salonBlinds/POWER1 = OFF
19:32:47.069 MQT: gvf/cega/stat/salonBlinds/RESULT = {"POWER2":"OFF"}
19:32:47.073 MQT: gvf/cega/stat/salonBlinds/POWER2 = OFF
19:32:47.077 MQT: gvf/cega/stat/salonBlinds/RESULT = {"POWER3":"OFF"}
19:32:47.082 MQT: gvf/cega/stat/salonBlinds/POWER3 = OFF
19:32:47.085 MQT: gvf/cega/stat/salonBlinds/RESULT = {"POWER4":"OFF"}
19:32:47.088 MQT: gvf/cega/stat/salonBlinds/POWER4 = OFF
19:32:47.093 MQT: gvf/cega/stat/salonBlinds/RESULT = {"POWER5":"OFF"}
19:32:47.098 MQT: gvf/cega/stat/salonBlinds/POWER5 = OFF
19:32:47.112 RUL: SYSTEM#BOOT performs "DisplayText [s1l1c1t][s1l1c8T]"
19:32:47.114 SRC: Rule
19:32:47.116 CMD: Group 0, Index 1, Command "DISPLAYTEXT", Data "[s1l1c1t][s1l1c8T]"
19:32:47.120 LOG: TM1637: sString=[s1l1c1t][s1l1c8T]
19:32:47.121 LOG: TM1637: position=0
19:32:47.123 LOG: TM1637: length=0
19:32:47.124 Clearing digit 4
19:32:47.133 MQT: gvf/cega/stat/salonBlinds/RESULT = {"DisplayText":"[s1l1c1t][s1l1c8T]"}
19:32:50.411 QPC: Reset
19:32:51.392 MQT: gvf/cega/tele/salonBlinds/STATE = {"Time":"2021-02-20T19:32:51","Uptime":"0T00:00:09","UptimeSec":9,"Heap":29,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","Wifi":{"AP":1,"SSId":"homeGVF","BSSId":"90:5C:44:B1:CE:2E","Channel":8,"RSSI":100,"Signal":-34,"LinkCount":1,"Downtime":"0T00:00:03"}}
19:32:51.407 MQT: gvf/cega/tele/salonBlinds/SENSOR = {"Time":"2021-02-20T19:32:51","Switch5":"ON","SI7021":{"Temperature":18.8,"Humidity":46.3,"DewPoint":7.0},"TempUnit":"C"} (retained)
19:32:51.420 RUL: TELE-SI7021#TEMPERATURE performs "DisplayText [s1l1c1t][s1l1c8T] [s1l3c1]Temp.: 18.8C"
19:32:51.422 SRC: Rule
19:32:51.425 CMD: Group 0, Index 1, Command "DISPLAYTEXT", Data "[s1l1c1t][s1l1c8T] [s1l3c1]Temp.: 18.8C"
19:32:51.429 LOG: TM1637: sString=[s1l1c1t][s1l1c8T] [s1l3c1]Temp.: 18.8C
19:32:51.431 LOG: TM1637: position=0
19:32:51.434 LOG: TM1637: length=0
19:32:51.436 Clearing digit 4
19:32:51.444 MQT: gvf/cega/stat/salonBlinds/RESULT = {"DisplayText":"[s1l1c1t][s1l1c8T] [s1l3c1]Temp.: 18.8C"}
19:32:51.456 RUL: TELE-SI7021#HUMIDITY performs "DisplayText [s1l4c1]Hum.: 46.3%"
19:32:51.459 SRC: Rule
19:32:51.463 CMD: Group 0, Index 1, Command "DISPLAYTEXT", Data "[s1l4c1]Hum.: 46.3%"
19:32:51.467 LOG: TM1637: sString=[s1l4c1]Hum.: 46.3%
19:32:51.470 LOG: TM1637: position=0
19:32:51.473 LOG: TM1637: length=0
19:32:51.475 Clearing digit 4
19:32:51.483 MQT: gvf/cega/stat/salonBlinds/RESULT = {"DisplayText":"[s1l4c1]Hum.: 46.3%"}
19:32:51.499 RUL: TELE-SI7021#DEWPOINT performs "DisplayText [s1l5c1]Dew Pt.: 7.0C"
19:32:51.501 SRC: Rule
19:32:51.505 CMD: Group 0, Index 1, Command "DISPLAYTEXT", Data "[s1l5c1]Dew Pt.: 7.0C"
19:32:51.509 LOG: TM1637: sString=[s1l5c1]Dew Pt.: 7.0C
19:32:51.511 LOG: TM1637: position=0
19:32:51.514 LOG: TM1637: length=0
19:32:51.517 Clearing digit 4
19:32:51.525 MQT: gvf/cega/stat/salonBlinds/RESULT = {"DisplayText":"[s1l5c1]Dew Pt.: 7.0C"}
19:32:51.532 DHT: Timeout waiting for start signal low pulse
19:32:52.386 APP: Boot Count 513
19:32:52.592 CFG: Saved to flash at F5, Count 32504, Bytes 4096
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: