Smart Home Automation Forum
Input 1-2 not working - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22)
+--- Thread: Input 1-2 not working (/showthread.php?tid=7774)



Input 1-2 not working - erkkis - 03-08-2025

Hi,

I ordered A6 from Aliexpress. Seems the device otherwise works well, but digital inputs 1-2 are not working while inputs 3-6 work fine. Inputs were tested only by connecting GND to input 1-6 via jumper wire.

Chat with Aliexpress seller asked to contact via Whatsapp. After doing everything required I was asked to post here (don't know why).

What I have done:

Step 1. ESPHome

I tested it with ESPHome code from here https://devices.esphome.io/devices/KinCony-KC868-A6.

Digital inputs 3-6 work, digital inputs 1-2 don't work, relays 1-6 work.

Step 2. Arduino code

I tested with this code:

Code:
#include <Wire.h>
#include "PCF8574.h"
#define SDA_PIN 4    // I2C SDA pin
#define SCL_PIN 15  // I2C SCL pin
PCF8574 pcf8574_input(0x22);  // PCF8574 address for inputs
void setup() {
  Serial.begin(115200);
  Wire.begin(SDA_PIN, SCL_PIN);
  // Initialize PCF8574 inputs
  for (int i = 0; i < 6; i++) {
    pcf8574_input.pinMode(i, INPUT);
  }
  // Check if PCF8574 is detected
  if (!pcf8574_input.begin()) {
    Serial.println("Error: PCF8574 (0x22) not detected!");
  } else {
    Serial.println("PCF8574 (0x22) detected.");
  }
}
void loop() {
  Serial.print("Inputs: ");
  // Read all 6 input pins
  for (int i = 0; i < 6; i++) {
    int state = pcf8574_input.digitalRead(i);
    Serial.print(state);
    Serial.print(" ");  // Print space between values
  }
  Serial.println();  // New line
  delay(500);  // Delay for readability
}

It monitors inputs and prints out values. Inputs 1-2 don't print anything, inputs 3-6 work fine.

Step 3. KCS firmware
Whatsapp chat told to: "you can download KCS firmware to test board whether work well"

I did that and tested again the same scenarios. Result is the same: Digital inputs 3-6 work, digital inputs 1-2 don't work, relays 1-6 work.

---

What should I do?


RE: Input 1-2 not working - admin - 03-09-2025

1. we support technical support by forum, because more details post at here will understand the issue deeply.

2. because you not buy board from KinCony official store. But no problem, you can list your question at here.

a. which KCS firmware version BIN file you have downloaded?
b. can you take a photo which pin short with GND, how you wire.
c. if all are correct, you can contact with AliExpress seller to re send you a new board if you bought in a short time.


RE: Input 1-2 not working - erkkis - 03-09-2025

(Today, 01:03 AM)admin Wrote: 1. we support technical support by forum, because more details post at here will understand the issue deeply.

2. because you not buy board from KinCony official store. But no problem, you can list your question at here.

a. which KCS firmware version BIN file you have downloaded?
b. can you take a photo which pin short with GND, how you wire.
c. if all are correct, you can contact with AliExpress seller to re send you a new board if you bought in a short time.

Thanks.

a. v2.2.12
b. images added - just a simple jumper cable connected between GND and input 1-2 won't work, but if connected to 3-6 it works

[Image: IMG_6508.jpg?rlkey=2fvzu59iggv7rutz5o7vg16rt&e=1&dl=1]

[Image: IMG_6509.jpg?rlkey=ylnw8xsjiyaayfhlez7b02tlc&dl=1]


RE: Input 1-2 not working - admin - 03-09-2025

You can try soldering the two optocoupler pins indicated by the red arrows in the picture. if also can't work, contact with the seller to re send you a new PCB.