Skip to content

Latest commit

 

History

History
78 lines (52 loc) · 1.51 KB

README.md

File metadata and controls

78 lines (52 loc) · 1.51 KB

ESP8266 Age Clock

Work in progress.

Inspired by Motivation

Components

Features (WIP)

  • [+] Show Age
  • [+] Connect to WiFi
  • [+] Get curren time from NTP server
  • [-] Configuration with web interface (WIP)
    • [-] WiFi mode (access point, client)
    • [-] Current time, time zone
    • [-] Date of birth
  • [-] Persist settings in EEPROM memory
  • [-] Custom PCB
  • [-] Custom Case

Prepare

Install

macOS

# [homebrew](brew.sh)    
brew install platformio
brew install node
brew install esptool

Build

npm install
gulp
platformio run
platformio run --target buildfs

Flash

platformio run --target upload
platformio run --target uploadfs

Other

Flash manual

esptool.py --port /dev/cu.wchusbserial1410 --baud 115200 write_flash --flash_size=detect -fm dio 0 .pioenvs/nodemcuv2/firmware.bin

Run web app from local

gulp connect

Stack trace decode

pbcopy > stack.txt
java -jar tools/EspStackTraceDecoder.jar ~/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-addr2line .pioenvs/nodemcuv2/firmware.elf stack.txt

Serial

pio device monitor --port /dev/cu.wchusbserial1410 --baud 115200