For my LED wearable, I have my ESP32 do similar things as pixelblaze, and there is one feature I would much like to have pixelblaze offer too if I want to be able to switch to it from my own older solution:
My code is setup to a be wifi client and when at home, will connect to my wifi.
However if I’m not home, it fails to connect to wifi, detects that, and then switched to access point mode on its own so my phone can connect to it.
After next reboot, it tries client mode again first.
Pixelblaze seems to force me to pick one or the other (client or AP) and the way to switch between them is a bit cumbersome.
Yes, I could have my phone act as a wifi access point, but that’s not very palatable because of the extra battery draw that causes.
It seems that ESP32 allows being both a wifi client and wifi AP. Does the pixelblaze support this? It would be great for it to connect to my home wifi if it’s there and broadcast its own stable wifi AP whether I’m home or in the field.
the $9 Vrabocry controller supports doing bluetooth, on what I assume is an ESP32 inside. Of course that means it needs its own android app, but it’s nice to talk to it without having to disconnect from wifi and connect to a new wifi AP on my phone (sadly newer versions of android do not allow a local network only route to a wifi AP and doing all other network routing via cell, so if you connect to a wifi device like pixelblaze, you lose internet connectivity on the phone). The bluetooth connection could be limited to just selecting a pattern number and changing brightness.
Gateway'ed from https://forum.electromage.com/t/having-wifi-default-to-client-mode-but-revert-to-wifi-ap-if-network-is-not-available/3835
For my LED wearable, I have my ESP32 do similar things as pixelblaze, and there is one feature I would much like to have pixelblaze offer too if I want to be able to switch to it from my own older solution: My code is setup to a be wifi client and when at home, will connect to my wifi. However if I’m not home, it fails to connect to wifi, detects that, and then switched to access point mode on its own so my phone can connect to it. After next reboot, it tries client mode again first. Pixelblaze seems to force me to pick one or the other (client or AP) and the way to switch between them is a bit cumbersome. Yes, I could have my phone act as a wifi access point, but that’s not very palatable because of the extra battery draw that causes.
If that helps, that’s the coe I use to do wifi client first and then switch to AP https://github.com/marcmerlin/NeoMatrix-FastLED-IR/blob/da6fcead6c110d1a48c1fe5a1e0618da658d03f1/NeoMatrix-FastLED-IR.ino#L4876
Related to this,