When trying with Nodemcu-uploader i get following error.
Code: Select all
nodemcu-uploader --port /dev/cu.wchusbserial1410 download boot.py
opening port /dev/cu.wchusbserial1410 with 115200 baud
Traceback (most recent call last):
File "/usr/local/bin/nodemcu-uploader", line 11, in <module>
sys.exit(main_func())
File "/usr/local/lib/python2.7/site-packages/nodemcu_uploader/main.py", line 250, in main_func
uploader = Uploader(args.port, args.baud, start_baud=args.start_baud)
File "/usr/local/lib/python2.7/site-packages/nodemcu_uploader/uploader.py", line 71, in __init__
__sync()
File "/usr/local/lib/python2.7/site-packages/nodemcu_uploader/uploader.py", line 69, in __sync
raise DeviceNotFoundException('Device not found or wrong port')
nodemcu_uploader.exceptions.DeviceNotFoundException: Device not found or wrong port
I've tried it with http://micropython.org/webrepl/
And my connections gets disconnected after a while, with no ability to download or upload. Wifi is enabled and both are connected to my home router. (my laptop & the wemos) Ip adress is also correct. => ws://192.168.4.1:8266/
(I didn't change the port though, seems like this is the correct one?)
I thought I had to connect to it via my network, but when I see my micropython-..... in the list it asks me for a wpa2 password, which I don't recall giving it.