2021-01-15 19:28:20 +01:00
2020-12-07 20:02:01 +01:00
2021-01-14 21:55:51 +01:00
2021-01-15 18:14:39 +01:00
2021-01-15 19:28:20 +01:00
2021-01-15 19:03:20 +01:00
2020-03-06 23:55:14 +01:00
2020-02-12 20:14:01 +01:00
2020-01-29 20:47:00 +01:00
2020-12-10 22:15:27 +01:00

ESP Wordclock

Setup

Initial Setup

Install the firmware on the ESP: The ESP must be set into the bootloader mode, like this

The firmware can be downloaded with the following script:

cd os/
./flash.sh ttyUSB0

Connect to the ESP via a terminal emulator like screen using a baud rate of 115200. Then format the filesystem and reboot the ESP with the following commands:

file.format()
node.restart()

Then disconnect the serial terminal and copy the required files to the microcontroller:

./tools/initialFlash.sh /dev/ttyUSB0

Upgrade

Determine the IP address of your clock and execute the following script:

./tools/remoteFlash.sh IP-Address

Hardware Setup

  • GPIO2 LEDs
  • GPIO0 Bootloader (at start)
  • GPIO0 factory reset (long during operation)

MQTT Interface

  • basetopic/cmd/single ** ON Set brightness to 100% ** OFF Set brightness to 0% ** 0-100 Set brightness to given value ** #rrggbb Bacground color is set to hex representation of red, green and blue ** 0-255,0-255,0-255 Background color is set to decimal representation of red, green an blue
  • basetopic/cmd/telnet ** ignored Stop MQTT server and start telnetserver at port 23
Description
No description provided
Readme 5.5 MiB
Languages
Lua 94.6%
Python 3.6%
Java 1.1%
Terra 0.3%
Shell 0.3%