Giter Site home page Giter Site logo

smurf0969 / wificonnect Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 11.0 854 KB

WiFi connection manager for ESP32 and ESP8266 with OLED support

License: GNU General Public License v3.0

C 66.40% C++ 31.51% Shell 2.09%
wifimanager wifi-network wifi-configuration esp32 esp8266 esp8266-arduino oled oled-display-ssd1306 oled-ssd1306 oled-display

wificonnect's Introduction

WiFiConnect Build Status Latest Release

WiFi Manager for ESP8266 and ESP32 chips with support for OLED 128x64 screens

Overview

This is a wifi manager based upon the popular WiFi Manager . I created this project as I was finding that wifi managers were not fully supporting my needs or the ESP32 and I has just bought a Heltec ESP32 WiFi kit with onboard OLED display, I decided to extend and modify WiFiManager to my needs.

WiFiConnect can be used when no screen is needed and WiFiConnectOLED for feedback to the user via an OLED display.

I'm using a customised font definition Roboto_Font.h that was generated with the help of the online tool http://oleddisplay.squix.ch/ I have also customised a version of ESP8266_SSD1306 version 4, available here to use my Roboto font by default and prevent the default font from being loaded into memory. If you decide to use the origional library, please remove #define OLEDDISPLAYFONTS_h from the Robotto font file. The origional version is available at ESP8266_SSD1306

Documentation

Further documentation can be found in the Wiki and at https://smurf0969.github.io/WiFiConnect/

Screenshots

alt text

IDE & Library Versions

Arduino IDE

  • Arduino: 1.8.8

Hardware Package Core Libraries

Libraries

Thanks

Many thanks to the authors and contibutors for the main libraries that made this project possible or those that made my modifications possible

Stuart Blair (smurf0969)

wificonnect's People

Contributors

per1234 avatar smurf0969 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wificonnect's Issues

ArduinoOTA makes WiFiConnect fail to remember WiFi settings

Prerequisites

  • Can you reproduce the problem in safe mode?
  • [x ] Are you running the latest version?
  • Did a recent dependancy update cause the problem?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

Have tried the ArduinoOTA >> BasicOTA example that comes with the ESP8266 arduino core. The OTA function works as expected, however after trying to revert to normal USB cable based flashing of a sketch utilizing WiFiConnectLite the ESP8266 always boots up in AP mode where one can select the Access point and store the password. Serial monitor tells those data get stored but then the ESP8266 reboots and can not connect to the AP, and falls back to STA mode again.
(WifiConnectLite repo does not have its own issue tracking)

After running a sketch utilizing WiFiManager to configure the AP credentials, we can revert back to the sketch utilizing WiFiConnectLite and the ESP8266 will boot in STA as expected.

Steps to Reproduce

  1. Upload the ArduinoOTA >> BasicOTA example to your ESP8266 via USB
  2. Upload the ArduinoOTA >> BasicOTA example to your ESP8266 via WiFi
  3. Upload a previously working sketch utilizing WiFiConnectLite via USB
  4. ESP8266 will always end up in STA mode and will not connect to the AP even after saving the credentials
  5. Upload a sketch using WiFiManager via USB, configure AP credentials
  6. After reboot ESP8266 will now connect to the AP
  7. Upload the sketch utilizing WiFiConnectLite via USB. Will work again this time

Versions

ArduinoIDE 1.8.19
ESP8266 Arduino core 3.0.2

BasicAutoConnect doesn't compile.

Firstly, fantastic library. This is the best of the ESP WiFi management libraries around I think.

However, when opening the 'BasicAutoConnect' example without any modifications on an ESP8266, trying to compile results in:

In file included from C:\Users\Anonymous\Documents\Arduino\libraries\WiFiConnect\src\WiFiConnectOLED.cpp:32:0:

C:\Users\Anonymous\Documents\Arduino\libraries\WiFiConnect\src\WiFiConnectOLED.h:37:25: fatal error: OLEDDisplay.h: No such file or directory

 #include "OLEDDisplay.h"

                         ^

compilation terminated

To resole this issue. I have to delete the WiFiConnectOLED.* files and then it compiles.

Would you have any idea why the Arduino compiler is picking up these files even though they aren't linked?

APNAME

Newbie here, not so much a feature request. A quick question. Where can I change the AP name. I was rummaging through the WiFiConnect header file but not quite sure how to change it.
Thanks for the library, appreciate it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.