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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,221
» Latest member: cargames
» Forum threads: 3,601
» Forum posts: 18,558

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 30 Guest(s)
AhrefsBot, Amazonbot, Bing, Google, PetalBot, bot, github.com

Latest Threads
KC868-COLB Analog Sensor ...
Forum: Development
Last Post: danielyoud401@gmail.com
1 minute ago
» Replies: 9
» Views: 75
N30 installation for Home...
Forum: N30
Last Post: guy
3 hours ago
» Replies: 13
» Views: 67
Raspberry Pi5 Compute Mod...
Forum: Pi5
Last Post: admin
3 hours ago
» Replies: 1
» Views: 9
E16T is not detected when...
Forum: KC868-E16T
Last Post: admin
9 hours ago
» Replies: 6
» Views: 74
KC868-A16 rs485
Forum: KC868-A16
Last Post: admin
9 hours ago
» Replies: 1
» Views: 7
KC868-COLB Tuya Integrati...
Forum: Development
Last Post: danielyoud401@gmail.com
Yesterday, 01:16 PM
» Replies: 10
» Views: 69
KC868-A8 ESP32 I/O pin de...
Forum: KC868-A8
Last Post: chaoukihasnaoui
Yesterday, 12:05 PM
» Replies: 1
» Views: 3,287
KC868-A2 SIM7600 with Tuy...
Forum: KC868-A2
Last Post: WestfieldGhost
Yesterday, 07:44 AM
» Replies: 30
» Views: 3,011
"KCS" v3.18.0 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 03:11 AM
» Replies: 0
» Views: 23
"KCS" v2.2.18 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: admin
Yesterday, 03:01 AM
» Replies: 0
» Views: 39

  Expand
Posted by: Vulcan - 01-01-2023, 06:52 AM - Forum: KC868-A6 - Replies (1)

With the 868-A6 can you extend the number of relays through the I2C bus or by some other means? If it can be expanded what do I need? Is there a limit of sensors on the I2C? I read somewhere that with the RF module there is no limit if one is using that option. Can you explain how the RF module provides sensor expansion please?
Given the A6 has not wired Ethernet, is there any options to power it from an injector or should we consider the A4 instead?
If in our project we wish to run two A6 units can they be linked (master/slave) or are they separate? We are creating an automated garden and greenhouse system including irrigation management and monitoring, vent control, multiple water and air temps, soil moisture and acidic levels, sunlight and baro pressures. We wish to be sure the A6 relay control can be expanded and sensors quantities are not limited. 

We are also trying to determine if a closed loop system with rules and thresholds can me met with Tasmota or if we need to write our own code, any advice would be greatly appreciated. 

Regarding the RF module option on the A6, when its installed, how is the plastic cover meant to be installed since the RF module protrudes outside the case? It would seem I either bought the wrong case or we are expected to cut out part of the case....please advise.    

Print this item

  KC868-AP ESP32 PWM Dimmer Released
Posted by: admin - 12-30-2022, 08:31 AM - Forum: News - No Replies

We have designed KC868-AP. It is a ESP32 16 channel PWM dimmer board. It use PCA9685. The PCA9685 component represents a PCA9685 12-bit PWM driver. It uses I²C Bus for communication. every channel output have MAX 3A driver chip. KC868-AP support use by ESPHome in home assistant. It also have digital input and relay output.
[Image: KC868-AP-1_01.jpg]
[Image: KC868-AP-1_02.jpg]
[Image: KC868-AP-1_03.jpg]
[Image: KC868-AP-1_04.jpg]

Print this item

  Upcoming house build
Posted by: bluepr0 - 12-29-2022, 01:48 PM - Forum: DIY Project - Replies (10)

Hi!

I'm in the process of researching to build a house and have a centralised place to control lights, blinds, etc.

Needs & Goals

  1. Have ESPHome Ethernet boards with relays I can control using regular light switches (momentary switches too) or through home assistants automation. This could be used for lights, blind motors, etc. Won’t need more than 16A per relay
  2. Have ESPHome Ethernet boards with PWM dimming capability for 24V analog LEDs with 3/4A Per channel. I created 1 channel mosfet board as a proof of concept dimmer with LEDC component from ESPHome and it works okay.

Questions
  1. As I understand relay boards will work with switches, but Would relay boards work also with temporary switches / push button?
  2. Are these board 0 delay when activating the relays? My main goal is to have an immediate response from the moment the switch or the command is triggered to when the relay turns on. I have seen some videos where a lot of relays are turned on at the same time and they seem slow.
  3. Is there any video of relay and dimmer board using ESPHome to see the speed? What’s the max Amp per mosfet channel?
  4. I’m honestly VERY lost on the product line. I have seen KC868-A8 could be a good fit (at least to do an initial test). A 16 relay version doesn’t seem to exist?. KC868-E16S seems another interesting one but it goes really high on price so I will need to be 100% sure about speed
  5. I’m still in research phase but I’m assuming a house will need at least 32 relays, and might or might not be all boards in the same placement. So I’m thinking it might not be a good idea to pick one big board but maybe several smaller ones?
  6. What products do you guys would recommend?

Thanks!

Print this item

  KC868-H32B Pro firmware upload network tool
Posted by: admin - 12-29-2022, 02:29 AM - Forum: KC868-HxB series Smart Controller - Replies (2)

You can use this network tool update KC868-H32B Pro controller by ethernet cable.

.zip   NET_REMOTE_IAP_V1.0.zip (Size: 9.07 KB / Downloads: 730)
   

Print this item

  I hope you will help me to choose the appropriate devices to control the basement car
Posted by: engmohades - 12-28-2022, 05:59 AM - Forum: DIY Project - Replies (1)

Welcome everyone

Please advise me what is the appropriate system for car parking in the basement
What are the proposed devices for the system, and what are the ideas of automation that are suitable for car parking in the basement, for example, motion sensors to control lighting, and what are the other proposed sensors, controllers, and .............

I hope that you will provide me with all the suitable ideas and proposed devices for the implementation of the parking lots in the basement floor



Attached Files Thumbnail(s)
   
Print this item

  KC868-AP ESPHome demo config for home assistant by wifi
Posted by: admin - 12-27-2022, 04:14 AM - Forum: KC868-AP / ADR - No Replies

esphome:
  name: ap

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "hx8eSqbwjWs9/2bK0qK55QfTIOpI4gCfzLOeaOXZMaU="

ota:
  password: "31aa1919b5a0deffc8f9dbcaedd7561b"

wifi:
  ssid: KinCony
  password: a12345678

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Ap Fallback Hotspot"
    password: "CWh7uQPhdrfU"

captive_portal:
   

# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 16
  scan: true
  id: bus_a

pcf8574:
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8    maybe 0x22  /  0x3A
    address: 0x3A

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

binary_sensor:
  - platform: gpio
    name: "ap-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - platform: gpio
    name: "ap-input17"
    pin:
      number: 34
      inverted: true

  - platform: gpio
    name: "ap-input18"
    pin:
      number: 35
      inverted: true

pca9685:
    id: 'pca9685_hub'
    frequency: 500

output:
  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM0"
    channel: 0

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM1"
    channel: 1

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM2"
    channel: 2

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM3"
    channel: 3

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM4"
    channel: 4

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM5"
    channel: 5

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM6"
    channel: 6

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM7"
    channel: 7

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM8"
    channel: 8

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM9"
    channel: 9

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM10"
    channel: 10

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM11"
    channel: 11

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM12"
    channel: 12

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM13"
    channel: 13

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM14"
    channel: 14

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM15"
    channel: 15


light:
  - platform: monochromatic
    name: "Color-LED-1"
    output: PWM0
  - platform: monochromatic
    name: "Color-LED-2"
    output: PWM1
  - platform: monochromatic
    name: "Color-LED-3"
    output: PWM2
  - platform: monochromatic
    name: "Color-LED-4"
    output: PWM3
  - platform: monochromatic
    name: "Color-LED-5"
    output: PWM4
  - platform: monochromatic
    name: "Color-LED-6"
    output: PWM5
  - platform: monochromatic
    name: "Color-LED-7"
    output: PWM6
  - platform: monochromatic
    name: "Color-LED-8"
    output: PWM7
  - platform: monochromatic
    name: "Color-LED-9"
    output: PWM8
  - platform: monochromatic
    name: "Color-LED-10"
    output: PWM9
  - platform: monochromatic
    name: "Color-LED-11"
    output: PWM10
  - platform: monochromatic
    name: "Color-LED-12"
    output: PWM11
  - platform: monochromatic
    name: "Color-LED-13"
    output: PWM12
  - platform: monochromatic
    name: "Color-LED-14"
    output: PWM13
  - platform: monochromatic
    name: "Color-LED-15"
    output: PWM14
  - platform: monochromatic
    name: "Color-LED-16"
    output: PWM15

  - platform: rgbw
    name: "ap-rgbw"
    red: PWM1
    green: PWM2
    blue: PWM3
    white: PWM4


switch:
  - platform: gpio
    name: "ap-light1"
    pin: 13
    inverted: false

  - platform: gpio
    name: "ap-light2"
    pin: 2
    inverted: false

Print this item

  KC868-AP ESPHome demo config for home assistant by ethernet
Posted by: admin - 12-27-2022, 04:13 AM - Forum: KC868-AP / ADR - Replies (9)

esphome:
  name: ap

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "hx8eSqbwjWs9/2bK0qK55QfTIOpI4gCfzLOeaOXZMaU="

# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

 

# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 16
  scan: true
  id: bus_a

pcf8574:
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8    maybe 0x22  /  0x3A
    address: 0x3A

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

binary_sensor:
  - platform: gpio
    name: "ap-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - platform: gpio
    name: "ap-input17"
    pin:
      number: 34
      inverted: true

  - platform: gpio
    name: "ap-input18"
    pin:
      number: 35
      inverted: true

pca9685:
    id: 'pca9685_hub'
    frequency: 500

output:
  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM0"
    channel: 0

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM1"
    channel: 1

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM2"
    channel: 2

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM3"
    channel: 3

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM4"
    channel: 4

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM5"
    channel: 5

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM6"
    channel: 6

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM7"
    channel: 7

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM8"
    channel: 8

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM9"
    channel: 9

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM10"
    channel: 10

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM11"
    channel: 11

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM12"
    channel: 12

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM13"
    channel: 13

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM14"
    channel: 14

  - platform: pca9685
    pca9685_id: 'pca9685_hub'
    id: "PWM15"
    channel: 15


light:
  - platform: monochromatic
    name: "Color-LED-1"
    output: PWM0
  - platform: monochromatic
    name: "Color-LED-2"
    output: PWM1
  - platform: monochromatic
    name: "Color-LED-3"
    output: PWM2
  - platform: monochromatic
    name: "Color-LED-4"
    output: PWM3
  - platform: monochromatic
    name: "Color-LED-5"
    output: PWM4
  - platform: monochromatic
    name: "Color-LED-6"
    output: PWM5
  - platform: monochromatic
    name: "Color-LED-7"
    output: PWM6
  - platform: monochromatic
    name: "Color-LED-8"
    output: PWM7
  - platform: monochromatic
    name: "Color-LED-9"
    output: PWM8
  - platform: monochromatic
    name: "Color-LED-10"
    output: PWM9
  - platform: monochromatic
    name: "Color-LED-11"
    output: PWM10
  - platform: monochromatic
    name: "Color-LED-12"
    output: PWM11
  - platform: monochromatic
    name: "Color-LED-13"
    output: PWM12
  - platform: monochromatic
    name: "Color-LED-14"
    output: PWM13
  - platform: monochromatic
    name: "Color-LED-15"
    output: PWM14
  - platform: monochromatic
    name: "Color-LED-16"
    output: PWM15

  - platform: rgbw
    name: "ap-rgbw"
    red: PWM1
    green: PWM2
    blue: PWM3
    white: PWM4


switch:
  - platform: gpio
    name: "ap-light1"
    pin: 13
    inverted: false

  - platform: gpio
    name: "ap-light2"
    pin: 2
    inverted: false

Print this item

  KC868-AP ESP32 I/O pin define
Posted by: admin - 12-27-2022, 04:12 AM - Forum: KC868-AP / ADR - No Replies

IIC SDA:GPIO4
IIC SCL:GPIO16

PCF8574:U14 (DI1-8):  0x22
PCF8574:U31 (DI9-16): 0x21

PCA9685 IIC address: 0x00

DI17: GPIO34
DI18: GPIO35

Relay1: GPIO13
Relay2: GPIO2

Button_Download: GPIO0

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

--------------------
RS485:
RXD:GPIO33
TXD:GPIO14

Extend serial:
GPIO5
GPIO32

Print this item

  COLB MQTT
Posted by: hentes - 12-26-2022, 01:17 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi

I have a situation when Home Assistant starts all my entities from 2 COLB modules have 'unknown' values. That's because the COLB modules are note sending periodic state messages ore they have no availability topic.   They are sending data only on state changes. That's could be critical in some situations like climate control. 
Example:
Turning on or off the heating in some rooms based on windows states. If a window in a room is closed then turn on the heating in that specific room. Now When HA starts the state of the window will be unknown so the heating won't start. That's only a banal example but in some critical scenes this could be an issue.
Proposed solution:
Make COLB to periodically (ex: every second) send stats data or when HA starts make some request to COLB topic to provide current sensor states.

This could massive improve the device reliability. Is it possible? Thank you.

Print this item

  Home Automation Power distribution Box - Lesson 3
Posted by: ARSHAD - 12-25-2022, 10:13 AM - Forum: Home automation training courses - Replies (15)

Hi Team

In Lesson 3 - of Home Automation Power distribution Box - below is the link

New tab (kincony.com)

Kindly confirm the What is the "Amps " used for ( 12V DC contactor) in Hardware lists ?



Thanks & Regards,
Arshad



Attached Files Thumbnail(s)
   
Print this item