Comments (15)
For reference I am on Espressif 8266 v2.2.2 and my packages are in my user folder:
C:\Users\Rick\.platformio\packages
and
C:\Users\Rick\.platformio\platforms
So re-installing platformio may not cause these to be re-fetched. If you delete them platformio will refetch them on build (note: delete, not rename!)
from esp8266-react.
Hi Bruno,
Your project is looking really good!
Are you having this problem with the master branch? I made a series of recent fixes, tweaks and upgrades. One of them addressed an issue around the access point. The problem was due to WiFi channel switching when the ESP tries to reconnect, which it does continuously.
The aforementioned fix is here:
https://github.com/rjwats/esp8266-react/blob/master/src/WiFiSettingsService.cpp
Let me know if this helps.
from esp8266-react.
Thank you @rjwats I put your name on the credits!
Unfortunately I could not match my version with your master. I'll have to program myself to get the master version... :/
from esp8266-react.
Setting this repo as an upstream origin might help you with your merge process:
https://help.github.com/en/articles/configuring-a-remote-for-a-fork
from esp8266-react.
Do you know this problem:
it's your current master.
from esp8266-react.
Thanks for pointing that out Bruno. It looks like esp32's arduino core implements the end function, esp8266 handles this in the destructor instead. Resolved in master with an if-def.
from esp8266-react.
Did you make any progress merging the AP fix into your project?
If it's of interest the new implementation of WiFiSettingsService allows you to assign an empty SSID in wifiSettings.json which will effectively disable the WiFi station mode. This allows the Access Point to run totally uninterrupted. The fallback (when unable to connect) is to control the reconnect frequency which is done in the class and controlled by WIFI_RECONNECTION_DELAY in WiFiSettingsService.h it should be fairly easy to backport these changes into your application. Let me know if you need any more info.
from esp8266-react.
Hi rjwats, im working on merge your master with my project version (hard work).
I have an other problem in your master:
and
from esp8266-react.
I'll take another look at master this evening, though it seemed to be behaving fine last night. In the mean time, you might try a clean rebuild by running:
'pio run -t clean'
I removed what I assumed was a redundant reference to the esp's WiFi library from the main class which may have cause this new issue, will investigate later.
from esp8266-react.
yes, i got a new environment (platformio and vscode) to build your master and got this erro.
I think that erro is related to #ifndef ESP8266 i dont kknow where in workspace it was configured as true. To by pass this error i need to comment this lines. I dont know why...
from esp8266-react.
Hi Bruno,
Odd, I have just pulled a fresh copy from master and it's builds fine under Windows for me.
The first error, INADDR_ANY not resolving, shouldn't be an issue as as WiFiSettingsService.h pulls in IPAddress.h from the Arduino core package which provides this.
The "ESP8266" define is configured by platformio based on your platform, in this situation it is behaving correctly. You are building on the esp8266 core, which provides 'strcpy_P(dest, src)' as part of string.h In this case the function is not provided by the DateStrings library because the Arduino core provides it already.
You should see what I mean if you find the following file on your file system (assuming it is there!):
C:\Users\Rick\.platformio\packages\framework-arduinoespressif8266\tools\sdk\libc\xtensa-lx106-elf\include\sys\string.h
If you are getting this issue on your other projects too I suggest your packages are corrupt in some way and need re-installing.
from esp8266-react.
For reference I am on Espressif 8266 v2.2.2 and my packages are in my user folder:
C:\Users\Rick\.platformio\packages
and
C:\Users\Rick\.platformio\platforms
So re-installing platformio may not cause these to be re-fetched. If you delete them platformio will refetch them on build (note: delete, not rename!)
I was with old ESP8266 platform version... i got the latest and solve the issue.
Now im working on update my arduino code and i'll use my version of interface...
Mabe you can consider enable/disable the JWT auth (my project doesnt needs)
Thanks!
from esp8266-react.
Yes, that's a reasonable feature request. That should be opened as a separate issue, there's 3 things getting discussed here.
from esp8266-react.
Hi Bruno,
I'm closing this issue and opening another one to track the feature request: #39
Please re-open if you are still having the AP issues.
from esp8266-react.
from esp8266-react.
Related Issues (20)
- Error npm start or build Error: ...API schema. - options.allowedHosts[0] should be a non-empty string. HOT 3
- Support to show user defined build version infomation in the about screen x.x.x. Also nice to expose an api that can return this infomation. This can be handy if you want to mass update devices that meet a version criteria.
- Help me understand why "We want the device to come up in opmode=0 (WIFI_OFF)" (WiFiSettingsService.cpp)
- ESP32 light sleep mode and WiFi on/off
- websocket (WS_EVT_DATA) event from client does not update state on esp8266 only HOT 1
- Add netBIOS name
- On Mobile after clicking on menu item it does not close drawer HOT 7
- Firebase Integration HOT 1
- [Question] Add a websocket based STOMP implementation
- How to use MQTT function
- How to buy a coffee? HOT 2
- Retain flag on MQTT topic & Last will & Testament message HOT 1
- Possibility to use a JsonArray instead of JsonObject in read/update method
- Using PreactJS instead of ReactJS to reduce bundle size HOT 8
- Merging 2 websockets into a single one
- esp32 bootloop with platform=espressif32 HOT 5
- Manual Set Time not accounting for DST Properly (Fix attached) HOT 1
- web interface
- Slider Issue
- Working Platformio packages versions HOT 1
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 esp8266-react.