Posts: 6,294
Threads: 806
Joined: Oct 2020
Reputation:
154
yes, i understand you. make I2C pcb for extend is no problem, my means is I2C board not suggest use for long wire connect with A8/A8S.
another way, do you have seen S1,S2,S3,S4 that also can use for INPUT, use by dry contact sensor. you will have another 4 channel of DI.
Posts: 6,294
Threads: 806
Joined: Oct 2020
Reputation:
154
binary_sensor:
- platform: gpio
name: "input1"
pin:
number: xxxx
inverted: true
Posts: 13
Threads: 0
Joined: Apr 2022
Reputation:
0
Hi Kincony Admin
I'm going back to the subject of the input expansion board. The new product KC868-A8M has an additional (detachable) manual control button panel.
In a similar way, you can try to create a board with input extensions and connect it to the I2C port. The mainboards of KC868-A devices are the same size, have the same holes in the same places, so you can create a universal expansion board for all models.
What do you think abou it?
Best Regards
macek
Posts: 6,294
Threads: 806
Joined: Oct 2020
Reputation:
154
because if use by I2C extend board, the cable can't long, only <10cm is better. so we not suggest to use I2C extend way for extend GPIO by cable.
Posts: 7
Threads: 2
Joined: Feb 2024
Reputation:
0
Hello everyone. I recently bought 2 kc868-a8 and I'm using them with EspHome.
I have a trouble concerning the analog input!
Admin says:
DS18B20/DHT11/21-1: 14
DS18B20/DHT11/21-2: 13
const int DI9 = 36
const int DI10 =39
but i used the following code to use A8-S4 input:
binary_sensor:
- platform: gpio
name: "a8-s4"
pin:
number: 33
inverted: true
on_press:
- switch.turn_off: something
- switch.turn_off: something_else
so, my question is: which number I will use for 3 other analog input?
Regards