Skip to content

tronbyt/firmware-esp32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Tronbyt Firmware

Discord Server

This repository contains a community supported firmware for the Tidbyt hardware 🤓.

Warning

⚠️ Warning! Flashing your Tidbyt with this firmware or derivatives could fatally damage your device. As such, flashing your Tidbyt with this firmware or derivatives voids your warranty and comes without support.

Getting Started

Follow the setup instructions for tronbyt-server unless you want to build yourself with platformio.

Building yourself with PlatformIO

Only follow these instructions if you want to build the firmware yourself. Otherwise let the tronbyt-server generate the firmware file for you. This project uses PlatformIO to build, flash, and monitor firmware on the Tidbyt. To get started, you will need to download PlatformIO Core on your computer.

Additionally, this firmware is designed to work with https://github.com/tronbyt/server or you can point this firmware at any URL that hosts a WebP image that is optimized for the Tidbyt display.

To flash the custom firmware on your device, run the following after replacing the variables in secrets.json.example with your desired own information and renaming it to secrets.json If using tronbyt_manager in docker replace the ip address to the docker host's ip address.

{
    "WIFI_SSID": "myssiD",
    "WIFI_PASSWORD": "<PASSWORD>",
    "REMOTE_URL=": "http://homeServer.local:8000/admin/tronbyt_1/next",
    "REFRESH_INTERVAL_SECONDS": 10,
    "DEFAULT_BRIGHTNESS" : 30
}

Then run the following command:

pio run --environment tidbyt-gen1 --target erase --target upload

If you're flashing to a Tidbyt Gen2, just change to the above to use the --environment tidbyt-gen2 flag.

Monitoring Logs

To check the output of your running firmware, run the following:

pio device monitor

Back to Normal

To get your Tidbyt back to normal, you can run the following to flash the production firmware onto your Tidbyt:

pio run --target reset --environment tidbyt-gen1

And if you're working with a Tidbyt Gen 2:

pio run --target reset --environment tidbyt-gen2

About

A community supported firmware for the Tidbyt hardware 🤓

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.8%
  • Python 14.1%
  • C++ 3.1%
  • CMake 2.0%