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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,322
» Latest member: PTC
» Forum threads: 3,635
» Forum posts: 18,769

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 15 Guest(s)
AhrefsBot, Amazonbot, Applebot, PetalBot, bot

Latest Threads
Problems and general Feed...
Forum: N30
Last Post: admin
53 minutes ago
» Replies: 1
» Views: 4
N20 Problem with Home Ass...
Forum: N20
Last Post: admin
54 minutes ago
» Replies: 4
» Views: 17
Voltage for KC868-16
Forum: KC868-A16
Last Post: admin
57 minutes ago
» Replies: 1
» Views: 1
sample code to receive ht...
Forum: F16
Last Post: admin
Yesterday, 10:54 AM
» Replies: 8
» Views: 30
16-Channel Lighting Contr...
Forum: News
Last Post: admin
Yesterday, 10:52 AM
» Replies: 1
» Views: 6
OUTPUT DO1
Forum: KC868-AIO
Last Post: admin
Yesterday, 01:58 AM
» Replies: 3
» Views: 19
N30 Energy entry not work...
Forum: N30
Last Post: Vega
12-27-2025, 01:15 PM
» Replies: 13
» Views: 125
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
12-27-2025, 08:45 AM
» Replies: 127
» Views: 25,342
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 1
» Views: 29
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
12-24-2025, 11:41 PM
» Replies: 7
» Views: 93

  Problem in output relay
Posted by: Bergoglio - 12-27-2024, 11:17 AM - Forum: KC868-A16S - Replies (3)

Good afternoon,

I flashed several times the KC868-A16S board with ESPHome firmware but the relay n. 8 remains always in on state (also the status led on the board) and it is impossible to control it.

This is the last firmware (still with the problem) :

Code:
esphome:
  name: centralina-citofono
  friendly_name: Centralina citofono

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "E3acLht11PoN5oLlgBJPgIO/+elvX80lTzGbQPfVnH8="

ota:
  - platform: esphome
    password: "0b4d665617eac63f109a0dd7b51a409e"

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


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


# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24

  - id: 'pcf8574_hub_out_2'  # for output channel 9-16
    address: 0x25

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22

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

# Individual outputs
switch:
  - platform: gpio
    name: "a16s-output1"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a16s-output2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a16s-output7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode:
        output: true
      inverted: true
     
  - platform: gpio
    name: "a16s-output9"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a16s-output10"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a16s-output11"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output12"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output13"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 4
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output14"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 5
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output15"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 6
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a16s-output16"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 7
      mode: OUTPUT
      inverted: true

  - platform: restart
    name: EspHome Node Restart
     
binary_sensor:
  - platform: gpio
    name: "a16s-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Can You help me ?

Print this item

  A16 - MQTT Issues
Posted by: PierrePetite - 12-27-2024, 09:33 AM - Forum: KC868-A series and Uair Smart Controller - Replies (7)

Hey, 

first of all: Thanks for this great product! I am now trying to connect it via MQTT to Home Assistant. (I had several issues by using ESPHome, so I wanna stick with MQTT for now). 

What I did: 

  • MQTT Setup within KCS
  • Setup Mosquito and MQTT within Home-Assistant (Already existing)
  • Confirmed that the Packages are received by listening to #

I have used the following YAML within Home Assistants configuration.yaml, customized based on the received packages while listening to #:

Code:
mqtt:
  switch:
   - name: 'kcs868-a16-output-1'
     unique_id: kcs868-a16-output-1
     state_topic: 'KC868_A16/2CBCBB646ACC/STATE'
     command_topic: 'KC868_A16/2CBCBB646ACC/SET'
     payload_on:  '{"output1":{"value":true}}'
     payload_off:  '{"output1":{"value":false}}'
     value_template: '{{ value_json.output1.value }}'
     state_on: true
     state_off: false

As a result, I can - after restarting Home Assistant control the Output 1. 
BUT: It does not show the current status of Output one! (See Screenshot). Status is unknown. 

Any Idea what went wrong? What could I check? 

[Image: EClPwLZ.png]

Print this item

  kc868-a6 communication fault
Posted by: smortopoul - 12-27-2024, 07:51 AM - Forum: KC868-A6 - Replies (1)

Hi I have a kc868-a6 board that i have recently bought. I can't manage to communicate with it. I am using the esp32 download tool v3.9.2 in order to download the firmware "KCS_KC868_A6_V2.2.8.bin" but at the command dos screen that opens it shows repeatedly dots when i push the start button.
after too many dots without result i press the stop button and it gives the messages 
"[2024-12-27 02:19:54,814][ESP8266Loader_spi[1]][espDownloader.py][line:422][ERROR]: Chip sync error
[2024-12-27 02:19:54,814][ESP8266Loader_spi[1]][espDownloader.py][line:582][ERROR]: ESP32 Chip sync error esp_sync_blocking.
no log file output ..."
 I am using a usb to rs232 converter and it gives me the COM3 port.
I have also tried with a direct usb cable but it doesn't shows any port.
Can anyone please help me?
I have also tried with the arduino application to upload a short sketch but it can't communicate with the board.
Then I have installed the "KC868-A series ESP32 board USB Driver For Windows" but with no success again.
Finally i have tried with the "uart assistant" tool but no success.
The attached file has the printscreen of my trials

.pdf   kc868-a6 communication problem.pdf (Size: 447.95 KB / Downloads: 421)

Print this item

  Lora code
Posted by: EHB - 12-27-2024, 05:50 AM - Forum: KC868-A series and Uair Smart Controller - Replies (9)

Is there LoRa code for me to peruse while I wait for my new board (KC 868-A6 I think)
Thanks!

Print this item

  "KCS" v3 firmware UDP STRING protocol document for Loxone Miniserver
Posted by: admin - 12-27-2024, 01:54 AM - Forum: "KCS" v2 firmware system - Replies (2)

support by > KCS v3.4.0 using KinCony B16M, F16, F24, A32 Pro smart controller.

1: control digital output (DO)
Loxone send to KCS: RELAY-SET-255,2,1  //turn ON DO2
KCS back to Loxone: RELAY-SET-255,2,1,OK
Loxone send to KCS: RELAY-SET-255,2,0  //turn OFF DO2
KCS back to Loxone: RELAY-SET-255,2,0,OK

2: digital output (DO) state feedback
KCS back to Loxone: RELAY-SET-255,3,1,OK //DO3 is ON
KCS back to Loxone: RELAY-SET-255,3,0,OK //DO3 is OFF

3: digital input (DI) state feedback
KCS back to Loxone: RELAY-GET_INPUT-255,4,1,OK  //DI4 is ON
KCS back to Loxone: RELAY-GET_INPUT-255,4,0,OK  //DI4 is OFF

4: control analog output (AO)
Loxone send to KCS: RELAY-SET_DAC_255,2,0  //channel 2 AO=0  0%
KCS back to Loxone: RELAY-SET_DAC_255,2,0,OK
Loxone send to KCS: RELAY-SET_DAC_255,3,255  //channel 3 AO=255 100%
KCS back to Loxone: RELAY-SET_DAC_255,3,255,OK

5: analog output (AO) state feedback
KCS back to Loxone: RELAY-GET_DAC_255,1,107,OK  //channel 1 AO=107
KCS back to Loxone: RELAY-GET_DAC_255,2,255,OK  //channel 2 AO=255

6: analog input (AI) state feedback
KCS back to Loxone: RELAY-GET_ADC-255,1,2670,OK  //channel1 ADC is 2670

7: RF433M receiver state feedback
KCS back to Loxone: RELAY-GET_RF-255,2,1,OK  //channel2 RF sensor is ON
KCS back to Loxone: RELAY-GET_RF-255,3,0,OK  //channel3 RF sensor is OFF

8: temperature & humidity sensor feedback
KCS back to Loxone:RELAY-GET_SENSOR-255,3,16.8,46.8,OK //channel3 sensor temperature=16.8℃ humidity=46.8%
KCS back to Loxone:RELAY-GET_SENSOR-255,4,27.8,-100,OK //channel4 sensor temperature=27.8℃ without humidity

download Loxone config demo project file and integration guide from: https://www.kincony.com/forum/showthread.php?tid=7264

Print this item

  KCS v3 Loxone Miniserver integration guide
Posted by: admin - 12-27-2024, 01:17 AM - Forum: KinCony integrate with Loxone home automation - No Replies

KCS v3 support Loxone integration by UDP protocol. here is all details demo show with KinCony A32 Pro using DO (digital output), DI (digital input), AO (analog output for dimmer), AI (analog input), RS485 sensor and GPIO 1-wire sensor.
   
KCS v3 use by KinCony ESP32-S3 smart controller.
   
about demo function list:
1/a. Relay1 switch: you can trun ON/OFF relay1
1/b. Relay2 button: hold on the button relay2 is ON, release finger, relay2 is OFF. Usually use for curtain.
1/c. Relay1 State: feedback relay1's newest state, even if relay control by other ways, such as home assistant, tuya app, web browser, wall switch.

2. DI1 State: monitor digital input1 state.
3. Dimmer (AO1): dimmer output with channel1 (range 0--255)
4. feedback AO1's newest state, even if dimmer control by other ways, such as home assistant, tuya app, web browser, wall switch.
5. RF433M: monitor RF433MHz sensor state for ON/OFF

6/a. Sensor1Temp: one temperature & humidity sensor's temperature value
6/b. Sensor1Hum: one temperature & humidity sensor's humidity value

7.Sensor2Temp: one temperature sensor's temperature value
   
   
   
   
   
   
download Loxone config project demo at here:

.zip   Loxone-Kincony-KCS-DEMO.zip (Size: 12 KB / Downloads: 550)
the project default user and password are:
admin
123456abc
make sure your KCS version >v3.4.0
   
   
go to Loxone webpage, config ip and port for Loxone Miniserver.
   
Enable UDP Server, input any port number unused, that means KinCony controller will work as a UDP Server listen to Loxone client, receive command from Loxone Miniserver.
   
Enable UDP Client, input any port number unused, that means KinCony controller will work as a UDP Client connect to Loxone server, feedback state to Loxone Miniserver.

about protocol demo:

1: control digital output (DO)
Loxone send to KCS: RELAY-SET-255,2,1  //turn ON DO2
KCS back to Loxone: RELAY-SET-255,2,1,OK
Loxone send to KCS: RELAY-SET-255,2,0  //turn OFF DO2
KCS back to Loxone: RELAY-SET-255,2,0,OK
   

2: digital output (DO) state feedback
KCS back to Loxone: RELAY-SET-255,3,1,OK //DO3 is ON
KCS back to Loxone: RELAY-SET-255,3,0,OK //DO3 is OFF
   

3: digital input (DI) state feedback
KCS back to Loxone: RELAY-GET_INPUT-255,4,1,OK  //DI4 is ON
KCS back to Loxone: RELAY-GET_INPUT-255,4,0,OK  //DI4 is OFF
   

4: control analog output (AO)
Loxone send to KCS: RELAY-SET_DAC_255,2,0  //channel 2 AO=0  0%
KCS back to Loxone: RELAY-SET_DAC_255,2,0,OK
Loxone send to KCS: RELAY-SET_DAC_255,3,255  //channel 3 AO=255 100%
KCS back to Loxone: RELAY-SET_DAC_255,3,255,OK
   

5: analog output (AO) state feedback
KCS back to Loxone: RELAY-GET_DAC_255,1,107,OK  //channel 1 AO=107
KCS back to Loxone: RELAY-GET_DAC_255,2,255,OK  //channel 2 AO=255
   

6: analog input (AI) state feedback
KCS back to Loxone: RELAY-GET_ADC-255,1,2670,OK  //channel1 ADC is 2670
   

7: RF433M receiver state feedback
KCS back to Loxone: RELAY-GET_RF-255,2,1,OK  //channel2 RF sensor is ON
KCS back to Loxone: RELAY-GET_RF-255,3,0,OK  //channel3 RF sensor is OFF
   

8: temperature & humidity sensor feedback
KCS back to Loxone:RELAY-GET_SENSOR-255,3,16.8,46.8,OK //channel3 sensor temperature=16.8℃ humidity=46.8%
KCS back to Loxone:RELAY-GET_SENSOR-255,4,27.8,-100,OK //channel4 sensor temperature=27.8℃ without humidity
   

Print this item

  "KCS" v3.4.0 firmware for B16M F16 F24 A32Pro controller
Posted by: admin - 12-27-2024, 01:00 AM - Forum: "KCS" v2 firmware system - Replies (6)

v3.4.0 improvement:
1. Added Loxone Miniserver UDP protocol
2. Added RS485 sensor
3. When DO is ALL ON, increase the delay of each channel and the delay is 10ms, so that can protect power supply.
4. Fix the problem that multiple DI false configurations in ifttt cannot work well.
5. Fix the problem that ifttt processing will be blocked when mqtt is disconnected



Attached Files
.zip   KCS_A32PRO_V3.4.0.zip (Size: 1,011.58 KB / Downloads: 476)
.zip   KCS_B16M_V3.4.0.zip (Size: 1.01 MB / Downloads: 557)
.zip   KCS_F16_V3.4.0.zip (Size: 1.02 MB / Downloads: 496)
.zip   KCS_F24_V3.4.0.zip (Size: 1.02 MB / Downloads: 417)
Print this item

  Два датчика температуры и влажности
Posted by: Well8926 - 12-25-2024, 05:27 PM - Forum: DIY Project - Replies (46)

Здравствуйте. У меня есть плата E16T. Управление через интеграцию eshome в Home Assistant. Как можно подключить два датчика для контроля температуры и влажности в каждой комнате? Какие нужны датчики?

Print this item

  Just Arrived: Annoying Buzz
Posted by: vries2k - 12-25-2024, 08:32 AM - Forum: KinCony AS - Replies (2)

Hello,

I was excited to receive my Kincony AS speaker. But when I plug in the USB cable the speaker makes an loud "Buzz".
What is wrong? What can I do to fix it? This is not normal.

Thanks.

Print this item

  Issue with http request - Says http not open
Posted by: fabien1506 - 12-24-2024, 05:47 PM - Forum: KC868-A8 - Replies (12)

Hello Community of Kincony !

I am using a KC868-A8, which is a great product.
I have activated http server to send some commands in tcp to the board.

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 

Any idea of what could be wrong by reading the inputs ?

Thank you !
Fabien

Print this item