Comments (24)
Via official Tasmota OTA server https://ota.tasmota.com/tasmota32/
from tasmota.
Hello . I have nearly the same problem.
I compile a latest version (14.0.0.1 dev) and run it on a ESP32 device (Sonoff SwitchMan 2C) configurated as shutter.
After i updated to 14.0.0.1 dev. The device getting (respond) getting terribly slow and NO BLE devices show up. Switch back to 13.4.0 (stable) everything works fine and the BLE devices show up.
Compile with:
Regards
Mark_Muc
from tasmota.
Same issue here. I have more devices with bluetooth and all lost connection with tasmota 14, reverting back to 13.4 resolves the issue. Also a issue for the EQ3 devices
v14.0
10:23:58.530 BLE: scan stall? no adverts > 120s, restart BLE
10:23:58.537 BLE: BLETask: Restart NimBLE - restart Tasmota in 10 if not complt
10:23:58.541 BLE: Task:Stopping NimBLE
10:23:58.664 BLE: BLETask:Starting NimBLE
10:23:59.547 MQT: tele/rolluikslaap1/BLE = {"blerestart":"no adverts in 120s"} (retained)
10:23:59.549 BLE: Failure! Restarting BLE Stack because no adverts in 120s
10:25:59.533 BLE: scan stall? no adverts > 120s, restart BLE
10:25:59.630 BLE: BLETask: Restart NimBLE - restart Tasmota in 10 if not complt
10:25:59.636 BLE: Task:Stopping NimBLE
10:25:59.757 BLE: BLETask:Starting NimBLE
from tasmota.
@btsimonh Can you have a look?
from tasmota.
looks like NimBLE may have some issues to be resolved to work well with core 3.0.0
h2zero/NimBLE-Arduino#645
I think we should wait to see how @h2zero progresses....
from tasmota.
@btsimonh wrong repo. Tasmota does not use NimBLE-Arduino anymore.
Moved to https://github.com/h2zero/esp-nimble-cpp.
The issue you mentioned is not relevant for esp-nimble-cpp
The MI driver from Staars does work well with esp-nimble-cpp and Arduino Core 3.0.0
"Only" the classic Tasmota BLE driver is not working.
from tasmota.
ahh... ok. So just taking a quick look at the source, there are really no changes to account for changing library? I guess the NimBLE classes and structures are identical in both cases...
I build the firmware and confirm the above - adverts are not all being seen. It DID see one from an EQ3, but then failed to connect to the EQ3. So it looks like the stack is working a bit, just the radio not working too well.
We could look at changes to the wifi/BLE sharing methods in core 3.0.0?
from tasmota.
There are some small changes made to make the BLE driver compile with Arduino Core 3.0.0 and h2zero lib esp-nimble-cpp. Take a look at the commits.
from tasmota.
yep, spotted it. NimBLE-arduino had a separate scan end callback, set in a different way. Your commits meant that it was never called. Just testing a change now, so let's see....
(the scan end callback caused the start of another scan. so basically, currently scan once at start, and never again - and it's the scanning which hears adverts)
from tasmota.
Thanks a lot!
When will the fix be available in precompiled files. Next version?
from tasmota.
@Rushmed It is already here in section development
https://tasmota.github.io/install/
from tasmota.
@Rushmed @kroon040 @Mark-Muc - pls report success here.
For me, the mods showed my one pvv temp+hum sensor which was close, and 6 EQ3, 3 of which connection failed because of low signal, but the other three happily read valve position, etc. indicating connections success. (EQ3 connection is always a little dodgy - an ideal device to stress tas's BLE stack! ).
I didn't test aliasing or any other features - but nothing has changed there, so all should be good.
from tasmota.
I got 4 EQ3 devices and 4 LYWSD03MMC devices. All the devices are working, also valve position and desired temp. Also aliasing also still works. I See one device he just needs to try 3 times and than it connects.
from tasmota.
Just to let you know. I also built today a version in the dev. brache and all BLE derives are visible.
one slight problem:
if u use a "." (dot) in the aliasing . like:
BLEAlias E72E0050A0CC=1.OG_Bad A4C1382D29C3=1.OG_Arbeit_2
as u can see it shows a "," (coma) instead of a "." (dot)
it is also in the version: 13.4.0 final.
Mark_Muc
from tasmota.
That's the auto decimal kicking in. It replaces a dot by a comma for Germany :-)
Let me see if it can be easily fixed....
from tasmota.
Try latest dev.
from tasmota.
I wish CSV import in Excel different countries was fixed so easily and quickly!
from tasmota.
Try latest dev.
did and looked good!!
that was fast and quick!!
Thx & Regards
Mark
from tasmota.
but i do have an other problem.
not belog to the "bluetooth bug".
I foud out, that he newer versions of tasmota now connect my device (Sonoff SwitchMan 2C) now connect to my AP in
Mode HT40
bevor it connected to my AP in
Mode 11n
I think that will be the reason why it device is laging like hell.
The informiation of the device:
in my Fritz.Box it connects like:
if it's not the right place .. pls be so kind to move it!
Mark_Muc
from tasmota.
Well core3 does support both n (=HT20) and HT40 depending on your wifi AP. Reconfig your AP to HT20 and it should connect to HT20 (at least that's what my ubiquiti does.)
from tasmota.
The connection mode is most probably not the reason for your devices being laggy.
It is Bluetooth. Bluetooth and WiFi together enabled on an Esp32 is always problematic.
from tasmota.
Well core3 does support both n (=HT20) and HT40 depending on your wifi AP. Reconfig your AP to HT20 and it should connect to HT20 (at least that's what my ubiquiti does.)
seems that this is not the issue .. fount out.
If u use a fresh installed 32bit device . flashed it with the webflasher included the final with Bluetooth.
it works with the network and no lagging.
BUT
if i restore my config .. the it is lagging like hell.
Found out:
If u upload to the filesystem it happens.
i.e. I upload a file called: autoexec.bat the device hangs / lagging.
autoexec.bat contains:
Mi32Option6 1
MI32Page 10
MI32Block A4C138465A57
MI32Block E7764500F442
BLEAlias 150311116C66=LYWSD02-1 A4C138AF4A0B=Temp&Hum(LYWSD03MMC) E72E0050A0CC=1.OG_Bad A4C138465A57=Pavillion_innen A4C1382D29C3=1.OG_Arbeit_2 A4C1389C4D2A=Thermostat
shutteropen
asap it hangs after upload.
It is fine in 13.4.0!!
Regards Mark
PS: I can provide my safed .DMP file.
from tasmota.
@Rushmed It is already here in section
development
https://tasmota.github.io/install/
Thanks, how can I download the .bin file? I have to flash OTA.
from tasmota.
@Rushmed @kroon040 @Mark-Muc - pls report success here. For me, the mods showed my one pvv temp+hum sensor which was close, and 6 EQ3, 3 of which connection failed because of low signal, but the other three happily read valve position, etc. indicating connections success. (EQ3 connection is always a little dodgy - an ideal device to stress tas's BLE stack! ). I didn't test aliasing or any other features - but nothing has changed there, so all should be good.
Tasmota 14.0.0.3 (b61ea17-bluetooth) is working as expected. Thanks Sir!
from tasmota.
Related Issues (20)
- ADC Voltage no decimal (like on Current) HOT 6
- Fatal error when compiling tasmota32c3: ../riscv32-esp-elf/bin/as.exe': CreateProcess: No such file or directory HOT 2
- ShutterButton hold does not work HOT 15
- Command "Shutterinvert" doesn't invert the Shutter1 Value HOT 1
- When poweron in shutter mode tasmota set LOW level on Relay_i (GRIO5), but must set HIGH HOT 1
- Wifi stop working on C2 (ESP8684-WROOM-03-H4) when Bluetooth ENABLED. HOT 1
- Exception when get zigbee started information HOT 3
- Exception when use tuya zigbee smart knob HOT 6
- Sonoff ZBBridge Pro: No connection to HA and no Zigbee buttons HOT 1
- KNX Alexa not available HOT 5
- Shelly Plus 1PM incorrectly report voltage drops at random intervals
- Scripter smart meter interface addresses limit of 511 chars. HOT 1
- Problems receiving data from vbus interface (sensor53) since Release 14.0.0 HOT 2
- google Chart options not work with c=columnchart HOT 2
- Thermostat current temperature (measured) goes to 0.0
- PZEM-004-T and DS18x20 are not work simultaneously HOT 1
- Recalled: Making a Tasmota device smarter, really smarter !
- xsns_102_ld2410.ino syntax error HOT 3
- PID PID_LOCAL_SENSOR_NAME doesn't seem to update Pv HOT 7
- xsns_102_ld2410.ino: Modification for reading Engineering Mode Data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tasmota.