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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,301
» Latest member: pllgroup
» Forum threads: 3,627
» Forum posts: 18,724

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 30 Guest(s)
Amazonbot, Bing, Crawl, Google, PetalBot, Sogou web, bot, github.com

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
5 hours ago
» Replies: 116
» Views: 24,974
N30 Energy entry not work...
Forum: N30
Last Post: admin
11 hours ago
» Replies: 9
» Views: 46
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
11 hours ago
» Replies: 5
» Views: 44
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
11 hours ago
» Replies: 9
» Views: 1,094
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
Yesterday, 10:41 AM
» Replies: 5
» Views: 42
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
Yesterday, 01:19 AM
» Replies: 1
» Views: 10
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
Yesterday, 01:18 AM
» Replies: 1
» Views: 11
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 01:09 AM
» Replies: 7
» Views: 5,614
KC868-A16 home assistant
Forum: DIY Project
Last Post: admin
12-22-2025, 11:32 PM
» Replies: 1
» Views: 23
Some bugs in Home Assista...
Forum: N60
Last Post: Vega
12-22-2025, 09:21 PM
» Replies: 3
» Views: 73

  KC868-A8S hotel room demo configure for ESPhome
Posted by: admin - 05-31-2022, 12:45 AM - Forum: KC868-A8S - Replies (16)

esphome:
  name: a8s
  platform: ESP32
  board: esp32dev
 
 
remote_receiver:
  pin: 16
  dump:
    - rc_switch
  tolerance: 50%
  filter: 250us
  idle: 2ms
  buffer_size: 2kb



# 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_out_1'  # for output channel 1-8
    address: 0x24

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22

# Individual outputs
switch:
  - platform: gpio
    name: "light1"
    id: light1
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "light2"
    id: light2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light3"
    id: light3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light4"
    id: light4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "curtain1-up"
    id: relay5
    interlock: [relay6]
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
     
     
     
  - platform: gpio
    name: "curtain1-down"
    id: relay6
    interlock: [relay5]
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
     

  - platform: gpio
    name: "curtain2-up"
    id: relay7
    interlock: [relay8]
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true

     
  - platform: gpio
    name: "curtain2-down"
    id: relay8
    interlock: [relay7]
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true

     
binary_sensor:
  - platform: gpio
    name: "input1"
    on_press:
      then:
        - switch.toggle: light1
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input2"
    on_press:
      then:
        - switch.toggle: light2
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input3"
    on_press:
      then:
        - switch.toggle: light3
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input4"
    on_press:
      then:
        - switch.toggle: light4
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input5"
    on_press:
      then:
        - switch.toggle: relay5
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input6"
    on_press:
      then:
        - switch.toggle: relay6
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input7"
    on_press:
      then:
        - switch.toggle: relay7
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input8"
    on_press:
      then:
        - switch.toggle: relay8
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true

  - platform: remote_receiver
    name: "remoter1"
    rc_switch_raw:
      code: '001111010111001010111000'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light1
    filters:
      - delayed_off: 200ms

  - platform: remote_receiver
    name: "remoter2"
    rc_switch_raw:
      code: '001111010111001010111100'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light2
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter3"
    rc_switch_raw:
      code: '001111010111001010110100'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light3
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter4"
    rc_switch_raw:
      code: '001111010111001010111001'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light4
    filters:
      - delayed_off: 200ms 
   
  - platform: remote_receiver
    name: "remoter5"
    rc_switch_raw:
      code: '001111010111001010110010'
      protocol: 1
    on_press:
      then:
        - switch.toggle: relay5
    filters:
      - delayed_off: 200ms

  - platform: remote_receiver
    name: "remoter6"
    rc_switch_raw:
      code: '001111010111001010110101'
      protocol: 1
    on_press:
      then:
        - switch.toggle: relay6
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter7"
    rc_switch_raw:
      code: '001111010111001010110001'
      protocol: 1
    on_press:
      then:
        - switch.toggle: relay7
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter8"
    rc_switch_raw:
      code: '001111010111001010110011'
      protocol: 1
    on_press:
      then:
        - switch.toggle: relay8
    filters:
      - delayed_off: 200ms
     
  - platform: gpio
    name: "PIR1"
    pin: 14
    device_class: motion
    on_release:
      - script.execute: motion_timer

script:
  - id: motion_timer
    mode: restart
    then:
      - delay: 10s
      - switch.turn_off: light1
      - switch.turn_off: light2
      - switch.turn_off: light3
      - switch.turn_off: light4


# Enable logging
logger:

# Enable Home Assistant API
api:



Attached Files
.txt   KC868-A8S-ha-config.txt (Size: 6.11 KB / Downloads: 836)
Print this item

  KC868-A8S ESP32 I/O pin define
Posted by: admin - 05-31-2022, 12:43 AM - Forum: KC868-A8S - Replies (5)

#define ANALOG_A1  36
#define ANALOG_A2  39
#define ANALOG_A3  34
#define ANALOG_A4  35

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24

Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -2: 14

RF433MHz wireless receiver: 16


Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT


RS485:
RXD:GPIO32
TXD:GPIO33

GSM:
RXD:GPIO13
TXD:GPIO15

Buzzer:GPIO2

WS2812B RGBW LED:GPIO12

Print this item

  KC868 A4 - Help In Program
Posted by: mfjunior96 - 05-29-2022, 09:52 PM - Forum: KC868-A4 - Replies (3)

Good night sir,

I'm having a problem and I wanted some help, I have a KC868 A4, I'm using the 4 outputs and 3 digital inputs, but now I want a device (led drivers) connected to alexa to change its state, when I change the state of the digital input , I created a new device "F6" but I can't make "When F6 on > Led Driver ON" the alexa app doesn't let me put a lamp with imput, what can I do? Is there another app that I can do this interaction?


Thanks in Advance

Print this item

  COLB RS485 BAUD RATE
Posted by: Dm81 - 05-27-2022, 01:40 PM - Forum: KC868-HxB series Smart Controller - Replies (15)

Hello
please, which is the baud rate of RS485 on COLB?
Is it possible to choose it?
thank you
Diego

Print this item

  Lesson27 - Notifications for Android TV in home assistant
Posted by: admin - 05-25-2022, 09:09 AM - Forum: Home automation training courses - No Replies



1. install "Notifications for Android TV" apk in Android TV.

2. Browse to your Home Assistant instance.
    In the sidebar click on  Settings.
    From the configuration menu select: Devices & Services.
    In the bottom right, click on the  Add Integration button.
    From the list, search and select “Notifications for Android TV / Fire TV”.
    Follow the instruction on TV screen to complete the set up. Just input TV's IP address.

3. create "automation" in home assistant for "sensor" trigger "action".
more details on home assistant webpage: https://www.home-assistant.io/integrations/nfandroidtv

Print this item

  KC868-D8 Dimmer 1-10V, logarithmic
Posted by: bogdan_0 - 05-25-2022, 07:00 AM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hello

1. Is there any setting that I can use KC868-D8 dimmer as "1-10V"?
I have found a led driver din rail format (which would reduce the occupied space in my automation cabinet) but I need to work on 1-10V range instead of 0-10V.
example: https://www.sunricher.com/din-rail-0-1-1...ifications


2. I understand that KC868-D8 is a liniar driver; so in order to achieve a smooth logarithmic turn-on/off of light intensity I should combine it with a logarithmic led driver. please tell if I am wrong.

[Image: 1627051498-why-you-need-dimming-curves-6...q=60&w=300]
source: https://eldoled.com/insights/why-you-nee...ng-curves/

Thank you

Print this item

  Lesson26 - send email notifications by sensor in home assistant
Posted by: admin - 05-24-2022, 09:09 AM - Forum: Home automation training courses - No Replies



# Example configuration.yaml entry for Google Mail.
notify:
  - name: "NOTIFIER_NAME"
    platform: smtp
    server: "smtp.gmail.com"
    port: 587
    timeout: 15
    sender: "YOUR_USERNAME@gmail.com"
    encryption: starttls
    username: "YOUR_USERNAME@gmail.com"
    password: "YOUR_PASSWORD"
    recipient:
      - "RECIPIENT_1@example.com"
      - "RECIPIENT_N@example.com"
    sender_name: "SENDER_NAME"

Print this item

Wink Lesson25 - how to use Apple HomeKit by home assistant
Posted by: admin - 05-23-2022, 03:07 AM - Forum: Home automation training courses - No Replies


1. home assistant -- Configration -- Device & Services +ADD INTEGRATION -- HomeKit

2. find the QRcode of HomeKit "HASS Bridge" in Notifications

3. open "HOME" app by iOS device (iPhone/iPad) scan this QRcode to add devices.

Print this item

  Disappointed with this server...
Posted by: Amaral989 - 05-23-2022, 01:54 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (5)

The ESP 3.3v is 5v now. 
i can not get ADC to read voltages . This unit just doesn't work like its described.  Angry

Print this item

  ADC pins
Posted by: Amaral989 - 05-22-2022, 03:54 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (4)

Hello, 
This is all new to me and trying to learn as i go along. 
I have a resistance sensor that reads water tank levels. Full level it reads 33ohms, empty level reads 240ohms. 
I'm trying to understand how to hook this sensor up. I'm assuming it needs to be on ADC 0. 
If it does , i dont see anything occuring . 

Thank you for you help. 
john

Print this item