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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,924
» Latest member: Tnkad
» Forum threads: 3,903
» Forum posts: 19,914

Full Statistics

Online Users
There are currently 53 online users.
» 0 Member(s) | 27 Guest(s)
AhrefsBot, Amazonbot, Baidu, Bytespider, PetalBot, Semrush, Sogou web, bot, github.com

Latest Threads
B24M ESPHome yaml for hom...
Forum: B24M
Last Post: uslackr
23 minutes ago
» Replies: 1
» Views: 589
KC868-16A crashing in inf...
Forum: KC868-A series and Uair Smart Controller
Last Post: vdeconinck
37 minutes ago
» Replies: 8
» Views: 53
N60 Sensor channel label
Forum: N60
Last Post: marekd1
2 hours ago
» Replies: 2
» Views: 19
KC868-A16 rev1.6 firmware
Forum: "KCS" v2 firmware system
Last Post: admin
7 hours ago
» Replies: 3
» Views: 17
4 - 20 mA adc not giving ...
Forum: KC868-AIO
Last Post: admin
Today, 12:47 AM
» Replies: 3
» Views: 26
Http protocol
Forum: News
Last Post: admin
Yesterday, 09:37 PM
» Replies: 5
» Views: 35
E8v3 PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 09:35 PM
» Replies: 0
» Views: 9
ERROR SIM not inserted SI...
Forum: KC868-E8T
Last Post: admin
04-14-2026, 12:10 PM
» Replies: 18
» Views: 981
B4 Smart Controller ESP32...
Forum: B4
Last Post: admin
04-14-2026, 12:52 AM
» Replies: 0
» Views: 5
kWh resolution
Forum: N30
Last Post: admin
04-13-2026, 11:11 PM
» Replies: 37
» Views: 1,719

  KinCony M1 configure yaml for ESPhome
Posted by: admin - 09-21-2023, 12:13 AM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

   

.txt   M1-Home assistant.txt (Size: 865 bytes / Downloads: 524)

esphome:
  name: m1
  platform: ESP32
  board: esp32dev
uart:
  - id: uart_bus
    tx_pin: GPIO13
    rx_pin: GPIO14
    baud_rate: 9600
    stop_bits: 1   

# Enable logging
logger:

# Enable Home Assistant API
api:

# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
 
sensor:
  - platform: bl0942
    uart_id: uart_bus
    update_interval: 3s
    voltage:
      name: 'M1 Voltage'
    current:
      name: 'M1 Current'
      filters:
        multiply: 0.1965
    power:
      name: 'M1 Power'
    energy:
      name: 'M1 Energy'
    frequency:
      name: "M1 Frequency"
      accuracy_decimals: 2

switch:
  - platform: gpio
    pin: 33
    name: "M1-relay"

binary_sensor:
  - platform: gpio
    pin: 32
    name: "M1-sensor-DI"

Print this item

  KC868-M1 ESP32 I/O pin define
Posted by: admin - 09-21-2023, 12:11 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (3)

IIC SDA:16
IIC SCL:15

Relay:33
Digital input:32

IR sender:4
IR receiver:5

energy meter BL0942 RXD: 13
energy meter BL0942 TXD: 14


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

Print this item

  serial port issue
Posted by: bartek - 09-20-2023, 10:10 PM - Forum: KC868-A8S - Replies (3)

Dear Kincony,

I've recently received my KC868-A8S board from your store on Aliexpress.
However it seems like my new board is not functioning.

I've connected it to 12V power.
Then connected to USB-C cable from board to my laptop.
Nothing is showing up in new serial ports.
I've tested different cables, different usb ports and two different laptops.
My other esp32 board with ttl to serial converter ch340 work just fine.
Only my new kc868-a8s board does not want to work.

Kindly let me know what to do next.

Thank you.

Print this item

  Create light switch in home assistant using MQTT
Posted by: truongdq54 - 09-20-2023, 05:43 PM - Forum: KC868-A16 - Replies (5)

If I create a switch, it works ok,
switch:
  - name: 'a16-kcs-output-1'
    unique_id: a16-kcs-output-1
    state_topic: 'KC868_A16/B0B21CCF0978/STATE'
    command_topic: 'KC868_A16/B0B21CCF0978/SET'
    payload_on:  '{"output1":{"value":true}}'
    payload_off:  '{"output1":{"value":false}}'
    value_template: '{{ value_json.output1.value }}'
    state_on: true
    state_off: false

But if I create a "light",
light:
  - name: 'my_led'
    unique_id: a16-kcs-output-led-wc-1
    state_topic: 'KC868_A16/B0B21CCF0978/STATE'
    command_topic: 'KC868_A16/B0B21CCF0978/SET'
    payload_on:  '{"output1":{"value":true}}'
    payload_off:  '{"output1":{"value":false}}'
    state_value_template: '{{ value_json.output1.value }}'

the UI in home assistant showed "Unknown" status.     
Please help!

Print this item

  ould you please send me a high-quality picture of all the controllers
Posted by: engmohades - 09-20-2023, 12:06 PM - Forum: News - Replies (5)

Hi, could you please send me linlk a high-quality picture of all the controllers, please?

Print this item

Photo KC868-E16S ESP Home configuration with Home Assistant
Posted by: Tase - 09-19-2023, 02:43 PM - Forum: KC868-E16S/E16P - Replies (8)

Hi, since i am new to this, i need the users with time and patience to help out
Have installed ESP Home in Home Assistant, introduced the demo code yaml file (posted here on the frum by other users), but when trying to instal ESP32, by connecting the relay E162 via USB to Server Mini, i do not see the device.        
Am i missing or doing something wrong?

Print this item

Wink kc868 4ch
Posted by: alexgr2006 - 09-19-2023, 10:16 AM - Forum: Suggestions and feedback on KinCony's products - Replies (7)

hey can I use my device from garmin watch?

Print this item

Photo ks868H32BS ks868COLB
Posted by: Kenchy - 09-19-2023, 06:18 AM - Forum: Development - Replies (9)

[font=Söhne, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif, 'Helvetica Neue', Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji']Hello!
I am developing my own smart home software. I am using KS868-HS and KS868-COLB devices and want to connect them via Ethernet using the MQTT protocol. I used the "SCAN DEVICE LIST" function to find them in my network. I was also able to retrieve data from KS868-COLB using KINCONY SMART BOARD CONTROLLER. However, when I try to retrieve data using MQTTBox, I don't get a response. In the future, I plan to retrieve data through my own script and a local broker. But for now, I would like to simply read them in MQTTBox. Here are some screenshots.[/font]



Attached Files Thumbnail(s)
           
Image(s)
   
Print this item

  KC868-E16T wiring diagram
Posted by: KinCony Support - 09-19-2023, 06:14 AM - Forum: KC868-E16T - Replies (7)

   

Print this item

  Expose temperature sensor (ds18b20) from KCS to MQTT home assistant
Posted by: truongdq54 - 09-19-2023, 05:57 AM - Forum: KC868-A16 - Replies (1)

I have plugged ds18b20 temperature sensors to A16 running KCS v2. How can I expose the temperature to MQTT and used it in home assistant?
Thanks.

Print this item