@Roberthh - excellent!
Seems all possible but not with the hosted version I've been using. I should have looked through the issues: URL parameters for host and auto_connect already raised and workaround given but seems no active development.
Search found 22 matches
- Fri Jan 04, 2019 9:54 am
- Forum: Programs, Libraries and Tools
- Topic: WebREPL Parameters
- Replies: 5
- Views: 4218
- Fri Jan 04, 2019 7:09 am
- Forum: ESP8266 boards
- Topic: Is wifi.persistent implemented?
- Replies: 10
- Views: 8573
Re: Is wifi.persistent implemented?
I am having problems maintaining a persistent connection so I can use WebREPL boot.py # This file is executed on every boot (including wake-boot from deepsleep) import esp esp.osdebug(None) import uos, machine uos.dupterm(machine.UART(0, 115200), 1) import wifi_connect_stn wifi_connect_stn() import ...
- Fri Jan 04, 2019 6:27 am
- Forum: General Discussion and Questions
- Topic: MicroPython Documentation Discussion
- Replies: 6
- Views: 4942
Re: MicroPython Documentation Discussion
Quick reference for the ESP8266, Networking A useful function for connecting to your local WiFi network is: def do_connect(): import network wlan = network.WLAN(network.STA_IF) wlan.active(True) if not wlan.isconnected(): print('connecting to network...') wlan.connect('essid', 'password') while not...
- Fri Jan 04, 2019 6:11 am
- Forum: General Discussion and Questions
- Topic: MicroPython Documentation Discussion
- Replies: 6
- Views: 4942
MicroPython Documentation Discussion
What is the best way to comment on MicroPython documentation at http://docs.micropython.org/en/latest/index.html
- Fri Jan 04, 2019 4:15 am
- Forum: Programs, Libraries and Tools
- Topic: WebREPL Parameters
- Replies: 5
- Views: 4218
WebREPL Parameters
The default WebREPL address is not compatible with my network. Can I get it to start up with 10.0.0.129? The 8266 port is ok but it would also be nice to be able to change that. Can I specify the password too? A clear screen button would be good, I suppose I can define cls . Hmm, checking http://do...
- Fri Jan 04, 2019 12:20 am
- Forum: ESP8266 boards
- Topic: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows
- Replies: 12
- Views: 25425
How to Flash MicroPython with esptool.py and connect with putty on Windows
... So, here's my take that works 100% for loading either Micropython or Lua. Here's the part for Micropython: c:\Python27\python.exe \Python27\Lib\site-packages\esptool.py --port COM8 --baud 460800 erase_flash c:\Python27\python.exe \Python27\Lib\site-packages\esptool.py --port COM8 --baud 460800 ...
- Thu Jan 03, 2019 10:15 am
- Forum: ESP8266 boards
- Topic: An ESP8266 Can't Monitor Serial Connection
- Replies: 7
- Views: 7345
Re: ESP8266 Serial Sniffer
@kevinkk525 - thanks for the PM confirming hardware connections for relay to G/3V/D2 (GPIO4) and modem to D10/D9 (GPIO1-TX and GPIO3-RX).
- Thu Jan 03, 2019 8:37 am
- Forum: ESP8266 boards
- Topic: accessing uart0 on nodemcu board
- Replies: 23
- Views: 16399
Re: accessing uart0 on nodemcu board
I don't have wifi in my PC.
- Thu Jan 03, 2019 8:25 am
- Forum: ESP8266 boards
- Topic: accessing uart0 on nodemcu board
- Replies: 23
- Views: 16399
Re: accessing uart0 on nodemcu board
@dariox - If you got this working can you post the code?
- Thu Jan 03, 2019 6:48 am
- Forum: ESP8266 boards
- Topic: An ESP8266 Can't Monitor Serial Connection
- Replies: 7
- Views: 7345
Re: ESP8266 Serial Sniffer
I don't really understand how to handle the serial comms and I realise it will soon use the ESP8266 resources. I'll update the code as I go here: import time, os, ure, sys, machine from machine import UART import uos pin = machine.Pin(4, machine.Pin.OUT) def setModemPower(state): pin.value(state) pr...