update f2 support esphome 2025.10.4
This commit is contained in:
parent
33000d2c7d
commit
5d26858a95
|
|
@ -17,14 +17,10 @@ esphome:
|
||||||
name: Screek.Human_Presence_Sensor
|
name: Screek.Human_Presence_Sensor
|
||||||
version: F2
|
version: F2
|
||||||
on_boot:
|
on_boot:
|
||||||
- priority: 100
|
|
||||||
then:
|
|
||||||
lambda: |-
|
|
||||||
id(cpu_speed) = ESP.getCpuFreqMHz();
|
|
||||||
- priority: 300
|
- priority: 300
|
||||||
then:
|
then:
|
||||||
lambda: |-
|
lambda: |-
|
||||||
id(screek_version).publish_state("V240708_1");
|
id(screek_version).publish_state("V251104_1");
|
||||||
- priority: -200
|
- priority: -200
|
||||||
then:
|
then:
|
||||||
- uart.write:
|
- uart.write:
|
||||||
|
|
@ -65,11 +61,6 @@ preferences:
|
||||||
flash_write_interval: 5s
|
flash_write_interval: 5s
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
|
||||||
type: git
|
|
||||||
url: https://github.com/screekworkshop/custom_components_support_for_screek_2a
|
|
||||||
ref: main
|
|
||||||
components: [uart]
|
|
||||||
- source:
|
- source:
|
||||||
type: git
|
type: git
|
||||||
url: https://github.com/ssieb/custom_components #Thanks for @ssieb components.
|
url: https://github.com/ssieb/custom_components #Thanks for @ssieb components.
|
||||||
|
|
@ -78,15 +69,11 @@ external_components:
|
||||||
esp32:
|
esp32:
|
||||||
board: lolin_c3_mini
|
board: lolin_c3_mini
|
||||||
framework:
|
framework:
|
||||||
type: arduino
|
type: esp-idf
|
||||||
version: 2.0.9
|
# version: 2.0.9
|
||||||
platform_version: 6.3.0
|
# platform_version: 6.3.0
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
- id: cpu_speed
|
|
||||||
type: int
|
|
||||||
restore_value: no
|
|
||||||
initial_value: '0'
|
|
||||||
- id: last_update_ld2450
|
- id: last_update_ld2450
|
||||||
type: unsigned long
|
type: unsigned long
|
||||||
restore_value: no
|
restore_value: no
|
||||||
|
|
@ -244,20 +231,9 @@ binary_sensor:
|
||||||
device_class: motion
|
device_class: motion
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: template
|
- platform: internal_temperature
|
||||||
name: "ESP CPU Speed"
|
|
||||||
accuracy_decimals: 0
|
|
||||||
icon: mdi:cpu-32-bit
|
|
||||||
unit_of_measurement: Mhz
|
|
||||||
disabled_by_default: True
|
|
||||||
lambda: |-
|
|
||||||
return (id(cpu_speed));
|
|
||||||
entity_category: "diagnostic"
|
|
||||||
update_interval: 600s
|
|
||||||
- platform: template
|
|
||||||
id: sys_esp_temperature
|
id: sys_esp_temperature
|
||||||
name: ESP Temperature
|
name: ESP Temperature
|
||||||
lambda: return temperatureRead();
|
|
||||||
unit_of_measurement: °C
|
unit_of_measurement: °C
|
||||||
device_class: TEMPERATURE
|
device_class: TEMPERATURE
|
||||||
update_interval: 45s
|
update_interval: 45s
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user