Switch to pioarduino

This commit is contained in:
2025-05-02 20:23:18 +02:00
parent e77ab50d02
commit f86cb569b0
26 changed files with 80 additions and 78 deletions

View File

@@ -18,8 +18,8 @@ esp32:
flash_size: 16MB
framework:
type: esp-idf
# version: 5.1.2
# platform_version: 6.5.0
version: 5.3.2
platform_version: 53.03.11
# Required to achieve sufficient PSRAM bandwidth
sdkconfig_options:
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
@@ -301,10 +301,12 @@ image:
# mdi:battery-arrow-down-outline
id: solar_power_icon
resize: 50x50
type: BINARY
- file: mdi:battery-arrow-down-outline
id: home_battery_icon
resize: 30x30
type: BINARY
lvgl:
log_level: INFO
@@ -374,8 +376,8 @@ lvgl:
color: 0xFFFFFF
r_mod: 12 #sets line length by this much difference from the scale default radius
value: 50
- img:
id: power_meter_input_img
# - image:
# id: power_meter_input_img
- arc:
color: 0xFF3000
r_mod: 10 #radius difference from the scale default radius
@@ -439,12 +441,12 @@ lvgl:
#bg_color: 0xFFFFFF
#y: -35
#x: -60
- img:
- image:
src: solar_power_icon
id: img_solar_power
align: center
img_recolor: 0xFFFF00
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
image_recolor: 0xFFFF00
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF
y: 50
#x: -60
@@ -482,8 +484,8 @@ lvgl:
color: 0xFFFFFF
r_mod: 12 #sets line length by this much difference from the scale default radius
value: 50
- img:
id: power_meter_input_img2
# - image:
# id: power_meter_input_img2
- arc:
color: 0xFF3000
r_mod: 10 #radius difference from the scale default radius
@@ -547,12 +549,12 @@ lvgl:
#bg_color: 0xFFFFFF
#y: -35
#x: -60
- img:
- image:
src: solar_power_icon
id: img_solar_power2
align: center
img_recolor: 0xFFFF00
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
image_recolor: 0xFFFF00
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF
y: 50
#x: -60
@@ -590,8 +592,8 @@ lvgl:
color: 0xFFFFFF
r_mod: 12 #sets line length by this much difference from the scale default radius
value: 50
- img:
id: power_meter_input_img3
# - image:
# id: power_meter_input_img3
- arc:
color: 0xFF3000
r_mod: 10 #radius difference from the scale default radius
@@ -655,12 +657,12 @@ lvgl:
#bg_color: 0xFFFFFF
#y: -35
#x: -60
- img:
- image:
src: solar_power_icon
id: img_solar_power3
align: center
img_recolor: 0xFFFF00
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
image_recolor: 0xFFFF00
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
#bg_color: 0xFFFFFF
y: 50
#x: -60