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

SwitchBot TH crashing esp32 c3 - switchbot_plugmini_W1901400 #57

Closed
edestecd opened this issue Sep 1, 2022 · 8 comments
Closed

SwitchBot TH crashing esp32 c3 - switchbot_plugmini_W1901400 #57

edestecd opened this issue Sep 1, 2022 · 8 comments

Comments

@edestecd
Copy link
Contributor

edestecd commented Sep 1, 2022

ref #47
I am using the blerry dev branch and the development branch of Tasmota on these: https://templates.blakadder.com/switchbot_plugmini_W1901400.html

ATCpvvx alone seems to work fine on one plug and not cause issues but on another with just one WoSensorTH it will last up to an hour before freezing and becoming completely unresponsive. The button on the side to toggle the plug relay is dead and no http or anything. Pulling the plug out of the outlet and replugging it is the only way to bring it back... It then runs for a random time not more than an hour and repeat.

I am starting to suspect exclusively WoSensorTH as I've had others with ATCpvvx and WP6003 with no issue.

What else can I provide to help troubleshoot? turn on berry debug? send to syslog?

@edestecd
Copy link
Contributor Author

edestecd commented Sep 1, 2022

What I have tried:

SO57 0 - no change
Use standard build options for bluetooth including USE_MI_ESP32
Use build options here: https://github.com/tony-fav/tasmota-blerry/blob/dev/tasmota32_firmware/user_config_override.h

@tony-fav
Copy link
Owner

tony-fav commented Sep 1, 2022

Lots of reports of instability on the latest dev of Tasmota. Folks in discord have been pointing to this bin
https://github.com/tasmota/install/raw/0533fd275fad9f4f3bf8350a6afdb9c6176d6879/firmware/unofficial/tasmota32c3-bluetooth.bin https://discord.com/channels/530777070435827722/994727833006002177/1014642142389469184

My primary reaction is that you may be asking a lot out of the little ESP processor to do regular passive BLE, active scanning BLE (the WoSensor's), and polling (WP6003).

Can you try the linked binary and see if you still have the issues?

@edestecd
Copy link
Contributor Author

edestecd commented Sep 1, 2022

At first I had one plug doing all three sensors but now I have only one sensor per plug and the ones that are failing seem to be tied to a single WoSensor

@tony-fav
Copy link
Owner

tony-fav commented Sep 1, 2022

Okay. So please try that binary. Sometimes ESP core updates can cause a lot of issues coming from the closed source parts of the SDK.

@edestecd
Copy link
Contributor Author

edestecd commented Sep 1, 2022

@tony-fav
Copy link
Owner

tony-fav commented Sep 1, 2022

The point is the commit level it's at relative to Tasmota not the build environment.

https://github.com/arendst/Tasmota/tree/5e1eead9878b205949e368b57857394716c3eff8 <-- this is the repo at a commit right before an arduino core update that seems to have some issues.

@edestecd
Copy link
Contributor Author

edestecd commented Sep 1, 2022

Awesome thanks I can try a build at that commit. Also I'm new to discord and don't seem to have access to the link or channel you provided above.

@tony-fav
Copy link
Owner

tony-fav commented Sep 1, 2022

https://discord.gg/hK9z4eQM ping @ tony when you join :-)

edestecd added a commit to edestecd/tasmota-blerry that referenced this issue Oct 12, 2022
edestecd added a commit to edestecd/tasmota-blerry that referenced this issue Oct 12, 2022
edestecd added a commit to edestecd/tasmota-blerry that referenced this issue Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants