From 6dfc15832b825932b5a010bfb68cd3a5af19a6b7 Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Mon, 13 Nov 2023 17:14:11 +0100 Subject: [PATCH] Fix bitcoin halving countdown and add EUR fetch price --- data/src/index.html | 18 ++++++++++++++---- data/src/js/helpers.js | 2 +- data/src/js/script.ts | 12 +++++++++++- platformio.ini | 9 +++++++-- src/lib/config.cpp | 8 ++++++-- src/lib/epd.cpp | 4 +++- src/lib/price_fetch.cpp | 8 ++++---- src/lib/screen_handler.cpp | 15 ++++++++++++--- src/lib/webserver.cpp | 15 ++++++++++++++- 9 files changed, 72 insertions(+), 19 deletions(-) diff --git a/data/src/index.html b/data/src/index.html index 0d9e73f..0de123e 100644 --- a/data/src/index.html +++ b/data/src/index.html @@ -71,7 +71,7 @@

Uptime: {{#if uptime.h }}{{ uptime.h }}h {{/if}}{{ uptime.m }}m {{ uptime.s }}s

- Price connection: + WS Price connection: {{#if connectionStatus.price}} ✅ @@ -80,14 +80,15 @@ {{/if}} - - Mempool.space connection: + WS Mempool.space connection: {{#if connectionStatus.blocks}} ✅ {{else}} ❌ {{/if}} - +
+ If you use "Fetch € price" the WS Price connection will show ❌ since it uses another data source.

@@ -262,7 +263,16 @@ - + +
+
+
+ + +
+
+
+