Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Pymakr 1.1.2 VSC can't connect to lopy4 through Wifi?

    Scheduled Pinned Locked Moved Pymakr
    4 Posts 2 Posters 389 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      KenM
      last edited by KenM

      I can make it work with USB and I can connect with putty or my FTP browser over Wifi but I can't connect in VSC (windows)?
      boot.py and main.py are empty
      project settings file:

      {
      	"address": "192.168.4.1",
      	"username": "micro",
      	"password": "python",
      	"sync_folder": "",
      	"open_on_start": true,
      }
      

      global file:

      {
      	"address": "192.168.4.1",
      	"username": "micro",
      	"password": "python",
      	"sync_folder": "",
      	"open_on_start": true,
      	"safe_boot_on_upload": false,
      	"py_ignore": [],
      	"fast_upload": false,
      	"sync_file_types": "py,txt,log,json,xml,html,js,css,mpy",
      	"ctrl_c_on_connect": false,
      	"sync_all_file_types": false,
      	"auto_connect": true,
      	"autoconnect_comport_manufacturers": [
      		"Pycom",
      		"Pycom Ltd.",
      		"FTDI",
      		"Microsoft",
      		"Microchip Technology, Inc."
      
      	]
      }
      
      1 Reply Last reply Reply Quote 0
      • R Offline
        Ralph
        last edited by

        HI @KenM, can you tell me what the terminal output is when trying to connect over Wifi? Do you get a connection refused message?
        FYI to actually connect over wifi instead of com, you need to disable auto_connect in global settings, which will always try to connect on USB and will ignore the address setting (as noted in the terminal output)

        1 Reply Last reply Reply Quote 0
        • K Offline
          KenM
          last edited by

          Thanks, Indeed that was the mistake, now it works.
          I was confused with the global setting and project setting which didn't make it clear what was used and what not.
          Maybe just change the help text to: Edit global settings file:
          "auto_connect": false for Wifi
          "auto_connect": true for USB

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Ralph @KenM
            last edited by

            @KenM Yes I agree it's not very intuitive, I will improve the help text a little. The new Pymakr 2.0 we're working on (for atom) will have some good solutions, which we'll also build in to vscode after it's completed.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom