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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,982
» Latest member: kamermcw
» Forum threads: 2,429
» Forum posts: 12,559

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 32 Guest(s)
Baidu, Bing, Bytespider, Crawl, Google, PetalBot, Yandex, bot, owler

Latest Threads
Submit your suggestions a...
Forum: Suggestions and feedback on KinCony's products
Last Post: kamermcw
3 hours ago
» Replies: 7
» Views: 3,462
Help whit update Cold CPU...
Forum: KC868-HxB series Smart Controller
Last Post: itzek
6 hours ago
» Replies: 0
» Views: 4
KC868-AIO connecting to E...
Forum: KC868-AIO
Last Post: slava
8 hours ago
» Replies: 0
» Views: 0
DI8
Forum: Development
Last Post: Vaughan2024
Yesterday, 10:24 PM
» Replies: 0
» Views: 14
Clarification on CT Clamp...
Forum: KC868-M16 / M1 / MB / M30
Last Post: ironbill
Yesterday, 09:27 PM
» Replies: 0
» Views: 10
AS ESPHome yaml for home ...
Forum: KinCony AS
Last Post: admin
Yesterday, 12:29 PM
» Replies: 4
» Views: 277
KCS firmware - MQTT LWT?
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:02 PM
» Replies: 34
» Views: 3,310
H32W Firmware
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 10:32 AM
» Replies: 5
» Views: 1,607
"KCS" v3.0.2 firmware for...
Forum: "KCS" firmware system
Last Post: admin
Yesterday, 12:00 AM
» Replies: 0
» Views: 40
What makes the ESP32 chip...
Forum: KC868-A series and Uair Smart Controller
Last Post: alice_amira
11-08-2024, 04:38 PM
» Replies: 0
» Views: 4

  Saudi Arabia case for industrial power system by KinCony Controller -part 1
Posted by: admin - 05-03-2023, 12:21 AM - Forum: Customer project example - No Replies

Print this item

  Automatically turns off when becoming offline in Home Assistant
Posted by: sve - 05-01-2023, 05:31 PM - Forum: KC868-A8S - Replies (1)

Hello friends,

I am using A8S card for controlling the lights across Home Assistant. The card is connected with wifi. For some reason the card in HA becomes offline and all relays turns off. I don't know the reason why the device is going offline, maybe the problem is wifi. How can I set in HA to keep to state if is it possible.

Here is the yaml file.

   

Thanks a lot



Attached Files
.txt   esphome-web-ced8a4.txt (Size: 17.93 KB / Downloads: 168)
Print this item

  ADC input 3&4 max range
Posted by: ia1 - 04-30-2023, 07:39 AM - Forum: KC868-A16 - Replies (7)

Hi dear

Can you confirm me please what is max input voltage range for full scale output for ADC 3 & ADC 4 of KC868-A16

Because For me its going to full scale on 3.3volts.

Thanks

Imran Alam

Print this item

  KC868-A32M ESP32 32 Channel MOSFET Board Released
Posted by: admin - 04-30-2023, 02:38 AM - Forum: News - No Replies

We have designed KC868-A32M (ESP32 MOSFET Module) for home automation DIYer. it can easy integrate to home assistant by ESPHome. the hardware have 32CH MOSFET output + 4CH analog input + RS485 + Ethernet + WiFi + Bluetooth + 4G SIM7600 or 2G SIM800L GSM module + DS3231 RTC module + RF433MHz Receiver. We let the the PCB become small size. it will be easy install to power distribution box.
 
[Image: KC868-A32M-1_01.jpg]
[Image: KC868-A32M-1_02.jpg]
[Image: KC868-A32M-1_03.jpg]
[Image: KC868-A32M-1_04.jpg]

Print this item

  How to use D1 and D2 dry contacts ?
Posted by: primeroz - 04-29-2023, 03:14 PM - Forum: KC868-A2 - Replies (1)

Hi

Sorry for the stupid question, 

What is the purpose and way to use (in esphome) the D1 and D2 dry contacts ? 

thank you 
[Image: KC868-A2-1_05.jpg]

Print this item

  Need help with dimming my lights
Posted by: zashiv - 04-29-2023, 11:04 AM - Forum: DIY Project - Replies (11)

Hello,

at first i want to point out that i already have some of your boards used in my automation but not for the dimming.

The goal is to be able to dim these lights:
- 1 LED ceiling lamp, which is actually LED panel inside and it can work with 230V, or 24V DC but this lamp needs 100W power supply. It is dimmable with PMW(12/24V DC).
  https://shop.ledco.sk/loxone-svietidla-2...-2700k-65/  - you can check it here
- 4 LED ceiling lamp which are basically the same as the previous one but smaller and hence it needs only 60W power supply.
- 20 LED spot light GU10, 24V DC and needs 5W power supply.
- also a few LED strips will be there but those are irrelevant for now

When i was checking your boards only KC868-AP looked like a match but i was not sure if it can handle what i described. KC868-D16 is no go because it is without ESP32 and i want to be able to ESPHOME to be able to configure momentary switches clicks as i want.

Also i saw that you mentioned that you are developing a new board as ESP32 dimmer.

Can you please help me with this? What could work with the lights which i described?

Thanks in advance

Print this item

  H32BS loss connection
Posted by: ahmedwizza - 04-28-2023, 02:32 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

hello engneer 
now i will start my project.Its villa buldig.
I already get the material from aliexpress
so when i try to test first H32bs .when connect tcp server the connection still 4 or 5 minuts  then  loss onnection
can you help me Huh

Print this item

  KC686-A64 config HA
Posted by: revenson - 04-26-2023, 11:06 AM - Forum: KC868-A64 - Replies (3)

And tell me how to write a config for the A64 board for the new mqtt ?

Print this item

  KC868-M16 configure yaml for ESPhome
Posted by: admin - 04-26-2023, 12:50 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (18)

   


.txt   KC868-M16-ESPHome.txt (Size: 7.98 KB / Downloads: 330)

esphome:
  name: m16

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "D69bY/GXlmjYkovak6WIhgmbOH8vwyqvMxIHBriYoaY="


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

  manual_ip:
    static_ip: 192.168.1.186
    gateway: 192.168.1.1
    subnet: 255.255.255.0 

cd74hc4067:
  - id: cd74hc4067_1
    pin_s0: 32
    pin_s1: 33
    pin_s2: 13
    pin_s3: 16



# Example configuration entry
sensor:

  - platform: adc
    pin: 35
    id: adc35
    update_interval: never
    attenuation: 11db

  - platform: adc
    name: "m16--AI-1"
    pin: 36
    id: adc36
    update_interval: 15s
    attenuation: 11db

  - platform: adc
    pin: 34
    name: "m16--AI-2"
    id: adc34
    update_interval: 15s
    attenuation: 11db

  - platform: adc
    pin: 39
    name: "m16--AI-3"
    id: adc39
    update_interval: 15s
    attenuation: 11db




  - platform: cd74hc4067
    id: ai1
    number: 0
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai2
    number: 1
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai3
    number: 2
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai4
    number: 3
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai5
    number: 4
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai6
    number: 5
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai7
    number: 6
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai8
    number: 7
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai9
    number: 8
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai10
    number: 9
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai11
    number: 10
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai12
    number: 11
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai13
    number: 12
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai14
    number: 13
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai15
    number: 14
    sensor: adc35
    update_interval: 5s

  - platform: cd74hc4067
    id: ai16
    number: 15
    sensor: adc35
    update_interval: 5s


  - platform: ct_clamp
    sensor: ai1
    id: Measured_Current_1
    name: "Measured Current-1"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0.0034 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: template
    id: power1
    name: "power1"
    lambda: return id(Measured_Current_1).state * 220;
    device_class: power
    unit_of_measurement: 'W'
    update_interval: 5s

  - platform: total_daily_energy
    name: "Total Daily Energy1"
    power_id: power1
    filters:
        - multiply: 0.001
    unit_of_measurement: kWh
    accuracy_decimals: 3
    icon: mdi:clock-alert
    device_class: energy


  - platform: ct_clamp
    sensor: ai2
    name: "Measured Current-2"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai3
    name: "Measured Current-3"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai4
    name: "Measured Current-4"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai5
    name: "Measured Current-5"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai6
    name: "Measured Current-6"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai7
    name: "Measured Current-7"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai8
    name: "Measured Current-8"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai9
    name: "Measured Current-9"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai10
    name: "Measured Current-10"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai11
    name: "Measured Current-11"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai12
    name: "Measured Current-12"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai13
    name: "Measured Current-13"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai14
    name: "Measured Current-14"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai15
    name: "Measured Current-15"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

  - platform: ct_clamp
    sensor: ai16
    name: "Measured Current-16"
    update_interval: 5s
    filters:
      - calibrate_linear:
          # Measured value of 0 maps to 0A
          - 0 -> 0
          # Known load: 4.0A
          # Value shown in logs: 0.1333A
          - 0.31749 -> 8.95608

time:
  - platform: sntp
    id: my_time

Print this item

  KC868-M16 ESP32 I/O pin define
Posted by: admin - 04-26-2023, 12:49 AM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

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

IIC BUS:
SDA:4
SCL:5

SD card:
MISO: 2
MOSI: 15
SCK: 14


analog input1 (CH1) 36
analog input1 (CH2) 34
analog input1 (CH3) 39

74HC4067:
S0:32
S1:33
S2:13
S3:16

GPIO35 use for 74HC4067 extend 16 channel analog input

Print this item