Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions regarding KC868-A8
#9
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.

[Image: 2021-12-03-T17-32-08-679-Z-03.jpg]

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
Reply


Messages In This Thread
Questions regarding KC868-A8 - by SJones - 09-07-2023, 11:07 AM
RE: Questions regarding KC868-A8 - by admin - 09-07-2023, 10:02 PM
RE: Questions regarding KC868-A8 - by SJones - 09-08-2023, 06:31 AM
RE: Questions regarding KC868-A8 - by admin - 09-08-2023, 07:23 AM
RE: Questions regarding KC868-A8 - by engmohades - 09-09-2023, 05:30 AM
RE: Questions regarding KC868-A8 - by admin - 09-09-2023, 05:35 AM
RE: Questions regarding KC868-A8 - by SJones - 09-14-2023, 06:49 AM
RE: Questions regarding KC868-A8 - by admin - 09-14-2023, 10:30 PM
RE: Questions regarding KC868-A8 - by SJones - 09-21-2023, 04:59 PM
RE: Questions regarding KC868-A8 - by admin - 09-21-2023, 09:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)