These are chat archives for esp8266/Arduino
I’ve just been fiddling wtih tzapu’s wifimanager, I’ve just managed to get it to run in an “always available” mode where the web interface is available even if you’re connected in STA mode, it just spins up or destructs the DNS server depending on AP or STA mode.
I’m not sure if I’ll release, as it’s just an experiment in laziness and code reuse (a lot of the existing procedures worked fine, with a refactor beforehand, wifimanager could actually include this as an option.)
Might fork, might PR, who knows, this mainly happened because I needed a crutch to learn the APIs and wifimanger covers most of what I want already.
I ended up switching to platformio with the Atom GUI, and it’s great, but is it possible to use the latest git version with it?
Also, things are not as peachy with the modifications I have made as I’d thought, adding in DMD2 to drive my display makes it very unstable...
I’ve been fiddling with wifimanager some more:
I’ve got timer0 running an interrupt to push data out over SPI to a display, I’m using a dot matrix led display and the DMD2 library.
it crashes when Wifimanager runs WiFi.scanNetworks(), which happens when you attempt to load the wifi config page.
When I wrap scanNetworks with ETS_CCOMPARE0_DISABLE and ETS_CCOMPARE0_ENABLE, it stops crashing.
Now, this isn’t a big deal, but it’s not the only crash that occurs when using SPI alongside wifi like this, I’d prefer to get to the root of the problem, whether it be some sort of safety check I have to add to DMD2 for my ISR (I’ve added a check that ivan suggested already to make sure we aren’t doing a flash access), or or what, I don’t know.
The question is, what the hell is making it conflict? (I’m on 2.1.0, PlatformIO)
I actually just made a new project when I started using platformio, it works, mostly, but I’ve found that feature can be a little buggy.
GCC also seems to have a bad habit of generating a lot of bogus error and warning messages on WiFiManager when I put it in the src directory rather than using the platformio version.
I’ve even had it tell me that WiFiManager.h does not exist, only for it to compile and run without any issue at all…
So yeah, PlatformIO has a lot of ground they need to cover before it’s really ready for super serious use...
Energy Storebut backed out? http://webcache.googleusercontent.com/search?q=cache:MZTHF9Jfey4J:community.blynk.cc/t/introducing-blynk-energy-first-paid-services/4975+&cd=1&hl=en&ct=clnk&gl=us