Okay. That would be a maximum of 24A per day, per board. 48A in total. Too much drain on 3 x 100a lithium batteries (240a usable), with other power requirements. Unfortunately, I can only use one A8 board.
I only need another 4 relays. I thought about it, and I have another question.
Can I add the following 4 Channel I2C Electromagnetic Relay Module (has a pcf8574 module) to the IIC (I2C) slot.
I am guessing the yaml file would be something like the following:
# Example configuration entry
pcf8574:
- id: "pcf8574_hub_out_1" # for output channel 1-8
address: 0x24
- id: "pcf8574_hub_in_1" # for input channel 9-16
address: 0x22
- id: "pcf8574_extend_1" # for output channel 17-20
address: 0x{number here}
# Extend outputs
switch:
- platform: gpio
name: "name1"
pin:
pcf8574: pcf8574_extend_1
number: 0
mode: OUTPUT
inverted: true
- platform: gpio
name: "name2"
pin:
pcf8574: pcf8574_extend_1
number: 1
mode: OUTPUT
inverted: true
- platform: gpio
name: "name3"
pin:
pcf8574: pcf8574_extend_1
number: 2
mode: OUTPUT
inverted: true
- platform: gpio
name: "name4"
pin:
pcf8574: pcf8574_extend_1
number: 3
mode: OUTPUT
inverted: true
I am completely new to this and I do not know, or want to use, Andrino; only Home Assistant.
Thanks.
p.s. Maybe you can make your own add-on boards in the future
I only need another 4 relays. I thought about it, and I have another question.
Can I add the following 4 Channel I2C Electromagnetic Relay Module (has a pcf8574 module) to the IIC (I2C) slot.
I am guessing the yaml file would be something like the following:
# Example configuration entry
pcf8574:
- id: "pcf8574_hub_out_1" # for output channel 1-8
address: 0x24
- id: "pcf8574_hub_in_1" # for input channel 9-16
address: 0x22
- id: "pcf8574_extend_1" # for output channel 17-20
address: 0x{number here}
# Extend outputs
switch:
- platform: gpio
name: "name1"
pin:
pcf8574: pcf8574_extend_1
number: 0
mode: OUTPUT
inverted: true
- platform: gpio
name: "name2"
pin:
pcf8574: pcf8574_extend_1
number: 1
mode: OUTPUT
inverted: true
- platform: gpio
name: "name3"
pin:
pcf8574: pcf8574_extend_1
number: 2
mode: OUTPUT
inverted: true
- platform: gpio
name: "name4"
pin:
pcf8574: pcf8574_extend_1
number: 3
mode: OUTPUT
inverted: true
I am completely new to this and I do not know, or want to use, Andrino; only Home Assistant.
Thanks.
p.s. Maybe you can make your own add-on boards in the future