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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,864
» Latest member: jiso610
» Forum threads: 3,884
» Forum posts: 19,810

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 19 Guest(s)
AhrefsBot, Amazonbot, Crawl, Google, Sogou web, bot

Latest Threads
KC868-E16S/E16P demo conf...
Forum: KC868-E16S/E16P
Last Post: admin
2 hours ago
» Replies: 18
» Views: 11,236
New TA web interface unav...
Forum: TA
Last Post: admin
2 hours ago
» Replies: 3
» Views: 13
kc-868 AK
Forum: "KCS" v3 firmware
Last Post: admin
2 hours ago
» Replies: 2
» Views: 11
AIO Hybrid wiring diagram
Forum: AIO Hybrid
Last Post: admin
Yesterday, 05:45 AM
» Replies: 0
» Views: 6
false start with KC868 A1...
Forum: KC868-A16v3
Last Post: admin
04-04-2026, 11:08 PM
» Replies: 1
» Views: 17
Interface T16M E/S et AIO
Forum: News
Last Post: admin
04-04-2026, 11:05 PM
» Replies: 7
» Views: 93
KCS_Z1_V3.24.2.zip firmwa...
Forum: "KCS" v3 firmware
Last Post: admin
04-04-2026, 02:37 AM
» Replies: 6
» Views: 78
KC868-COLB - How to Conne...
Forum: KC868-HxB series Smart Controller
Last Post: upstream
04-03-2026, 11:26 PM
» Replies: 6
» Views: 57
Instal ESP HA with ethern...
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
04-03-2026, 11:09 PM
» Replies: 3
» Views: 37
KC868-A4 USB not detected...
Forum: KC868-A series and Uair Smart Controller
Last Post: stansvec
04-03-2026, 02:04 AM
» Replies: 4
» Views: 1,625

  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: 371)

Print this item

  rs232 problem
Posted by: alex989 - 09-22-2024, 04:08 PM - Forum: KC868-A6 - Replies (22)

Hi,
I'm trying to use the rs232 port of the board but I'm some trouble.
to test it i have done a bridge from pin 2 and 3 of dsub connector and seems that the bytes that send doesn't been received.
i attach an other rs232 module in the same pin and with this module the bytes that send also been received.
seems that is the rs232 module of the board that have some problem

Print this item

  "KCS" v2.4.10 firmware for M30 AC Energy Meter
Posted by: admin - 09-22-2024, 05:29 AM - Forum: "KCS" v2 firmware system - No Replies

2.4.10 improment:
support multi M30 boards work in home assistant by MQTT auto discovery.
   
ESP32 firmware download:
.zip   KCS_M30_V2.4.10.zip (Size: 735 KB / Downloads: 625)

Print this item

  [arduino code examples for A32 Pro]-12 How to use DHT11 temperature humidity sensor
Posted by: admin - 09-20-2024, 05:12 AM - Forum: KC868-A32/A32 Pro - No Replies

Code:
/*
*  Made by KinCony IoT: https://www.kincony.com

*  This program reads temperature and humidity values from a DHT11 sensor
*  connected to GPIO2 of an ESP32 board, and prints the readings to the serial monitor.

*  The DHT11 sensor measures the relative humidity and temperature in the environment.
*  This data is then read by the ESP32 and displayed in the serial monitor.
*
*  Requirements:
*  - ESP32 microcontroller
*  - DHT11 temperature and humidity sensor
*  - DHT sensor library by Adafruit (Install in Arduino IDE)
*
*  Connections:
*  - DHT11 Data Pin -> GPIO2 on ESP32
*  - DHT11 VCC Pin -> 3.3V on ESP32
*  - DHT11 GND Pin -> GND on ESP32
*/

#include <DHT.h>  // Import the DHT library

// Define the GPIO pin where the DHT11 sensor is connected
#define DHTPIN 2       // DHT11 data pin is connected to GPIO2 on ESP32

// Define the type of DHT sensor being used (DHT11)
#define DHTTYPE DHT11  // DHT11 sensor type

// Create a DHT object to read temperature and humidity
DHT dht(DHTPIN, DHTTYPE);

void setup() {
  // Initialize serial communication for debugging at a baud rate of 115200
  Serial.begin(115200);
  Serial.println("DHT11 Sensor Test - Made by KinCony IoT: https://www.kincony.com");

  // Initialize the DHT sensor
  dht.begin();
}

void loop() {
  // Wait for 2 seconds between each reading to ensure stable data
  delay(2000);

  // Read humidity value from the DHT11 sensor
  float humidity = dht.readHumidity();
 
  // Read temperature value from the DHT11 sensor in Celsius
  float temperature = dht.readTemperature();

  // Check if there was an error reading the data
  if (isnan(humidity) || isnan(temperature)) {
    // Print error message if the sensor reading failed
    Serial.println("Failed to read from DHT11 sensor!");
    return;  // Exit loop iteration and try again after delay
  }

  // Print the humidity value to the serial monitor
  Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.print("%");

  // Print the temperature value to the serial monitor
  Serial.print("  Temperature: ");
  Serial.print(temperature);
  Serial.println("°C");
}

arduino ino file download: 
.zip   12-DHT11-temperature-humidity.zip (Size: 1.05 KB / Downloads: 461)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download: 
.zip   12-DHT11-temperature-humidity.ino.merged.zip (Size: 180.83 KB / Downloads: 482)
   

Print this item

  USB ports
Posted by: BaconRanch - 09-19-2024, 09:20 PM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (2)

Hello,

 am trying to use a 2.4 Gz USB keyboard on the device and its just now shgowing up.  I have tried all 4 ports and re-bvooted device each attempt with no luck. Most R Pi 4s have 2 blue USB and 2 black but mine are all black.  I have looked ubder Settings >System>Hardware>All HARDWARE and there are no ebtries indicating an USB ports and definitely nothing looking like a wireless keyboard.  Tje CM4 is wells seated, not a connection issue.  My keyboard works on a windows PC and an Android TV box perfectly, its not the issue.

Any ideas please?

Thank you,
Mark Young

Print this item

  PWM support?
Posted by: luis15pt - 09-19-2024, 06:10 PM - Forum: KC868-A16 - Replies (11)

I have a  KC868-A16 would it be possible to control a standard computer fan 12v that has PWM ? i know there are some GPIO ports, im assuming i have to configure one of these as PWM, how do i find out which ones they represent on the actual board? The next question is how do i monitor the RPM form the fan and where do i connect and configure it ?
[Image: rRuk1Q4.png]
[Image: sh-07-sensors.jpg]

Print this item

  KC868-AG RF - sending repeated signals
Posted by: PhilW - 09-18-2024, 12:29 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

I'm new to this HW, so maybe I'm missing something.

I have a remote 433mhz that I "learned" on the Web UI.

When I transmit the signal, it is being sent around 5 times, triggering the receiving device to turn on and off and on again etc.
Basically, the device (ventilator) beeps when it gets a signal, and I'm hearing around 5 beeps.

Is there any way to configure this behavior?

Or should I flash the device with a different fimware? Can I just flash esphome on it - and hope to fix this somehow that way?

Current firmware: v2.2.4

Print this item

  Usar entradas y oled i2c juntos
Posted by: sistemasyusa - 09-18-2024, 02:49 AM - Forum: KC868-A6 - Replies (4)

Buenas tardes 

Quiero usar las entradas y al mismo tiempo una pantalla  oled i2c, pero no logro usarlo en conjunto correctamente, veo el código de ejemplo de entradas y ahí viene esto:

PC8574. pc8564(0x22,4,15)

Y en el código de ejemplo de OLED viene lo siguiente :

U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, 15, 4, U8X8_PIN_NONE);//SCL IO15 SDA IO4

y el error que hace es que siempre manda indicar que la entrada se activo cuando junto tanto un codigo como el otro 

Agradecería su apoyo 


Anexo código completo



Attached Files Thumbnail(s)
   

.zip   DEMO_KC868_15_OLED_input.zip (Size: 2.12 KB / Downloads: 447)
Print this item

  KC868-A16S or KC868-A8S
Posted by: mbeaven - 09-17-2024, 08:13 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

I'm thinking of using either KC868-A16S or KC868-A8S to control 24V lights/devices in a campervan via ESP32 with momentary switches and via a smartphone. Both boards indicate they handle AC current. Can they also handle DC 12v and/or 24v loads with the built in relays? If so, what is the max amps per relay and in total? What is the make/model/part number of the relay switch used on the board?

They also indicate they use DC 12V to power the board. Can they use 24V power as well?

Print this item