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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,082
» Latest member: Driss
» Forum threads: 1,828
» Forum posts: 9,621

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Bytespider, Facebook, Google, bot, facebookexternalhit, FelipeAlmanca

Latest Threads
Issue with KC868-AIO-EXTA...
Forum: KC868-AIO
Last Post: admin
37 minutes ago
» Replies: 8
» Views: 5
KCS DI/DO not working
Forum: "KCS" firmware system
Last Post: admin
37 minutes ago
» Replies: 14
» Views: 186
KC868-E16S ESP32 I/O pin ...
Forum: KC868-E16S/E16P
Last Post: admin
10 hours ago
» Replies: 4
» Views: 1,896
KC868-A16 esp32 board (A1...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
10 hours ago
» Replies: 25
» Views: 2,874
Develop on my own questio...
Forum: KC868-AG/AG Pro
Last Post: admin
Yesterday, 10:43 AM
» Replies: 3
» Views: 2
Screws to lock the board ...
Forum: KC868-A16
Last Post: Domdsq
Yesterday, 06:20 AM
» Replies: 2
» Views: 2
kc868-a8 V1.5 flashing
Forum: "KCS" firmware system
Last Post: admin
04-25-2024, 10:24 PM
» Replies: 12
» Views: 9
Flux Sensor
Forum: News
Last Post: admin
04-25-2024, 10:23 PM
» Replies: 1
» Views: 1
KC868-AP KCS 2 MQTT
Forum: KC868-AP / ADR
Last Post: admin
04-25-2024, 08:34 AM
» Replies: 3
» Views: 4
Kc868-server-modbus
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
04-24-2024, 10:13 PM
» Replies: 4
» Views: 4

  ADR ESP32 I/O pin define
Posted by: admin - 03-19-2024, 01:46 AM - Forum: KC868-AP / ADR - No Replies

DI1: GPIO15
DI2: GPIO4

RS485:
TXD: GPIO27
RXD: GPIO26

Tuya:
TXD: GPIO14
RXD: GPIO13

analog input: GPIO36

zero_cross_pin:  GPIO25
gate_pin: GPIO33

P8 jumper:
R32 short with GND: analog input use for 4-20mA signal
R33 short with GND: analog input use for dc 0-10v signal

Print this item

Question DC motor controller
Posted by: nickdd - 03-18-2024, 09:52 PM - Forum: KC868-AM - Replies (3)

Hi,

Would this board be suitable to control a small DC motor (I want to automate the chicken coop door). 
Which motor controller would be suitable and can I just connect it to the GPIO pins in the green terminals?

Can I also connect Hall effect sensor to detect open/closed state of the door?
I believe ESP32 has built-in support for hall effect?

sorry, still quite new to electronics/esp32 but therefore I'm looking at this nice board instead of starting from scratch.

Appreciate the advice.

Regards,
Nick

Print this item

Wink Time display issue in the KC868-A index page
Posted by: HA7CQ - 03-18-2024, 09:50 AM - Forum: KC868-A8 - Replies (1)

Greetings!
We have programmed many IFTT timer commands. It is important to have the correct time settings in our project. (We control the movement of Bells Smile )   NTP time service works fine, but the board time displayed on the index page is incorrect (displayed ~ Central American). The KC868_A8 panel working  in the true timezone (UTC+1 in our country).

It's causing me trouble because I thought the NTP clock setting process was wrong.

I attached the display capture. Can we correct it?



Attached Files Thumbnail(s)
   
Print this item

  KC868-HAv2 esphome issue
Posted by: procet - 03-17-2024, 08:44 PM - Forum: Development - Replies (24)

Hi, i'va a problem with ha v2 and an esp32 with esphome firmware.
i'll attach the yaml file and the esphome log file. i think there is something wrong in the yaml file because with the ha control software the unit works well.
you can see the startup of the ha v2 and me trying to turno on and off the switches from home assistant.
every time the crc check is failing.
what am i doing wrong?
Thank you very much

Code:
esphome:
  name: wt32-rs485
  friendly_name: wt32-rs485

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
#  baud_rate: 0

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

uart:
  - id: myuart1
    tx_pin: 17
    rx_pin: 5
    baud_rate: 9600     

# Enable Home Assistant API
api:


ota:


#wifi:
#  ssid: !secret wifi_ssid
#  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
#  ap:
#    ssid: "Wt32-Rs485 Fallback Hotspot"
#    password: "RdQ2lmIEtDPg"

#captive_portal:

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 1
  power_pin: GPIO16
  manual_ip:
    static_ip: 192.168.1.177
    gateway: 192.168.1.1
    subnet: 255.255.255.0

text_sensor:
  - platform: ethernet_info

kc868_ha:

binary_sensor:
  - 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:
  - 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"


Code:
INFO ESPHome 2023.8.2
[18:16:24][D][kc868_ha.component:019]: uart bus receive df:eb:ff:ff:7e:77:ff:ff:ff:ff:ff:ff:ff:7d:f3:ff:f7:eb:ff:fe:5e
[18:16:24][D][kc868_ha.component:030]: uart crc=fe:5e, calc crc=b6:8a
[18:16:24][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:27][D][kc868_ha.component:019]: uart bus receive ff:ff:ef:f3:ef:cf:fe:ff:ff:ff:ff:ff:ff:ff:ff:f1:cf:ff:df:ff:bd
[18:16:27][D][kc868_ha.component:030]: uart crc=ff:bd, calc crc=18:f2
[18:16:27][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:29][D][kc868_ha.component:019]: uart bus receive 7f:ff:ff:fb:e7:ce:ff:ff:ff:ff:ff:ff:ff:ff:ff:78:f4:7f:f7:ff:ff
[18:16:29][D][kc868_ha.component:030]: uart crc=ff:ff, calc crc=b:26
[18:16:29][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:32][D][kc868_ha.component:019]: uart bus receive 7f:f7:eb:ff:f3:fe:d3:ff:ff:ff:ff:ff:ff:ff:ff:f5:8f:ff:ff:eb:ff
[18:16:32][D][kc868_ha.component:030]: uart crc=eb:ff, calc crc=b5:63
[18:16:32][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:33][D][kc868_ha.component:019]: uart bus receive 7f:ff:ff:f3:e7:37:fb:ff:ff:ff:ff:ff:ff:ff:ff:e1:cf:ff:7f:ff:eb
[18:16:33][D][kc868_ha.component:030]: uart crc=ff:eb, calc crc=c5:6a
[18:16:33][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:34][D][kc868_ha.component:019]: uart bus receive df:ff:eb:ff:ff:ef:35:f9:ff:ff:ff:ff:ff:e9:8f:ff:ff:f7:eb:ff:f3
[18:16:34][D][kc868_ha.component:030]: uart crc=ff:f3, calc crc=b1:52
[18:16:34][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:35][D][kc868_ha.component:019]: uart bus receive df:eb:fb:e7:35:fb:ff:ff:ff:ff:ff:ff:ff:ff:ff:f9:df:ff:ff:eb:ff
[18:16:35][D][kc868_ha.component:030]: uart crc=eb:ff, calc crc=f9:99
[18:16:35][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:36][D][kc868_ha.component:019]: uart bus receive df:ff:eb:ff:f3:7e:5b:ff:ff:ff:ff:ff:ff:ff:78:e4:f7:eb:df:5f:fb
[18:16:36][D][kc868_ha.component:030]: uart crc=5f:fb, calc crc=cb:32
[18:16:36][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:37][D][kc868_ha.component:019]: uart bus receive ff:ff:ff:f3:e7:bd:ff:ff:ff:ff:ff:ff:ff:ff:ff:e1:ff:ff:ff:ff:ff
[18:16:37][D][kc868_ha.component:030]: uart crc=ff:ff, calc crc=68:d5
[18:16:37][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:37][D][kc868_ha.component:019]: uart bus receive 7f:ff:eb:be:5e:5b:ff:ff:ff:ff:ff:ff:ff:79:ee:7f:f7:fb:ff:f3:de
[18:16:37][D][kc868_ha.component:030]: uart crc=f3:de, calc crc=2a:71
[18:16:37][W][kc868_ha.component:033]: crc check failed. ignore data
[18:16:50][D][switch:012]: 'switch 1' Turning ON.
[18:16:50][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1:30:4b
[18:16:50][D][switch:055]: 'switch 1': Sending state ON
[18:16:50][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1
[18:16:50][D][kc868_ha.component:030]: uart crc=0:1, calc crc=41:25
[18:16:50][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:02][D][switch:016]: 'switch 1' Turning OFF.
[18:17:02][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:f1:8b
[18:17:02][D][switch:055]: 'switch 1': Sending state OFF
[18:17:02][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
[18:17:02][D][kc868_ha.component:030]: uart crc=0:0, calc crc=41:25
[18:17:02][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:07][D][switch:012]: 'switch 1' Turning ON.
[18:17:07][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1:30:4b
[18:17:07][D][switch:055]: 'switch 1': Sending state ON
[18:17:07][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1
[18:17:07][D][kc868_ha.component:030]: uart crc=0:1, calc crc=41:25
[18:17:07][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:09][D][switch:016]: 'switch 1' Turning OFF.
[18:17:09][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:f1:8b
[18:17:09][D][switch:055]: 'switch 1': Sending state OFF
[18:17:09][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
[18:17:09][D][kc868_ha.component:030]: uart crc=0:0, calc crc=41:25
[18:17:09][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:10][D][switch:012]: 'switch 2' Turning ON.
[18:17:10][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:2:70:4a
[18:17:10][D][switch:055]: 'switch 2': Sending state ON
[18:17:10][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:2
[18:17:10][D][kc868_ha.component:030]: uart crc=0:2, calc crc=41:25
[18:17:10][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:11][D][switch:016]: 'switch 2' Turning OFF.
[18:17:11][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:f1:8b
[18:17:11][D][switch:055]: 'switch 2': Sending state OFF
[18:17:11][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
[18:17:11][D][kc868_ha.component:030]: uart crc=0:0, calc crc=41:25
[18:17:11][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:17][D][switch:012]: 'switch 3' Turning ON.
[18:17:17][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:4:f0:48
[18:17:17][D][switch:055]: 'switch 3': Sending state ON
[18:17:17][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:4
[18:17:18][D][kc868_ha.component:030]: uart crc=0:4, calc crc=41:25
[18:17:18][W][kc868_ha.component:033]: crc check failed. ignore data
[18:17:18][D][switch:016]: 'switch 3' Turning OFF.
[18:17:18][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:f1:8b
[18:17:18][D][switch:055]: 'switch 3': Sending state OFF
[18:17:18][D][kc868_ha.component:019]: uart bus receive 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
[18:17:18][D][kc868_ha.component:030]: uart crc=0:0, calc crc=41:25
[18:17:18][W][kc868_ha.component:033]: crc check failed. ignore data

Print this item

  Free sample
Posted by: ali - 03-17-2024, 10:21 AM - Forum: Apply for free sample product - No Replies

اسمي علي من مصر وأعمل كهربائي منزل وأريد تجربة هذا المنتج. إذا كان منتج جيد، سأنصح جميع زملائي بشرائه، وسنأخذ كمية كبيرة.

الرجاء الرد بسرعة



Attached Files Thumbnail(s)
       
Print this item

  KC868-A64 REV 1.3 - Ethernet is not Working
Posted by: catrielmuller - 03-17-2024, 12:25 AM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

I bought 3 board KC868-A64 REV 1.3 and in one of them the Ethernet port it's not working.

I tried using exactly the same ESPHome Config, Eth Cable, Power on this one than the another two and this one is not working properly.

Code:
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[C][ethernet:029]: Setting up Ethernet...
[I][ethernet:138]: Starting ethernet connection
[W][ethernet:155]: Connecting via ethernet failed! Re-connecting...
[W][ethernet:155]: Connecting via ethernet failed! Re-connecting...
[W][ethernet:155]: Connecting via ethernet failed! Re-connecting...
[W][ethernet:155]: Connecting via ethernet failed! Re-connecting...

This is the basic config that I'm using:

Code:
esphome:
  name: test
  friendly_name: test

esp32:
  board: esp32dev
  framework:
    type: arduino

logger:

api:
  encryption:
    key: "wsIfuavsl9mVb28lgRojJDQNGvabMa67BszAFCmc37s="

ota:
  password: "d0a70c2dc2ca1d1325dea05d43c39eb0"

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

What it's the process to do a RMA?

Print this item

  H32B Pro ESB32 pinout?
Posted by: lulu01 - 03-16-2024, 10:01 PM - Forum: Development - Replies (4)

Hello,

Where is the equivalent of this page for H32B Pro please?

https://www.kincony.com/forum/showthread.php?tid=282

Thank you!

Print this item

  Retrofitting an RTC battery on the I2C bus in the KC858-A-8 V1.6 panel
Posted by: HA7CQ - 03-16-2024, 09:10 PM - Forum: KC868-A series and Uair Smart Controller - Replies (2)

Greetings to all!

I have 2x KC868-A-8 V1.6 panel.

Our project requires that the panel does not forget the exact time setting even after a power cut.

It is possible to integrate  a RTC I2C module -with battery- into the I2C bus, for example  same ways as KC 868-A6 have?
For example DS3231 ? https://www.aliexpress.com/item/10050064...QwHg7&mp=1

Thanks Your support!

Mihaly

Print this item

  M30 problem with schematic
Posted by: AkuryuBR - 03-15-2024, 03:46 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (3)

Hi to all,
can i have the schematic in .sch file like Kicad ?
Or in alternative the component list ? I try to replicate the project for personal use and there is some component that don't understand.

Print this item

  H32B-PRO Interlock Issue
Posted by: sebagarayco - 03-15-2024, 01:27 PM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hi,

I want to interlock CH1 and CH2 so I'm using 11000000000000000000000000000000 in Config 01. I have a KC868-AK connected via RS485 to h32b pro

Problem:
- Turn on button 1 > Relay 1 turn on 
- Turn on button 2 > Relay 1 turn off - Relay 2 turn on
- If I touch button 1 again > Relay 1 flash but indmediately turn off - Relay 2 remains turned on.

How to solve it?

Thank you

Print this item