Skip to content

iliaan/ulanzi-lab

Repository files navigation

Ulanzi TC001

Tasmota

Flash Tasmota firmware

Warning:

Flashing Tasmota firmware on your device may potentially brick or damage the device. It is important to proceed with caution and to understand the risks involved before attempting to flash the firmware. Please note that any modifications to the device's firmware may void the manufacturer's warranty and may result in permanent damage to the device. It is strongly recommended to thoroughly research the flashing process and to follow instructions carefully. The user assumes all responsibility and risk associated with flashing the firmware.

To install Tasmota firmware on the Ulanzi TC001, follow these steps:

  1. Download the Tasmota firmware from the official Tasmota website.
  2. Follow installation guide here.
  3. In the Tasmota web interface, go to "Consoles" and select "Console". Enter the command "Pixels 256" to enable the 256-pixel display mode.
  4. To decouple buttons from controlling power outputs enter in console "SetOption73 1"
  5. Set the time zone via the console by entering the command "Timezone +2:00".

Clock Features

  • Time/Date/Stopwatch display
  • Temperature polled from https://open-meteo.com/
    • Internal temperature sensor may be affected by nearby heat sources within the device
  • Humidity display - from internal sensor
  • Dew Point calculation
  • Battery level indication (Note: may require calibration and logic adjustments)
  • Illumination sensor for automatic brightness adjustment

To set up a clock on your Tasmota device, you need to follow these steps:

  1. Go to the Tasmota web interface.
  2. Click on "Consoles" and select "Manage File System".
  3. For each .be file here create new file with same name and add contents to it
  • For example create a new file called fonts.be and add the contents from fonts.be.
  1. Create a new file (or edit existing one) called autoexec.be with the contents from autoexec.be.

Ulanzi_Manage_File_system_Clock

These files contain the necessary code to display a clock on the device. Once the files are created and saved, restart the device to apply the changes. The clock should now be visible on the device display.

Usage

The clock can be controlled using the buttons on the device:

  • Use left/right button to switch between different faces (Time/Date/Weather/Sensors/Network)
  • Use action button (the one in a middle) to switch face modes :
  • Date : DAY.MONTH -> YEAR
  • Sensors : 'Illuminance2' -> 'Humidity' -> 'Temperature' -> 'DewPoint' -> 'Battery'
  • Network : 'rssi' -> 'ip' -> 'mac'

TODO Next

  • Running long string
  • Weather polling

Ideas

  • Print text in running line : news/stocks
  • Alarm Clock
  • Pixel Art
  • Snake
  • Yes/No questions/trivia/game/ai

Acknowledgment


Links

About

Ulanzi TC001 loves Tasmota

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published