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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,476
» Latest member: ldebacker
» Forum threads: 3,711
» Forum posts: 19,121

Full Statistics

Online Users
There are currently 95 online users.
» 1 Member(s) | 81 Guest(s)
AhrefsBot, Amazonbot, Crawl, Google, PetalBot, bot, owler, admin

Latest Threads
KinCony E8v3 RS485 Din Ra...
Forum: News
Last Post: admin
Less than 1 minute ago
» Replies: 0
» Views: 1
KinCony E24v3 RS485 Din R...
Forum: News
Last Post: admin
41 minutes ago
» Replies: 0
» Views: 2
Connect um330 and kc828 a...
Forum: DIY Project
Last Post: admin
58 minutes ago
» Replies: 34
» Views: 3,754
F16 tuya reverse sw. func...
Forum: F16
Last Post: admin
2 hours ago
» Replies: 1
» Views: 5
Relay board wiring error?
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
2 hours ago
» Replies: 1
» Views: 13
KC868-A16 ethernet work w...
Forum: KC868-A16
Last Post: Konstantin
8 hours ago
» Replies: 23
» Views: 16,374
KinCony E16v3 RS485 Din R...
Forum: News
Last Post: ldebacker
Yesterday, 12:29 PM
» Replies: 1
» Views: 221
KC868-A16 - IP & PORT ?? ...
Forum: KC868-A16
Last Post: admin
Yesterday, 12:19 PM
» Replies: 13
» Views: 946
[arduino code examples fo...
Forum: B24M
Last Post: admin
Yesterday, 05:32 AM
» Replies: 4
» Views: 274
"KCS" v3.19.1 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 03:10 AM
» Replies: 0
» Views: 29

  DM16 ESPHome yaml for home assistant without tuya
Posted by: admin - 09-09-2025, 02:17 AM - Forum: DM16 - No Replies

Code:
esphome:
  name: dm16
  friendly_name: dm16

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

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  platform: esphome

web_server:
  port: 80

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

i2c:
   - id: bus_a
     sda: 8
     scl: 18
     scan: true
     frequency: 400kHz
     
text_sensor:
  - platform: ethernet_info
    ip_address:
      name: ESP IP Address
      id: eth_ip
      address_0:
        name: ESP IP Address 0
      address_1:
        name: ESP IP Address 1
      address_2:
        name: ESP IP Address 2
      address_3:
        name: ESP IP Address 3
      address_4:
        name: ESP IP Address 4
    dns_address:
      name: ESP DNS Address
    mac_address:
      name: ESP MAC Address

font:
  - file: "gfonts://Roboto"
    id: roboto
    size: 15

display:
  - platform: ssd1306_i2c
    model: "SSD1306 128x64"
    address: 0x3C
    lambda: |-
      it.printf(0, 15, id(roboto), "IP: %s", id(eth_ip).state.c_str());
uart:
  id: dac_uart
  rx_pin: 4
  tx_pin: 6
  baud_rate: 115200
  stop_bits: 1
  data_bits: 8
  parity: NONE
  debug:

modbus:

modbus_controller:
  - address: 1
    update_interval: 5s

output:
  # CH1 (0x0FA0 / 4000)
  - platform: modbus_controller
    id: dac_ch1_out
    address: 0x0FA0
    value_type: U_WORD
    write_lambda: |-
      // state = 0.0 ~ 1.0 → 0 ~ 4095
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH2 (0x0FA1 / 4001)
  - platform: modbus_controller
    id: dac_ch2_out
    address: 0x0FA1
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH3
  - platform: modbus_controller
    id: dac_ch3_out
    address: 0x0FA2
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH4
  - platform: modbus_controller
    id: dac_ch4_out
    address: 0x0FA3
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH5
  - platform: modbus_controller
    id: dac_ch5_out
    address: 0x0FA4
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH6
  - platform: modbus_controller
    id: dac_ch6_out
    address: 0x0FA5
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH7
  - platform: modbus_controller
    id: dac_ch7_out
    address: 0x0FA6
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH8
  - platform: modbus_controller
    id: dac_ch8_out
    address: 0x0FA7
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH9
  - platform: modbus_controller
    id: dac_ch9_out
    address: 0x0FA8
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH10
  - platform: modbus_controller
    id: dac_ch10_out
    address: 0x0FA9
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH11
  - platform: modbus_controller
    id: dac_ch11_out
    address: 0x0FAA
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH12
  - platform: modbus_controller
    id: dac_ch12_out
    address: 0x0FAB
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH13
  - platform: modbus_controller
    id: dac_ch13_out
    address: 0x0FAC
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH14
  - platform: modbus_controller
    id: dac_ch14_out
    address: 0x0FAD
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH15
  - platform: modbus_controller
    id: dac_ch15_out
    address: 0x0FAE
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

  # CH16
  - platform: modbus_controller
    id: dac_ch16_out
    address: 0x0FAF
    value_type: U_WORD
    write_lambda: |-
      uint16_t reg = (uint16_t) round(x * 4095.0);
      return reg;

# -------------------
# 16 Channel Dimmer
# -------------------
light:
  - platform: monochromatic
    name: "DAC CH1"
    output: dac_ch1_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH2"
    output: dac_ch2_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH3"
    output: dac_ch3_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH4"
    output: dac_ch4_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH5"
    output: dac_ch5_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH6"
    output: dac_ch6_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH7"
    output: dac_ch7_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH8"
    output: dac_ch8_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH9"
    output: dac_ch9_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH10"
    output: dac_ch10_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH11"
    output: dac_ch11_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH12"
    output: dac_ch12_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH13"
    output: dac_ch13_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH14"
    output: dac_ch14_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH15"
    output: dac_ch15_out
    default_transition_length: 0s

  - platform: monochromatic
    name: "DAC CH16"
    output: dac_ch16_out
    default_transition_length: 0s



pcf8574:
  - id: 'pcf8574_hub_in_1'  # for input channel 1-16
    i2c_id: bus_a
    address: 0x22
    pcf8575: true

binary_sensor:
  - platform: gpio
    name: "dm16-input01"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 8
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input02"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 9
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input03"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 10
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input04"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 11
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input05"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 12
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input06"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 13
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input07"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 14
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input08"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 15
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input09"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input10"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input11"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input12"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input13"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input14"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input15"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "dm16-input16"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true

ads1115:
  - address: 0x48
sensor:
  - platform: ads1115
    multiplexer: 'A0_GND'
    gain: 6.144
    resolution: 16_BITS
    name: "ADS1115 Channel A0-GND"
    update_interval: 5s
  - platform: ads1115
    multiplexer: 'A1_GND'
    gain: 6.144
    name: "ADS1115 Channel A1-GND"
    update_interval: 5s
  - platform: ads1115
    multiplexer: 'A2_GND'
    gain: 6.144
    name: "ADS1115 Channel A2-GND"
    update_interval: 5s
  - platform: ads1115
    multiplexer: 'A3_GND'
    gain: 6.144
    name: "ADS1115 Channel A3-GND"
    update_interval: 5s
   
esphome yaml file download:

.txt   DM16-HA-without Tuya.txt (Size: 9.49 KB / Downloads: 132)

Print this item

Sad AG Pro - Disappointed
Posted by: vishal.alex@gmail.com - 09-08-2025, 11:54 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (5)

I brought the AG Pro in June of 2024 when i saw that it had all in one as a Gateway. It was advertised in such a way that it was all in one solution. But as soon as i received it, i found that many of the things advertised is not functioning out of the box. the Zigbee had to be used with tasmota and remaining functions like IR, RF, Tuya and to be with Kincony firmware. and on top of this both firmware cannot work together. I some how managed to flash the Tasmota firmware because i needed the ZHA integration.. and this worked until last month. Now the tasmota firmware has failed to recognize the Zigbee device inside. i tried rolling back to several tasmota version but it all remains the same. 

I sent a message to their support and all the response i get is to change the firmware. I feel dumped.. Kincony should have either fixed the firmware issues or informed the customer that these problems exits. 92$(inc Shipping) wasted.

Print this item

  1-WIRE multiple sensors
Posted by: Ndogo - 09-08-2025, 09:29 AM - Forum: KC868-A16v3 - Replies (1)

Can I connect multiple DS18B20 sensors to one 47 GPIO in the native firmware?

Print this item

  KinCony Raspberry Pi CM5 Linux Server released
Posted by: admin - 09-07-2025, 08:59 AM - Forum: News - No Replies

KinCony Pi5 is a Raspberry Pi CM5 server for smart home automation and industrial automation control. It can use for home assistant local server. It's a Linux computer, you can install software by yourself, such as Node red. The product default CM5 version is CM5004000. It without Bluetooth and wifi, RAM:4G Lite version.
[Image: Pi5_1.jpg]
Model No. KinCony Pi5
Description: KinCony Automation Local Server – Pi5
Power supply: 12-24V DC
Processor: Raspberry Pi Compute Module 5
Size: 139mm*83mm*56mm
interfaces: Ethernet(RJ45)-LAN 1000Mbps IPv4/IPv6,USB-C
Installation method: DIN RAIL
2 × USB 3 sockets
microSD card socket for CM5 Lite modules
M.2 M key PCIe socket
1 × full-size HDMI 2.0 connectors
DIP SWITCH for jumpers
[Image: Pi5_2.jpg]

Print this item

  DM16 ESP32-S3 IO pins define
Posted by: admin - 09-07-2025, 02:31 AM - Forum: DM16 - No Replies

SDA:GPIO8
SCL:GPIO18

PCF8575: (input1-16): i2c address:0x22 by B16-core

P8:input1
P9:input2
P10:input3
P11:input4
P12:input5
P13:input6
P14:input7
P15:input8

P0:input9
P1:input10
P2:input11
P3:input12
P4:input13
P5:input14
P6:input15
P7:input16

ADS1115 (4CH ADC): i2c address:0x48
Analog input (A1: DC 0-5v)
Analog input (A2: DC 0-5v)
Analog input (A3: DC 4-20mA)
Analog input (A4: DC 4-20mA)

24C02 EPROM i2c address: 0x50
DS3231 RTC i2c address: 0x68

1-wire (pull-up resistance on PCB):
1-wire1:GPIO47
1-wire2:GPIO48
1-wire3:GPIO7
1-wire4:GPIO40

free GPIOs:
GPIO13
GPIO14
GPIO21

-----------------------
Ethernet (W5500) I/O define:

clk_pin: GPIO1
mosi_pin: GPIO2
miso_pin: GPIO41
cs_pin: GPIO42

interrupt_pin: GPIO43
reset_pin: GPIO44

--------------------
RS485:
RXD:GPIO38
TXD:GPIO39

Tuya module:
RXD:GPIO17
TXD:GPIO16

Tuya network button: Tuya module's P28
Tuya network LED: Tuya module's P16

ARM CPU TXD:GPIO4
ARM CPU RXD:GPIO6

SD Card:
SPI-MOSI:GPIO10
SPI-SCK:GPIO11
SPI-MISO:GPIO12
SPI-CS:GPIO9
SD-Detect: GPIO5

Print this item

  "KCS" v3.12.0 firmware BIN file download
Posted by: admin - 09-06-2025, 04:56 AM - Forum: "KCS" v3 firmware - No Replies

v3.12.0 improvement:
1. Adapt to new KinCony Controller: B8/B8M/B24/B24M/DM16
2. Sensor pull-up option: When PCB include pull-up resistor, "pull-up" will auto shown as enabled
3. Network webpage -- LAN mode will show the actual ethernet IP address
4. GSM phone list: Add ID numbers
5. Password-related inputs option added masking
6. Sensor configuration webpage: added sensor name
7. IFTTT "sensor channel" change to "sensor name" have preset
8. Removed default MQTT port number "1883"
9. IFTTT THEN actions: Add "step value" for AO (analog output)
10. improve previous version first time downloaded firmware boot up speed slowly issue.



Attached Files
.zip   KCS_A2V3_V3.12.0.zip (Size: 1.07 MB / Downloads: 278)
.zip   KCS_A6V3_V3.12.0.zip (Size: 1.04 MB / Downloads: 288)
.zip   KCS_A8V3_V3.12.0.zip (Size: 1.09 MB / Downloads: 277)
.zip   KCS_A16V3_V3.12.0.zip (Size: 1.11 MB / Downloads: 338)
.zip   KCS_A32PRO_V3.12.0.zip (Size: 1.08 MB / Downloads: 244)
.zip   KCS_AG8_V3.12.0.zip (Size: 1.06 MB / Downloads: 227)
.zip   KCS_ALR_V3.12.0.zip (Size: 1.02 MB / Downloads: 240)
.zip   KCS_B8_V3.12.0.zip (Size: 1.1 MB / Downloads: 230)
.zip   KCS_B8M_V3.12.0.zip (Size: 1.1 MB / Downloads: 254)
.zip   KCS_B16_V3.12.0.zip (Size: 1.1 MB / Downloads: 236)
.zip   KCS_B16M_V3.12.0.zip (Size: 1.1 MB / Downloads: 233)
.zip   KCS_B24_V3.12.0.zip (Size: 1.1 MB / Downloads: 210)
.zip   KCS_B24M_V3.12.0.zip (Size: 1.1 MB / Downloads: 236)
.zip   KCS_DM16_V3.12.0.zip (Size: 1.07 MB / Downloads: 225)
.zip   KCS_F8_V3.12.0.zip (Size: 1.09 MB / Downloads: 236)
.zip   KCS_F16_V3.12.0.zip (Size: 1.1 MB / Downloads: 247)
.zip   KCS_F24_V3.12.0.zip (Size: 1.1 MB / Downloads: 233)
.zip   KCS_G1_V3.12.0.zip (Size: 1.06 MB / Downloads: 237)
.zip   KCS_KC_TA_V3.12.0.zip (Size: 1.05 MB / Downloads: 203)
.zip   KCS_N60_V3.12.0.zip (Size: 986.2 KB / Downloads: 248)
.zip   KCS_T16M_V3.12.0.zip (Size: 1.05 MB / Downloads: 242)
.zip   KCS_T32M_V3.12.0.zip (Size: 1.07 MB / Downloads: 239)
.zip   KCS_T64M_V3.12.0.zip (Size: 1.07 MB / Downloads: 237)
.zip   KCS_T128M_V3.12.0.zip (Size: 1.07 MB / Downloads: 235)
.zip   KCS_Z1_V3.12.0.zip (Size: 1.21 MB / Downloads: 241)
Print this item

  Unable to connect with firmware tool
Posted by: zmatthiaz - 09-05-2025, 06:04 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

I have a kc868-h32b I can log in to the webpanel just fine with ethernet and I can see it has firmware H32B_Pro_V1.19

I can connect the USB-C to my windows 10 machine. And it shows up as COM4. 
I can click "OPEN PORT" as soon as the device restarts
But when I click on the bootloader detect button nothing happens

I've tried restarting the device more than 50 times. With varying timings and Baudrates. But no change. I never get the results shown in the youtube video

How do I debug this, what am I doing wrong? 
Is the USB C version different than what is shown in the video?



Attached Files Thumbnail(s)
   
Print this item

  using HAv2 with KC868-D
Posted by: swisstmack25 - 09-05-2025, 01:05 PM - Forum: KC868-HA /HA v2 - Replies (1)

Can you provide a solution to utilise the KC868-D 8 and 16 channel dimmer over KC868-HAv2 RS485 interface 
I would like to use multiple KC868-HAv2 (8 of them) connecting over RS485 to the Dimming module and all to the F16 device

I want to use some of the switch paddles for the dimmer and others to switch the outputs on the F16.
thanks

Print this item

  rpiboot_setup.exe for CM5 USB driver
Posted by: admin - 09-05-2025, 05:22 AM - Forum: Pi5 - No Replies

rpiboot_setup.exe for CM5 lite USB driver.

.zip   rpiboot_setup.zip (Size: 32.75 MB / Downloads: 264)

Print this item

  Reset line via GPIO output to 24v Flow meter.
Posted by: Onepointbrewing - 09-05-2025, 01:59 AM - Forum: F16 - Replies (1)

Hi,

Could you please post a picture of the cct for the GPIOs 13 14 and 40 pls. I will be configuring one of these as an output.

I want to interface it to a 24v Flow meter that has a reset line when pulled low.

Thank you

Print this item