Difference between revisions of "Tasmota"
(→debugging: Added displayaddress and DisplayText) |
(added i2c and Display debugging commands) |
||
Line 19: | Line 19: | ||
16:38:52.640 CMD: DisplayText [s1l1c1]Hello how are you? | 16:38:52.640 CMD: DisplayText [s1l1c1]Hello how are you? | ||
16:38:52.654 MQT: stat/02CA28/RESULT = {"Command":"Error"} | 16:38:52.654 MQT: stat/02CA28/RESULT = {"Command":"Error"} | ||
+ | |||
+ | DisplayAddress 60 | ||
+ | 16:56:14.908 CMD: DisplayAddress 60 | ||
+ | 16:56:14.924 MQT: stat/02CA28/RESULT = {"DisplayAddress1":60} | ||
+ | DisplayAddress | ||
+ | 16:56:31.339 CMD: DisplayAddress | ||
+ | 16:56:31.355 MQT: stat/02CA28/RESULT = {"DisplayAddress1":60} | ||
+ | |||
+ | i2cscan | ||
+ | 17:49:55.026 CMD: i2cscan | ||
+ | 17:49:55.078 MQT: stat/02CA28/RESULT = {"I2CScan":"Device(s) found at 0x3c"} | ||
+ | |||
+ | DisplayText [s1l1c1]Hello how are you? | ||
+ | 16:56:53.516 CMD: DisplayText [s1l1c1]Hello how are you? | ||
+ | |||
+ | # Found in log after restart; | ||
+ | 00:00:00.154 I2C: SH1106 found at 0x3c | ||
+ | 00:00:00.301 DSP: SH1106 | ||
+ | 00:00:00.315 Project tasmota 02CA28 Version 9.5.0(display)-1_0_6(2021-06-17T08:31:15) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 17:52, 24 July 2021
tasmota
Contents
ESP8266
ESP32
7/24/2021 I bought this from Amazon; (?Heltec?)HiLetgo ESP32 OLED WiFi Kit ESP-32 0.96 Inch Blue OLED Display WiFi+Bluetooth CP2012 Internet Development Board for Arduino ESP8266 NodeMCU a long time ago, it's been in a box for a couple years. I thought I'd give it a whirl. from the tasmota 9.5.0 releases page I've loaded tasmota32.bin, it currently has tasmota32-display.bin. It connects, I configured GPIO25 as relay allowing me to toggle an onboard LED.
debugging
i2cscan
13:27:56.560 CMD: i2cscan
13:27:56.614 MQT: stat/02CA28/RESULT = {"I2CScan":"No devices found"}
displayaddress
16:34:54.298 CMD: displayaddress
16:34:54.313 MQT: stat/02CA28/RESULT = {"DisplayAddress1":113}
DisplayText [s1l1c1]Hello how are you?
16:38:52.640 CMD: DisplayText [s1l1c1]Hello how are you?
16:38:52.654 MQT: stat/02CA28/RESULT = {"Command":"Error"}
DisplayAddress 60
16:56:14.908 CMD: DisplayAddress 60
16:56:14.924 MQT: stat/02CA28/RESULT = {"DisplayAddress1":60}
DisplayAddress
16:56:31.339 CMD: DisplayAddress
16:56:31.355 MQT: stat/02CA28/RESULT = {"DisplayAddress1":60}
i2cscan
17:49:55.026 CMD: i2cscan
17:49:55.078 MQT: stat/02CA28/RESULT = {"I2CScan":"Device(s) found at 0x3c"}
DisplayText [s1l1c1]Hello how are you?
16:56:53.516 CMD: DisplayText [s1l1c1]Hello how are you?
# Found in log after restart;
00:00:00.154 I2C: SH1106 found at 0x3c
00:00:00.301 DSP: SH1106
00:00:00.315 Project tasmota 02CA28 Version 9.5.0(display)-1_0_6(2021-06-17T08:31:15)