Skip to content

[BUG] Readme needs to be refactored #737

Closed

Description

@atsju

As a first time user i see things with a different eye than experiences users.
IMO the readme is unclear. For installation it should rely completely on wiki (today there is information in both).
I can't refactor it myself without discussing with some user that knows everything.

Activity

  1. github-actions commented on Apr 18, 2022

    @github-actions

    Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here

  2. luc-github commented on Apr 18, 2022

    @luc-github
    Owner

    I fully agree - but most of people do not read the wiki and even not check the readme - they prefer to watch youtube video which is almost all the time outdated, when people say they cannot do even reading the readme/wiki and I ask what did they did not understood - so I can improve it - they usually never answer ...

    spend time on a full documentation that people do not take time to read vs spend time on code and fix bug => I did my choice

    This also why I tried to move to platformio - it simplify a lot the installation / compilation steps - all is ready, just update the configuration.h, which I try to fill with lot of comments, and choose the target board ....this is the purpose of #478

    Using arduino is more tricky for the installation. but arduino is also more up to date for board / chip support

    That said every contribution for documentation is welcome, and I would be more than happy to get nice documentation - but it won't come from me until my todo list is done ( in some years I guess 😸 ), it is definitly not my priority

  3. atsju commented on Apr 18, 2022

    @atsju
    ContributorAuthor

    I understand the fact of moving to platformIO. Marlin users already are on platformIO so I think it's good to have same tools.

    If I was to rewrite the documentation, is the platformIO version ready and recommended with 2.1.1 or shall 2.1.1 always build with Arduino ?

  4. luc-github commented on Apr 18, 2022

    @luc-github
    Owner

    yes it is : https://github.com/luc-github/ESP3D/blob/2.1.x/platformio.ini

    but some people are scared of platformIO - I already see people trying to compile Marlin with arduino because - platformIO is confusing for them

  5. reopened this on May 7, 2022
  6. atsju commented on May 8, 2022

    @atsju
    ContributorAuthor

    @luc-github I'm still in the learning curve. What are data port and web port for ? I understand he web port, my question is more, is the data port actually used and when ?

  7. luc-github commented on May 8, 2022

    @luc-github
    Owner

    some application like pronterface or repetier host allow direct tcp communication, this is the port fort this usage, several people call this telnet https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFi/examples/WiFiTelnetToSerial but is actually not right, it is more raw tcp, so I have called data port in 2.x, but in 3.x I is called telnet port because it is more meaningful for people

  8. atsju commented on May 9, 2022

    @atsju
    ContributorAuthor

    note for update of wiki
    Do a section about voltage adaptation between MCUs.
    This picture might be updated to put only a serie resistor to limit current. Better and easier than a divider bridge.
    image

  9. 60 remaining items

  10. luc-github commented on Jun 9, 2022

    @luc-github
    Owner

    For what it worth - I have ordered 2 new esp32cam with additionnal boards for flashing
    none of the additionnal boards seems working, even for powering the esp32cam (I did not googled if was common issue) - seems crappy - so I flashed / powered in old way - and both new boards can connect to my local access point as usual

    So based on your tests, I am really guessing your issue is not linked to your board itself (as it also work with 2.0.1) but to compatibility between your router and esp32 core latest code.

  11. atsju commented on Jun 9, 2022

    @atsju
    ContributorAuthor

    My conclusion too.
    But works neither on my phone AP nor on my box.
    For your reference espressif/arduino-esp32#6848
    Thank you again for support

  12. atsju commented on Jun 9, 2022

    @atsju
    ContributorAuthor

    Just for an update : I'm waiting for some kind of resolution from the opened issue but I have been able to build ESP3D and connect with platform = espressif32@4.1.0 It's the last version with a core at 2.1.0

    The door is open to a new series of problems :)

  13. atsju commented on Jun 11, 2022

    @atsju
    ContributorAuthor

    Hi @luc-github
    An update about my connection issues (as described here espressif/arduino-esp32#6848). The issue was that default minimum auth level has changed to WPA2. I suppose my box is using WPA only so connection is refused as NO_AP_FOUND -with requested security settings-.

    I did not find a config in your code to set the minimal wifi_auth_mode_t. Could you please take this into consideration in 3.0-refactor ?

  14. luc-github commented on Jun 11, 2022

    @luc-github
    Owner

    The devt branch is now the 3.0 - the 3.0-refactoring is just there for a while then I will delete it
    Looking at new API I am checking to add for ESP32:

    #if defined (ARDUINO_ARCH_ESP32)
                WiFi.setMinSecurity(WIFI_AUTH_WEP);
                WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
                WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL);
    #endif //ARDUINO_ARCH_ESP32
    
  15. luc-github commented on Jun 11, 2022

    @luc-github
    Owner

    @atsju please give a try to latest git : https://github.com/luc-github/ESP3D/tree/3.0
    4b258c6 should fix your issue according your investigations

  16. atsju commented on Jun 11, 2022

    @atsju
    ContributorAuthor

    @atsju please give a try to latest git : https://github.com/luc-github/ESP3D/tree/3.0 4b258c6 should fix your issue according your investigations

    @luc-github no it is not fixed.
    You must set config before second wifi.begin there

    if (WiFi.begin(SSID.c_str(), (password.length() > 0)?password.c_str():nullptr)) {
    This fixes the issue for me. (first config is not needed in my case but as I don't understand fully the code I don't know the impact).

    Kindly note that while reading code (and the very few comments) it's unclear to me why you need to call begin and esp_wifi_start twice here. Do not hesitate to add some comments (or to refactor if relevant).

  17. luc-github commented on Jun 11, 2022

    @luc-github
    Owner

    Indeed this code is not supposed to be there - it come from refactoring and a bad sync with ESP3DLib code
    I have removed it - thank you for pointing this out orz

  18. atsju commented on Jun 11, 2022

    @atsju
    ContributorAuthor

    This is why I prefer merge commit over squash and rebase. But I understand the workflow you use.
    60f9680 is working. thanks.

  19. luc-github commented on Jun 14, 2022

    @luc-github
    Owner

    https://github.com/luc-github/ESP3D-Configurator should simplify some configuration / installations steps as it also allow to download webUI - it is not yet ready but I think current rendering is quite relevant of what will be once done

  20. luc-github commented on Oct 18, 2022

    @luc-github
    Owner

    I guess this one can be closed as latest pr was merged

  21. github-actions commented on Oct 29, 2022

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  22. locked as resolved and limited conversation to collaborators on Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions