-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
board_esp32.yaml
45 lines (36 loc) · 980 Bytes
/
board_esp32.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
esphome:
name: ${name}
on_boot:
priority: -200
then:
- delay: ${onboot_valve_calibration_delay} #1min
- script.execute: valve_maintenance
project:
name: "nliaudat.floor-heating-controller"
version: "${revision}.dev"
substitutions:
#board and compilation
board: az-delivery-devkit-v4 #nodemcu-32s #esp-wrover-kit
framework: esp-idf #arduino
#Pin definition
sn74hc595_data_pin: GPIO16
sn74hc595_clock_pin: GPIO5
sn74hc595_latch_pin: GPIO17
# sn74hc595_oe_pin: GPIO18
adc_bemf_1_pin: GPIO36
adc_bemf_2_pin: GPIO39
adc_bemf_3_pin: GPIO34
adc_bemf_4_pin: GPIO35
onewire_pin: GPIO23
esp32:
board: ${board} #nodemcu-32s
framework:
type: ${framework} #esp-idf #arduino
version: recommended #latest
sdkconfig_options:
CONFIG_COMPILER_OPTIMIZATION_SIZE: y
preferences:
flash_write_interval: 60min
ota:
- platform: esphome
safe_mode: