Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,329
» Latest member: chamoistrust
» Forum threads: 3,636
» Forum posts: 18,783

Full Statistics

Online Users
There are currently 101 online users.
» 0 Member(s) | 79 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bytespider, Crawl, Google, PetalBot, Semrush, bot

Latest Threads
OUTPUT DO1
Forum: KC868-AIO
Last Post: Lupi84
10 minutes ago
» Replies: 8
» Views: 55
sample code to receive ht...
Forum: F16
Last Post: admin
3 hours ago
» Replies: 10
» Views: 40
Goes Offline
Forum: KC868-E16S/E16P
Last Post: admin
Yesterday, 06:45 PM
» Replies: 1
» Views: 12
N20 Problem with Home Ass...
Forum: N20
Last Post: Luismical1
Yesterday, 04:13 PM
» Replies: 5
» Views: 27
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
Yesterday, 01:36 PM
» Replies: 11
» Views: 1,163
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
Yesterday, 08:25 AM
» Replies: 3
» Views: 50
Problems and general Feed...
Forum: N30
Last Post: admin
12-28-2025, 11:58 PM
» Replies: 1
» Views: 13
Voltage for KC868-16
Forum: KC868-A16
Last Post: admin
12-28-2025, 11:54 PM
» Replies: 1
» Views: 9
16-Channel Lighting Contr...
Forum: News
Last Post: admin
12-28-2025, 10:52 AM
» Replies: 1
» Views: 14
N30 Energy entry not work...
Forum: N30
Last Post: Vega
12-27-2025, 01:15 PM
» Replies: 13
» Views: 135

  Digital Out Connections
Posted by: joe.sfeir@gmail.com - 05-02-2025, 02:32 AM - Forum: T16M - Replies (1)

Hi

Is it possible to connect the first DC terminal to +24V so that outputs 1 to 8 get connected to +24V, and connect the second DC terminal to GND so that outputs 9 to 16 get connected to GND?

   

Thanks

Print this item

  Tiny Alarm System - firmware
Posted by: saymyname - 05-01-2025, 06:53 PM - Forum: "KCS" v2 firmware system - Replies (2)

Hello, 

which KCS firmware should i choose for Tiny Alarm System module?


KCS_A6V3_V3.8.0.zip
KCS_A16V3_V3.8.0.zip
KCS_A32PRO_V3.8.0.zip
KCS_AG8_V3.8.0.zip
KCS_B16_V3.8.0.zip
KCS_B16M_V3.8.0.zip
KCS_F16_V3.8.0.zip
KCS_F24_V3.8.0.zip
KCS_G1_V3.8.0.zip
KCS_T16M_V3.8.0.zip

thank you

Print this item

  MQTT(HA) update Cycle
Posted by: sserry - 05-01-2025, 04:21 PM - Forum: "KCS" v3 firmware - Replies (10)

Hello,

I have a Kincony A16v3. I use the native mqtt integration for home assistant. ( MQTT(HA): ) and can see that the device is continuously updating the binary_sensors. I was wondering why you do this....

I would expect only mqtt messages are send when changes occur... not all the time. So if the input changes, then only at that time a mqtt message is send.

Can this be altered please? I'm considering buying the KC868 but then the mqtt broker will be flooded with messages.

Thanks in advance
Stijn

Print this item

  Sim7600E kc868_A4S GSM SIM Internet Is not working - 4G and 3G Enabled
Posted by: venuakil2 - 05-01-2025, 10:04 AM - Forum: KC868-A4S - Replies (4)

Hi, I am Sim7600E kc868_A4S Model to call website URL after Internet activation. 

SIM Yellow Light is blinking. 

SIM call and SMS are working. But, Internet is not working. I have changed SIM Provider APN details


#include <HardwareSerial.h>
// Define SIM7600 UART
#define MODEM_RX 13   // Connect to SIM7600 TX
#define MODEM_TX 15   // Connect to SIM7600 RX
HardwareSerial sim7600(1);  // Use UART1
const char* APN = "du";    // Set your network APN
const char* USER = "";     // Usually blank
const char* PASS = "";     // Usually blank
void setup() {
  Serial.begin(115200);           // USB serial
  sim7600.begin(115200, SERIAL_8N1, MODEM_RX, MODEM_TX); // UART1
  delay(5000);  // Give time to power up
  Serial.println("Initializing SIM7600...");
  // Disable echo for clean output
  sendATCommand("ATE0", "OK", 1000);
  // Basic check
  if (!retryCommand("AT", "OK", 2000, 3)) {
    Serial.println("SIM7600 not responding!");
    while (1);
  }
  // SIM card check
  if (!sendATCommand("AT+CPIN?", "READY", 2000)) {
    Serial.println("SIM Card not ready!");
    while (1);
  }
  // Set LTE-only mode
  sendATCommand("AT+CNMP=38", "OK", 3000);
  sendATCommand("AT+CMNB=1", "OK", 3000);
  // Set APN
  String apnCmd = "AT+CGDCONT=1,\"IP\",\"" + String(APN) + "\"";
  sendATCommand(apnCmd.c_str(), "OK", 3000);
  // Attach to network
  if (!sendATCommand("AT+CGATT=1", "OK", 10000)) {
    Serial.println("Failed to attach to network!");
    while (1);
  }
  // Activate PDP
  if (!sendATCommand("AT+CGACT=1,1", "OK", 10000)) {
    Serial.println("Failed to activate PDP!");
    while (1);
  }
  // Show IP
  printIPAddress();
}
void loop() {
  // Optional: monitor SIM7600 data or implement HTTP
}
// ========== AT COMMAND HELPERS ==========
bool sendATCommand(const char* cmd, const char* expected, uint32_t timeout) {
  sim7600.flush();
  sim7600.println(cmd);
  Serial.print(">> "); Serial.println(cmd);
  uint32_t start = millis();
  String response;
  while (millis() - start < timeout) {
    while (sim7600.available()) {
      char c = sim7600.read();
      Serial.write©;
      response += c;
      if (response.indexOf(expected) != -1) {
        return true;
      }
    }
  }
  Serial.println("\n!! Timeout or Unexpected response:");
  Serial.println(response);
  return false;
}
bool retryCommand(const char* cmd, const char* expected, uint32_t timeout, int retries) {
  for (int i = 0; i < retries; i++) {
    if (sendATCommand(cmd, expected, timeout)) return true;
    delay(1000);
  }
  return false;
}
void printIPAddress() {
  Serial.println("Checking IP with AT+CGPADDR=1...");
  sim7600.println("AT+CGPADDR=1");
  delay(1000);
  String response;
  while (sim7600.available()) {
    char c = sim7600.read();
    Serial.write©;
    response += c;
  }
  int ipStart = response.indexOf(",\"") + 2;
  int ipEnd = response.indexOf("\"", ipStart);
  if (ipStart > 1 && ipEnd > ipStart) {
    String ip = response.substring(ipStart, ipEnd);
    Serial.print("Assigned IP: ");
    Serial.println(ip);
  } else {
    Serial.println("No IP Address Assigned");
  }
}


OutPut  
13:57:40.249 -> >> AT
13:57:42.215 -> !! Timeout or Unexpected response:
13:57:49.212 -> SIM7600 not responding!


Note : SIM calling is working 
Note 2: SIM SMS are working.
Only Internet is not activated. I have to call website URL after Internet connected. 


   

Print this item

  LCD i2s display on KS868-A16
Posted by: markuutgrunnen - 04-30-2025, 04:31 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Hello,

Who can help me, I have a KS868-A16 I would like 
to connect an I2s display 20x4) and show DS16B20 sensors on the 
display but I can't do it.

i use esphome, I have some DS16B20 sensors and they already work well with KS868-A16.

Greetings Mark

Print this item

  Serial Monitoring
Posted by: joe.sfeir@gmail.com - 04-30-2025, 03:03 AM - Forum: T16M - No Replies

Hi,

I am using Serial.begin() and Serial.println() but I see nothing in my Serial Monitor (Platformio). What could the problem be?

I am using 115200 as monitoring speed (configured in platformio.ini) and my Serial monitor is configured with the same rate.

I am using the demo code below:

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This program reads 16 input states from a PCF8575 I/O expander and
* controls a corresponding 16-channel relay module. When an input pin
* is LOW, the corresponding relay is turned ON (LOW means ON for the relay).
* When the input pin is HIGH, the corresponding relay is turned OFF.
*
* Pin Definitions:
* - SDA: GPIO 11
* - SCL: GPIO 12
* - Input I2C Address: 0x24
* - Relay I2C Address: 0x25
*/

#include <Wire.h>        // I2C communication
#include <PCF8575.h>     // Library to control the PCF8575 I/O expander

// Define I2C pins
#define SDA 11           // SDA pin
#define SCL 12           // SCL pin

// I2C addresses
#define INPUT_I2C_ADDRESS 0x24   // I2C address for the input PCF8575 module
#define RELAY_I2C_ADDRESS 0x25   // I2C address for the relay PCF8575 module

PCF8575 pcf8575_IN(INPUT_I2C_ADDRESS);    // Create an object for the input PCF8575
PCF8575 pcf8575_RL(RELAY_I2C_ADDRESS);    // Create an object for the relay PCF8575

void setup() {
  // Initialize I2C communication
  Wire.begin(SDA, SCL);

  // Initialize serial communication
  Serial.begin(115200);

  // Initialize input and relay modules
  pcf8575_IN.begin();
  pcf8575_RL.begin();

  // Turn off all relays at the start
  for (int i = 0; i < 16; i++) {
    pcf8575_RL.write(i, LOW);  // Assuming relays are LOW when OFF, setting all relays to OFF initially
  }

  Serial.println("System started: Input state controlling 16 relays");
}

void loop() {
  uint16_t inputState = 0;

  // Read the state of 16 inputs
  for (int i = 0; i < 16; i++) {
    if (pcf8575_IN.read(i)) {
      inputState |= (1 << i);  // If input is HIGH, set the corresponding bit
    } else {
      inputState &= ~(1 << i); // Otherwise, clear the corresponding bit
    }
  }

  Serial.println("Test Point...");

  // Control the relays based on the input state
  for (int i = 0; i < 16; i++) {
    if (inputState & (1 << i)) {
      pcf8575_RL.write(i, HIGH);  // If input is HIGH, turn the relay OFF
    } else {
      pcf8575_RL.write(i, LOW);   // If input is LOW, turn the relay ON
    }
  }

  // Delay for 500 milliseconds
  delay(500);
}


Thanks

Print this item

  RF with KCS-firmware
Posted by: jve91 - 04-29-2025, 05:57 PM - Forum: F16 - Replies (1)

Tried to copy some RF-remotes i had laying around.
I go the RF-page and hit the "learn" button. all i got is a timeout.

Is there anything that needs to be done first to receive the RF-signals?
I tried this running v3.9.1.

Print this item

  Does the KC868-A6 V1.4 board provide a 5V output for DS18B20 sensors?
Posted by: GetBK - 04-29-2025, 12:04 PM - Forum: KC868-A6 - Replies (1)

Hi everyone,
I'm using the Kincony KC868-A6 V1.4 board and planning to connect several DS18B20 temperature sensors. I know these sensors can work with 3.3V, but they tend to be more stable with a 5V power supply—especially when using longer cables.
Does this board provide a dedicated 5V output pin that I can use to power the DS18B20 sensors? If so, where exactly can I find it on the board?
Any help or insights would be greatly appreciated!
Thanks in advance!

Print this item

Exclamation Problems wifi / ESPHome?
Posted by: S.Krans - 04-29-2025, 10:59 AM - Forum: KC868-A128 - Replies (9)

Can somebody test my code my wifi is dropping and cant connect to it after the update esphome


ESPHome Device Builder 
Current version: 2025.4.1

Home Assistant
Core 2025.4.4
Supervisor 2025.04.1
Operating System 15.2
Frontend 20250411.0

Network 
UniFi OS 4.2.9
Network 9.0.114



Attached Files
.txt   koi-rk-kincony-kc868-a128_logs.txt (Size: 12.57 KB / Downloads: 204)
.txt   default-code.txt (Size: 618 bytes / Downloads: 183)
.txt   full code.txt (Size: 40.64 KB / Downloads: 177)
Print this item

  PlatformIO Programming
Posted by: joe.sfeir@gmail.com - 04-29-2025, 10:25 AM - Forum: T16M - Replies (1)

Hi, NooB Here.

Trying to program the ESP32 in PlatformIO:

1. Which ESP32 S3 chip should I configure when creating the project in PlatformIO?

2. How do I make it connect to upload? Do I need to hold a button before uploading? I tried holding the DL button but it didn't connect. Same for the RST button.

Thanks

Print this item