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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,554
» Latest member: mm88io
» Forum threads: 4,339
» Forum posts: 21,351

Full Statistics

Online Users
There are currently 268 online users.
» 0 Member(s) | 251 Guest(s)
Applebot, Baidu, Crawl, PetalBot, Semrush, Sogou web, Yandex, bot

Latest Threads
HAv2 + ESPHome - Avoiding...
Forum: KC868-HA /HA v2
Last Post: phrfpeixoto
2 hours ago
» Replies: 3
» Views: 11
KCS debounce option for K...
Forum: KC868-A16
Last Post: admin
4 hours ago
» Replies: 1
» Views: 41
Does KCS v3 on CO16 opera...
Forum: CO16
Last Post: admin
4 hours ago
» Replies: 1
» Views: 2
[arduino code examples fo...
Forum: F32
Last Post: admin
Yesterday, 04:27 AM
» Replies: 0
» Views: 22
[arduino code examples fo...
Forum: F32
Last Post: admin
Yesterday, 04:25 AM
» Replies: 0
» Views: 21
KC868-A16 wiring diagram
Forum: KC868-A16
Last Post: admin
11-17-2026, 09:31 PM
» Replies: 24
» Views: 22,094
N20 energy
Forum: N20
Last Post: admin
11-17-2026, 09:29 PM
» Replies: 1
» Views: 27
Automatic Modbus Sensor p...
Forum: "KCS" v3 firmware
Last Post: admin
11-17-2026, 09:27 PM
» Replies: 4
» Views: 126
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-17-2026, 04:33 AM
» Replies: 0
» Views: 31
KC868-A8 PCB V1.7 - Maxim...
Forum: KC868-A8
Last Post: admin
11-16-2026, 09:29 AM
» Replies: 1
» Views: 65

  Firmware settings Backup
Posted by: charlesrg - 10-05-2024, 03:40 AM - Forum: "KCS" v2 firmware system - Replies (3)

How do I backup the firmware settings so I don't have to redo by hand after upgrade ?

Print this item

  KinCony F16 ESP32-S3 16A Removable Relay Board released
Posted by: admin - 10-05-2024, 02:29 AM - Forum: News - No Replies

KinCony F16 ESP32 smart controller based on ESP32-S3-WROOM-1U (N16R8) wifi chip. It have 16 manual control switch buttons can turn ON/OFF relay even if system is broken. 16 channel removable OMRON high-quality relay, 4 channel 1-wire GPIOs, 2 free GPIOs, 4 channel analog input ports. One SD card using SPI bus. KinCony F16 include DS3231 high precision RTC clock chip. LCD display will show wifi and ethernet IP address and Tuya connection state. F16 have RS485 port and RF433MHz RF receiver. You can write any code by Arduino IDE / MicroPython / ESP-IDF development tool to ESP32 module. We will supply Arduino / ESP-IDF demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY.
[Image: ESP32-F16-1.jpg]
Model No. KinCony F16
Description: KinCony 16 Channel ESP32-S3 Removable Relay Controller – F16
Power supply: 12/24V DC (Default install by 12V OMRON relay)
Processor: ESP32-S3-WROOM-1U (N16R8)
Size: 262mm*127mm*62mm
interfaces: Ethernet(RJ45)-LAN 100Mbps IPv4/IPv6,WiFi,RS485,Bluetooth,USB-C,LCD,Tuya Module
RTC: DS3231 high precision chip (battery socket on PCB)
SD Card: SPI bus
Installation method: DIN RAIL
LCD: SSD1306 I2C display
Outputs:
16CH OMRON removable relay, every channel have "COM"(common) and "NO"(normal open) ports.
MAX load 250VAC/16A 30VDC/16A
Inputs:
2CH analog input DC0-5V (A1,A2) 2CH analog input 4-20mA (A3,A4)
16CH dry contact inputs (optocoupler isolation, long distance circuit for MAX 500 meters cable)
3 buttons: 1:ESP32 Reset 2:ESP32 Download 3:Tuya config
1-Wire GPIO: 4CH (with pull-up resistance on PCB)
free GPIO: 2CH (without pull-up resistance on PCB, connect with ESP32 pin directly)
RF receiver socket: 433MHz RF receiver
[Image: ESP32-F16-6.jpg]
software solution:
1. download firmware by ESPHome, integrate to home assistant or use by web service.
2. download tasmota firmware.
3. write your own arudino code for your own requirements.
4. It is recommended to use home assistant and Tuya mobile phone app at the same time. So that remote control by internet using Tuya app, local control by LAN using home assistant app.
Related technical information
———————————
ESP32 I/O pin define: https://www.kincony.com/forum/showthread.php?tid=6814
config yaml file for ESPHome: https://www.kincony.com/forum/showthread.php?tid=6815
arduino demo source code: https://www.kincony.com/forum/forumdisplay.php?fid=63
Different views of the F16:
[Image: F16-view.jpg]
[Image: F16-size.jpg]

Print this item

  PLC Modbus communication
Posted by: huntleight - 10-04-2024, 10:08 PM - Forum: KC868-A6 - Replies (7)

How can i communicate with plc (Plc as a master)? How plc can change my parameter ? For example plc wants to change or read my maxhumidity parameter, how can plc know maxhumidity modbus adress(for example 4x2002) ? Can you explain all phase communication, i dont know maybe assign modbus address, if plc change my parameter how can i catch and change parameter, ..? I hope it was understandable.

Print this item

  ESPHome Modbus config for KC868-A6
Posted by: aucirc - 10-04-2024, 06:06 PM - Forum: KC868-A6 - Replies (4)

Is this the correct ESPHome configuration for RS-485 Modbus on KC-868 A6?

Code:
uart:
  id: mbus
  tx_pin: GPIO12
  rx_pin: GPIO13
  baud_rate: 9600

modbus:
  id: modbus1
  uart_id: mbus
  send_wait_time: 500ms

modbus_controller:
- id: wp3082adam1
  address: 1
  modbus_id: modbus1
  update_interval: 5s

I'm trying to use this with WellPro WP3082ADAM:

Code:
text_sensor:
- name: "analoginputs"
  platform: modbus_controller
  modbus_controller_id: wp3082adam1
  id: test
  # internal: true
  register_type: holding
  address: 0x0000
  register_count: 8
  raw_encode: HEXBYTES
  response_size: 10

This is sending correct command to the wp3082adam, but ESPHome it never receives a response:
Code:
Modbus command to device=1 register=0x00 no response received - removed from send queue

The frustrating this is I can see the holding register request from the A6 and the response from the WP3082ADAM when monitoring the wire, everything seems to be working perfectly, but A6 can't "hear" the modbus response.

sent from A6:
{01}{03}{00}{00}{00}{08}{44}{0C}
response from wp3082adam:
{01}{03}{10}{00}{00}{00}{00}{00}{00}{00}{00}{03}{34}{00}{00}{00}{00}{00}{00}{D1}{8F}

I would appreciate any suggestions

Print this item

  Digital inputs not reacting on +24VDC
Posted by: xxpeta - 10-04-2024, 06:32 AM - Forum: KC868-AI - Replies (7)

Hi all,
my KC868-AI is not reacting (change from logical 0 to logical 1) on sending +24VDC to any of digital inputs.
Firmware version: 2.2.4
Thanks for your reaction.

   

Print this item

  Kcs output off after x seconds
Posted by: stanchiam - 10-03-2024, 12:14 AM - Forum: "KCS" v2 firmware system - Replies (1)

Hi, 

How can we let kcs automatically off the output, example output 1, 10 seconds after it is triggered on through api (http://192.168.1.99/ctrl.cgi?secret=&set...=1&value=1)

Print this item

  M30 - Jumpers for CT inputs (voltage/mA)
Posted by: raphaelcno - 10-02-2024, 03:52 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (6)

Hello Smile

I'm reading the description of the M30 board (https://www.kincony.com/esp32-energy-monitor-board.html). 
I see that it's possible to use CT clamps with voltage or mA signal. 
Can you tell me if the CT inputs on the M30 board are equipped with jumpers in order to choose between voltage and mA signal? 

Thank you in advance for your help Smile
Raphaël

Print this item

  NodeRed MQTT and Single output State
Posted by: charlesrg - 10-02-2024, 01:59 PM - Forum: "KCS" v2 firmware system - Replies (1)

I've a few KC868_A32M  and A16

I'm trying to subscribe to the state of a single output instead of the whole board.

On NodeREd I wanted to subscribe to a topiic like:    

KC868_A32M/E05A1B5BE4C8/STATE/output1


So only changes to output1 would trigger an action. Is it possible or is this something for a future firmware update ?

Print this item

  KinCony B16M ESP32-S3 Smart Controller released
Posted by: admin - 10-01-2024, 06:56 AM - Forum: News - No Replies

KinCony B16M ESP32 smart controller based on ESP32-S3-WROOM-1U (N16R8) wifi chip. Support 16 channel MOSFET output, 4 channel 1-wire GPIOs, 3 free GPIOs, 4 channel ADS1115 16bit analog input ports. One SD card using SPI bus. B16M include DS3231 high precision RTC clock chip. LCD display will show wifi and ethernet IP address and Tuya connection state. B16M have I2C bus extender and RS485 port. You can write any code by Arduino IDE / MicroPython / ESP-IDF development tool to ESP32 module. We will supply Arduino / ESP-IDF demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY.
[Image: ESP32-B16M-2.jpg]
Model No. KinCony B16M
Description: KinCony 16 Channel ESP32-S3 Smart Controller – B16M
Power supply: 12-24V DC
Processor: ESP32-S3-WROOM-1U (N16R8)
Size: 160mm*83mm*56mm
interfaces: Ethernet(RJ45)-LAN 100Mbps IPv4/IPv6,WiFi,RS485,Bluetooth,USB-C,LCD,I2C,Tuya Module
RTC: DS3231 high precision chip (battery socket on PCB)
SD Card: SPI bus
Installation method: DIN RAIL
LCD: SSD1306 I2C display
Outputs:
16CH MOSFET Outputs, every channel use MAX 10A driver IC
Inputs:
ADS1115 16bit ADC: 2CH analog input DC0-5V (A1,A2) 2CH analog input 4-20mA (A3,A4)
16CH dry contact inputs (optocoupler isolation, long distance circuit for MAX 500 meters cable)
3 buttons: 1:ESP32 Reset 2:ESP32 Download 3:Tuya config
1-Wire GPIO: 4CH (with pull-up resistance on PCB)
free GPIO: 3CH (without pull-up resistance on PCB, connect with ESP32 pin directly)
[Image: ESP32-B16M-1.jpg]
software solution:
1. download firmware by ESPHome, integrate to home assistant or use by web service.
2. download tasmota firmware.
3. write your own arudino code for your own requirements.
4. It is recommended to use home assistant and Tuya mobile phone app at the same time. So that remote control by internet using Tuya app, local control by LAN using home assistant app.
Related technical information
———————————
ESP32 I/O pin define: https://www.kincony.com/forum/showthread.php?tid=6781
config yaml file for ESPHome: https://www.kincony.com/forum/showthread.php?tid=6782
arduino demo source code: https://www.kincony.com/forum/forumdisplay.php?fid=61
Different views of the B16M:
[Image: B16M-view.jpg]
[Image: B16M-size.jpg]
Here are the hardware design details:
[Image: ESP32-B16M-2.jpg]
[Image: ESP32-B16M-3.jpg]
[Image: ESP32-B16M-4.jpg]
[Image: ESP32-B16M-5.jpg]
[Image: ESP32-B16M-6.jpg]
B16M support install on DIN RAIL
[Image: ESP32-B16M-7.jpg]
As a standard size, it looks like it is installed in a distribution box.
[Image: ESP32-B16M-8.jpg]
[Image: ESP32-B16M-9.jpg]

Print this item

  [arduino code examples for F16]-10 Print TEXT on SSD1306 OLED displayer
Posted by: admin - 10-01-2024, 04:55 AM - Forum: F16 - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This Arduino program demonstrates how to display text on an SSD1306 128x64 OLED display using the U8g2 library.
* The program draws two lines of text on the display:
* - The first line is "KINCONY" in a larger font.
* - The second line is "www.kincony.com" in a smaller font.
*
* The display is connected via I2C (software implementation) with:
* - SCL (clock) on pin IO18
* - SDA (data) on pin IO8
*
* The display's I2C address is set to 0x3C.
*/

#include <U8g2lib.h>  // Include the U8g2 library for controlling the OLED display
#include <Wire.h>     // Include the Wire library for I2C communication

// Initialize the display using the software I2C method (SCL = IO18, SDA = IO8)
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0,  18, 8, U8X8_PIN_NONE);  // Screen rotation: U8G2_R0

// Function to display page 1 content
void page1() {
  // Set font size 18 for the larger "KINCONY" text
  u8g2.setFont(u8g2_font_timR18_tf);  // Use the Times Roman font, size 18
  u8g2.setFontPosTop();               // Set the text position at the top of the display
  u8g2.setCursor(5, 0);               // Position the cursor at coordinates (5, 0)
  u8g2.print("KINCONY");              // Display the text "KINCONY" on the screen

  // Set font size 12 for the smaller "www.kincony.com" text
  u8g2.setFont(u8g2_font_timR12_tf);  // Use the Times Roman font, size 12
  u8g2.setCursor(0, 40);              // Position the cursor at coordinates (0, 40)
  u8g2.print("www.kincony.com");      // Display the text "www.kincony.com"
}

// Setup function, runs once when the program starts
void setup() {
  // Set the I2C address for the display to 0x3C
  u8g2.setI2CAddress(0x3C*2);  // I2C address shift for 8-bit format
 
  // Initialize the display
  u8g2.begin();
 
  // Enable UTF-8 character printing for the display
  u8g2.enableUTF8Print();  // Allow UTF-8 encoded text to be printed
}

// Main loop function, continuously runs after setup()
void loop() {
  // Begin the display drawing process
  u8g2.firstPage();  // Prepare the first page for drawing
  do {
    // Call the page1() function to draw content on the display
    page1();
  } while (u8g2.nextPage());  // Continue to the next page until all pages are drawn
}
arduino ino file download: 
.zip   10-oled-ssd1306.zip (Size: 1.11 KB / Downloads: 841)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:
.zip   10-oled-ssd1306.ino.merged.zip (Size: 198.96 KB / Downloads: 875)

Print this item