mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 13:00:27 +02:00
Compare commits
7 Commits
input_boar
...
input_boar
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4c24dd592 | ||
|
|
b5f854e3b1 | ||
|
|
28a7a8b2b8 | ||
|
|
d52c7ded2d | ||
|
|
cd53de9f9d | ||
|
|
a1119e41de | ||
|
|
5d975638f8 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -127,3 +127,5 @@ dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
.esphome/
|
||||
|
||||
@@ -1,29 +1,37 @@
|
||||
substitutions:
|
||||
# set to false if you don't want mac suffix in your device name
|
||||
name_add_mac_suffix: "true"
|
||||
# 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
|
||||
dir_name: './'
|
||||
|
||||
|
||||
packages:
|
||||
# devices
|
||||
# select your input board:
|
||||
input: !include boards/relay32_inputs_MCP.yaml
|
||||
#input: !include boards/relay32_inputs_PCF.yaml
|
||||
#input: !include boards/dimmer_led8x4_inputs.yaml
|
||||
#input: !include boards/cover16_inputs.yaml
|
||||
#input: !include boards/cover16_inputs.yaml
|
||||
|
||||
# select your output board:
|
||||
#output: !include boards/relay24_outputs_MCP.yaml
|
||||
#output: !include boards/relay32_outputs_PCF.yaml
|
||||
output: !include boards/relay32_outputs_MCP.yaml
|
||||
#output: !include boards/dimmer_led8x4_outputs.yaml
|
||||
#light: !include boards/monochromatic_lights.yaml
|
||||
#cover: !include boards/cover.yaml
|
||||
#output: !include boards/cover16_outputs.yaml
|
||||
#output: !include boards/cover16_outputs.yaml
|
||||
|
||||
# select your devices:
|
||||
core: !include devices/wt32_eth01.yaml
|
||||
internals: !include devices/boneio_board_PCF.yaml
|
||||
#internals: !include devices/boneio_board_MCP.yaml
|
||||
internals: !include devices/boneio_board_MCP.yaml
|
||||
#internals: !include devices/boneio_board_PCF.yaml
|
||||
temp: !include devices/lm75b.yaml
|
||||
display: !include devices/display.yaml
|
||||
# uart: !include devices/uart.yaml
|
||||
# one_wire: !include devices/one_wire.yaml
|
||||
# relay32
|
||||
#output: !include boards/relay32_outputs_MCP.yaml
|
||||
output: !include boards/relay32_outputs_PCF.yaml
|
||||
#input: !include boards/relay32_inputs_MCP.yaml
|
||||
input: !include boards/relay32_inputs_PCF.yaml
|
||||
# dimmer led
|
||||
#output: !include boards/dimmer_led8x4_outputs.yaml
|
||||
#input: !include boards/dimmer_led8x4_inputs.yaml
|
||||
#light: !include boards/monochromatic_lights.yaml
|
||||
# cover
|
||||
#output: !include boards/cover16_outputs.yaml
|
||||
# input: !include boards/cover16_inputs.yaml
|
||||
# cover: !include boards/cover.yaml
|
||||
|
||||
logger:
|
||||
baud_rate: 0
|
||||
|
||||
@@ -1,30 +1,39 @@
|
||||
substitutions:
|
||||
# set to false if you don't want mac suffix in your device name
|
||||
name_add_mac_suffix: "true"
|
||||
# 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
|
||||
dir_name: 'boneio/'
|
||||
|
||||
|
||||
|
||||
packages:
|
||||
# devices
|
||||
# select your input board:
|
||||
input: !include boneio/boards/relay32_inputs_MCP.yaml
|
||||
#input: !include boneio/boards/relay32_inputs_PCF.yaml
|
||||
#input: !include boneio/boards/dimmer_led8x4_inputs.yaml
|
||||
#input: !include boneio/boards/cover16_inputs.yaml
|
||||
#input: !include boneio/boards/cover16_inputs.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.yaml
|
||||
#output: !include boneio/boards/cover16_outputs.yaml
|
||||
|
||||
# select your devices:
|
||||
core: !include boneio/devices/wt32_eth01.yaml
|
||||
internals: !include boneio/devices/boneio_board_PCF.yaml
|
||||
#internals: !include boneio/devices/boneio_board_MCP.yaml
|
||||
internals: !include boneio/devices/boneio_board_MCP.yaml
|
||||
#internals: !include boneio/devices/boneio_board_PCF.yaml
|
||||
temp: !include boneio/devices/lm75b.yaml
|
||||
display: !include boneio/devices/display.yaml
|
||||
# uart: !include devices/uart.yaml
|
||||
# one_wire: !include devices/one_wire.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 boards/dimmer_led8x4_outputs.yaml
|
||||
# input: !include boards/dimmer_led8x4_inputs.yaml
|
||||
# light: !include boards/monochromatic_lights.yaml
|
||||
# cover
|
||||
# output: !include boards/cover16_outputs.yaml
|
||||
# input: !include boards/cover16_inputs.yaml
|
||||
# cover: !include boards/cover.yaml
|
||||
|
||||
logger:
|
||||
baud_rate: 0
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
esphome:
|
||||
name: ${node_name}
|
||||
platform: ESP32
|
||||
board: nodemcu-32s
|
||||
|
||||
i2c:
|
||||
sda: GPIO14
|
||||
scl: GPIO15
|
||||
scan: True
|
||||
frequency: 100kHz
|
||||
frequency: 400kHz
|
||||
|
||||
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:
|
||||
id: eth
|
||||
@@ -17,3 +19,6 @@ ethernet:
|
||||
clk_mode: GPIO0_IN
|
||||
phy_addr: 1
|
||||
power_pin: GPIO16
|
||||
|
||||
# uncomment this line and set your actual IP address before changing name of device
|
||||
# use_address: 172.21.130.57
|
||||
|
||||
Reference in New Issue
Block a user