ESP8266 | Documentation and help with the ESP8266

 by   tttapa HTML Version: Current License: GPL-3.0

kandi X-RAY | ESP8266 Summary

kandi X-RAY | ESP8266 Summary

ESP8266 is a HTML library typically used in Internet of Things (IoT), Arduino applications. ESP8266 has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Documentation and help with the ESP8266 chip/boards/modules. You can find the entire article here, or you can just download it.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ESP8266 has a low active ecosystem.
              It has 495 star(s) with 253 fork(s). There are 70 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 59 open issues and 23 have been closed. On average issues are closed in 101 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ESP8266 is current.

            kandi-Quality Quality

              ESP8266 has no bugs reported.

            kandi-Security Security

              ESP8266 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              ESP8266 is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              ESP8266 releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ESP8266
            Get all kandi verified functions for this library.

            ESP8266 Key Features

            No Key Features are available at this moment for ESP8266.

            ESP8266 Examples and Code Snippets

            No Code Snippets are available at this moment for ESP8266.

            Community Discussions

            QUESTION

            Esp8266 WiFi STA cannot see Esp32 WiFi AP network, why?
            Asked 2021-Jun-14 at 07:45

            Started to develop a wiresless 'cable' solution (with websockets) between two ESPs, a wireless serial 'cable' between computer and a serial device to mimick a direct wired connection. Was working great however just accidentally fried one of the ESPs (short a serial cable connection to higher voltage - sigh) when testing. Replaced one of the ESP32s with an ESP8266. Suspect this should work however it did not.

            The problem is the ESP8266 (client) cannot find the network of the ESP32 (server). Why it doesn't work? My computer can see the server and can connect. Fried ESP32 the same, no problem.

            Tried the WiFiScan demo on the ESP8266 and can detect all other WiFi SSIDs/MACs in neighborhood however cannot detect the ESP32 server it's SSID/MAC.

            Why it doesn't work? What is the difference and how can I solve this?

            ESP32 - code of the server

            ...

            ANSWER

            Answered 2021-Jun-14 at 07:45

            WiFi channels 12-14 are not used in some countries (e.g. US). Perhaps the ESP32 AP picked one of those channels, and ESP8266 is configured by default with settings from a country which doesn't allow them. Set the AP channel to some reasonably safe value in range 1-11.

            I can see that the default channel should be 1, but I'd suggest experimenting with it, perhaps setting it to 6:

            Source https://stackoverflow.com/questions/67963133

            QUESTION

            ESP32 - Webserver with 2 webpages and one form
            Asked 2021-Jun-13 at 17:23

            I need to program a ESP32 to act as webserver and have 2 simple pages.

            The first one should contain a form that the user has to fill in. (one text box, one dropdown and one checkbox.) The form has a submit button, and when it is pressed, the values are written to the ESP32, and a new page is presented. This new page will the update its content dynamically via AJAX calls.

            I've found and seen countless tutorials and managed to make the second AJAX page that updates on its own without refreshing. I am not able to undertand tough how I can make the / root page with the form to submit its data, AND to forward to the second page.

            So basically the questions are 3:

            1. how can i have more than one page on a ESP32?
            2. how can I submit a form so that the values get stored in variables on the ESP?
            3. how can the submit button forward to the next page?

            Thank you

            -----EDIT:------

            I found an answer to questions 1 and 3 with this sample: https://www.arduinoslovakia.eu/blog/2019/4/esp8266---http-server-s-viac-strankami?lang=en

            question 2 is still open tough. Thank you!

            ...

            ANSWER

            Answered 2021-Jun-13 at 17:23

            You need to parse the incoming url, depending on the request you are sending with your form. The most common is a POST request, regarding to HTML forms.

            If you send a POST request to your ESP, then your data will be in the body and you should parse in there. You will get a request like this (Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST)

            Source https://stackoverflow.com/questions/67958897

            QUESTION

            JavaScript read more, read less button with dynamic data from MySQL database and PHP
            Asked 2021-Jun-13 at 12:22

            I have fetched an associative array from database and the problem is that the purpose i.e. $row['purpose'] remains all the same and is set to the very last row fetched Below is my entire PHP Script

            Note:- This question is answered and the question code is replaced with a working answer The question has been answered and the code I provided with the question has been replaced with the code from the answer

            ...

            ANSWER

            Answered 2021-Jun-13 at 12:22

            in you foreach you should pass the actula values of $row['purpose']

            Source https://stackoverflow.com/questions/66198364

            QUESTION

            Error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
            Asked 2021-Jun-10 at 21:43

            I tried to do a Clock News Weather Scrolling Marquee with the esp8266. But when I upload the code it's got an error. Can you help me? Here's a part of the code:( under the MIT License (Copyright 2018 David Payne))

            ...

            ANSWER

            Answered 2021-Jun-10 at 21:43

            You need to also create a new instance of WiFiClient from WiFiClient.h, and pass that in to the begin:

            Source https://stackoverflow.com/questions/67702822

            QUESTION

            P10 Led Matrix 64x32 not show true in pixeltime (PxMatrix library) with ESP8266 NodeMCU
            Asked 2021-Jun-10 at 09:17

            I am learning how to control P10 Led matrix 64x32 with NodeModule MCU ESP8266, I google and found this library https://github.com/2dom/PxMatrix and this tutorial https://www.instructables.com/RGB-LED-Matrix-With-an-ESP8266/. I believed that I wire between P10 and ESP8266 in true way in the tutorial, but that P10 led does not display as the example:

            The true result will be:

            This is my wire diagram:

            This is my code:

            ...

            ANSWER

            Answered 2021-Jun-10 at 09:17

            I fixed this by adding

            display.setPanelsWidth(2);

            display.setMuxPattern(SHIFTREG_ABC_BIN_DE);

            because my led is combined by 2 matrix 32x16.

            Source https://stackoverflow.com/questions/67522932

            QUESTION

            Failing to connect an ESP8266 to a Flask Server
            Asked 2021-Jun-09 at 00:35

            I have a flask application that I need to communicate with my ESP8266 and I'm failing miserably to achieve that. It's not supposed to be hard, but I'm clearly missing something, and I wouldn't be surprised since is my first time working with flask. Let me try to explain what I've done so far.

            This is my flask code:

            ...

            ANSWER

            Answered 2021-Jun-08 at 20:34

            It's quite likely the IP addresses that you use and possibly your current network setup. If you run Flask locally, by default it will use 127.0.0.1 (localhost) and the application can only be reached from your own computer. Other hosts on the network cannot. So your intuition is correct, you need to run it on 0.0.0.0 so that the application becomes accessible on any interface, not just localhost but also the LAN IP address and WAN IP address (provided you have got one).

            Now the remaining question is, is 10.104.2.114 is the correct address for your PC where the Flask application is running ? Assuming that you use DHCP, the IP address is subject to change. From what you are saying your ESP8266 is on the same network but I think the connection sharing applies some form of isolation between guests (possibly by VLAN). So, for that reason, the guests on that network may not be able to see each other and this is by design. It is normal for wifi hotspots to segregate traffic per client.

            Putting all your devices on the same router/switch could work. Note that you can still use your home router/switch to connect devices, even if Internet access is out of service. This is something you could try, as long as your hardware is in good condition.

            Source https://stackoverflow.com/questions/67893167

            QUESTION

            How to use both MFRC522 and RDM6300 using a NODEMCU
            Asked 2021-May-29 at 00:13

            I want to use both MFRC522 and RDM6300 readers on a single NodeMCU, the two separate codes for each readers are respectively :

            ...

            ANSWER

            Answered 2021-May-29 at 00:13
            void loop() {
            if (  mfrc522.PICC_IsNewCardPresent()) {
            
            
            // Select one of the cards
                 if (  mfrc522.PICC_ReadCardSerial()) {
            
            
            
              // Dump debug info about the card; PICC_HaltA() is automatically called
                     mfrc522.PICC_DumpToSerial(&(mfrc522.uid));
                }
             }
              if (rdm6300.update())
                Serial1.println(rdm6300.get_tag_id(), DEC);
            
            }
            

            Source https://stackoverflow.com/questions/67745313

            QUESTION

            mouse movement real time transmission from raspberry pi
            Asked 2021-May-24 at 18:10

            i'm trying to send the coordinates of mouse connected to a raspberry pi to an ESP8266 in the same network. I just wrote this bash script

            ...

            ANSWER

            Answered 2021-May-24 at 18:10

            Here's a sketch of how the shell loop could be avoided:

            Source https://stackoverflow.com/questions/67673304

            QUESTION

            Blue ESP8266-12e tx light staying on
            Asked 2021-May-12 at 19:20

            I have some code I have been putting on an ESP8266-12e board. Until recently it always worked fine. Now though when I finish uploading the code the blue light on the ESP8266-12e is staying on. I have tried it on two different board and the blue light stay on on both. I can't figure out what I changed in the code. I have decided to put it up and have everyone look at it and let me know what I may be missing. I hope someone can find something.

            My code:

            ...

            ANSWER

            Answered 2021-May-12 at 19:18

            So I got the blue light to go off. Instead of pinMode(D4,INPUT); and digitalWrite(D4,LOW); D4 is pin 16 which is the wake pin. So I had to define it thus #define LED3 16 and then pinMode(LED3,INPUT); and digitalWrite(LED3,LOW); I will change my original code to reflect these changes.

            Source https://stackoverflow.com/questions/67497554

            QUESTION

            send data to firebase using REST API or HTTPS request
            Asked 2021-May-09 at 11:33

            after reading this answer https://stackoverflow.com/a/51614256/15486192 from @Arsam, i am successfully sending data from nodeMcu esp8266 to firebase. but i am using Database secrets Although it is deprecated.

            and while searching for an alternative i came across firebase REST

            Firebase Database REST API

            API Usage

            You can use any Firebase Realtime Database URL as a REST endpoint. All you need to do is append .json to the end of the URL and send a request from your favorite HTTPS client. HTTPS is required. Firebase only responds to encrypted traffic so that your data remains safe.

            after reading that, anyone conclude that you can send data to firebase using HTTPS request.

            so my questions,

            is REST API just an HTTP request? i am just confused if it is, then why just not naming it HTTP API? can i send my data to firebase Realtime-database using only https request from my client?if yes then how

            ...

            ANSWER

            Answered 2021-May-09 at 11:19

            REST or RESTful API design (Representational State Transfer) is designed to take advantage of existing protocols. While REST can be used over nearly any protocol, it usually takes advantage of HTTP when used for Web APIs.

            Source https://stackoverflow.com/questions/67455666

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ESP8266

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/tttapa/ESP8266.git

          • CLI

            gh repo clone tttapa/ESP8266

          • sshUrl

            git@github.com:tttapa/ESP8266.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link