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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,374
» Latest member: zeth
» Forum threads: 2,574
» Forum posts: 13,315

Full Statistics

Online Users
There are currently 52 online users.
» 3 Member(s) | 36 Guest(s)
AhrefsBot, Applebot, Bing, Crawl, Google, PetalBot, bot, owler, biofects, robdk

Latest Threads
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: elemarek
6 hours ago
» Replies: 15
» Views: 7,685
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
7 hours ago
» Replies: 12
» Views: 133
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
Today, 03:07 AM
» Replies: 13
» Views: 463
change wake up name
Forum: KinCony AS
Last Post: admin
Today, 02:10 AM
» Replies: 13
» Views: 101
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
Yesterday, 11:41 PM
» Replies: 6
» Views: 50
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 11:15 PM
» Replies: 18
» Views: 189
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
Yesterday, 11:12 PM
» Replies: 8
» Views: 2,272
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 399
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 72
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
12-17-2024, 11:40 PM
» Replies: 7
» Views: 53

  Problem uploasing esphome firmware to KC868-A16
Posted by: tolbier - 06-17-2024, 09:14 AM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hello:
I've got two KC868-A16 and now I'm trying to upload the firmware, but it replies me with an error on Erasing:

[Image: 1cWhkAAAidMM10YSGU9ZfCgdmg_iD7c_u=w800-h909-iv1]
It keeps for a Long time and it returns a TimeOut error

Also, I've been trying with the ESP_FLASHER tool with similar result:
[Image: 1z2ES6ctJv1Fz8exKOpQUf_LZ2GobMoCO=w800-h909-iv1]

I tried with both cards and, the result is the same 
Also I've been trying to upload it pushing Reset and Download Buttons, with no different result

I was trying tou upload from a Fedora 39 and also from a MacOS (Silicon M3)

any idea what is going on?

Thank you

Print this item

  How to get started
Posted by: jarekD - 06-16-2024, 08:14 PM - Forum: KC868-A16 - Replies (10)

Hi all,
Not sure what am I missing, but spent already 2 hours browsing the internet on how to get connected to the A16 on first power on...
Just received my brand new KC868-A16 and it's my very first experience with Kincony.

The device is now powered up, but I can't neither connect via LAN nor WiFi.
LAN just doesn't get connected to my router, though it has standard 192.168.0.x network. The UDP_SCAN_LIST tool doesn't detect the board (my PC is on Wifi, but on the same network as physically Ethernet-connected A16, it sees other devices on the ethernet).
A16's WiFi AP is not visible either.

I tried resetting the device by holding the "download" button for 10 sec, no luck.

How to get started?

Jarek


Just one update, I managed to get successfully through the firmware update. Flashed KCS_KC868_A16_V2.2.2 and there's no change, still can't see the Wifi access point.

Print this item

  A8s v2 inputs
Posted by: milan.net - 06-16-2024, 06:51 PM - Forum: KC868-A8S - Replies (9)

Hello, the inputs on my a8s v2 dont work.

If i short the gnd with any of the input pins nothing happens.
All the relays work fine. Im using I2C address 0x22 for input pcf8574.

Im using the board with esphome.

Code snipet for input

binary_sensor:
   
- platform: gpio
  name: input1
  ID:”input1”
  pin:
     pcf8574: pcf8754_hub_in
     number: 0
     mode: INPUT


Please advise

Thank you

Print this item

  AIO input 8 stuck on
Posted by: telewizard13 - 06-15-2024, 09:03 PM - Forum: KC868-AIO - Replies (7)

As I reported in an email to "hificat" earlier this week, Input 8 of my brand new AIO board is stuck in the on state. For a day or two, it worked normally, but it is misbehaving again. Not sure what to do.
Regards,
Telewizard13

   

Print this item

  KC868-AI - from Alarm panel
Posted by: Bestgear - 06-15-2024, 05:55 PM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hi Guys

I want to connect my KC868-AI to a couple of output expanders on my alarm panel.

The alarm provides a -ve switched output.

I am considering, given that the KC868 will get 12v from the alarm panel (ie common power rails), I can just use the switched negative to the KC868 input, as that will pull it low.

First question - are the inputs "KCOM" black connector tied to the KC868 power supply input ground or are they isolated?

Second question - do you think its probable that I can just connect the alarm panel output to the KC868 input, and leave the "KCOM" black connector empty, and hope/assume the input will float high, and get pulled low to switch the KC868 when the panel pulls it low?

Many thanks for your thoughts.

Print this item

  Dallas Temp Sensor
Posted by: telewizard13 - 06-14-2024, 08:52 PM - Forum: KC868-AIO - Replies (14)

   
I have been trying to install a Dallas temperature probe on the AIO board and have been unsuccessful. I used an Arduino Uno and a sketch to retrieve the address of the 10 probe(s) I purchased and as I got the address I marked a number on the probes to keep them identified. I tried two different probes, red lead to +3.5V, Black to GND and tried both IO pins 4 & 5 to no avail. I get an error in the logs that I have no idea what to do with.

Print this item

  KC868-A16S Analog input 4-20mA convert not linear
Posted by: nicolouts - 06-14-2024, 05:57 AM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hello,

I have a KC868-A16S and I follow the exemple to read analog input from 4-20mA input.
But do you know why my raw value isn't linear?
I use analog input 4 for my test who is an 0-20mA input.
I have measure raw value from 1mA to 20mA but these value aren't linear.

What can I do?

1 mA -> 17
2 mA -> 208
3 mA -> 390
4 mA -> 582
5 mA -> 763
6 mA -> 958
7 mA -> 1140
8 mA -> 1340
9 mA -> 1525
10 mA -> 1715
11 mA -> 1906
12 mA -> 2095
13 mA -> 2287
14 mA -> 2465
15 mA -> 2663
16 mA -> 2850
17 mA -> 3045
18 mA -> 3253
19 mA -> 3483
20 mA -> 3760

thank you

Nicolouts

Print this item

  KinCony AG8 ESP32-S3 Smart IR Controller released
Posted by: admin - 06-14-2024, 04:12 AM - Forum: News - No Replies

We have designed ESP32-S3 Smart IR Controller - KinCony AG8. it support install by DIN RAIL. it use ESP32-S3-WROOM-1U N16R8 chip. small PCB with RS485, RS232, 1-wire GPIOs, 8 channel IR sender terminal.  Support expand infrared emission tube for long distance cable. board support both wifi and ethernet port. It can use for smart home IoT project use by home assistant, you can config ymal by ESPHome. ESP32-S3 also support arduino IDE / MicroPython / ESP-IDF development tool.
note: Node: ESP32-S3 chip support 4 channel IR sender work at the same time. here is details by ESPHome webpage:
https://esphome.io/components/remote_transmitter.html
[Image: AG8-1.jpg]
PCB size: 83mm*100mm
Power supply: DC 9-24V
RS232:1
RS485:1
Free GPIOs:14
IR Receiver:1
IR Sender:8
[Image: AG8-2.jpg]
[Image: AG8_Smart_Controller_diagram.jpg]

Print this item

  ESPHome yaml demo file for AG8 IR controller
Posted by: admin - 06-14-2024, 03:03 AM - Forum: KC868-AG / AG Pro / AG8 - No Replies

Code:
esphome:
  name: ag8
  friendly_name: ag8
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf
    sdkconfig_options:
      SOC_RMT_SUPPORT_RX_PINGPONG: "n"
# Enable logging
logger:
  hardware_uart: USB_SERIAL_JTAG
# Enable Home Assistant API
api:
  encryption:
    key: "dolIFOGZiGF8GT9wSJVBuoNzVQSHanaieBBbRcj1t48="

ethernet:
  type: W5500
  clk_pin: GPIO42
  mosi_pin: GPIO43
  miso_pin: GPIO44
  cs_pin: GPIO41
  interrupt_pin: GPIO2
  reset_pin: GPIO1

remote_receiver:
  pin: 48
  rmt_channel: 4 
  dump: all

remote_transmitter:
  - id: ir1
    pin: 9
    carrier_duty_percent: 50%
  - id: ir2
    pin: 10
    carrier_duty_percent: 50%
  - id: ir3
    pin: 11
    carrier_duty_percent: 50%
  - id: ir4
    pin: 12
    carrier_duty_percent: 50%
  # - id: ir5
  #   pin: 13
  #   carrier_duty_percent: 50%
  # - id: ir6
  #   pin: 14
  #   carrier_duty_percent: 50%
  # - id: ir7
  #   pin: 21
  #   carrier_duty_percent: 50%
  # - id: ir8
  #   pin: 47
  #   carrier_duty_percent: 50%

switch:
  - platform: template
    name: IR-Send1
    turn_on_action:
      - remote_transmitter.transmit_panasonic:
          transmitter_id: ir1
          address: 0x4004
          command: 0x8140DFA2

  - platform: template
    name: IR-Send2
    turn_on_action:
      - remote_transmitter.transmit_panasonic:
          transmitter_id: ir2
          address: 0x4004
          command: 0x8140DFA2

  - platform: template
    name: IR-Send3
    turn_on_action:
      - remote_transmitter.transmit_panasonic:
          transmitter_id: ir3
          address: 0x4004
          command: 0x8140DFA2

  - platform: template
    name: IR-Send4
    turn_on_action:
      - remote_transmitter.transmit_panasonic:
          transmitter_id: ir4
          address: 0x4004
          command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send5
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir5
  #         address: 0x4004
  #         command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send6
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir6
  #         address: 0x4004
  #         command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send7
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir7
  #         address: 0x4004
  #         command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send8
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir8
  #         address: 0x4004
  #         command: 0x8140DFA2


  - platform: uart
    uart_id: uart_485
    name: "RS485 Button"
    data: [0x11, 0x22, 0x33, 0x44, 0x55]

  - platform: uart
    uart_id: uart_232
    name: "RS232 Button"
    data: "RS232-test"

uart:
  - id: uart_485
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
    tx_pin: 18
    rx_pin: 8

  - id: uart_232
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
      sequence:
        - lambda: UARTDebug::log_string(direction, bytes);
    tx_pin: 17
    rx_pin: 16

binary_sensor:
  - platform: gpio
    name: "IO15"
    pin:
      number: 15
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO38"
    pin:
      number: 38
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO39"
    pin:
      number: 39
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO40"
    pin:
      number: 40
      inverted: true
      mode:
        input: true
        pullup: true

web_server:
  port: 80

demo yaml for control Apple TV:
Code:
esphome:
  name: ag8
  friendly_name: ag8
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf
    sdkconfig_options:
      SOC_RMT_SUPPORT_RX_PINGPONG: "n"
# Enable logging
logger:
  hardware_uart: USB_SERIAL_JTAG
# Enable Home Assistant API
api:
  encryption:
    key: "dolIFOGZiGF8GT9wSJVBuoNzVQSHanaieBBbRcj1t48="

ethernet:
  type: W5500
  clk_pin: GPIO42
  mosi_pin: GPIO43
  miso_pin: GPIO44
  cs_pin: GPIO41
  interrupt_pin: GPIO2
  reset_pin: GPIO1

remote_receiver:
  pin: 48
  rmt_channel: 4 
  dump: all

remote_transmitter:
  - id: ir1
    pin: 9
    carrier_duty_percent: 50%
  - id: ir2
    pin: 10
    carrier_duty_percent: 50%
  - id: ir3
    pin: 11
    carrier_duty_percent: 50%
  - id: ir4
    pin: 12
    carrier_duty_percent: 50%
  # - id: ir5
  #   pin: 13
  #   carrier_duty_percent: 50%
  # - id: ir6
  #   pin: 14
  #   carrier_duty_percent: 50%
  # - id: ir7
  #   pin: 21
  #   carrier_duty_percent: 50%
  # - id: ir8
  #   pin: 47
  #   carrier_duty_percent: 50%

switch:
  - platform: template
    name: IR-Send1
    turn_on_action:
      - remote_transmitter.transmit_pronto:
          transmitter_id: ir1
          data: "0000 006C 0022 0002 015B 00AD 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0575 015B 0057 0016 0E6C"

  - platform: template
    name: IR-Send2
    turn_on_action:
      - remote_transmitter.transmit_pronto:
          transmitter_id: ir2
          data: "0000 006C 0022 0002 015B 00AD 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05CB 015B 0057 0016 0E6C"


  - platform: template
    name: IR-Send3
    turn_on_action:
      - remote_transmitter.transmit_pronto:
          transmitter_id: ir3
          data: "0000 006C 0022 0002 015B 00AD 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05CB 015B 0057 0016 0E6C"

  - platform: template
    name: IR-Send4
    turn_on_action:
      - remote_transmitter.transmit_pronto:
          transmitter_id: ir4
          data: "0000 006C 0022 0002 015B 00AD 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 05CB 015B 0057 0016 0E6C"


  # - platform: template
  #   name: IR-Send5
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir5
  #         address: 0x4004
  #         command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send6
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir6
  #         address: 0x4004
  #         command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send7
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir7
  #         address: 0x4004
  #         command: 0x8140DFA2

  # - platform: template
  #   name: IR-Send8
  #   turn_on_action:
  #     - remote_transmitter.transmit_panasonic:
  #         transmitter_id: ir8
  #         address: 0x4004
  #         command: 0x8140DFA2


  - platform: uart
    uart_id: uart_485
    name: "RS485 Button"
    data: [0x11, 0x22, 0x33, 0x44, 0x55]

  - platform: uart
    uart_id: uart_232
    name: "RS232 Button"
    data: "RS232-test"

uart:
  - id: uart_485
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
    tx_pin: 18
    rx_pin: 8

  - id: uart_232
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
      sequence:
        - lambda: UARTDebug::log_string(direction, bytes);
    tx_pin: 17
    rx_pin: 16

binary_sensor:
  - platform: gpio
    name: "IO15"
    pin:
      number: 15
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO38"
    pin:
      number: 38
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO39"
    pin:
      number: 39
      inverted: true
      mode:
        input: true
        pullup: true
  - platform: gpio
    name: "IO40"
    pin:
      number: 40
      inverted: true
      mode:
        input: true
        pullup: true

web_server:
  port: 80

Node: ESP32-S3 chip support 4 channel IR sender work at the same time. here is details by ESPHome webpage:
https://esphome.io/components/remote_transmitter.html



Attached Files
.txt   AG8_HA.txt (Size: 3.98 KB / Downloads: 99)
.txt   AG8_HA-AppleTV.txt (Size: 5.31 KB / Downloads: 95)
Print this item

  AG8 ESP32 I/O pin define
Posted by: admin - 06-14-2024, 03:01 AM - Forum: KC868-AG / AG Pro / AG8 - No Replies

IR receiver: IO48
IR sender1: IO9
IR sender2: IO10
IR sender3: IO11
IR sender4: IO12
IR sender5: IO13
IR sender6: IO14
IR sender7: IO21
IR sender8: IO47

free GPIOs:
IO15
IO38
IO39
IO40

RS232:
TXD:IO17
RXD:IO16

RS485:
TXD:IO18
RXD:IO8

Ethernet (W5500) I/O define:

clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1

Print this item