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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,411
» Latest member: asalhi
» Forum threads: 3,660
» Forum posts: 18,959

Full Statistics

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

Latest Threads
N30 Energy entry not work...
Forum: N30
Last Post: admin
8 hours ago
» Replies: 30
» Views: 547
flash Kincony software to...
Forum: DIY Project
Last Post: admin
8 hours ago
» Replies: 11
» Views: 63
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
10 hours ago
» Replies: 8
» Views: 133
KC868-A16 v1 with KCS v2....
Forum: "KCS" v2 firmware system
Last Post: admin
10 hours ago
» Replies: 7
» Views: 49
Separate +12V to Kincony,...
Forum: T128M
Last Post: admin
10 hours ago
» Replies: 1
» Views: 15
linux command line / bash...
Forum: TA
Last Post: almman
10 hours ago
» Replies: 2
» Views: 28
KC868-A16 ethernet work w...
Forum: KC868-A16
Last Post: admin
Yesterday, 12:53 PM
» Replies: 14
» Views: 15,952
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 11:24 AM
» Replies: 145
» Views: 26,582
KC868-HAv2 work with F24 ...
Forum: KC868-HA /HA v2
Last Post: admin
Yesterday, 11:19 AM
» Replies: 9
» Views: 682
how to compile new tasmot...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 11:16 AM
» Replies: 5
» Views: 3,839

Question KC868-AG ESP32 315/433Mhz or only 433Mhz?
Posted by: greg - 08-21-2022, 11:35 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Hi Team, is the KC868-AG ESP32 both 315Mhz & 433Mhz? The Aliexpress listing says it's both 315Mhz & 433Mhz but I can't find any reference to 315Mhz in the documentation. Cheers!

Print this item

Sad KC868-H32B malfunctioned
Posted by: saun2000 - 08-21-2022, 09:26 PM - Forum: KC868-HxB series Smart Controller - Replies (9)

I was using this both KC868-H32B Relay modules with touch switches and MQTT with Home assistant. This was working fine. Suddenly one relay module reset to its ip address to 192.168.1.200 by itself and now nothing is working. Even touch switches are not working. I change the ip back to the existing one. but still doesn't work. Do you have any idea to fix this?

Print this item

  I2C Display to A4
Posted by: masoos - 08-16-2022, 10:16 PM - Forum: DIY Project - Replies (5)

Hello,
I need for my project a cheap 2 line display.
Please suggest me how to wire the SDA and SCL Line.
And maybe you have small code? that would be wonderful.
Thanks

Print this item

  [Arduino IDE demo source code for KC868-A32]--#07-web server
Posted by: admin - 08-16-2022, 05:35 AM - Forum: KC868-A32/A32 Pro - No Replies

Here is web server demo source code for KC868-A32, use WiFimanager library, easy to config router's ssid and password by webpage. GPIO0 (download button) have use for wifi reset.
[attachment=1260]
   



Attached Files
.zip   KC868-A32_Web_Server.zip (Size: 5.26 KB / Downloads: 1006)
Print this item

  KC868-A16 V1.5 I2C PCF8574 address updated
Posted by: admin - 08-16-2022, 04:52 AM - Forum: KC868-A16 - Replies (5)

some of KC868-A16 V1.5 hardware version, PCF8574 address is changed. (if you have seen PCB is V1.5 and have GREEN label, you need to use new address value)
before is :

Relay_IIC_address 0x24
Relay_IIC_address 0x25

Input_IIC_address 0x21
Input_IIC_address 0x22


new is :

Relay_IIC_address 0x3C
Relay_IIC_address 0x3D

Input_IIC_address 0x39
Input_IIC_address 0x3A

   

if you don't know your PCF8574 address, you can use this "I2C scan" arduino IDE source code to scan address, it will print value by serial port.

here is source code: 
.zip   i2c-scan-a16.zip (Size: 645 bytes / Downloads: 954)

Print this item

  KC868-COL automatic control multi controllers by RS485 and RS232
Posted by: Sten - 08-13-2022, 07:27 AM - Forum: KC868-HxB series Smart Controller - Replies (5)

Hi

At this video (https://www.youtube.com/watch?v=Obo3YHj2...ex=24&t=2s) you show the way how to connect multi controllers by RS485 and RS232. My question is: Is there a TOGGLE function possible?
One digital input open and cclose relay (TOGGLE)?

Regards

Sten

Print this item

  KC868-E16S/E16P demo configure for ESPhome
Posted by: admin - 08-11-2022, 06:46 AM - Forum: KC868-E16S/E16P - Replies (14)


.txt   Made_for_ESPHome_KC868-E16S.txt (Size: 5.64 KB / Downloads: 773)

esphome:
  name: kc868-e16s
  platform: ESP32
  board: esp32dev
 
 
# Example configuration entry for ESP32
i2c:
  sda: 16
  scl: 15
  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: 0x21

  - id: 'pcf8574_hub_out_2'  # for output channel 9-16
    address: 0x25

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

  - id: 'pcf8574_hub_in_2'  # for input channel 9-16
    address: 0x24

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

  - platform: gpio
    name: "e16s-output2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "e16s-output7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output9"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "e16s-output10"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "e16s-output11"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output12"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output13"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 4
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output14"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 5
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output15"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 6
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "e16s-output16"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 7
      mode: OUTPUT
      inverted: true
     
binary_sensor:
  - platform: gpio
    name: "e16s-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input9"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input10"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input11"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input12"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input13"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input14"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input15"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "e16s-input16"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 7
      mode: INPUT
      inverted: true

# Enable logging
logger:

# Enable Home Assistant API
api:

Print this item

  16 channels through esphome modbus communication.
Posted by: 2sdaymars - 08-08-2022, 11:06 AM - Forum: KC868-A16 - Replies (3)

I am currently trying to connect a controller with 16 channels through esphome modbus communication.

https://esphome.io/components/modbus_controller.html

Tried with this example but failed.

uart:
  id: mod_bus
  tx_pin: 17
  rx_pin: 16
  baud_rate: 115200
  stop_bits: 1

Are the tx and rx pin numbers correct?

What part should I edit?
I really need your help.
We are preparing a plant factory, so if this succeeds, we plan to continue ordering 16-channel boards in the future.

to be able to help
Load the controller Modbus sheet.


http://www.koreadigital.com/pages/sensec...load_1.pdf

Print this item

  HMI display control
Posted by: Maq17444 - 08-05-2022, 11:41 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi, 

I'm interesting in controlling all (KC868-H32BS and KC868-E16s etc.) relay's by not only home assistant but with a robust HMI monitor for more reliability and customization; recently I bought KC868-E16s and I noticed that it has a 4 pin Serial interface Rx Tx... which mean that I can control it by UART with the proper HMI display, but also I have a KC868-H32BS & KC868-colb and wondered that could I control it by the HMI by RS485/ RS232 as Master 'if applicable' or there are other ways.


Moreover, I've found the datasheet of the kc868' RS485 protocol but not for RS232!


Note: I'm not an expert in serial communication field.


Thanks

Print this item

  ESPHome: RF433 functions?
Posted by: voltagex - 08-05-2022, 12:37 PM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (15)

With the following ESPHome settings:

remote_receiver:
  - id: receiver_ir
    pin:
      number: GPIO23
      inverted: True
    dump: nec

  - id: receiver_rf
    pin:
      number: GPIO25
      inverted: True
    dump: all
    # Settings to optimize recognition of RF devices
    tolerance: 50%
    filter: 250us
    idle: 4ms
    buffer_size: 2kb


How is the RF receiver supposed to work? I'm getting no log output from ESPHome version 2022.6.2 with a blind remote (https://fccid.io/2AGGZMT0201014)

Print this item