Firmware for BTClock which uses WebSockets to fetch data.
Go to file
2023-11-15 00:12:06 +01:00
.github/workflows Changed partition table to allow for OTA updates 2023-11-10 23:18:14 +01:00
.vscode Initial commit 2023-11-06 20:16:07 +01:00
data Added OpenAPI spec and UI 2023-11-14 23:09:23 +01:00
include Initial commit 2023-11-06 20:16:07 +01:00
lib Improved QR-code setup, added MCAP screen 2023-11-10 19:52:06 +01:00
scripts LEDs and buttons working 2023-11-08 12:18:59 +01:00
src Remove Improv WiFi since its causing problems 2023-11-15 00:12:06 +01:00
test Initial commit 2023-11-06 20:16:07 +01:00
.gitignore LEDs and buttons working 2023-11-08 12:18:59 +01:00
CMakeLists.txt Everything seems to work except Improv 2023-11-07 21:25:54 +01:00
dependencies.lock Changed partition table to allow for OTA updates 2023-11-10 23:18:14 +01:00
LICENSE.txt Added license and readme 2023-11-10 23:33:24 +01:00
partition.csv Changed partition table to allow for OTA updates 2023-11-10 23:18:14 +01:00
platformio.ini Fix bitcoin halving countdown and add EUR fetch price 2023-11-13 17:14:11 +01:00
README.md More explanations in README 2023-11-12 14:27:08 +01:00
sdkconfig.defaults Compiler optimizations for more performance 2023-11-12 13:57:31 +01:00

BTClock v3

Software for the BTClock project. Highly experimental version.

Biggest differences are:

  • Uses WebSockets for all data
  • Able to configure WiFi using the Improv protocol
  • Built on the ESP-IDF with Arduino as a library
  • Makes better use of native timers and interrupts
  • Able to be flashed over-the-air (using ESP OTA)
  • Added market capitalization screen
  • LED flash on new block (and focus to block height screen on new block)

Hold the top button while resetting to reset WiFi settings. Hold the 2nd button from the top while resetting to activate QR-code WiFi configuration.

"Steal focus on new block" means that when a new block is mined, the display will switch to the block height screen if it's not on it already.

Most information about BTClock v2 is still valid for this version.

NOTE: The software assumes that the hardware is run in a controlled private network. The Web UI and the OTA update mechanism are not password protected and accessible to anyone in the network. Also, since the device only fetches numbers through WebSockets it will skip server certificate verification to save resources.

Known issues

  • After starting it might take a while before the correct data is displayed
  • Quite often the screens will hang, especially after updating