Select connection Type via Switch

Yep, da boss man has said a lot of things :stuck_out_tongue_winking_eye:

Honestly, I don’t care and shouldn’t have gotten involved in this topic as I never liked Blynk’s BT/BLE (it was not reliable enough for me) and I actually don’t actively use Blynk anymore either. Came for the Python interest, got stuck in the debating again… my bad :blush:

1 Like

I agree, I really hope that Bluetooth/BLE doesn’t make it into Blynk 2.0 when it eventually makes an appearance.

Pete.

Update
Just tested and verified the double-dipping WiFi and BT/BLE can work simultaneously using the above sketch / lib mod. All the previously-working widgets are still working correctly.

The terminal output

Use WiFi to connect Blynk
[251] Connecting to HueNet1
[2412] Connected to WiFi
[2412] IP: 192.168.2.109
[2412] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP32

[2418] BlynkArduinoClient.connect: Connecting to acount.duckdns.org:8080
[2524] Ready (ping: 6ms).
Use BT to connect Blynk
[2594] 
    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on ESP32

cpm = 0 - RadiationValue = 0.00uSv/h - Equivalent RadiationDose = 0.0000uSv
[25805] BT connect
[25831] Ready (ping: 25ms).
cpm = 0 - RadiationValue = 0.00uSv/h - Equivalent RadiationDose = 0.0000uSv

Mine has worked with one Project! I just selected Bluetooth as connection Type and WiFi worked well:)

1 Like

That’s a much better way to do as I’m really not an experienced user of BT/BLE.

Update Feb 5th 2020

Hello @Crosswalkersam,

FYI, just update the BlynkESP32_BT_WF lib to v1.0.2 to provide similar WiFiManager’s Config Portal support.