mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-11 04:50:29 +02:00
added ip address and some substitutions
This commit is contained in:
@@ -1,33 +1,39 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
node_name: boneio
|
# set to false if you don't want mac suffix in your device name
|
||||||
|
name_add_mac_suffix: "false"
|
||||||
|
# if you want to change the name of device via OTA you have to set IP first in boneio/devices/wt32_eth01.yaml
|
||||||
|
node_name: boneio-4
|
||||||
dir_name: 'boneio/'
|
dir_name: 'boneio/'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
# devices
|
# select your input board:
|
||||||
|
# input: !include boneio/boards/relay24_inputs_PCF.yaml
|
||||||
|
# input: !include boneio/boards/relay32_inputs_PCF.yaml
|
||||||
|
# input: !include boneio/boards/relay32_inputs_MCP.yaml
|
||||||
|
# input: !include boneio/boards/dimmer_led8x4_inputs.yaml
|
||||||
|
# input: !include boneio/boards/cover16_inputs_MCP.yaml
|
||||||
|
# input: !include boneio/boards/cover16_inputs_PCF.yaml
|
||||||
|
|
||||||
|
# select your output board:
|
||||||
|
output: !include boneio/boards/relay24_outputs_MCP.yaml
|
||||||
|
# output: !include boneio/boards/relay32_outputs_PCF.yaml
|
||||||
|
# output: !include boneio/boards/relay32_outputs_MCP.yaml
|
||||||
|
# output: !include boneio/boards/dimmer_led8x4_outputs.yaml
|
||||||
|
# light: !include boneio/boards/monochromatic_lights.yaml
|
||||||
|
# cover: !include boneio/boards/cover.yaml
|
||||||
|
# output: !include boneio/boards/cover16_outputs_PCF.yaml
|
||||||
|
# output: !include boneio/boards/cover16_outputs_MCP.yaml
|
||||||
|
|
||||||
|
# select your devices:
|
||||||
core: !include boneio/devices/wt32_eth01.yaml
|
core: !include boneio/devices/wt32_eth01.yaml
|
||||||
internals: !include boneio/devices/boneio_board.yaml
|
internals: !include boneio/devices/boneio_board.yaml
|
||||||
temp: !include boneio/devices/lm75b.yaml
|
temp: !include boneio/devices/lm75b.yaml
|
||||||
display: !include boneio/devices/display.yaml
|
display: !include boneio/devices/display.yaml
|
||||||
# uart: !include devices/uart.yaml
|
# uart: !include devices/uart.yaml
|
||||||
# one_wire: !include devices/one_wire.yaml
|
# one_wire: !include devices/one_wire.yaml
|
||||||
# relay24
|
|
||||||
output: !include boneio/boards/relay24_outputs_MCP.yaml
|
|
||||||
input: !include boneio/boards/relay24_inputs_PCF.yaml
|
|
||||||
# relay32
|
|
||||||
output: !include boneio/boards/relay32_outputs_PCF.yaml
|
|
||||||
#output: !include boneio/boards/relay32_outputs_MCP.yaml
|
|
||||||
input: !include boneio/boards/relay32_inputs_PCF.yaml
|
|
||||||
#input: !include boneio/boards/relay32_inputs_MCP.yaml
|
|
||||||
# dimmer led
|
|
||||||
# output: !include boneio/boards/dimmer_led8x4_outputs.yaml
|
|
||||||
# input: !include boneio/boards/dimmer_led8x4_inputs.yaml
|
|
||||||
# light: !include boneio/boards/monochromatic_lights.yaml
|
|
||||||
# cover
|
|
||||||
# output: !include boneio/boards/cover16_outputs_PCF.yaml
|
|
||||||
# output: !include boneio/boards/cover16_outputs_MCP.yaml
|
|
||||||
# input: !include boneio/boards/cover16_inputs_PCF.yaml
|
|
||||||
# input: !include boneio/boards/cover16_inputs_MCP.yaml
|
|
||||||
# cover: !include boneio/boards/cover.yaml
|
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
baud_rate: 0
|
baud_rate: 0
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
esphome:
|
|
||||||
name: ${node_name}
|
|
||||||
platform: ESP32
|
|
||||||
board: nodemcu-32s
|
|
||||||
name_add_mac_suffix: true
|
|
||||||
|
|
||||||
i2c:
|
i2c:
|
||||||
- id: bus_a
|
- id: bus_a
|
||||||
sda: GPIO14
|
sda: GPIO14
|
||||||
@@ -16,6 +10,13 @@ i2c:
|
|||||||
scan: True
|
scan: True
|
||||||
frequency: 100kHz
|
frequency: 100kHz
|
||||||
|
|
||||||
|
esphome:
|
||||||
|
name: ${node_name}
|
||||||
|
platform: ESP32
|
||||||
|
board: nodemcu-32s
|
||||||
|
# set to false if you already added this device to ESPHOME add-on
|
||||||
|
name_add_mac_suffix: ${name_add_mac_suffix}
|
||||||
|
|
||||||
ethernet:
|
ethernet:
|
||||||
id: eth
|
id: eth
|
||||||
type: LAN8720
|
type: LAN8720
|
||||||
@@ -24,3 +25,6 @@ ethernet:
|
|||||||
clk_mode: GPIO0_IN
|
clk_mode: GPIO0_IN
|
||||||
phy_addr: 1
|
phy_addr: 1
|
||||||
power_pin: GPIO16
|
power_pin: GPIO16
|
||||||
|
|
||||||
|
# uncomment this line and set your actual IP address before changing name of device
|
||||||
|
# use_address: xxx.xxx.xxx.xxx
|
||||||
|
|||||||
Reference in New Issue
Block a user