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

No sound after SetOption111 switching #21474

Closed
13 of 14 tasks
christianloesel opened this issue May 23, 2024 · 2 comments
Closed
13 of 14 tasks

No sound after SetOption111 switching #21474

christianloesel opened this issue May 23, 2024 · 2 comments
Labels
stale Action - Issue left behind - Used by the BOT to call for attention

Comments

@christianloesel
Copy link

christianloesel commented May 23, 2024

PROBLEM DESCRIPTION

I'm using Tasmota32 14.0.0 on 4 Sonoff NSPanel. The Panels have a Buzzer onboard and I use it for accoustic feedback. But for warning sounds I want to switch to PWM Mode with SetOption111 1. That works fine. But switching back to the former mode with SetOptions111 0 does turn off the buzzer completely until I reboot. Within several tries I found out, that this only occurs, after using the buzzer with SetOptions111 1. Turning it off without playing any sound works as expected.

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): Sonoff NSPanel
  • Tasmota binary firmware version number used: 14.0.0
    • Pre-compiled
    • Self-compiled
  • Flashing tools used: OTA, since originally installed 2 years ago
  • Provide the output of command: Backlog Template; Module; GPIO 255:
  Configuration output here:
13:51:12.500 MQT: tasmota_62DD24/stat/RESULT = {"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1}
13:51:12.728 MQT: tasmota_62DD24/stat/RESULT = {"Module":{"0":"NSPanel"}}
13:51:12.936 MQT: tasmota_62DD24/stat/RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"},"GPIO4":{"3872":"Output Lo"},"GPIO5":{"0":"None"},"GPIO6":{"0":"None"},"GPIO7":{"0":"None"},"GPIO8":{"0":"None"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO11":{"0":"None"},"GPIO12":{"0":"None"},"GPIO13":{"0":"None"},"GPIO14":{"32":"Button1"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"0":"None"},"GPIO18":{"0":"None"},"GPIO19":{"225":"Relay2"},"GPIO20":{"0":"None"},"GPIO21":{"480":"Summer"},"GPIO22":{"224":"Relay1"},"GPIO23":{"0":"None"},"GPIO24":{"0":"None"},"GPIO25":{"0":"None"},"GPIO26":{"0":"None"},"GPIO27":{"33":"Button2"},"GPIO32":{"0":"None"},"GPIO33":{"0":"None"},"GPIO34":{"0":"None"},"GPIO35":{"0":"None"},"GPIO36":{"0":"None"},"GPIO37":{"0":"None"},"GPIO38":{"4736":"ADC Temp.1"},"GPIO39":{"0":"None"}}
  • If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
  Rules output here:
13:51:48.403 MQT: tasmota_62DD24/stat/RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":98,"Free":413,"Rules":"ON CustomSend DO RuleTimer1 90 ENDON ON Rules#RuleTimer=1 DO CustomSend pageType~pageStartup ENDON"}}
13:51:48.632 MQT: tasmota_62DD24/stat/RESULT = {"Rule2":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":169,"Free":342,"Rules":"on Button1#state do Publish %topic%/tele/RESULT {\"CustomRecv\":\"event,button1\"} endon on Button2#state do Publish %topic%/tele/RESULT {\"CustomRecv\":\"event,button2\"} endon"}}
13:51:48.886 MQT: tasmota_62DD24/stat/RESULT = {"Rule3":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":31,"Free":480,"Rules":"on CustomRecv do Buzzer 1 endon"}}
  • Provide the output of this command: Status 0:
  STATUS 0 output here:
13:52:04.972 MQT: tasmota_62DD24/stat/STATUS = {"Status":{"Module":0,"DeviceName":"Büro","FriendlyName":["Tasmota",""],"Topic":"tasmota_62DD24","ButtonTopic":"0","Power":"00","PowerLock":"00","PowerOnState":3,"LedState":1,"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}}
13:52:04.988 MQT: tasmota_62DD24/stat/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota32/release/tasmota32-DE.bin","RestartReason":"Software reset CPU","Uptime":"0T00:19:50","StartupUTC":"2024-05-23T12:32:14","Sleep":50,"CfgHolder":4617,"BootCount":64,"BCResetTime":"2023-03-16T12:33:15","SaveCount":2405}}
13:52:05.002 MQT: tasmota_62DD24/stat/STATUS2 = {"StatusFWR":{"Version":"14.0.0(release-tasmota32)","BuildDateTime":"2024.05.14 13:58:38","Core":"3_0_0","SDK":"5.1.3.240430","CpuFrequency":160,"Hardware":"ESP32-D0WD-V3 v3.0","CR":"480/699"}}
13:52:05.014 MQT: tasmota_62DD24/stat/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":1,"LogHost":"192.168.178.20","LogPort":514,"SSId":["ioBroker",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000001"]}}
13:52:05.038 MQT: tasmota_62DD24/stat/STATUS4 = {"StatusMEM":{"ProgramSize":2017,"Free":862,"Heap":83,"StackLowMark":3,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"16405E","FlashFrequency":40,"FlashMode":"DIO","Features":["0407","9F9AD7DF","0015A001","B7F7BFCF","05DA9BC4","E0360DC7","480840D2","20200000","D4BC482D","810A80B1","00000004"],"Drivers":"1,2,!3,!4,!5,7,!8,9,10,11,12,!14,!16,!17,!20,!21,24,26,!27,29,!34,!35,38,50,52,!59,!60,62,!63,!66,!67,!68,82,!86,!87,!88,!121","Sensors":"1,2,3,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,26,31,34,37,39,40,42,43,45,51,52,55,56,58,59,64,66,67,74,85,92,95,98,103,105,109,127","I2CDriver":"7,8,9,10,11,12,13,14,15,17,18,20,24,29,31,36,41,42,44,46,48,58,62,65,69,76,77,82"}}
13:52:05.061 MQT: tasmota_62DD24/stat/STATUS5 = {"StatusNET":{"Hostname":"tasmota-62DD24-7460","IPAddress":"10.3.141.144","Gateway":"10.3.141.1","Subnetmask":"255.255.255.0","DNSServer1":"10.3.141.1","DNSServer2":"0.0.0.0","Mac":"40:22:D8:62:DD:24","IP6Global":"","IP6Local":"fe80::4222:d8ff:fe62:dd24%st1","Ethernet":{"Hostname":"","IPAddress":"0.0.0.0","Gateway":"0.0.0.0","Subnetmask":"0.0.0.0","DNSServer1":"10.3.141.1","DNSServer2":"0.0.0.0","Mac":"00:00:00:00:00:00","IP6Global":"","IP6Local":""},"Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0}}
13:52:05.075 MQT: tasmota_62DD24/stat/STATUS6 = {"StatusMQT":{"MqttHost":"10.3.141.1","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_62DD24","MqttUser":"ioBroker","MqttCount":1,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
13:52:05.088 MQT: tasmota_62DD24/stat/STATUS7 = {"StatusTIM":{"UTC":"2024-05-23T12:52:05Z","Local":"2024-05-23T13:52:05","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":"+01:00","Sunrise":"04:33","Sunset":"20:11"}}
13:52:05.105 MQT: tasmota_62DD24/stat/STATUS10 = {"StatusSNS":{"Time":"2024-05-23T13:52:05","ANALOG":{"Temperature1":23.0},"ESP32":{"Temperature":60.0},"TempUnit":"C"}}
13:52:05.121 MQT: tasmota_62DD24/stat/STATUS11 = {"StatusSTS":{"Time":"2024-05-23T13:52:05","Uptime":"0T00:19:51","UptimeSec":1191,"Heap":82,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Berry":{"HeapUsed":54,"Objects":664},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"ioBroker","BSSId":"08:EA:35:E0:47:18","Channel":1,"Mode":"11g","RSSI":100,"Signal":-44,"LinkCount":1,"Downtime":"0T00:00:03"}}}
  • Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
  Console output here:
13:52:47.579 CMD: SetOption111 1
13:52:47.581 SRC: WebConsole from 10.3.141.1
13:52:47.582 CMD: Grp 0, Cmd 'SETOPTION', Idx 111, Len 1, Pld 1, Data '1'
13:52:47.586 MQT: tasmota_62DD24/stat/RESULT = {"SetOption111":"ON"}
13:52:48.019 CFG: Saved, Anzahl 2409, Bytes 4096
13:52:49.122 CMD: Buzzer 1
13:52:49.124 SRC: WebConsole from 10.3.141.1
13:52:49.125 CMD: Grp 0, Cmd 'BUZZER', Idx 1, Len 1, Pld 1, Data '1'
13:52:49.127 BUZ: Count 1(2), Time 1/1, Tune 0x00000000(0x00000000), Size 0, Mode 1
13:52:49.132 MQT: tasmota_62DD24/stat/RESULT = {"Buzzer":"Done"}
13:52:51.476 CMD: SetOption111 0
13:52:51.478 SRC: WebConsole from 10.3.141.1
13:52:51.479 CMD: Grp 0, Cmd 'SETOPTION', Idx 111, Len 1, Pld 0, Data '0'
13:52:51.483 MQT: tasmota_62DD24/stat/RESULT = {"SetOption111":"OFF"}
13:52:52.019 CFG: Saved, Anzahl 2410, Bytes 4096
13:52:52.578 CMD: Buzzer 1
13:52:52.580 SRC: WebConsole from 10.3.141.1
13:52:52.581 CMD: Grp 0, Cmd 'BUZZER', Idx 1, Len 1, Pld 1, Data '1'
13:52:52.583 BUZ: Count 1(2), Time 1/1, Tune 0x00000000(0x00000000), Size 0, Mode 0
13:52:52.587 MQT: tasmota_62DD24/stat/RESULT = {"Buzzer":"Done"}

TO REPRODUCE

Steps to reproduce the behavior:
SetOption111 1
Buzzer 1
SetOption111 0
Buzzer 1

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.
Hear sound on second Buzzer command

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)

Copy link

This issue has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Action - Issue left behind - Used by the BOT to call for attention label Jun 17, 2024
Copy link

This issue was automatically closed because of being stale. Feel free to open a new one if you still experience this problem.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Action - Issue left behind - Used by the BOT to call for attention
Projects
None yet
Development

No branches or pull requests

1 participant