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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,369
» Latest member: ThisITGuy
» Forum threads: 2,844
» Forum posts: 15,033

Full Statistics

Online Users
There are currently 152 online users.
» 1 Member(s) | 133 Guest(s)
Amazonbot, Bing, Bytespider, Crawl, Go-http-client, Google, PetalBot, WordPress/, Yandex, bot, owler, intelligsystems

Latest Threads
Pull up on A8
Forum: KC868-A series and Uair Smart Controller
Last Post: heffneil
1 hour ago
» Replies: 17
» Views: 238
Using 12v on Digital Inpu...
Forum: KC868-A16
Last Post: jorgete
6 hours ago
» Replies: 12
» Views: 363
KinCony ESP32-S3 Core Boa...
Forum: Extender module
Last Post: AshS
10 hours ago
» Replies: 36
» Views: 1,396
A16: IFTTT Time based act...
Forum: KC868-A16
Last Post: sebfromgermany
Yesterday, 01:20 PM
» Replies: 17
» Views: 163
analog input resolution 3...
Forum: KC868-A16
Last Post: Yosemite
Yesterday, 12:43 PM
» Replies: 15
» Views: 387
[Arduino IDE demo source ...
Forum: KC868-A16
Last Post: wolli
Yesterday, 11:41 AM
» Replies: 7
» Views: 2,586
KC868-HA-V21 serial port ...
Forum: KC868-HA /HA v2
Last Post: admin
Yesterday, 10:15 AM
» Replies: 8
» Views: 96
Using B16M for driving LE...
Forum: B16M
Last Post: admin
Yesterday, 10:11 AM
» Replies: 3
» Views: 11
KC868-M30 - how to get it...
Forum: KC868-M16 / M1 / MB / M30
Last Post: msmrz
Yesterday, 09:09 AM
» Replies: 4
» Views: 45
KC868-HA RS485 INPUT & OU...
Forum: KC868-HA /HA v2
Last Post: admin
03-06-2025, 10:57 PM
» Replies: 29
» Views: 6,596

  KC868-H32B_Pro V1.16 firmware
Posted by: admin - 04-05-2023, 10:35 AM - Forum: News - No Replies


.zip   H32B_Pro_V1.16_230404.zip (Size: 54.87 KB / Downloads: 250)

improvement:

add "MOTT feedback all channels" option in webpage setting. Support home bridge.

Enable= MQTT message will feedback all channels state
Disable= MQTT message will feedback single channel

   
   

Print this item

  KC868-A6 Digital input IRQ
Posted by: Libramale - 04-04-2023, 10:51 PM - Forum: KC868-A4 - Replies (5)

Can anybody help me with information relating to the ESP32 GPIO pin used to connect the IRQ (nINT) from the PCF8574 (Digital inputs 1 to 6).

I need to be able to capture very irregular (maybe 10 per minute) but short pulses (< 10mS duration) pulses without missing any.

I would hate to have to schedule I2C reads every 5mS or less to make sure nothing is missed.

I have had a look at the KC868-A4 schematic and the DI1-DI4 pins are directly GPIO connect, not through a PCF8574 GPIO extender.

Print this item

  Bluetooth of the esp32
Posted by: kontas - 04-04-2023, 08:50 PM - Forum: KC868-A8 - Replies (1)

Hi
It's possible to use the bluetooth of the A8 ;
How to have access to bluetooth (esphome, tasmota, KCS); 

Thank you.

Print this item

Question New project
Posted by: revenson - 04-04-2023, 06:20 AM - Forum: DIY Project - Replies (9)

I am building a house, tell me what is better to use for a smart home:
16 group curtains and roller shutters (I have an RR06 receiver under the roller shutter and I need to connect it to a low current switch and see them in the home assistant) ).
I want to manage underfloor heating, I have 2 floors and warm floors everywhere, it is desirable to manage separately separately.
I will also have RGB in my room and the lighting will also control it (about 5 rooms with RGB), and around the house there will also be ice in the caecum, but an ordinary tape, 300 meters of tape in a circle.
There is also a snow melting system in a circle (ProfiTherm D-4, D-3, ProfiTherm Eko Plus), the shower would be controlled. Lighting will also be about 50 groups.
Cameras in a circle (I want to implement the structure of faces)
Also interested in IC management.
I have a rassbury pi 4 8gb.

Print this item

  RS485 modbus energy meter integrate to ESPHome yaml file for home assistant
Posted by: admin - 04-03-2023, 12:04 PM - Forum: KC868-A8S - Replies (18)

   
   

esphome:
  name: a8s
  platform: ESP32
  board: esp32dev
 
wifi:
  ssid: "KinCony"
  password: "a12345678"

captive_portal:


uart:
  id: mod_bus
  tx_pin: 33
  rx_pin: 32
  baud_rate: 9600
  stop_bits: 1
  parity: EVEN

modbus:
  id: modbus1
  uart_id: mod_bus

modbus_controller:
  - id: a8s
    address: 0x01
    modbus_id: modbus1
    setup_priority: -10
    update_interval: 5s


sensor:
  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Voltage"
    id: modbus_voltage
    register_type: holding
    address: 0x64
    unit_of_measurement: "V"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Current"
    id: modbus_current
    register_type: holding
    address: 0x6A
    unit_of_measurement: "A"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Active Power"
    id: modbus_Active_Power
    register_type: holding
    address: 0x76
    unit_of_measurement: "kW"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Power Factor"
    id: modbus_Power_Factor
    register_type: holding
    address: 0x8E
    unit_of_measurement: ""
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Grid Frequency"
    id: modbus_Grid_Frequency
    register_type: holding
    address: 0x90
    unit_of_measurement: "hz"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Total Energy"
    id: modbus_Total_Energy
    register_type: holding
    address: 0x0
    unit_of_measurement: "kWh"
    value_type: FP32
    accuracy_decimals: 2

# Enable logging
logger:

# Enable Home Assistant API
api:

yaml file for KC868-A8S download:

.txt   HA_modbus_energy-meter.txt (Size: 1.91 KB / Downloads: 760)

KinCony energy meter RS485 modbus protocol document:

.pdf   KinCony-energy-meter-rs485-modbus-protocol.pdf (Size: 117.75 KB / Downloads: 867)

Print this item

  how to add relay board to ESPHome by Modbus Controller Switch
Posted by: admin - 04-03-2023, 01:51 AM - Forum: KC868-A series and Uair Smart Controller - No Replies

   
[Image: attachment.php?aid=2232]   
uart:
  id: mbus
  tx_pin: GPIO13
  rx_pin: GPIO16
  baud_rate: 9600

modbus:
  id: modbus1
  uart_id: mbus
  send_wait_time: 200ms

modbus_controller:
- id: a6
  address: 1
  modbus_id: modbus1
  update_interval: 1s


switch:
  - platform: modbus_controller
    name: 'modbus-switch1'
    address: 0  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1


this is a demo , i have created one switch button in ESPHome, you can create many others.

KinCony Products use modbus command:
01 05 00 00 FF 00  turn on relay1
01 05 00 00 00 00  turn off relay1

make sure your relay board as these:
ON = 0xFF00  OFF=0000

if your relay board not use by this protocol. you can also write esphome as "write_lambda" way. i have tested, "write_lambda" to create switch also work fine. just need to create ON and OFF two command.

    write_lambda: |-
      ESP_LOGD("main","Modbus Switch incoming state = %f",x);
      // return false ; // use this to just change the value
      payload.push_back(0x1);  // device address
      payload.push_back(0x5);  // force single coil
      payload.push_back(0x00); // high byte address of the coil
      payload.push_back(0x00);  // low byte address of the coil
      payload.push_back(0xFF); // ON = 0xFF00 OFF=0000
      payload.push_back(0x00);
      return true;

Print this item

  KC868-AIO wire with all electrical appliance
Posted by: admin - 04-03-2023, 12:45 AM - Forum: Schematic and diagram - No Replies

   

Big HD file download:

.zip   KC868-AIO_diagram.zip (Size: 9.01 MB / Downloads: 325)

Print this item

  Help with RS485
Posted by: REVELAS - 03-31-2023, 07:35 PM - Forum: KC868-A64 - Replies (13)

Hello.
I need some help with the setup. I have bought a KC868-64 board and I would like to connect an RS485 meter to this board, specifically a DDS 238. Using ESP Home. Can you help?
Thank you very much.
Ladislav

Print this item

  KC868-A16 work with relay board by RS485 modbus in ESPHome
Posted by: admin - 03-31-2023, 04:59 AM - Forum: KC868-A16 - Replies (12)

use KC868-A16 work with KC868-H32BS by RS485 cable via modbus.

this is a demo , i have created one switch button in ESPHome, you can create many others.

KC868-H32BS use modbus command:
01 05 00 00 FF 00  CRC turn on relay1
01 05 00 00 00 00  CRC turn off relay1

make sure your relay board as these:
ON = 0xFF00 OFF=0000

if your relay board not use by this protocol. you can also write esphome as "write_lambda" way. i have tested, "write_lambda" to create switch also work fine. just need to create ON and OFF two command.

   
   
yaml files for KC868-A16 work with modbus switch:

.txt   ESPHome_A16_modbus_relay.txt (Size: 6.5 KB / Downloads: 722)

Print this item

  KS868-A16 Questions
Posted by: Olsen@HuaHin - 03-31-2023, 04:18 AM - Forum: KC868-A series and Uair Smart Controller - Replies (6)

Hello everybody!

I am new to the ESP32 board and just got myself the KS868-A16.

My first choice was to use Arduino IDE to program my board.
After writing my first Sketch I found out the Debugging for the ESP32 board is not directly supported Cry
Has anyone found a working solution for this as I would like to be able to see status, test and troubleshoot my code.
Tried to Google the subject but has not been able to find an easy fix.

I have been looking at other options like Tasmota & ESPHome and Home Assistant.
Does any of those two platforms has a debugger?
 
I preferer a standalone system instead using a dedicated system.


My project is for the time being a small home control of 6pcs indoor light controls, time controlled outdoor night-light with 3pcs PIR and dimmer, armed-disarmed indoor alarm system with 4pcs PIR sensors.

Any recommendation to which platform to use, Arduino, Tasmota or ESPHome as I would like to write of standard code. 

Any feedback is appreciateded  Smile

Print this item