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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,533
» Latest member: nagpurelitemodel
» Forum threads: 4,182
» Forum posts: 20,783

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 18 Guest(s)
Applebot, Baidu, Bing, Crawl, Google, PetalBot, Semrush, bot

Latest Threads
How to get started
Forum: KC868-A16
Last Post: Lomagno
2 hours ago
» Replies: 36
» Views: 9,478
N60 configure yaml for ES...
Forum: N60
Last Post: chuyskywalker
10 hours ago
» Replies: 5
» Views: 1,766
KC868-A16
Forum: "KCS" v2 firmware system
Last Post: 5310h
Yesterday, 09:40 PM
» Replies: 9
» Views: 3,007
KC868-A16 UART pins
Forum: KC868-A series and Uair Smart Controller
Last Post: meowdokugame
08-04-2026, 07:40 AM
» Replies: 2
» Views: 580
KC868-A32 Malfunction Aft...
Forum: KC868-A32/A32 Pro
Last Post: admin
08-04-2026, 06:19 AM
» Replies: 3
» Views: 76
KinCony F8 + ESPHome: Una...
Forum: F8
Last Post: admin
08-02-2026, 11:00 PM
» Replies: 2
» Views: 38
F8 ESPHome yaml for home ...
Forum: F8
Last Post: admin
08-02-2026, 11:00 PM
» Replies: 0
» Views: 17
Schema A16V3 for Research...
Forum: KC868-A16v3
Last Post: hamzachaouri
08-02-2026, 10:34 PM
» Replies: 2
» Views: 66
B8 ADS1115 current inputs
Forum: B8
Last Post: admin
07-29-2026, 09:47 PM
» Replies: 6
» Views: 115
KINCONY IN KSA
Forum: DIY Project
Last Post: admin
07-29-2026, 10:43 AM
» Replies: 14
» Views: 1,848

  OLED display for A4
Posted by: tarajas - 09-24-2024, 10:02 PM - Forum: KC868-A4 - Replies (6)

Hi,

Is it possible to add an I2C OlED display to the A4 via using the 433MHz PINs? On 1.2.4 board I have those available...

Maybe I could add the display to the DIN plastic enclosure creating a cutout with a dremel and fixing the display with screws, so that some important info could be shown there...

P3 has looking the board from head on:
VCC ? ? GND
Where should the SDA and SCL be connected?

Print this item

  Any plans for KC868-D16 update?
Posted by: VKAN - 09-24-2024, 05:55 PM - Forum: Suggestions and feedback on KinCony's products - Replies (1)

Hi,

Time to time I see that Kincony updates and improves existing boards. Do you considering updating KC868-D16?
Probably running with ESP32?

Print this item

  Free sample for IT/tech education in a countryside school
Posted by: tarajas - 09-24-2024, 05:31 PM - Forum: Apply for free sample product - Replies (1)

Hi,

I was wondering if a countryside school's IT/technology teacher in Hungary (my cousin actually) could be eligible for a sample pack. After my own experiences and hobby tinkering with Kincony products I bought up the idea for my cousin to introduce the product to interested kids at the high school and she is all in about this... potentially sparking more interest out of the average bored student... What is your take on this? Is this an initiative that Kincony could support?

Kind Regards

Print this item

  PIR Sensor A6
Posted by: BalcdLeo - 09-24-2024, 04:46 PM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hello, everyone!
I'm relatively new to using the models here, so I have a few questions:
I’m trying to connect some sensors for testing. The only one I’ve successfully used is the DHT22, and now I’m attempting to get the PIR Sensor (the cheap ones) to work, but I haven’t been able to do so. Do you know if there’s anything specific regarding the setup, or is it just how the sensor operates?
Regarding the setup, I powered the PIR using both the 12V input of the A6 (the sensor operates from 5V to 20V) and an external power supply. I can see a reading of P0 indicating it’s connected to P0 or P1, P2... Pn. However, when I try to display the data obtained from the sensor, it doesn’t print in the Arduino IDE Serial monitor.
Do you know if these sensors work with the A6? I’m looking to use basic components for future automation projects.
Thank you all!


Here is my code:

#include <Wire.h>
#include "PCF8574.h"

#define SDA 4
#define SCL 15
#define PIR_SENSOR_PIN P0  // P0 pin on PCF8574 for the PIR sensor

PCF8574 pcf8574(0x22, SDA, SCL);  // I2C address 0x22, SDA GPIO4, SCL GPIO15

unsigned long timeElapsed;  // Variable to measure time
int warm_up = 1;  // Variable to control PIR warm-up

void setup() {
  Serial.begin(115200);  // Initialize serial communication
  Serial.println(__FILE__);
  delay(2000);

  Serial.println("System ready!");
  delay(2000);

  pcf8574.pinMode(PIR_SENSOR_PIN, INPUT);  // Set P0 pin as input for the PIR
  Serial.println("Init pcf8574...");
  if (pcf8574.begin()){
      Serial.println("OK");
  } else {
      Serial.println("KO");
  }
}

void loop() {
  // Read the value of the PIR connected to P0 of the PCF8574
  uint8_t sensor_output = pcf8574.digitalRead(PIR_SENSOR_PIN);

  // Check if the PIR detected motion
  if (sensor_output == LOW) {
    Serial.println("PIR ACTIVATED (Nothing detected)");
  } else {
    Serial.println("PIR DETECTED (Motion)");
  }

  delay(200);  // Delay to avoid excessive readings
}

Print this item

  how to check PCF8574/PCF8575 i2c address
Posted by: admin - 09-24-2024, 10:43 AM - Forum: KC868-A series and Uair Smart Controller - No Replies

   

Print this item

  Pulse Counter Sensor
Posted by: remiasz - 09-23-2024, 10:19 PM - Forum: KC868-A series and Uair Smart Controller - No Replies

ESPHome has Pulse Counter Sensor.
In yaml I can set count_mode to increment or decrement.
Can I change count_mode in runtime
My yaml file:

Code:
sensor:
  - platform: pulse_counter
    name: "impulse_counter"
    id: motor_pulse_counter
    pin:
      ...
    update_interval: 1s
    total:
      name: "Total"

binary_sensor:
  - platform: gpio
    name: "input01"
    id: opening
    pin: ...
    on_press:
      then:
        - lambda: |
            id(motor_pulse_counter).set_rising_edge_mode(esphome::pulse_counter::PulseCounterCountMode::PULSE_COUNTER_INCREMENT);

  - platform: gpio
    name: "input02"
    id: closing
    pin: ...
    on_press:
      then:
        - lambda: |
            id(motor_pulse_counter).set_rising_edge_mode(esphome::pulse_counter::PulseCounterCountMode::PULSE_COUNTER_DECREMENT);

I want add precise position to "Feedback Cover" by counting impulses from motor sensor.
But this konfiguration always count up in opening and closing cover.

Print this item

  Power supply
Posted by: salvolivigni - 09-23-2024, 03:38 PM - Forum: KC868-E16S/E16P - Replies (1)

Hi, how many watts does the 12VDC power supply need to have, to power with all 16 relays turned on?

Print this item

  KC868-A16 & ds18b20
Posted by: Wickfut - 09-23-2024, 01:48 PM - Forum: KC868-A series and Uair Smart Controller - Replies (11)

Can someone help me with a connection and code for a ds18b20 to a KC868-A16

Thank you,

Chris

Print this item

  UDP,TCP Server,TCP Client means in network setting
Posted by: dorishuntt - 09-23-2024, 07:04 AM - Forum: KC868-HxB series Smart Controller - No Replies

UDP: Controller power on will auto connect to KinCony's cloud server. This is use for "KinCony Smart Home" phone app. work need internet.
TCP Server: Controller is a server running on local network . This is use for "KBOX" phone app. work without internet.

Print this item

  how to turn on relay by SIM7600E 4G module voice call in ESPHome
Posted by: admin - 09-23-2024, 02:08 AM - Forum: Getting Started with ESPHome and Home Assistant - Replies (12)

   
   

Code:
esphome:
  name: a2

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "YnmQggQsfd7jvFefoMqNCpBtb63RXtotS+mSBQVIhY8="

# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

switch:
  - platform: gpio
    name: "a2-light1"
    pin: 15
    inverted: False
    id: relay_1  # Assign ID to relay 1

  - platform: gpio
    name: "a2-light2"
    pin: 2
    inverted: False

binary_sensor:
  - platform: gpio
    name: "a2-input1"
    pin:
      number: 36
      inverted: true

  - platform: gpio
    name: "a2-input2"
    pin:
      number: 39
      inverted: true

web_server:
  port: 80

# UART configuration for SIM7600E
uart:
  id: uart_2
  tx_pin: GPIO5
  rx_pin: GPIO13
  baud_rate: 115200

interval:
  - interval: 200ms  # Shorten the interval to reduce blocking time
    then:
      - lambda: |-
          static std::string uart_buffer;
          uint8_t c;
          int count = 0;
          const int max_reads = 10;  // Limit the number of bytes read per interval

          while (id(uart_2).available() && count < max_reads) {
            if (id(uart_2).read_byte(&c)) {
              uart_buffer += (char)c;
              count++;

              // Log each received character (optional for debugging)
              ESP_LOGD("UART", "Received: %c", (char)c);

              // Check if we have received the "RING" signal
              if (uart_buffer.find("RING") != std::string::npos) {
                ESP_LOGI("SIM7600", "Incoming call detected, turning on relay 1.");
                id(relay_1).turn_on();  // Turn on relay 1
                uart_buffer.clear();  // Clear the buffer after processing
              }

              // Clear the buffer if it gets too large
              if (uart_buffer.length() > 100) {
                uart_buffer.clear();
              }
            }
          }
ESPHome yaml file for KC868-A2 board download: 
.txt   A2-yaml-sim7600-call-relay.txt (Size: 2.02 KB / Downloads: 488)

Print this item