← index #3427Issue #2230
Off-topic · high · value 1.891
QUERY · ISSUE

SmartConfig ESP8266 and ESP32

openby zaforicopened 2017-11-08updated 2024-10-31
enhancementport-esp8266port-esp32

Add smartconfig capability to micropython for esp8266 and esp32

Add the following to modesp.c
{ MP_ROM_QSTR(MP_QSTR_smartconfig), MP_ROM_PTR(&mp_module_esp_smartconfig) },

Create smartconfig python wrapper. An old example is at https://github.com/mianos/micropython/blob/master/esp8266/mod_esp_smartconfig.c

CANDIDATE · ISSUE

Add details about running files on startup to the documentation.

closedby skorokithakisopened 2016-07-10updated 2017-05-13

I read the ESP8266 documentation and it seems to leave a few questions open:

  • How do I add a file to run whenever the ESP starts up?
  • Can I send it over webrepl or save it in a console, or do i need to flash it in the firmware?
  • How do I create modules? Does the standard Python way work?

I think I can probably guess the answers to a few of these, but it would be great if they were definitively spelled out in the docs.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied