webrepl | WebREPL client and related tools for MicroPython | Websocket library

 by   micropython JavaScript Version: Current License: MIT

kandi X-RAY | webrepl Summary

kandi X-RAY | webrepl Summary

webrepl is a JavaScript library typically used in Networking, Websocket applications. webrepl has no vulnerabilities, it has a Permissive License and it has low support. However webrepl has 3 bugs. You can download it from GitHub.

WebREPL protocol includes experimental support for file transfer. This feature is currently in alpha and has known issues on systems which have it enabled (ESP8266). To use WebREPL file transfer capabilities, a separate command line utility is provided, webrepl_cli.py (file transfer is not supported via webrepl.html client). Run. to see usage information. Note that there can be only one active WebREPL connection, so while webrepl.html is connected to device, webrepl_cli.py can’t transfer files, and vice versa.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              webrepl has a low active ecosystem.
              It has 536 star(s) with 273 fork(s). There are 39 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 24 open issues and 13 have been closed. On average issues are closed in 34 days. There are 16 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of webrepl is current.

            kandi-Quality Quality

              webrepl has 3 bugs (0 blocker, 0 critical, 1 major, 2 minor) and 10 code smells.

            kandi-Security Security

              webrepl has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              webrepl code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              webrepl is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              webrepl releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              webrepl saves you 241 person hours of effort in developing the same functionality from scratch.
              It has 587 lines of code, 18 functions and 5 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            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 webrepl
            Get all kandi verified functions for this library.

            webrepl Key Features

            No Key Features are available at this moment for webrepl.

            webrepl Examples and Code Snippets

            No Code Snippets are available at this moment for webrepl.

            Community Discussions

            QUESTION

            Why does this MQTT client works fine through MicroPython's webREPL but fails in the main.py of the ESP32?
            Asked 2020-Dec-31 at 22:24

            I'm currently working an IOT project requiring the transfer of sensor data between an ESP32 (a wESP32 to be exact) and a Raspberry Pi configured as a broker. From what I've read so far the MQTT protocol seems to fit my needs perfectly, I'm thus running a Mosquitto broker on the Pi as well as the MQTT simple client library provided on the micropython's GitHub repository.

            The first tests performed in the MicroPython WebREPL have been successful as I've been able to receive data published from the ESP using the following code:

            ...

            ANSWER

            Answered 2020-Dec-31 at 22:24

            QUESTION

            Cannot import machine module on MicroPython
            Asked 2020-Jan-31 at 16:28

            When using an ESP8266 and sending files to the board via the WebRepl I can use the machine module when typing directly into the console. However, when I send a Python script that imports the machine module to the board and import it to the console and run the method the code that uses the module doesn't run. I can access other modules and run other code that I have sent onto the board. Also when writing the Python script importing the machine module appears as an error.

            Can anyone tell me what I am doing wrong when importing the machine module from MicroPython?

            ...

            ANSWER

            Answered 2018-Aug-17 at 01:52

            After looking at your code, which most of the time will work on the MicroPython console on the esp8266. I have found in the programs I have written for the esp8266, I have had to import machine and then import time.

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

            QUESTION

            Precompile main.py with the micropython binary image for esp8266
            Asked 2017-Jun-11 at 05:47

            There is boot.py available by default in the micropython image.

            I have tested a code, in the python module main.py. I would like to do the following

            1. I would like to compile a image, so it makes it easier to flash it to more than 10 devices and I do not have to start webrepl.

            2. is there a way to stop boot messages that says micropython version number etc.?

            I tried the following: apparently they are already activated: https://forum.micropython.org/viewtopic.php?t=2334

            I successfully compiled an image using the following: https://cdn-learn.adafruit.com/downloads/pdf/building-and-running-micropython-on-the-esp8266.pdf

            Question:

            how to create an image with main.py, where should this file go in this folder /home/vagrant/micropython/esp8266 ?

            ...

            ANSWER

            Answered 2017-Mar-11 at 22:23

            1) boot.py is generated by the following script:

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

            QUESTION

            ESP8266 Micropython - connecting to University Wi-fi ( WPA2 Enterprise PEAP )
            Asked 2017-Jan-09 at 19:48

            I have a board with an ESP8266 chip running Micropython firmware v1.8.7. My requirement is to use WebREPL via the University Wi-Fi, which uses WPA2 Enterprise EAP-MSCHAPv2 authentication. My Google-fu so far has informed me that Arduino users have been able to connect to WPA2 Enterprise EAP-TLS (certificate based authentication) (link) but not (SSID, username, pwd) networks.

            All the threads I've seen so far on the subject seem to be from mid-2016 at the very latest, so I'm wondering whether someone's been able to figure out how to do this since then. I've never dabbled in network related stuff before (nor am I a great programmer), so all the big words above are pretty new to me. I thus have the following questions:

            1. Is this just an inherent limitation of the ESP8266? Or can it be done? This discussion seems to suggest it can be done but the capability needs to be coded in.
            2. Is it possible to somehow branch out a WPA2 Personal connection from the WPA2 Enterprise that can be used by the ESP8266 as well as my PC? What I've tried so far is to attempt a hotspot using Connectify but there's been no luck there.

            I appreciate any help you guys can provide. If there's any relevant info I haven't included, please let me know and I'll edit it in.

            Edit: @MaximilianGerhardt This is what works for me on a WPA2 Personal:

            ...

            ANSWER

            Answered 2017-Jan-09 at 19:48

            As I linked in the comments the problem has apparently been solved in the newest 2.0 Espressif SDK. But since you're not using the Espressif C SDK, but the python "Micropython" firmware, this change has not been yet propagated into this python firmware.

            You can see the mapping of the network functions (active(), connect(), ifconfig() etc) in the firmware here: https://github.com/micropython/micropython/blob/master/esp8266/modnetwork.c#L430. In line 115 you can also see the call to wifi_station_connect(), which is a native Espressif-SDK function. Thus you'll see, the firmware doesn't yet make use of the new functions for WPA2 authentication. In line 490 you can see all the available options for authentication:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install webrepl

            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/micropython/webrepl.git

          • CLI

            gh repo clone micropython/webrepl

          • sshUrl

            git@github.com:micropython/webrepl.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

            Explore Related Topics

            Consider Popular Websocket Libraries

            netty

            by netty

            ws

            by websockets

            websocket

            by gorilla

            websocketd

            by joewalnes

            koel

            by koel

            Try Top Libraries by micropython

            micropython

            by micropythonC

            micropython-lib

            by micropythonPython

            micropython-esp32

            by micropythonC

            micropython-unicorn

            by micropythonC

            micropython-esp32-ulp

            by micropythonPython