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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,355
» Latest member: jcyu5662
» Forum threads: 3,643
» Forum posts: 18,812

Full Statistics

Online Users
There are currently 28 online users.
» 0 Member(s) | 12 Guest(s)
AhrefsBot, Amazonbot, Bing, Bytespider, Google, PetalBot, bot

Latest Threads
KC868-COLB Network Connec...
Forum: Development
Last Post: danielyoud401@gmail.com
1 hour ago
» Replies: 0
» Views: 12
"SmartLife" wifi transmit
Forum: TA
Last Post: hinterland
2 hours ago
» Replies: 2
» Views: 10
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 10:00 AM
» Replies: 129
» Views: 25,568
sample code to receive ht...
Forum: F16
Last Post: admin
Yesterday, 09:57 AM
» Replies: 12
» Views: 82
Goes Offline
Forum: KC868-E16S/E16P
Last Post: admin
Yesterday, 01:19 AM
» Replies: 5
» Views: 37
KC868-A16 - IP & PORT ?? ...
Forum: KC868-A16
Last Post: admin
01-01-2026, 02:46 AM
» Replies: 7
» Views: 716
Server 16 issues
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: admin
01-01-2026, 02:44 AM
» Replies: 1
» Views: 18
N20 Problem with Home Ass...
Forum: N20
Last Post: admin
12-31-2025, 06:55 AM
» Replies: 6
» Views: 55
N30 Energy entry not work...
Forum: N30
Last Post: admin
12-31-2025, 06:50 AM
» Replies: 14
» Views: 188
Problems and general Feed...
Forum: N30
Last Post: admin
12-31-2025, 06:49 AM
» Replies: 2
» Views: 29

  OpenSprinkler ESP32 port on KC868-A8 ?
Posted by: mr.sneezy - 11-11-2021, 09:20 AM - Forum: KC868-A8 - Replies (1)

Is this a possibility to use the open source OpenSprinkler ported firmware ?

https://opensprinkler.com/forums/topic/e...-firmware/

https://github.com/arijav/AriloSprinkler..._dev_esp32

If there is no technical barrier, then I guess the I/O of this board needs to be matched on the OpenSprinkler build I/O ?
Thanks.

Print this item

  Lesson28- How to use KC868-A4 (ESP32) DAC output DC 0-10V by ESPHome
Posted by: admin - 11-10-2021, 02:17 AM - Forum: KC868-A series and Uair Smart Controller - Replies (9)


esphome:
  name: kc868-a4
  platform: ESP32
  board: esp32dev
 
output:
  - platform: esp32_dac
    pin: GPIO25
    id: dac_output2
  - platform: esp32_dac
    pin: GPIO26
    id: dac_output1

light:
  - platform: monochromatic
    output: dac_output1
    name: "KC868-A4-DAC1"
    gamma_correct: 2
    id: dac_light1
  - platform: monochromatic
    output: dac_output2
    name: "KC868-A4-DAC2"
    id: dac_light2

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "3b853165e19b67ba8193c59fe59f21a7"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Kc868-A4 Fallback Hotspot"
    password: "RgIGz8qo4bVC"

captive_portal:

Print this item

  How to use TCP Server and TCP Client work mode for your own software
Posted by: admin - 11-09-2021, 02:18 AM - Forum: Development - No Replies


1: Ethernet work mode = "TCP Server"

controller is a "server", your software is "client".

2: WiFi work mode = "TCP Server"

controller is a "server", your software is "client".

3: Ethernet work mode = "TCP Client"

your software is a "server", controller is "client". when power on, controller will auto connect to your software by ethernet. just "client" will auto connect to "server".

4: WiFi work mode = "TCP Client" instead by MQTT in new firmware

your software is a "server", controller is "client". when power on, controller will auto connect to your software by wifi. just "client" will auto connect to "server".

5: Ethernet work mode = "TCP Client"; WiFi work mode = "TCP Server"

A. your software is a "server", controller is "client". when power on, controller will auto connect to your software by ethernet.

B. controller is a "server", you software is "client".

Print this item

  one KC868-COL/COLB/COLBS control multi controller
Posted by: admin - 11-08-2021, 08:01 AM - Forum: KC868-HxB series Smart Controller - Replies (3)


use one KC868-COL/COLB/COLBS send command to KC868-H32BS, KC868-D8 dimmer controller by RS485 modbus. MAX support 254 devices.

   

Print this item

  HC868 COLB kickstart
Posted by: leliodm - 11-07-2021, 09:09 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi,
I just opened and connected by COLB. I am able to visualize the change of status of the DI input ports from the smart board controller app.
I would like to know
1. what is the procedure to update the firmware step by step - I could not find the right thread in the forum, sorry if I missed something
2. I cannot connect to the web interface where to configure the MQTT server - I can only see the interface as attached to this message.

Any help is welcome!

Thanks
Lee



Attached Files Thumbnail(s)
   
Print this item

  KC868-H32BS V1.41 new firmware update
Posted by: admin - 11-04-2021, 01:13 AM - Forum: News - No Replies

improvement:

support set domain for your own server. old version only set server IP address by number. This verison can set by a server domain name for TCP and MQTT server, added DNS function.

download the ZIP file , unzip update the bin file for KC868-H32BS relay controller by USB-RS232 cable.

.zip   H32BS_V141_211101.zip (Size: 52.11 KB / Downloads: 631)

Print this item

  i need help how to use tcp feedback node to update relay state
Posted by: itzek - 11-02-2021, 07:38 PM - Forum: Development - Replies (5)

Hi
I have H32L I connect it to home assistant : https://www.kincony.com/how-to-create-sw...stant.html
When I power on or off channel from switch terminal board  or wall push bottom it power on but the real status not update on home assistant  app is not changing the status in home assistant to on or off
i work whit node-red ,          , need help whit this

Print this item

  Lesson27- KC868-A8 integrate home assistant by ESPHome demo and http command
Posted by: admin - 11-02-2021, 12:38 AM - Forum: KC868-A series and Uair Smart Controller - Replies (2)



ESPHome configure for KC868-A8:

function list:
1. 8 relay output
2. 8 switch input trigger relay output by on_press action
3. monitor 2 channel analog input for DC
4. TEMP-1 port: 2 channel DS18B20 temperature sensor use by 1 ports, actually, you can connect multi DS18B20 by one wire.
5. TEMP-4 port: WS2812B LED strip for 1 meter (30 LEDs)
6. network by Ethernet cable

   
-----------------------------------------------------------------------------------------------------

esphome:
  name: kc868-a8
  platform: ESP32
  board: esp32dev

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "bfb55afbf347b27a4bda0a1d36ee994f"

web_server:
  port: 80


# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a
 
# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

  # Optional manual IP
  manual_ip:
    static_ip: 192.168.1.199
    gateway: 192.168.1.1
    subnet: 255.255.255.0


# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_output'
    address: 0x24
   
  - id: 'pcf8574_hub_input'
    address: 0x22


# Individual outputs
switch:
  - platform: gpio
    name: "switch1"
    id: switch1
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 0
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
 
  - platform: gpio
    name: "switch2"
    id: switch2
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 1
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "switch3"
    id: switch3
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 2
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "switch4"
    id: switch4
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 3
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "switch5"
    id: switch5
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 4
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "switch6"
    id: switch6
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 5
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "switch7"
    id: switch7
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 6
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "switch8"
    id: switch8
    pin:
      pcf8574: pcf8574_hub_output
      # Use pin number 0
      number: 7
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: true
     
binary_sensor:     
  - platform: gpio
    name: "input1"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 0
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch1
       
  - platform: gpio
    name: "input2"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 1
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch2
       
  - platform: gpio
    name: "input3"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 2
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch3
       
  - platform: gpio
    name: "input4"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 3
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch4
       
  - platform: gpio
    name: "input5"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 4
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch5
       
  - platform: gpio
    name: "input6"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 5
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch6
       
  - platform: gpio
    name: "input7"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 6
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch7
       
  - platform: gpio
    name: "input8"
    pin:
      pcf8574: pcf8574_hub_input
      # Use pin number 0
      number: 7
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false
    on_press:
      then:
        - switch.toggle: switch8
       
       
# Example configuration entry
dallas:
  - pin: GPIO14
    update_interval: 5s
sensor:
  - platform: dallas
    address: 0xE701202C5ADED628
    name: "Temperature_1"
    id: Temperature_1
   
  - platform: dallas
    address: 0xBE012115DCBEBC28
    name: "Temperature_2"
    id: Temperature_2
   
  - platform: adc
    pin: GPIO34
    name: "Analog-IN1"
    update_interval: 5s
    attenuation: 11db

  - platform: adc
    pin: GPIO35
    name: "Analog-IN2"
    update_interval: 5s
    attenuation: 11db
   

light:
  - platform: fastled_clockless
    chipset: WS2812B
    pin: GPIO33    # Pin Define connected with LED strip
    num_leds: 150  #LEDs number
    rgb_order: GRB
    name: "light_strip"
    effects:
      - addressable_rainbow:        ##defined 7 effects styles
      - addressable_color_wipe:
      - addressable_scan:
      - addressable_twinkle:
      - addressable_random_twinkle:
      - addressable_fireworks:
      - addressable_flicker:

-------------------------------------------------------------------------------
KC868-A8/A4 http command list for third party software integration:

read relay state:
http://192.168.1.199/switch/switch1

control relay:
http://192.168.1.199/switch/switch1/turn_on
http://192.168.1.199/switch/switch1/turn_off
http://192.168.1.199/switch/switch1/toggle

read DI state:
http://192.168.1.199/binary_sensor/input1

read temperature:
http://192.168.1.199/sensor/temperature_1

read analog input:
http://192.168.1.199/sensor/analog-in1

read LED strip:
http://192.168.1.199/light/light_strip

control LED strip:
http://192.168.1.199/light/light_strip/turn_on
http://192.168.1.199/light/light_strip/turn_off
http://192.168.1.199/light/light_strip/turn_toggle

debug send command for TEST example: curl -X POST http://192.168.1.199/switch/switch1/toggle

Print this item

  KC868-H32B V4.40 new firmware update
Posted by: admin - 11-01-2021, 01:25 AM - Forum: News - Replies (6)

[Image: kc868-h32b_pix550.jpg]
improvement:

fixed bug when use domain name for server IP need to re power on.

.zip   Relay32_V440_211030.zip (Size: 46.94 KB / Downloads: 863)
download the ZIP file , unzip update the bin file for KC868-H32B relay controller by USB-RS232 cable.

Print this item

  please help to use mqtt for 32bs
Posted by: engmohades - 10-31-2021, 05:46 AM - Forum: News - Replies (1)

I installed virtual home assistant and i put ip of home assistant in edite node mqtt in & out But no any response and not read state or change chanel relay ( On or Off ) of 32bs relay
and not appear thebutton switch in home assistant dashbord



Attached Files Thumbnail(s)
                   
           
Print this item