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
21.98k stars 4.77k forks source link

SR04 detection is not consistent #16163

Closed ErikApption closed 2 years ago

ErikApption commented 2 years ago

PROBLEM DESCRIPTION

On ESP32 and ESP8266, the SR04 is not consistently detected. Sometimes I see the distance but most times it disappears from the main page.

I read other issues related to the SR04 mode - it looks like there is an auto mode detection but I'm worried that it is not consistent. Any chances to get an option command to manually force the SR04 mode?

REQUESTED INFORMATION

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

- [X] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
- [X] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:
00:00:01.815 SR4: Received ''
00:00:01.834 SR4: Received '00'
00:00:01.936 SR4: Received ''
00:00:01.166 SR4: Mode 0
close-issue-app[bot] commented 2 years ago

This issue has been automatically closed because the PROBLEM REPORT 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 PROBLEM REPORT 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. Docs for more information. Discussions for Questions, Feature Requests and Projects. Chat for more users experience.
Please check the Code of Conduct and the Contributing Guideline and Policy