2026-04-10 16:16:32 +02:00
2026-04-10 16:16:32 +02:00
2026-04-10 16:16:32 +02:00
2026-04-10 16:16:32 +02:00
2026-04-10 16:16:32 +02:00
2026-04-10 16:16:32 +02:00
2026-04-10 16:16:32 +02:00

Flashing Micropython

Download the latest firmware from https://micropython.org/download/?port=esp8266 (ESP8266 with 2MiB+ flash)

Flash Wemos D1 mini with (note the -fm dout option)

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fm dout --flash_size=detect 0 esp8266-20220618-v1.19.1.bin

Access webrepl

minicom -D /dev/ttyUSB0

Password for webrepl: badkamer

When the program is running, webrepl is not responsive. Get the prompt >>> with Ctrl+C.

Flashing source code

ampy --port /dev/ttyUSB0 put . /

Flash Wemos D1 mini with (note the -fm dout option)

esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fm dout --flash_size=detect 0 esp8266-20220618-v1.19.1.bin

Description
Micropython controller for bathroom light
Readme 27 KiB
Languages
Python 100%