mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
Corrections and addition of boneio_board_PCF.yaml
This commit is contained in:
@@ -26,7 +26,8 @@ packages:
|
|||||||
|
|
||||||
# select your devices:
|
# select your devices:
|
||||||
core: !include devices/wt32_eth01.yaml
|
core: !include devices/wt32_eth01.yaml
|
||||||
internals: !include devices/boneio_board.yaml
|
internals: !include devices/boneio_board_MCP.yaml
|
||||||
|
#internals: !include devices/boneio_board_PCF.yaml
|
||||||
temp: !include devices/lm75b.yaml
|
temp: !include devices/lm75b.yaml
|
||||||
display: !include devices/display.yaml
|
display: !include devices/display.yaml
|
||||||
# uart: !include devices/uart.yaml
|
# uart: !include devices/uart.yaml
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ substitutions:
|
|||||||
|
|
||||||
packages:
|
packages:
|
||||||
# select your input board:
|
# select your input board:
|
||||||
#input: !include boneio/boards/relay32_inputs_MCP.yaml
|
input: !include boneio/boards/relay32_inputs_MCP.yaml
|
||||||
#input: !include boards/relay32_inputs_PCF.yaml
|
#input: !include boneio/boards/relay32_inputs_PCF.yaml
|
||||||
#input: !include boneio/boards/dimmer_led8x4_inputs.yaml
|
#input: !include boneio/boards/dimmer_led8x4_inputs.yaml
|
||||||
#input: !include boneio/boards/cover16_inputs.yaml
|
#input: !include boneio/boards/cover16_inputs.yaml
|
||||||
#input: !include boneio/boards/cover16_inputs.yaml
|
#input: !include boneio/boards/cover16_inputs.yaml
|
||||||
@@ -27,7 +27,8 @@ packages:
|
|||||||
|
|
||||||
# select your devices:
|
# 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_MCP.yaml
|
||||||
|
#internals: !include boneio/devices/boneio_board_PCF.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
|
||||||
|
|||||||
37
devices/boneio_board_PCF.yaml
Normal file
37
devices/boneio_board_PCF.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
#i2c address: 0x26 input pcf io
|
||||||
|
#i2c address: 0x27 input pcf io
|
||||||
|
#i2c address: 0x40 input ina219 power
|
||||||
|
#i2c address: 0x68 input rtc ds1307
|
||||||
|
time:
|
||||||
|
- platform: ds1307
|
||||||
|
id: ds1307_time
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
# Module power consmption
|
||||||
|
- platform: ina219
|
||||||
|
address: 0x40
|
||||||
|
shunt_resistance: 0.1 ohm
|
||||||
|
current:
|
||||||
|
id: ina_current
|
||||||
|
name: "${node_name} INA219 Current"
|
||||||
|
power:
|
||||||
|
id: ina_power
|
||||||
|
name: "${node_name} INA219 Power"
|
||||||
|
bus_voltage:
|
||||||
|
id: ina_bus_voltage
|
||||||
|
name: "${node_name} INA219 Bus Voltage"
|
||||||
|
shunt_voltage:
|
||||||
|
id: ina_shunt_voltage
|
||||||
|
name: "${node_name} INA219 Shunt Voltage"
|
||||||
|
max_voltage: 32.0V
|
||||||
|
max_current: 3.2A
|
||||||
|
update_interval: 30s
|
||||||
|
|
||||||
|
pcf8574:
|
||||||
|
- id: 'mcp_inputs_1to16'
|
||||||
|
address: 0x26
|
||||||
|
pcf8575: true
|
||||||
|
- id: 'mcp_inputs_17to32'
|
||||||
|
address: 0x27
|
||||||
|
pcf8575: true
|
||||||
|
|
||||||
Reference in New Issue
Block a user