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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,363
» Latest member: melrose63
» Forum threads: 2,574
» Forum posts: 13,303

Full Statistics

Online Users
There are currently 51 online users.
» 2 Member(s) | 29 Guest(s)
Amazonbot, Applebot, Bing, Bytespider, Crawl, Google, Google-Apps-Script, Semrush, Yandex, bot, korl, tugra

Latest Threads
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
1 hour ago
» Replies: 32
» Views: 380
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
6 hours ago
» Replies: 10
» Views: 57
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
6 hours ago
» Replies: 16
» Views: 175
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
6 hours ago
» Replies: 7
» Views: 41
change wake up name
Forum: KinCony AS
Last Post: admin
6 hours ago
» Replies: 11
» Views: 64
"KCS" v2.2.8 firmware BIN...
Forum: "KCS" firmware system
Last Post: admin
6 hours ago
» Replies: 2
» Views: 158
Dimensions/drawings of bo...
Forum: Schematic and diagram
Last Post: admin
6 hours ago
» Replies: 1
» Views: 18
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: admin
12-16-2024, 10:55 PM
» Replies: 12
» Views: 446
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
12-16-2024, 10:53 PM
» Replies: 5
» Views: 34
M16 SHT31 sensor disconne...
Forum: KC868-M16 / M1 / MB / M30
Last Post: bsarra
12-16-2024, 08:36 PM
» Replies: 4
» Views: 38

  ethernet port not working
Posted by: tnim - 11-18-2024, 11:15 AM - Forum: KC868-A16 - Replies (1)

i buy new A 16 bord after compleate flash completing ethernet not worked

Print this item

  Problems accesing the 192.168.4.1 browser for MQTT configuration
Posted by: Gesinentec - 11-18-2024, 11:04 AM - Forum: KC868-A6 - Replies (7)

Greetings!

I currently have a KC868-A6 device. 

I am using it along with a HomeAssistant with EspHome to use the relays and a wiegand device. I am trying to set up communication using MQTT by editing the configuration.yaml file and the mosquitto broker add-on, using MQTT.fx as a software.

I've been browsing videos of different Kincony devices about how to set this up and most set the server internally through the Kincony internal web server and then they do some additional settings using the add-on and so on.

Ever since flashing and before doing anything using EspHome, I have been unable to connect to the WiFi AP provided by the device. I can see the AP in the WiFi list, full signal but each time I connect it fails and disconnects, making me unable to access the 192.168.4.1 URL. I also tried to do the option with the buttons and another solution via flashing provided by another user in the thread and I still was unable to connect to the website.

Once I do the whole EspHome configuration, I understand that this AP is disabled and I can no longer access this URL to configure the Kincony device and all must be done using the EspHome configuration files as the KC868-A6-XXXXXXXXX wifi can't be seen anymore.

Are there any alternatives to this? I have already done the flash KCS guide with latest firmware (2.2.2), the UDP_SCAN tool doesn't detect the device, the device IS connecting properly to the wifi if we go by the .yaml logs and using a 3rd party IP scanner it shows up on the list.



Attached Files Image(s)
       
Print this item

  Connecting Multiple Modbus Sensors to A16 (ESPHome)
Posted by: Gleb - 11-18-2024, 05:02 AM - Forum: KC868-A16 - Replies (13)

I'd like to greet all the forum members. I’m reaching out to ask for your help with an issue I’m experiencing.

I connected 7 sensors to an RS485 Modbus bus, but only 4 of them work simultaneously. When I connect each sensor individually, they all respond correctly. However, when I try to initialize more than 4 sensors in the YAML configuration (e.g., 1-2-3-4), they are displayed and work fine. But as soon as I add more sensors (e.g., 5-6-7), some of them stop responding or are not displayed at all.
I am using an A16 with ESPHome integrated into Home Assistant.


...
uart:
  - id: uart_modbus
    tx_pin: GPIO13
    rx_pin: GPIO16
    baud_rate: 4800
modbus:
  - uart_id: uart_modbus
    setup_priority: -10
    send_wait_time: 500 ms
    id: modbus1
modbus_controller:
  - id: modbus_sensor_2
    address: 0x02  
    modbus_id: modbus1
    update_interval: 5s
    offline_skip_updates: 2
    max_cmd_retries: 4
 
  - id: modbus_sensor_4
    address: 0x04  
    modbus_id: modbus1
    update_interval: 5s
    offline_skip_updates: 2
    max_cmd_retries: 4
  - id: modbus_sensor_7
    address: 0x07  
    modbus_id: modbus1
    update_interval: 5s
    offline_skip_updates: 2
    max_cmd_retries: 4
  - id: modbus_sensor_8
    address: 0x08  
    modbus_id: modbus1
    update_interval: 5s
    offline_skip_updates: 2
    max_cmd_retries: 4

...
...
sensor:
  - platform: modbus_controller
    modbus_controller_id: modbus_sensor_2
    name: "t_2"
    id: temperature_sensor_2
    address: 0x0001
    register_type: holding
    value_type: U_WORD
    force_new_range: true
    unit_of_measurement: "°C"
    accuracy_decimals: 2
    filters:
      - multiply: 0.1
  - platform: modbus_controller
    modbus_controller_id: modbus_sensor_2
    name: "h_2"
    id: humidity_sensor_2
    address: 0x0000
    register_type: holding
    value_type: U_WORD
    unit_of_measurement: "%"
    accuracy_decimals: 2
    filters:
      - multiply: 0.1
  - platform: modbus_controller
    modbus_controller_id: modbus_sensor_4
    name: "t_4"
    id: temperature_sensor_4
    address: 0x0001
    register_type: holding
    value_type: U_WORD
    force_new_range: true
    unit_of_measurement: "°C"
    accuracy_decimals: 2
    filters:
      - multiply: 0.1
  - platform: modbus_controller
    modbus_controller_id: modbus_sensor_4
    name: "h_4"
    id: humidity_sensor_4
    address: 0x0000
    register_type: holding
    value_type: U_WORD
    unit_of_measurement: "%"
    accuracy_decimals: 2
    filters:
      - multiply: 0.1
   
  - platform: modbus_controller
    modbus_controller_id: modbus_sensor_7
    name: "t_i"
    id: temperature_sensor_7
    address: 0x0001
    register_type: holding
    value_type: U_WORD
    force_new_range: true
    unit_of_measurement: "°C"
    accuracy_decimals: 2
    filters:
      - lambda: |-
          if (x > 32767) {
          return (x - 65536) / 10.0;
          } else {
          return x / 10.0;
          }
   
  - platform: modbus_controller
    modbus_controller_id: modbus_sensor_8
    name: "t_k"
    id: temperature_sensor_8
    address: 0x0001
    register_type: holding
    value_type: U_WORD
    force_new_range: true
    unit_of_measurement: "°C"
    accuracy_decimals: 2
    filters:
      - multiply: 0.1  
...

Print this item

  Repurpose A16 outputs as inputs
Posted by: Pratty - 11-18-2024, 03:27 AM - Forum: KC868-A16 - Replies (1)

I have a Kincony A16 running esphome. I already have reed switches to the dry contact inputs. Can I repurpose the output GPIO's as inputs? Is there another way to extend the board to have 8 more inputs?

Print this item

Sad MODBUS TCP ETHERNET - SLAVE MODE - KC868-A16
Posted by: dacostarlc - 11-18-2024, 03:26 AM - Forum: KC868-A16 - Replies (1)

For control boards model KC868-A16I, I came across a problem and would like your help, I need to implement the MODBUS TCP PROTOCOL VIA ETHERNET (CHIP LAN8720A with ESP32) IN SLAVE MODE, so that supervisory systems can communicate with the board produced by you.
I need a programming code library (with example) for the ARDUINO IDE that performs this communication.
I only found MODBUS libraries for the W5500 and ENC 28J60 CHIPS.
Please, can anyone help me???

Print this item

  Need help with configuration of multiple controllers in the same house
Posted by: itzek - 11-17-2024, 08:25 PM - Forum: KC868-HxB series Smart Controller - Replies (32)

Hello admin,
I am before the installation of the following equipment at my house.
2 × KC868-AK ESP32
2 × KC868-H32B Pro 32
1 × KC868- Colb (old ver)
1 × KC868-SERVER
1× KC868-E16v2 connect to server
I have the equipment divided between 2 electrical boxes, one on the ground floor and one on the first floor according to the following division KC868-AK ESP32 and KC868-H32B Pro 32 on the first floor and the rest of the equipment on the ground floor are all connected by communication - RJ45 RS 485 and RS232
My questions are:
1.How is there a way to configure that the button in the KC868-AK ESP32 on the ground floor will turn on a light that is connected to the relay in KC868-H32B Pro on the first floor (If possible without an internet connection) 

2.how do I configure that the remaining 4 inputs in the KC868-AK ESP32 of the ground floor that is connected to KC868-H32B Pro  will activate a relay that is on the server

3.Is there tuya support for the KC868-SERVER if not how can such support be added

Print this item

  KC868-A16 to steer a 24V AC circuits
Posted by: dobrogi - 11-17-2024, 07:09 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Hi I want to control 24V AC devices with KC868-A16 (irrigation valves). At first I thought I could use kc868-a16 outputs to directly steer the devices but it doesn't work for AC. So I thought I could make use of 16 channel relay module like the one below but it's controlled by 5V low-level inputs. How can I use A16 with the relay? What other devices do I need to make it work?
[Image: 1pcs-12V-16-Channel-Relay-Module-for-ard...e-Belt.jpg]

Print this item

  PCF INT Pin.
Posted by: boe666 - 11-17-2024, 06:27 PM - Forum: KC868-A16 - Replies (2)

the INT is not connected to ESP32 on every PCF. Why ?

Print this item

  KC868-A16 board - wired security system
Posted by: lxndrbrn - 11-17-2024, 05:13 PM - Forum: KC868-A16 - Replies (4)

I would like to build a home alarm system based on the KC868-A16 board. I plan to document everything as precisely as possible to make it easier for others to follow this path.

Starting point:
My house is wired with copper cables leading to every window, door, and most room ceilings.
I use Home Assistant with the MQTT2Zigbee plugin and mainly Zigbee devices.

The goal:
A wired alarm system with a power backup, integrated into Home Assistant, and with relatively low acquisition costs.

The initial questions are:
1. Can I simply connect a magnetic sensor to the digital inputs?
(If yes, what voltage do they operate on?)
2. Can I connect a 24V siren to the dry contact output?
Could I power it separately using the board’s 12V power supply?

I would greatly appreciate your help.
Thank you very much.



PS.: I am currently designing a 3D case for the board (which I’ll gladly share with the community once it’s ready).
Also ive got many Cases for Mounting of the magnet sensors and the movementdetectors.

Print this item

  KC868-A4 not compiling to Arduino
Posted by: Salman - 11-17-2024, 01:27 PM - Forum: KC868-A4 - Replies (3)

Greetings Everybody,

Iam new to KC and I purchased one from Aliexpress.
I connected to my PC through USB-C Type and the serial port was appeared in the Arduino IDE at com3
   
I have add all the required URL as following in the arduino
1. File
2. Preference
3. I added the link related to ESP.
4.tools-- boards--- boards manager--- esp32 installed.
5. I selected many boards such as nodemcu-32s
 
when I tried to do compile, there is error message appeared
" error compiling for board nodemuc-32s"    


I tried to change the board type from the arduino, but still same error.    

also I tried to change the programmer but still same    


everything is fine to my board
12v
c-type usb.
serial is appeared in the arduino.

I need support.

Print this item