From fac784fa64d80de6219de3547dc619ea9ecf3db0 Mon Sep 17 00:00:00 2001 From: Martijn Date: Mon, 11 Nov 2024 19:03:51 +0100 Subject: [PATCH] display update should now be done dynamic --- README.md | 2 +- package/1bar_1display.yaml | 6 +++--- package/2bar_1display.yaml | 10 +++++----- package/3bar_1display.yaml | 14 +++++++------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 16e9f3a..d532ba0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The ESPHome integration adds more flexebility and features, but also add some mo [Dutch support topic on Tweakers.net](https://gathering.tweakers.net/forum/list_messages/2270086) ## Usefull Links diff --git a/package/1bar_1display.yaml b/package/1bar_1display.yaml index c03757f..e43e91e 100644 --- a/package/1bar_1display.yaml +++ b/package/1bar_1display.yaml @@ -101,6 +101,7 @@ display: platform: ili9xxx model: ili9341 color_order: rgb + update_interval: 30s invert_colors: false dc_pin: number: GPIO37 @@ -111,7 +112,6 @@ display: mode: output: true inverted: false - update_interval: 500ms show_test_card: false dimensions: height: 240 @@ -124,6 +124,7 @@ display: platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -140,11 +141,11 @@ display: width: 80 offset_width: 24 rotation: 270 - update_interval: 1s - id: display_j3_Right platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -161,4 +162,3 @@ display: width: 80 offset_width: 24 rotation: 90 - update_interval: 1s diff --git a/package/2bar_1display.yaml b/package/2bar_1display.yaml index 56eb870..0781ed5 100644 --- a/package/2bar_1display.yaml +++ b/package/2bar_1display.yaml @@ -156,6 +156,7 @@ display: model: ili9341 color_order: rgb invert_colors: false + update_interval: 30s dc_pin: number: GPIO37 allow_other_uses: true @@ -165,7 +166,6 @@ display: mode: output: true inverted: false - update_interval: 200ms show_test_card: false dimensions: height: 240 @@ -178,6 +178,7 @@ display: platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -194,11 +195,11 @@ display: width: 80 offset_width: 24 rotation: 270 - update_interval: 1s - id: display_j2_Right platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -215,7 +216,6 @@ display: width: 80 offset_width: 24 rotation: 90 - update_interval: 1s #################### ### BAR module 2 ### #################### @@ -223,6 +223,7 @@ display: platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -239,11 +240,11 @@ display: width: 80 offset_width: 24 rotation: 270 - update_interval: 1s - id: display_j3_Right platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -260,4 +261,3 @@ display: width: 80 offset_width: 24 rotation: 90 - update_interval: 1s diff --git a/package/3bar_1display.yaml b/package/3bar_1display.yaml index 6627695..63dbed1 100644 --- a/package/3bar_1display.yaml +++ b/package/3bar_1display.yaml @@ -210,6 +210,7 @@ display: model: ili9341 invert_colors: false color_order: rgb + update_interval: 30s dc_pin: number: GPIO37 allow_other_uses: true @@ -219,7 +220,6 @@ display: mode: output: true inverted: false - update_interval: 200ms show_test_card: false dimensions: height: 240 @@ -232,6 +232,7 @@ display: platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -248,11 +249,11 @@ display: width: 80 offset_width: 24 rotation: 270 - update_interval: 1s - id: display_j1_Right platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -269,7 +270,6 @@ display: width: 80 offset_width: 24 rotation: 90 - update_interval: 1s #################### ### BAR module 2 ### #################### @@ -277,6 +277,7 @@ display: platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -293,11 +294,11 @@ display: width: 80 offset_width: 24 rotation: 270 - update_interval: 1s - id: display_j2_Right platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -314,7 +315,6 @@ display: width: 80 offset_width: 24 rotation: 90 - update_interval: 1s #################### ### BAR module 3 ### #################### @@ -322,6 +322,7 @@ display: platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -338,11 +339,11 @@ display: width: 80 offset_width: 24 rotation: 270 - update_interval: 1s - id: display_j3_Right platform: ili9xxx model: ST7735 color_order: bgr + update_interval: never dc_pin: number: GPIO37 allow_other_uses: true @@ -359,4 +360,3 @@ display: width: 80 offset_width: 24 rotation: 90 - update_interval: 1s