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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,417
» Latest member: archerfleming
» Forum threads: 4,322
» Forum posts: 21,300

Full Statistics

Online Users
There are currently 144 online users.
» 0 Member(s) | 123 Guest(s)
Amazonbot, Applebot, AwarioBot, Baidu, Bing, Bytespider, Crawl, PetalBot, Yandex, bot

Latest Threads
KC868-A4 – Relay 1 clicks...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 11:58 PM
» Replies: 3
» Views: 20
⚡ 40 Buttons, 36 Lighting...
Forum: DIY Project
Last Post: lulu01
Yesterday, 07:34 PM
» Replies: 24
» Views: 2,942
[arduino code examples fo...
Forum: CO16
Last Post: admin
Yesterday, 03:04 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
Yesterday, 01:34 AM
» Replies: 0
» Views: 12
[arduino code examples fo...
Forum: CO16
Last Post: admin
Yesterday, 12:15 AM
» Replies: 0
» Views: 14
450 Hz allowed on input?
Forum: Development
Last Post: admin
11-02-2026, 09:41 PM
» Replies: 3
» Views: 27
How Do You Handle Relay C...
Forum: KC868-A6
Last Post: lulu01
11-02-2026, 05:41 PM
» Replies: 2
» Views: 23
"KCS" v3.27.4 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
11-02-2026, 06:02 AM
» Replies: 0
» Views: 50
how to check i2c extend c...
Forum: T16M
Last Post: admin
11-02-2026, 12:38 AM
» Replies: 0
» Views: 14
T16M ESPHome yaml for hom...
Forum: T16M
Last Post: admin
11-02-2026, 12:35 AM
» Replies: 0
» Views: 10

  M30 new yaml
Posted by: sufpunk - 08-13-2025, 08:51 PM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

Hi, I have a Kincony M30 and use it with ESPHome in Home Assistant.
Currently, my m30.yaml is configured from the following thread:
https://www.kincony.com/forum/showthread.php?tid=4088
Today I tried updating my M30 with ESPHome version 2025.7.5 and received error messages related to led id

Code:
light.partition: [source /config/esphome/garage-energiemesser.yaml:1864]
  platform: partition
  name: M30_LED30
  id: M30_LED30
  segments:
    -
      Couldn't find ID 'light1'. Please check you have defined an ID with that name in your configuration.
      id: light1
      from: 29
      to: 29
      reversed: False
Is it possible to provide an updated and tested version of the M30 config YAML?
Best regards,
sufpunk

Print this item

  Connect RS485 KC868-HAv2 to Server Mini
Posted by: Mijoo - 08-13-2025, 02:05 PM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (4)

Help: Connect RS485 I/O modules to the Raspberry Pi 4 Relay Board (Server Mini) + Home Assistant OS


Hardware


Goal
  1. Daisy-chain several KinCony RS485 I/O modules to the Server Mini’s onboard RS485.
  2. Control/monitor them from Home Assistant OS (HA Modbus if possible).
  3. Best-practice for addressing many modules (bulk provisioning) without connecting a laptop each time.





What I’ve found / tried so far
  • The board exposes RS485 via the Pi’s UART (I see pins marked GPIO14 = TX, GPIO15 = RX on documentation/pins).
  • On Home Assistant OS, I cannot just edit /boot/config.txt like on Raspberry Pi OS, so I’m not sure about the correct way to enable the UART for the onboard RS485 under HA OS.
  • I tried using generic HA Modbus config but I’m not 100% sure about the device path (e.g. /dev/ttyAMA0, /dev/ttyS0, or /dev/serial/by-id/...) and serial parameters (baud, parity, stop bits) for KinCony’s RS485 port on this board.





Questions

  1. Wiring
    • Do I need a 120 Ω termination resistor at the last device? Are there built-in bias resistors on the Server Mini’s RS485 transceiver, or should I add my own?
    • Any max bus length / topology recommendations? (I’ll use daisy chain, not star.)

  2. Protocol & parameters
    • Do those RS485 I/O modules speak Modbus RTU out of the box? If yes, what are the default serial parameters (baud, parity, stopbits) and the register map (coils/inputs/holding)?
    • If it’s not Modbus RTU by default, is there a Modbus firmware or config mode I should use?

  3. Addressing multiple modules
    • How do I set unique addresses for each module? DIP switches? Command?
    • For bulk installs, is there a recommended workflow to assign addresses without hooking up each module to a PC? (Auto-addressing, scan/assign tool, etc.)

  4. Home Assistant OS specifics
    • On this KinCony board with HA OS, what is the correct serial device path for the onboard RS485 (e.g., /dev/ttyAMA0)?
    • What is the recommended way to enable UART on HA OS for this board (since /boot/config.txt is read-only under HA OS)? Any KinCony-specific steps or an add-on?
    • A minimal, known-good Home Assistant modbus: YAML example for one RS485 I/O module would be super helpful.

  5. Examples
    • Could you share example register addresses (coils/inputs) for:
      • Reading digital inputs from a KinCony RS485 I/O module
      • Controlling a relay output (if the chosen module has relays)
    • Any sample configs for more than one module on the same bus?

Print this item

  Server-Mini and RS485 - IO Module – KC868-HAv2
Posted by: Mijoo - 08-13-2025, 01:44 PM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (1)

Hello, friends.
Help: Connect RS485 I/O modules to the Raspberry Pi 4 Relay Board (Server Mini) + Home Assistant OS


Hardware



Goal

  1. Daisy-chain several KinCony RS485 I/O modules to the Server Mini’s onboard RS485.
  2. Control/monitor them from Home Assistant OS (HA Modbus if possible).
  3. Best-practice for addressing many modules (bulk provisioning) without connecting a laptop each time.





What I’ve found / tried so far

  • The board exposes RS485 via the Pi’s UART (I see pins marked GPIO14 = TX, GPIO15 = RX on documentation/pins).
  • On Home Assistant OS, I cannot just edit /boot/config.txt like on Raspberry Pi OS, so I’m not sure about the correct way to enable the UART for the onboard RS485 under HA OS.
  • I tried using generic HA Modbus config but I’m not 100% sure about the device path (e.g. /dev/ttyAMA0, /dev/ttyS0, or /dev/serial/by-id/...) and serial parameters (baud, parity, stop bits) for KinCony’s RS485 port on this board.
  • I previously attempted the old rpi_gpio integration for direct GPIO, but HA OS doesn’t include that — so I want to use RS485/Modbus properly instead.

Print this item

  No AP appears
Posted by: sergey1945 - 08-13-2025, 12:12 PM - Forum: KC868-A6 - Replies (5)

I just bought the KS868 A6 board and successfully flashed the firmware according to the instructions. However, after reconnecting the power, I can't detect the Wi-Fi access point. When power is applied, the red LED near the power connector lights up, and all relays click. No other activity on the board. Tried firmware KCS_KC868_A6_V2.2.13 and KCS_KC868_A6_V2.2.14. My board arrived in a very dented package, so I'm concerned about the Wi-Fi module. Is there any way to diagnose the Wi-Fi module? Could this issue be related to me temporarily using a DC 12V 1A?

Print this item

  Esphome + KC868-HA-V21
Posted by: duranduy - 08-13-2025, 08:45 AM - Forum: Getting Started with ESPHome and Home Assistant - Replies (8)

Hello, friends. Thank you so much for your products—I’ve been using them with great pleasure. However, I’ve encountered an issue while trying to set up your KC868-HAv21 RS485.

I connected it via RS485 to the KC868-A2, using the ESPHOME firmware. I added your component from GitHub, and the settings on the HAv2 are factory defaults. Controlling the digital outputs (D1-D6) works fine, but when it comes to changes in the state of the digital inputs, the ESPHome logs only show the following messages:

text
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=1
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=2 
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=3 
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=4 
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=5 
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=6 
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=7 
dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=8  
found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=1 (also bind output 1-8) 
What am I doing wrong? Could it be due to incorrect bind_output parameters? If so, which numbers should I specify?

I took the binary_sensor configuration from your GitHub and followed the instructions from your YouTube channel exactly. Thanks for your help!

Print this item

  Kincony Server-16 new install
Posted by: shochif - 08-13-2025, 03:30 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (16)

before install smart home assisstant we need to connect to server 16 
but i cant connect, and when i check my connection to server 16 like this
how i can fix this ?



Attached Files Thumbnail(s)
   
Print this item

  RF 433 Module
Posted by: awitzke - 08-12-2025, 02:38 PM - Forum: KC868-AI - Replies (2)

Looks like I need to buy this RF receiver module for the KC868-AI:

https://shop.kincony.com/products/rf-433...iQKBEdGYoh

Can I use a receiver and a sender module at the same time on this board? Kind of new to this, so sorry for the dumb question  Smile

Print this item

  how to use AG8 work with tasmota using ethernet w5500 chip
Posted by: admin - 08-11-2025, 12:15 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - No Replies

1. connect AG8 with USB-C cable to your computer, connect ethernet cable with router.
   
2. download tasmota firmware by web tool.
   
3. define Ethernet GPIO for module config option:

Ethernet (W5500) I/O define:

clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1

* Used SPI W5500
* SPI_MOSI
* SPI_MISO
* SPI_CLK
* SPI_RST = Tasmota ETH_POWER
* SPI_IRQ = Tasmota ETH_MDIO
* SPI_CS  = Tasmota ETH_MDC

   
   

4. send "EthType 8" command from tasmota console

EthType Ethernet type.
0 = ETH_PHY_LAN8720 (default)
1 = ETH_PHY_TLK110
2 = ETH_PHY_RTL8201
3 = ETH_PHY_DP83848
4 = ETH_PHY_DM9051 (SPI)
5 = ETH_PHY_KSZ8081
6= ETH_PHY_KSZ8041
7 = ETH_PHY_JL1101
8 = ETH_PHY_W5500 (SPI)
9 = ETH_PHY_KSZ8851 (SPI)

   

5. now you will see the ethernet w5500 ip address:
   

Print this item

  KinCony Z1 smart IR RF Zigbee gateway released
Posted by: admin - 08-10-2025, 03:55 AM - Forum: News - Replies (2)

we have designed Z1 by ESP32S3 + Tuya ZSU Zigbee 3.0 module. It based on ESP32-S3-WROOM-1U (N16R8) wifi chip. it support use by ESPHome for home assistant for smart home automation DIY. Z1 use KCS v3 firmware, it support home assistant auto discovery function by MQTT, so without write any config code (zero code) for home assistant. KCS v3 support KinCony board integrate to Loxone Miniserver and Apple HomeKit.
[Image: z1-1.jpg]
You can define RF and IR buttons to control TV or air conditioner or other IR devices by IR signal.
Z1 can pair with zigbee3.0 standard protocol products. create IFTTT command for zigbee sensor, so that zigbee sensor automatic send command to relay board or other devices using customize command.
[Image: Z1-diagram.jpg]
You can write any code by Arduino IDE / Micro Python / ESP-IDF development tool to ESP32-S3 module. We will supply Arduino demo code for different samples. Everyone can modify and change the code for your own smart home automation system project.
Model No. KinCony Z1
Description: KinCony Zigbee3.0 gateway – Z1
Power supply: DC5V
Processor: ESP32-S3-WROOM-1U (N16R8)
Size: 100mm*100mm*30mm
Communication: WiFi / bluetooth
IR sender: 7 IR tube inside
IR receiver: one
Zigbee Module: Tuya ZSU
Buttons: ESP32 download, Tuya config
Led: power led, tuya state led
beep: one
Free GPIOs:
GPIO4,GPIO5,GPIO6,GPIO7,GPIO15,GPIO16,GPIO17,GPIO18,GPIO42,GPIO8,GPIO40,GPIO41,GPIO38,GPIO39,GPIO13,GPIO14,GPIO12

Print this item

  ESPHome yaml demo file for Z1 IR RF controller
Posted by: admin - 08-10-2025, 03:49 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - No Replies

Code:
esphome:
  name: z1
  friendly_name: z1

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "6BypFn6vausn/yYzIgtjCKu0FHPEi4VLa912F22UXCA="

ota:
  - platform: esphome
    password: "e32c25bb18c69932bd20375b251e1e25"

wifi:
  ssid: "KinCony"
  password: "a12345678"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Z1 Fallback Hotspot"
    password: "CLPH8mbzmyoj"

captive_portal:

remote_receiver:
  pin: 1
  rmt_channel: 4 
  dump: all

remote_transmitter:
  - id: ir47
    pin: 47
    carrier_duty_percent: 50%
  - id: ir48
    pin: 48
    carrier_duty_percent: 50%

switch:
  - platform: template
    name: IR-Send1
    turn_on_action:
      - remote_transmitter.transmit_panasonic:
          transmitter_id: ir47
          address: 0x4004
          command: 0x8140DFA2

  - platform: template
    name: IR-Send2
    turn_on_action:
      - remote_transmitter.transmit_panasonic:
          transmitter_id: ir48
          address: 0x4004
          command: 0x8140DFA2

  - platform: gpio
    name: "led"
    pin: 44
    inverted: False

binary_sensor:
  - platform: gpio
    name: "IO0"
    pin:
      number: 0
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO43"
    pin:
      number: 43
      inverted: true
      mode:
        input: true
        pullup: true

web_server:
  port: 80
download yaml file:

.txt   Z1-HA.txt (Size: 1.54 KB / Downloads: 441)

Print this item