mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 19:47:29 +01:00
Compare commits
4 Commits
e77ab50d02
...
f552ea0f97
| Author | SHA1 | Date | |
|---|---|---|---|
| f552ea0f97 | |||
| e0b76fb95f | |||
| f8ef9d261d | |||
| f86cb569b0 |
@@ -3,6 +3,7 @@ ethernet:
|
|||||||
type: LAN8720
|
type: LAN8720
|
||||||
mdc_pin: 23
|
mdc_pin: 23
|
||||||
mdio_pin: 18
|
mdio_pin: 18
|
||||||
clk_mode: GPIO17_OUT
|
clk_pin: 17
|
||||||
|
clk_mode: CLK_OUT
|
||||||
phy_addr: 0
|
phy_addr: 0
|
||||||
power_pin: 12
|
power_pin: 12
|
||||||
|
|||||||
@@ -15,11 +15,13 @@ esp32:
|
|||||||
# board: m5stamp-pico
|
# board: m5stamp-pico
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.12
|
||||||
|
# version: 5.3.1
|
||||||
|
# platform_version: 6.9.0
|
||||||
|
|
||||||
external_components:
|
# external_components:
|
||||||
- source: components
|
# - source: components
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
@@ -55,7 +57,6 @@ light:
|
|||||||
rgb_order: GRB
|
rgb_order: GRB
|
||||||
pin: 27
|
pin: 27
|
||||||
num_leds: 1
|
num_leds: 1
|
||||||
# rmt_channel: 0
|
|
||||||
chipset: ws2812
|
chipset: ws2812
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
- platform: esp32_rmt_led_strip
|
- platform: esp32_rmt_led_strip
|
||||||
@@ -64,7 +65,6 @@ light:
|
|||||||
rgb_order: GRB
|
rgb_order: GRB
|
||||||
pin: 25
|
pin: 25
|
||||||
num_leds: 7
|
num_leds: 7
|
||||||
# rmt_channel: 1
|
|
||||||
chipset: ws2812
|
chipset: ws2812
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
effects:
|
effects:
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ esp32:
|
|||||||
# version: dev
|
# version: dev
|
||||||
# version: 5.1.2
|
# version: 5.1.2
|
||||||
# platform_version: 6.6.0
|
# platform_version: 6.6.0
|
||||||
version: 5.3.1
|
version: 5.3.3
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.12
|
||||||
# type: arduino
|
# type: arduino
|
||||||
|
|
||||||
pcf8574:
|
pcf8574:
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ esp32:
|
|||||||
board: esp32doit-devkit-v1
|
board: esp32doit-devkit-v1
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
CONFIG_FREERTOS_UNICORE: y
|
CONFIG_FREERTOS_UNICORE: y
|
||||||
advanced:
|
advanced:
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ esp32:
|
|||||||
board: esp32doit-devkit-v1
|
board: esp32doit-devkit-v1
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
CONFIG_FREERTOS_UNICORE: y
|
CONFIG_FREERTOS_UNICORE: y
|
||||||
advanced:
|
advanced:
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ esp32:
|
|||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
hardware_uart: USB_SERIAL_JTAG
|
hardware_uart: USB_SERIAL_JTAG
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ esp32:
|
|||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
hardware_uart: USB_SERIAL_JTAG
|
hardware_uart: USB_SERIAL_JTAG
|
||||||
|
|||||||
@@ -13,12 +13,14 @@ esp32:
|
|||||||
board: esp32dev
|
board: esp32dev
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
# version: 5.3.1
|
||||||
platform_version: 6.9.0
|
# platform_version: 6.9.0
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: github://mrk-its/esphome-canopen@dev
|
- source: github://mrk-its/esphome-canopen@dev
|
||||||
refresh: 1h
|
refresh: 1h
|
||||||
|
- source: github://mrk-its/esphome-canbus-udp-multicast@dev
|
||||||
|
refresh: 1h
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
@@ -28,65 +30,94 @@ canbus:
|
|||||||
id: can_bus
|
id: can_bus
|
||||||
rx_pin: 22
|
rx_pin: 22
|
||||||
tx_pin: 23
|
tx_pin: 23
|
||||||
can_id: 0
|
can_id: 1
|
||||||
bit_rate: 125kbps
|
bit_rate: 500kbps
|
||||||
|
|
||||||
canopen:
|
canopen:
|
||||||
id: can_gate
|
id: can_open
|
||||||
canbus_id: can_bus
|
canbus_id: can_bus
|
||||||
node_id: 1
|
node_id: 1
|
||||||
entities:
|
entities:
|
||||||
- id: boot
|
- index: 1
|
||||||
index: 1
|
id: light1_state
|
||||||
|
rpdo:
|
||||||
|
- node_id: 2
|
||||||
tpdo: 0
|
tpdo: 0
|
||||||
- id: blue_led
|
offset: 0
|
||||||
index: 2
|
cmd: 0
|
||||||
tpdo: 0
|
|
||||||
- id: uptime_sensor
|
|
||||||
index: 3
|
|
||||||
tpdo: 0
|
|
||||||
- id: cover1
|
|
||||||
index: 4
|
|
||||||
tpdo: 1
|
|
||||||
# - id: cover2
|
|
||||||
# index: 5
|
|
||||||
# tpdo: 1
|
|
||||||
|
|
||||||
sensor:
|
- index: 2
|
||||||
- platform: uptime
|
id: light1_brightness
|
||||||
id: uptime_sensor
|
size: 1
|
||||||
name: "${name} Uptime"
|
min_value: 0.0
|
||||||
update_interval: 5sec
|
max_value: 1.0
|
||||||
internal: true
|
rpdo:
|
||||||
|
- node_id: 2
|
||||||
|
tpdo: 0
|
||||||
|
offset: 1
|
||||||
|
cmd: 0
|
||||||
|
|
||||||
|
- index: 3
|
||||||
|
id: light2_state
|
||||||
|
rpdo:
|
||||||
|
- node_id: 2
|
||||||
|
tpdo: 0
|
||||||
|
offset: 3
|
||||||
|
cmd: 0
|
||||||
|
|
||||||
|
- index: 4
|
||||||
|
id: light2_brightness
|
||||||
|
size: 1
|
||||||
|
min_value: 0.0
|
||||||
|
max_value: 1.0
|
||||||
|
rpdo:
|
||||||
|
- node_id: 2
|
||||||
|
tpdo: 0
|
||||||
|
offset: 4
|
||||||
|
cmd: 0
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
|
- platform: template
|
||||||
|
id: light1_state
|
||||||
|
name: "Test Light 1 State"
|
||||||
|
- platform: template
|
||||||
|
id: light2_state
|
||||||
|
name: "Test Light 2 State"
|
||||||
|
|
||||||
|
- platform: template
|
||||||
|
id: light1_state_cmd
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: "${name} Boot"
|
name: "Boot Button"
|
||||||
id: boot
|
id: boot_button
|
||||||
internal: true
|
|
||||||
pin:
|
pin:
|
||||||
number: 0
|
number: 0
|
||||||
inverted: true
|
inverted: true
|
||||||
|
mode:
|
||||||
|
input: true
|
||||||
|
pullup: true
|
||||||
|
on_press:
|
||||||
|
then:
|
||||||
|
- lambda: |-
|
||||||
|
bool state = id(light1_state).state || id(light2_state).state;
|
||||||
|
|
||||||
|
// send command to entity #1 (light) on node #2
|
||||||
|
id(can_open).send_entity_cmd(2, 1, !state);
|
||||||
|
|
||||||
|
// send command to entity #2 (light2) on node #2
|
||||||
|
id(can_open).send_entity_cmd(2, 2, !state);
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: template
|
||||||
|
id: light1_brightness
|
||||||
|
name: "Test Light 1 Brightness"
|
||||||
|
- platform: template
|
||||||
|
id: light2_brightness
|
||||||
|
name: "Test Light 2 Brightness"
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: "${name} Led"
|
name: "Led"
|
||||||
id: blue_led
|
id: blue_led
|
||||||
internal: true
|
internal: true
|
||||||
pin: 2
|
pin: 2
|
||||||
|
|
||||||
cover:
|
|
||||||
- platform: time_based
|
|
||||||
name: "${name} Cover"
|
|
||||||
id: cover1
|
|
||||||
internal: true
|
|
||||||
device_class: shutter
|
|
||||||
has_built_in_endstop: true
|
|
||||||
open_action:
|
|
||||||
- logger.log: open_action
|
|
||||||
open_duration: 10s
|
|
||||||
close_action:
|
|
||||||
- logger.log: close_action
|
|
||||||
close_duration: 10s
|
|
||||||
stop_action:
|
|
||||||
- logger.log: stop_action
|
|
||||||
|
|||||||
@@ -13,12 +13,14 @@ esp32:
|
|||||||
board: esp32dev
|
board: esp32dev
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
# version: 5.3.2
|
||||||
platform_version: 6.9.0
|
# platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: github://mrk-its/esphome-canopen@dev
|
- source: github://mrk-its/esphome-canopen@dev
|
||||||
refresh: 1h
|
refresh: 1h
|
||||||
|
- source: github://mrk-its/esphome-canbus-udp-multicast@dev
|
||||||
|
refresh: 1h
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
@@ -28,65 +30,77 @@ canbus:
|
|||||||
id: can_bus
|
id: can_bus
|
||||||
rx_pin: 22
|
rx_pin: 22
|
||||||
tx_pin: 23
|
tx_pin: 23
|
||||||
can_id: 0
|
can_id: 2
|
||||||
bit_rate: 125kbps
|
bit_rate: 500kbps
|
||||||
|
|
||||||
canopen:
|
canopen:
|
||||||
id: can_gate
|
id: can_open
|
||||||
canbus_id: can_bus
|
canbus_id: can_bus
|
||||||
node_id: 2
|
node_id: 2
|
||||||
entities:
|
entities:
|
||||||
- id: boot
|
- index: 1
|
||||||
index: 1
|
id: light1
|
||||||
tpdo: 0
|
tpdo: 0
|
||||||
- id: blue_led
|
|
||||||
index: 2
|
- index: 2
|
||||||
|
id: light2
|
||||||
tpdo: 0
|
tpdo: 0
|
||||||
- id: uptime_sensor
|
|
||||||
index: 3
|
- index: 3
|
||||||
|
id: light3
|
||||||
tpdo: 0
|
tpdo: 0
|
||||||
- id: cover1
|
|
||||||
index: 4
|
|
||||||
tpdo: 1
|
|
||||||
# - id: cover2
|
|
||||||
# index: 5
|
|
||||||
# tpdo: 1
|
|
||||||
|
|
||||||
sensor:
|
output:
|
||||||
- platform: uptime
|
- platform: template
|
||||||
id: uptime_sensor
|
id: cw_output1
|
||||||
name: "${name} Uptime"
|
type: float
|
||||||
update_interval: 5sec
|
write_action:
|
||||||
internal: true
|
- logger.log:
|
||||||
|
format: "output1: %f"
|
||||||
|
args: ['state']
|
||||||
|
|
||||||
binary_sensor:
|
- platform: template
|
||||||
- platform: gpio
|
id: ww_output1
|
||||||
name: "${name} Boot"
|
type: float
|
||||||
id: boot
|
write_action:
|
||||||
internal: true
|
- logger.log:
|
||||||
pin:
|
format: "output2: %f"
|
||||||
number: 0
|
args: ['state']
|
||||||
inverted: true
|
|
||||||
|
|
||||||
switch:
|
- platform: template
|
||||||
- platform: gpio
|
id: output2
|
||||||
name: "${name} Led"
|
type: float
|
||||||
id: blue_led
|
write_action:
|
||||||
internal: true
|
- logger.log:
|
||||||
pin: 2
|
format: "output1: %f"
|
||||||
|
args: ['state']
|
||||||
|
|
||||||
cover:
|
- platform: template
|
||||||
- platform: time_based
|
id: output3
|
||||||
name: "${name} Cover"
|
type: float
|
||||||
id: cover1
|
write_action:
|
||||||
internal: true
|
- logger.log:
|
||||||
device_class: shutter
|
format: "output1: %f"
|
||||||
has_built_in_endstop: true
|
args: ['state']
|
||||||
open_action:
|
|
||||||
- logger.log: open_action
|
light:
|
||||||
open_duration: 10s
|
- platform: cwww
|
||||||
close_action:
|
id: light1
|
||||||
- logger.log: close_action
|
name: "${name} Light 1"
|
||||||
close_duration: 10s
|
cold_white: cw_output1
|
||||||
stop_action:
|
warm_white: ww_output1
|
||||||
- logger.log: stop_action
|
cold_white_color_temperature: 6536 K
|
||||||
|
warm_white_color_temperature: 2000 K
|
||||||
|
constant_brightness: false
|
||||||
|
default_transition_length: 0s
|
||||||
|
|
||||||
|
- platform: monochromatic
|
||||||
|
id: light2
|
||||||
|
name: "${name} Light 2"
|
||||||
|
output: output2
|
||||||
|
default_transition_length: 0s
|
||||||
|
|
||||||
|
- platform: binary
|
||||||
|
id: light3
|
||||||
|
name: "${name} Light 3"
|
||||||
|
output: output3
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ esp32:
|
|||||||
framework:
|
framework:
|
||||||
# type: arduino
|
# type: arduino
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
# - source: github://pr#3017
|
# - source: github://pr#3017
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ esp32:
|
|||||||
variant: esp32c3
|
variant: esp32c3
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.3
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.12
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
# external_components:
|
# external_components:
|
||||||
# - source: github://pr#7958
|
# - source: github://pr#7958
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.12
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: github://pr#7072
|
- source: github://pr#7072
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ esp32:
|
|||||||
framework:
|
framework:
|
||||||
# type: arduino
|
# type: arduino
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: components
|
- source: components
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ esp32:
|
|||||||
variant: esp32c3
|
variant: esp32c3
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: github://mknjc/esphome@ds248x
|
- source: github://mknjc/esphome@ds248x
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: components
|
- source: components
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
board: esp32doit-devkit-v1
|
board: esp32doit-devkit-v1
|
||||||
framework:
|
framework:
|
||||||
# version: 5.1.2
|
version: 5.3.2
|
||||||
# platform_version: 6.6.0
|
platform_version: 53.03.11
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
# external_components:
|
external_components:
|
||||||
# - source: github://pr#4062
|
- source: github://pr#8457
|
||||||
# components: ethernet
|
components: ethernet
|
||||||
# - source: github://pr#4080
|
# - source: github://pr#4080
|
||||||
# components: [lcd_pcf8574, lcd_base]
|
# components: [lcd_pcf8574, lcd_base]
|
||||||
# - source: github://pr#3564
|
# - source: github://pr#3564
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: github://mknjc/esphome@ds248x
|
- source: github://mknjc/esphome@ds248x
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ esp32:
|
|||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
|
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
|
||||||
CONFIG_ESP32S3_DATA_CACHE_64KB: y
|
CONFIG_ESP32S3_DATA_CACHE_64KB: y
|
||||||
@@ -46,7 +46,7 @@ i2c:
|
|||||||
|
|
||||||
psram:
|
psram:
|
||||||
mode: octal
|
mode: octal
|
||||||
speed: 120MHz
|
speed: 40MHz
|
||||||
|
|
||||||
spi:
|
spi:
|
||||||
id: display_qspi
|
id: display_qspi
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ esp32:
|
|||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.1.2
|
version: 5.3.2
|
||||||
# platform_version: 6.5.0
|
platform_version: 53.03.11
|
||||||
# Required to achieve sufficient PSRAM bandwidth
|
# Required to achieve sufficient PSRAM bandwidth
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
|
CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: y
|
||||||
@@ -301,10 +301,12 @@ image:
|
|||||||
# mdi:battery-arrow-down-outline
|
# mdi:battery-arrow-down-outline
|
||||||
id: solar_power_icon
|
id: solar_power_icon
|
||||||
resize: 50x50
|
resize: 50x50
|
||||||
|
type: BINARY
|
||||||
|
|
||||||
- file: mdi:battery-arrow-down-outline
|
- file: mdi:battery-arrow-down-outline
|
||||||
id: home_battery_icon
|
id: home_battery_icon
|
||||||
resize: 30x30
|
resize: 30x30
|
||||||
|
type: BINARY
|
||||||
|
|
||||||
lvgl:
|
lvgl:
|
||||||
log_level: INFO
|
log_level: INFO
|
||||||
@@ -374,8 +376,8 @@ lvgl:
|
|||||||
color: 0xFFFFFF
|
color: 0xFFFFFF
|
||||||
r_mod: 12 #sets line length by this much difference from the scale default radius
|
r_mod: 12 #sets line length by this much difference from the scale default radius
|
||||||
value: 50
|
value: 50
|
||||||
- img:
|
# - image:
|
||||||
id: power_meter_input_img
|
# id: power_meter_input_img
|
||||||
- arc:
|
- arc:
|
||||||
color: 0xFF3000
|
color: 0xFF3000
|
||||||
r_mod: 10 #radius difference from the scale default radius
|
r_mod: 10 #radius difference from the scale default radius
|
||||||
@@ -439,12 +441,12 @@ lvgl:
|
|||||||
#bg_color: 0xFFFFFF
|
#bg_color: 0xFFFFFF
|
||||||
#y: -35
|
#y: -35
|
||||||
#x: -60
|
#x: -60
|
||||||
- img:
|
- image:
|
||||||
src: solar_power_icon
|
src: solar_power_icon
|
||||||
id: img_solar_power
|
id: img_solar_power
|
||||||
align: center
|
align: center
|
||||||
img_recolor: 0xFFFF00
|
image_recolor: 0xFFFF00
|
||||||
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
|
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
|
||||||
#bg_color: 0xFFFFFF
|
#bg_color: 0xFFFFFF
|
||||||
y: 50
|
y: 50
|
||||||
#x: -60
|
#x: -60
|
||||||
@@ -482,8 +484,8 @@ lvgl:
|
|||||||
color: 0xFFFFFF
|
color: 0xFFFFFF
|
||||||
r_mod: 12 #sets line length by this much difference from the scale default radius
|
r_mod: 12 #sets line length by this much difference from the scale default radius
|
||||||
value: 50
|
value: 50
|
||||||
- img:
|
# - image:
|
||||||
id: power_meter_input_img2
|
# id: power_meter_input_img2
|
||||||
- arc:
|
- arc:
|
||||||
color: 0xFF3000
|
color: 0xFF3000
|
||||||
r_mod: 10 #radius difference from the scale default radius
|
r_mod: 10 #radius difference from the scale default radius
|
||||||
@@ -547,12 +549,12 @@ lvgl:
|
|||||||
#bg_color: 0xFFFFFF
|
#bg_color: 0xFFFFFF
|
||||||
#y: -35
|
#y: -35
|
||||||
#x: -60
|
#x: -60
|
||||||
- img:
|
- image:
|
||||||
src: solar_power_icon
|
src: solar_power_icon
|
||||||
id: img_solar_power2
|
id: img_solar_power2
|
||||||
align: center
|
align: center
|
||||||
img_recolor: 0xFFFF00
|
image_recolor: 0xFFFF00
|
||||||
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
|
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
|
||||||
#bg_color: 0xFFFFFF
|
#bg_color: 0xFFFFFF
|
||||||
y: 50
|
y: 50
|
||||||
#x: -60
|
#x: -60
|
||||||
@@ -590,8 +592,8 @@ lvgl:
|
|||||||
color: 0xFFFFFF
|
color: 0xFFFFFF
|
||||||
r_mod: 12 #sets line length by this much difference from the scale default radius
|
r_mod: 12 #sets line length by this much difference from the scale default radius
|
||||||
value: 50
|
value: 50
|
||||||
- img:
|
# - image:
|
||||||
id: power_meter_input_img3
|
# id: power_meter_input_img3
|
||||||
- arc:
|
- arc:
|
||||||
color: 0xFF3000
|
color: 0xFF3000
|
||||||
r_mod: 10 #radius difference from the scale default radius
|
r_mod: 10 #radius difference from the scale default radius
|
||||||
@@ -655,12 +657,12 @@ lvgl:
|
|||||||
#bg_color: 0xFFFFFF
|
#bg_color: 0xFFFFFF
|
||||||
#y: -35
|
#y: -35
|
||||||
#x: -60
|
#x: -60
|
||||||
- img:
|
- image:
|
||||||
src: solar_power_icon
|
src: solar_power_icon
|
||||||
id: img_solar_power3
|
id: img_solar_power3
|
||||||
align: center
|
align: center
|
||||||
img_recolor: 0xFFFF00
|
image_recolor: 0xFFFF00
|
||||||
img_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
|
image_recolor_opa: 100% #opacity defaults to 0% = must set this for recolor to take effect
|
||||||
#bg_color: 0xFFFFFF
|
#bg_color: 0xFFFFFF
|
||||||
y: 50
|
y: 50
|
||||||
#x: -60
|
#x: -60
|
||||||
@@ -14,8 +14,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ esp32:
|
|||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.1.2
|
version: 5.3.2
|
||||||
# platform_version: 6.6.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
# - source:
|
# - source:
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ esp32:
|
|||||||
variant: esp32c3
|
variant: esp32c3
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ esp32:
|
|||||||
variant: ESP32C3
|
variant: ESP32C3
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ esp32:
|
|||||||
# platform_version: 6.5.0
|
# platform_version: 6.5.0
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.1.2
|
version: 5.3.2
|
||||||
platform_version: 6.5.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
## TESTING
|
## TESTING
|
||||||
|
|
||||||
@@ -117,13 +117,13 @@ i2c:
|
|||||||
|
|
||||||
modem:
|
modem:
|
||||||
id: atmodem
|
id: atmodem
|
||||||
ready: modem_ready
|
# ready: modem_ready
|
||||||
rx_pin: 26
|
rx_pin: 26
|
||||||
tx_pin: 27
|
tx_pin: 27
|
||||||
model: SIM7600
|
model: SIM7600
|
||||||
apn: o2internet
|
apn: o2internet
|
||||||
username: ""
|
# username: ""
|
||||||
password: ""
|
# password: ""
|
||||||
pin_code: ""
|
pin_code: ""
|
||||||
init_at:
|
init_at:
|
||||||
- AT+CGNSSMODE=15,1 # GNSS all navigation systems
|
- AT+CGNSSMODE=15,1 # GNSS all navigation systems
|
||||||
|
|||||||
@@ -37,11 +37,11 @@ esp32:
|
|||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
api:
|
# api:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
wifi:
|
# wifi:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: components
|
- source: components
|
||||||
@@ -80,7 +80,6 @@ light:
|
|||||||
rgb_order: GRB
|
rgb_order: GRB
|
||||||
pin: 27
|
pin: 27
|
||||||
num_leds: 1
|
num_leds: 1
|
||||||
rmt_channel: 0
|
|
||||||
chipset: ws2812
|
chipset: ws2812
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
effects:
|
effects:
|
||||||
|
|||||||
@@ -37,11 +37,11 @@ esp32:
|
|||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
api:
|
# api:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
wifi:
|
# wifi:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: components
|
- source: components
|
||||||
@@ -80,7 +80,6 @@ light:
|
|||||||
rgb_order: GRB
|
rgb_order: GRB
|
||||||
pin: 27
|
pin: 27
|
||||||
num_leds: 1
|
num_leds: 1
|
||||||
rmt_channel: 0
|
|
||||||
chipset: ws2812
|
chipset: ws2812
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
effects:
|
effects:
|
||||||
|
|||||||
@@ -36,24 +36,24 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: components
|
- source: components
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
wifi: !include common/wifi.yaml
|
# wifi: !include common/wifi.yaml
|
||||||
logger: !include common/logger.yaml
|
logger: !include common/logger.yaml
|
||||||
# api: !include common/api.yaml
|
# api: !include common/api.yaml
|
||||||
ota: !include common/ota.yaml
|
# ota: !include common/ota.yaml
|
||||||
# common: !include common/common.yaml
|
# common: !include common/common.yaml
|
||||||
|
|
||||||
# api:
|
# api:
|
||||||
# reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
wifi:
|
# wifi:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
# debug:
|
# debug:
|
||||||
|
|
||||||
@@ -85,7 +85,6 @@ light:
|
|||||||
rgb_order: GRB
|
rgb_order: GRB
|
||||||
pin: 27
|
pin: 27
|
||||||
num_leds: 1
|
num_leds: 1
|
||||||
rmt_channel: 0
|
|
||||||
chipset: ws2812
|
chipset: ws2812
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
effects:
|
effects:
|
||||||
|
|||||||
@@ -37,18 +37,18 @@ esp32:
|
|||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
api:
|
# api:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
wifi:
|
# wifi:
|
||||||
reboot_timeout: 0s
|
# reboot_timeout: 0s
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source: components
|
- source: components
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/logger.yaml
|
common: !include common/logger.yaml
|
||||||
wifi: !include common/wifi.yaml
|
# wifi: !include common/wifi.yaml
|
||||||
# common: !include common/common.yaml
|
# common: !include common/common.yaml
|
||||||
|
|
||||||
# debug:
|
# debug:
|
||||||
@@ -81,7 +81,6 @@ light:
|
|||||||
rgb_order: GRB
|
rgb_order: GRB
|
||||||
pin: 27
|
pin: 27
|
||||||
num_leds: 1
|
num_leds: 1
|
||||||
rmt_channel: 0
|
|
||||||
chipset: ws2812
|
chipset: ws2812
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_OFF
|
||||||
effects:
|
effects:
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ esp32:
|
|||||||
board: m5stack-atom
|
board: m5stack-atom
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
version: 5.3.1
|
version: 5.3.2
|
||||||
platform_version: 6.9.0
|
platform_version: 53.03.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user