@alvaroav Good to hear it's solved. I'm still not sure if it's another plugin, because another user had this and it was gone after a window reload. Might be some edge case in button usage.
@christian_kohler Did you set Filezilla to single link/passive mode? The number of simultaneous links have to be set in the server settings submenu->transfer settings for each connection.
I'm using ftp all the time, and it is pretty reliable and fast. SInce I have Firfox open all the time anyhow, I prefer the FireFTP plugin.
@re The LoPy4 has like any xxPy device a WiFI connection and starts both a FTP and Telnet server. So you can use ftp and suitbale ftp clients like FileZilla and FireFTP to manage files on the LoPy4. see the FTP section of the docs: https://docs.pycom.io/chapter/gettingstarted/programming/FTP.html
You can configure both clients to donwload/upload files into the editor of your choice when you double-click them in the devices file pane.
@charly86 No idea. I ran it once, and it worked. Now that I tried it again, it fails. I can get the file listing, but cannot download files.
Normally, I use FireFTP, since I have anyhow Firefox running most of the time.
@meven
What you advised: "python -m pip install pycom" is working for me also, thank you
However next, I got this error: "[pylint] E1101:Module 'pycom' has no 'heartbeat' member" but I could ignore it by:
# pylint: disable=maybe-no-member
pycom.heartbeat(False)
pycom.rgbled(0xffff00)
Hi @jhollan3
Pylint and the Python extension aren't really meant for MicroPython or the Pycom boards so it'll throw a lot of errors.
There's no linter or extension I know of that would work correctly.
@johand Thanks for the info, I'm able to reproduce the issue. There's indeed a problem in the upload feature, which has been solved in the latest versions of Atom. The VSC plugin is a bit behind code wise. We're working on a refactor of the Atom upload feature right now, when that's done we'll upgrade VSC as well to be up to date with it. That'll solve this issue.
For now either be a bit patient with uploading with VSC or temporarily switch to Atom for this project. Sorry for the inconvenience!
@philwilkinson In your traceback I see the 'Pymakr' package folder with a capital, instead of lowercase. This is a known issue (happened after pymakr renamed in v1.2.5).
I just added this to the known issues with the solution in the readme file on the develop branch of the pymakr github. Read it here, at the bottom of the page: https://github.com/pycom/pymakr-atom/tree/develop#any-error-where-the-traceback-contains-atompackagespymakr-with-a-capital-p
Try the solutions listed there and let me know if that fixes your issue.
@fajriansyah
I do not know if some "minimal" client exists for micropython. But is it required?
Better run some listen socket on your server. And then your Lopy will send messages to this socket and it connect to jour database and store there data. It can be e.g. windows service apllication, webserver application e.g. on IIS, Apache + php ....
@jonasde For verification, you can use a different and dump terminal software like Putty (Windows), screen (mac, linux) or picocom (Linux).
Just make sure that any kind of handshake is disabled.
For fil etranfer you can use an ftp client like filezilla or fireftp.