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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,310
» Latest member: biofrankpharma
» Forum threads: 3,629
» Forum posts: 18,736

Full Statistics

Online Users
There are currently 12 online users.
» 0 Member(s) | 4 Guest(s)
AhrefsBot, Amazonbot, bot

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
6 minutes ago
» Replies: 120
» Views: 25,171
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
Yesterday, 11:43 PM
» Replies: 1
» Views: 11
N30 Energy entry not work...
Forum: N30
Last Post: admin
Yesterday, 11:43 PM
» Replies: 11
» Views: 74
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
Yesterday, 11:41 PM
» Replies: 7
» Views: 66
Single Moment switch
Forum: DIY Project
Last Post: admin
Yesterday, 11:37 PM
» Replies: 1
» Views: 12
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
Yesterday, 12:06 AM
» Replies: 5
» Views: 58
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
Yesterday, 12:03 AM
» Replies: 9
» Views: 1,119
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
12-23-2025, 01:19 AM
» Replies: 1
» Views: 18
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
12-23-2025, 01:18 AM
» Replies: 1
» Views: 16
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
12-23-2025, 01:09 AM
» Replies: 7
» Views: 5,639

  How to configure HTTP post for Webhook
Posted by: land88 - 07-08-2025, 08:40 AM - Forum: KC868-A16S - No Replies

Hi,

My KC868A16s is connected to internet with LAN port, WIFI off (LAN IP 192.168.1.200, mask 255.255.255.0, Gateway 192.168.1.1).

It get the Board time to internet, no problem, so I think the KC is really connected to internet, it is not behind a firewall.

In custom protocol, I create Custom1, with :

"routeur = HTTP POST", "HEX : Empty", "Message :Empty" and "URL(Otional)= https://xxxx.synology.me/api/webhook/Tem...AT_G_21deg", this url is my webhook that is open on internet

With a Pc connected to internet, in chrome  this url turn on my webhook on my home assistant (boolean ON), but if I run the custom1 in IFFTT, I get "success" on KC but in reality Nothing appears to my home assistant. 

An other isue, when I run this custom protocol, I loose the connection to the board, so I must reboot the board to local access to the web interface !

I think I have an issue to configure this custom protocol.

Can you help me ?


Thanks.

Print this item

  KC868-HAv2 work with F24 using ESPHome yaml
Posted by: admin - 07-08-2025, 06:19 AM - Forum: KC868-HA /HA v2 - Replies (1)

   
   
   

Code:
esphome:
  name: hav2
  friendly_name: HAv2

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:


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

external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-kc868-ha
      ref: v3.0.1

uart:
  - id: myuart1
    tx_pin: 16
    rx_pin: 17
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: false

kc868_ha:

binary_sensor:

  # The binary_sensor corresponds to the state changes generated by K1~K6 on the KC868 HA board
  # bind_output is required. Corresponds to the BindOutput parameter in HA485_Ctrl software
  # Other parameters refer to: https://esphome.io/components/binary_sensor/index.html
  - platform: kc868_ha
    target_relay_controller_addr: 1 # Default value is 1, corresponds to the Target Relay Controller Addr parameter in HA485_Ctrl software
    switch_adapter_addr: 10 # Default value is 10, corresponds to the Switch Adapter Addr parameter in HA485_Ctrl software
    bind_output: 1 # Corresponds to the BindOutput parameter in HA485_Ctrl software
    name: "binary_sensor 1"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 2
    name: "binary_sensor 2"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 3
    name: "binary_sensor 3"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 4
    name: "binary_sensor 4"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 5
    name: "binary_sensor 5"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 6
    name: "binary_sensor 6"

switch:
  # The switch is used to control the D1~D6 level output on the KC868 HA board
  # bind_output is required. Corresponds to the BindOutput parameter in HA485_Ctrl software
  # Other parameters refer to: https://esphome.io/components/switch/index.html
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 1
    name: "switch 1"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 2
    name: "switch 2"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 3
    name: "switch 3"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 4
    name: "switch 4"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 5
    name: "switch 5"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 6
    name: "switch 6"

web_server:
  port: 80

.txt   HAv2-F24-yaml.txt (Size: 3.04 KB / Downloads: 159)

Print this item

  KC868-A16v3 more 1Wire Temp-Sensor per Pin
Posted by: CarMagician - 07-07-2025, 02:34 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Hello, 
I got the KC868-A16v3 Board today.

There are three dedicated pins for 1Wire Sensors: 
1-wire (pull-up resistance on PCB):
1-wire1:GPIO47
1-wire2:GPIO48
1-wire3:GPIO38

Is there a way to connect more than one sensor per pin?
I combined two sensors and hooked them up to HT1, there is no communication with the sensors. 
If I only connect one sensor I can read temperature. 

I need more than 3 temperature sensors so I thought about connecting all of them together. 
Had an other project with a normal ESP and there it was possible with 6 sensors on one pin. 
I would group them together in pairs of 5 for my project.  

Any hints?

Regard
CarMagician

Print this item

  RS485 in Home Assistant / B16 / KC868-HAV2
Posted by: petermac - 07-07-2025, 10:05 AM - Forum: B16M - Replies (7)

Have a fresh B16M with latest firmware, has auto discovered by MQTT in Home Assistant.

Also have a KC868-HAv2 wired as per examples.  I can see the button inputs when using the PC software.

I have turned on RS485 in B16M protocol page with the same settings as per the KC868-HAv2.

How do I achieve the next step of having these button inputs active in Home Assistant - please ELI5.

Print this item

  KC868-A2 SIM7600 with Tuya GPRS not work
Posted by: alexps70 - 07-07-2025, 06:56 AM - Forum: KC868-A2 - Replies (33)

Hi.
If I activate
connect by gprs (for board have gprs)
will stop working
Please help[Image: readmsg?id=17518412601715379389;0;1&mode...cte=binary]

Code:
I (83387) web socket: Handshake done, the new connection was opened
I (85490) main: [APP] Free memory: 93520 bytes
I (88665) SIM7600: gprs tuya online
I (90490) main: [APP] Free memory: 93520 bytes
E (93671) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14

ERROR

I (95490) main: [APP] Free memory: 93520 bytes
E (98677) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14

ERROR

I (100490) main: [APP] Free memory: 93520 bytes
E (103683) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14

ERROR

I (105490) main: [APP] Free memory: 93520 bytes
E (108689) SIM7600: ==> ./components/gprs/sim7600.c 865
+CMQTTTOPIC: 0,14

ERROR

If I connect LAN and disable " connect by gprs" - its work
 
[Image: readmsg?id=17518412601715379389;0;2&mode...cte=binary]

Code:
Boot log with connect by gprs (for board have gprs) deactivated and Lan connected

I (786) cpu_start: Application information:
I (791) cpu_start: Project name:     kc868-a-serial
I (796) cpu_start: App version:      v2.2.11-dirty
I (802) cpu_start: Compile time:     Feb  6 2025 21:47:45
I (808) cpu_start: ELF file SHA256:  810cb7cb959696dd...
I (814) cpu_start: ESP-IDF:          v4.4.7-dirty
I (819) cpu_start: Min chip rev:     v0.0
I (824) cpu_start: Max chip rev:     v3.99
I (829) cpu_start: Chip rev:         v3.1
I (834) heap_init: Initializing. RAM available for dynamic allocation:
I (841) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (847) heap_init: At 3FFC72C8 len 00018D38 (99 KiB): DRAM
I (853) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (859) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (866) heap_init: At 4008F6B4 len 0001094C (66 KiB): IRAM
I (873) spi_flash: detected chip: generic
I (876) spi_flash: flash io: dio
I (881) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (896) main: [APP] Startup..
I (899) main: [APP] Free memory: 215304 bytes
I (904) main: [APP] IDF version: v4.4.7-dirty
I (1178) NVS: init nvs finish.
I (1181) system_api: Base MAC address is not set
I (1181) system_api: read default base MAC address from EFUSE
I (1203) esp_eth.netif.netif_glue: f4:65:0b:e4:14:13
I (1203) esp_eth.netif.netif_glue: ethernet attached to netif
I (2704) eth: Ethernet Started
I (2705) eth: Ethernet init
I (2705) wifi station: ESP_WIFI_INIT
I (2706) eth: Ethernet Link Up
I (2709) eth: Ethernet HW Addr f4:65:0b:e4:14:13
I (2716) wifi:wifi driver task: 3ffd44d4, prio:23, stack:6656, core=0
I (2729) wifi:wifi firmware version: 1fd20f4
I (2730) wifi:wifi certification version: v7.0
I (2730) wifi:config NVS flash: enabled
I (2732) wifi:config nano formating: disabled
I (2736) wifi:Init data frame dynamic rx buffer num: 32
I (2741) wifi:Init static rx mgmt buffer num: 5
I (2745) wifi:Init management short buffer num: 32
I (2750) wifi:Init dynamic tx buffer num: 32
I (2754) wifi:Init static rx buffer size: 1600
I (2758) wifi:Init static rx buffer num: 10
I (2762) wifi:Init dynamic rx buffer num: 32
I (2767) wifi_init: rx ba win: 6
I (2770) wifi_init: tcpip mbox: 32
I (2774) wifi_init: udp mbox: 6
I (2777) wifi_init: tcp mbox: 6
I (2781) wifi_init: tcp tx win: 5744
I (2786) wifi_init: tcp rx win: 5744
I (2790) wifi_init: tcp mss: 1440
I (2799) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (2885) wifi:mode : softAP (f4:65:0b:e4:14:11)
I (2886) wifi:Total power save buffer number: 16
I (2887) wifi:Init max length of beacon: 752/752
I (2888) wifi:Init max length of beacon: 752/752
I (2893) web_server: Starting HTTP Server on port: '80'
I (2900) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:0
I (2907) tuya: start tuya task.
I (2907) ntp: tz:UTC+0
I (2914) tuya: property topic tylink/269d6520ff81b6a74ebev3/thing/property/report .
I (2925) tuya: Other event id:7
I (2925) UDP SERVER: Socket created
E (2927) esp-tls: couldn't get hostname for :m1.tuyaeu.com: getaddrinfo() returns 202, addrinfo=0x0
I (2931) UDP SERVER: Socket bound, port 4001
E (2940) esp-tls: Failed to open new connection
E (2950) TRANSPORT_BASE: Failed to open a new connection
E (2956) MQTT_CLIENT: Error transport connect
I (2961) tuya: MQTT_EVENT_ERROR
E (2965) tuya: Last error reported from esp-tls: 0x8001
I (2971) tuya: Last errno string (Success)
I (2975) tuya: MQTT_EVENT_DISCONNECTED
E (2940) uart: uart_set_pin(689): tx_io_num error
I (2986) uart: queue free spaces: 20
I (2990) gprs: gprs init success.
I (2994) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (3003) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (3012) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (3022) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (3031) direct_io: direct io init.
I (3032) MQTT_CLIENT: Publishing skipped: client is not connected
I (3043) MQTT_CLIENT: Publishing skipped: client is not connected
I (3044) gpio: GPIO[33]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 0| Pulldown: 0| Intr:0
I (3058) gpio: GPIO[14]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 0| Pulldown: 0| Intr:0
I (3067) main: [APP] Free memory: 83620 bytes
I (3706) esp_netif_handlers: eth ip: 192.168.2.138, mask: 255.255.255.0, gw: 192.168.2.202
I (3707) eth: Ethernet Got IP Address
I (3709) eth: ~~~~~~~~~~~
I (3713) eth: ETHIP:192.168.2.138
I (3716) eth: ETHMASK:255.255.255.0
I (3721) eth: ETHGW:192.168.2.202
I (3724) eth: ~~~~~~~~~~~
I (3907) ifttt: start ifttt task
I (5987) wifi:new:<1,1>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (5988) wifi:station: a8:96:09:42:ae:ec join, AID=1, bgn, 40U
I (5991) wifi station: station a8:96:09:42:ae:ec join, AID=1
I (6072) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2
I (8072) main: [APP] Free memory: 86204 bytes
I (9337) wifi:<ba-add>idx:2 (ifx:1, a8:96:09:42:ae:ec), tid:0, ssn:64, winSize:64I (9338) web_server: close() fd (52) success.

I (12617) gprs: uart rx break
I (12980) tuya: Other event id:7
I (13072) main: [APP] Free memory: 84552 bytes
I (14365) tuya: MQTT_EVENT_CONNECTED
I (14368) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/property/report_response .
I (14371) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/property/set .
I (14377) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/event/trigger_response .
I (14385) tuya: subscribe tylink/269d6520ff81b6a74ebev3/thing/action/execute .

Print this item

  KinCony AG Pro Wireless ALL IN ONE Controller
Posted by: fdcemb5 - 07-05-2025, 11:07 PM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (8)

Where can I find the Esphome YAML file for the KinCony AG Pro Wireless ALL IN ONE Controller to install HA? I want to integrate  KinCony AG Pro Wireless ALL IN ONE Controller with HA

Print this item

  Tasmota Download Issues
Posted by: wbrian63 - 07-05-2025, 01:26 PM - Forum: KC868-A4 - Replies (4)

Used the Tasmota downloader to attempt to load tasmota32.bin to my new KC868-A4.

Web page shows download successful, but after disconnecting and restoring power, there is no web server showing up. Further, the reset button doesn't cause anything to happen like it did before I downloaded the file.

What do I do now?

Print this item

  Kincony Server-16 new install
Posted by: shochif - 07-04-2025, 04:22 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (1)

cant connect to rasberry pi after i connect with LAN cable
i try to type http://homeassistant.local:8123/http://homeassistant:8123/ nothing happen already refresh 30 a hours already check the connection
already check the tutorials https://youtu.be/oEjIZg6C_-Y stop at 9 minutes videos
please help me



Attached Files Thumbnail(s)
       
Print this item

  Kincony Server-16
Posted by: shochif - 07-04-2025, 03:50 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (10)

hello sir
i want to install home assistant using LAN connector but when i type http://homeassistant:8123/ nothing happen
my ethernet already connected but still unidentified network
can someone help me?
   

Print this item

  Interrupt when Input is triggered
Posted by: joe.sfeir@gmail.com - 07-03-2025, 11:05 PM - Forum: T16M - Replies (1)

Hi,

Is it possible to configure an interrupt for when an Input is triggered, to avoid having to constantly poll the inputs for state change?

Thanks

Print this item