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.28k stars 4.82k forks source link

Buzzer and SSD1306 broken when moving from 8.3.1.2 to 9.1 #9912

Closed pookycade closed 4 years ago

pookycade commented 4 years ago

Buzzer just makes low clicks instead of sound wave, SSD1306 does not turn on at all. Both work just fine in 8.3.1.2 compile. Piezo is passive, and will work in 9.1 if you set it as PWM. Will not work other than almost inaudible clicks in 9.1 SSD1306 when starting up in 8.3.1.2 is off, have to turn it on and it displays just fine. Cannot get same code on same device to turn on SSD1306 in 9.1. Any thoughts about where to look on why this might be broke ? Note that i2c is working as VS53L0x distance sensor is working as is a PCF8574 port and both those work in 8.3.1.2 and 9.1. Stock bin in 8.3.1.2 tasmota-display works for buzzer and display. Stock bin 9.1 tasmota-display does not work for either. Stock bin 9.1 tasmota does not work for buzzer.

IMPORTANT NOTICE If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

Make sure these boxes are checked [x] before submitting your issue - Thank you!

x Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues) x Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting) x Searched the problem in the forum (https://groups.google.com/d/forum/sonoffusers) x Searched the problem in the chat (https://discord.gg/Ks2Kzd4) Development/Compiler/Upload tools used : Platformio Hardware used : Node MCU 1.0 If a pre-compiled release or development binary was used, which one? custom build You have tried latest release or development binaries? : Yes, 9.1 tasmota.bin and 9.1 tasmota-display.bin Provide the output of command status 0 :

00:00:00 CFG: Loaded from flash at FA, Count 10 00:00:00 QPC: Count 1 00:00:00 I2C: SSD1306 found at 0x3c 00:00:00 I2C: PCF8574 found at 0x20 00:00:00 PCF: Total devices 1, PCF8574 output ports 6 00:00:00 Project tasmota Tasmota Version 9.1.0.1(tasmota)-2_7_4_7 00:00:00 NFC: PN532 NFC Reader detected 00:00:00 I2C: VL53L0X found at 0x29 00:00:00 WIF: Connecting to AP1 Zombodor357 Channel 11 BSSId F4:F2:6D:BD:D8:09 in mode 11N as tasmota_7A19E1-6625... 00:00:01 WIF: Connected 00:00:02 HTP: Web server active on tasmota_7A19E1-6625 with IP address 192.168.0.113 03:54:03 RSL: tele/tasmota_7A19E1/INFO1 = {"Module":"Generic","Version":"9.1.0.1(tasmota)","FallbackTopic":"cmnd/DVES_7A19E1_fb/","GroupTopic":"cmnd/tasmotas/"} 03:54:03 RSL: tele/tasmota_7A19E1/INFO2 = {"WebServerMode":"Admin","Hostname":"tasmota_7A19E1-6625","IPAddress":"192.168.0.113"} 03:54:03 RSL: tele/tasmota_7A19E1/INFO3 = {"RestartReason":"Software/System restart"} 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER1":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER1 = OFF 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER2":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER2 = OFF 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER3":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER3 = OFF 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER4":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER4 = OFF 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER5":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER5 = OFF 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER6":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER6 = OFF 03:54:03 RSL: stat/tasmota_7A19E1/RESULT = {"POWER7":"OFF"} 03:54:03 RSL: stat/tasmota_7A19E1/POWER7 = OFF 03:54:05 QPC: Reset 03:54:07 RSL: tele/tasmota_7A19E1/STATE = {"Time":"2020-11-19T03:54:07","Uptime":"0T00:00:09","UptimeSec":9,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":39,"MqttCount":0,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","Wifi":{"AP":1,"SSId":"Zombodor357","BSSId":"F4:F2:6D:BD:D8:09","Channel":11,"RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:03"}} 03:54:07 RSL: tele/tasmota_7A19E1/SENSOR = {"Time":"2020-11-19T03:54:07","VL53L0X":{"Distance":9999}} 03:54:10 RSL: stat/tasmota_7A19E1/RESULT = {"POWER7":"ON"} 03:54:10 RSL: stat/tasmota_7A19E1/POWER7 = ON 03:54:11 RSL: stat/tasmota_7A19E1/RESULT = {"POWER7":"OFF"} 03:54:11 RSL: stat/tasmota_7A19E1/POWER7 = OFF 03:54:21 CMD: Buzzer 1,2,3 03:54:21 RSL: stat/tasmota_7A19E1/RESULT = {"Buzzer":"Done"} 03:54:33 CMD: DisplayMode 2 03:54:33 RSL: stat/tasmota_7A19E1/RESULT = {"DisplayMode":2} 03:54:41 CMD: DisplayText [O]Me 03:54:41 RSL: stat/tasmota_7A19E1/RESULT = {"DisplayText":"[O]Me"} 03:55:06 CMD: status 0 03:55:06 RSL: stat/tasmota_7A19E1/STATUS = {"Status":{"Module":18,"DeviceName":"Tasmota","FriendlyName":["Tasmota","Tasmota2","Tasmota3","Tasmota4","","",""],"Topic":"tasmota_7A19E1","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}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:01:08","StartupUTC":"2020-11-19T02:53:58","Sleep":50,"CfgHolder":4617,"BootCount":4,"BCResetTime":"2020-11-19T03:52:12","SaveCount":12,"SaveAddress":"F8000"}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS2 = {"StatusFWR":{"Version":"9.1.0.1(tasmota)","BuildDateTime":"2020-11-18T14:06:00","Boot":31,"Core":"2_7_4_7","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"352/699"}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Zombodor357",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C8000100060000005A00000000000000","80000000","00006000","00000000"]}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS4 = {"StatusMEM":{"ProgramSize":568,"Free":432,"Heap":25,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"16400B","FlashFrequency":40,"FlashMode":3,"Features":["00000809","8FF02797","04108121","00000007","041000C0","40000A01","00000000","00000000"],"Drivers":"1,2,3,4,7,8,9,10,12,13,16,20,21,24,28,29","Sensors":"1,2,3,40,45"}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS5 = {"StatusNET":{"Hostname":"tasmota_7A19E1-6625","IPAddress":"192.168.0.113","Gateway":"192.168.0.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.0.1","Mac":"50:02:91:7A:19:E1","Webserver":2,"WifiConfig":4,"WifiPower":17.0}} 03:55:06 RSL: stat/tasmota7A19E1/STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_7A19E1","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS7 = {"StatusTIM":{"UTC":"2020-11-19T02:55:06","Local":"2020-11-19T03:55:06","StartDST":"2020-03-29T02:00:00","EndDST":"2020-10-25T03:00:00","Timezone":"+01:00","Sunrise":"08:06","Sunset":"17:04"}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS10 = {"StatusSNS":{"Time":"2020-11-19T03:55:06","VL53L0X":{"Distance":9999}}} 03:55:06 RSL: stat/tasmota_7A19E1/STATUS11 = {"StatusSTS":{"Time":"2020-11-19T03:55:06","Uptime":"0T00:01:08","UptimeSec":68,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":0,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","Wifi":{"AP":1,"SSId":"Zombodor357","BSSId":"F4:F2:6D:BD:D8:09","Channel":11,"RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:03"}}} (Please, remember to close the issue when the problem has been addressed) IMG_1341

close-issue-app[bot] commented 4 years ago

This issue has been automatically closed because the issue template is missing or incomplete. Filling the template is required so standard questions don't need to be asked again each time. Our ability to provide assistance is greatly hampered if few minutes are not taken to complete the issue template with the requested information. The details requested potentially affect which options to pursue. The small amount of time you will spend completing the template will also help the volunteers, providing assistance to you, to reduce the time required to help you. Please, could you be so kind on completing the issue template in order to have more information so as to properly help you? Thank you for taking the time to report, hopefully it can be resolved soon. Wiki for more information. Chat for more user experience. Community for forum. Code of Conduct Contributing Guideline and Policy