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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,004
» Latest member: Tughlakabadmeet
» Forum threads: 3,973
» Forum posts: 20,137

Full Statistics

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

Latest Threads
AIO Hybrid ESP32-S3 IO pi...
Forum: AIO Hybrid
Last Post: H_spadacini
21 minutes ago
» Replies: 3
» Views: 562
T32M issue with Output 1
Forum: DIY Project
Last Post: BarbaraVikuvis
3 hours ago
» Replies: 4
» Views: 315
RTC DS3231 yaml code
Forum: KC868-A16v3
Last Post: admin
Yesterday, 01:38 PM
» Replies: 1
» Views: 10
T64M PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 08:08 AM
» Replies: 0
» Views: 8
T16M PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 08:07 AM
» Replies: 0
» Views: 7
24V Pulse input
Forum: F16
Last Post: admin
Yesterday, 04:23 AM
» Replies: 3
» Views: 11
Current and Power not add...
Forum: N60
Last Post: admin
05-04-2026, 10:01 PM
» Replies: 9
» Views: 176
F16 relay stopped functio...
Forum: F16
Last Post: admin
05-04-2026, 11:24 AM
» Replies: 7
» Views: 83
E8v3 PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
05-04-2026, 11:23 AM
» Replies: 2
» Views: 133
M30 configure yaml for ES...
Forum: KC868-M16 / M1 / MB / M30
Last Post: kiloptero
05-04-2026, 10:39 AM
» Replies: 89
» Views: 23,156

  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: 547)

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: 699)
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: 630)
.zip   KCS_B16M_V3.4.0.zip (Size: 1.01 MB / Downloads: 716)
.zip   KCS_F16_V3.4.0.zip (Size: 1.02 MB / Downloads: 657)
.zip   KCS_F24_V3.4.0.zip (Size: 1.02 MB / Downloads: 583)
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 (4)

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

  Cant connect to wifi STA
Posted by: Mesene - 12-23-2024, 03:59 PM - Forum: KC868-A6 - Replies (5)

Hi! First time user here!
I've just received my KC868-A6, I'd like to connect it to my home assistant.
I'm trying to follow the instructions from https://www.kincony.com/esp32-kcsv2-firmware.html using the bin  KC868_A6_V1.0.10.zip
I say "trying" because the instructions are a bit unclear to me when they start using the ethernet cable and the A6 doesn't have one.
I've managed to connect to the board through its wifi and accessing http://192.168.4.1.
From here, I assume I need change the wifi mode to STA and set my home wifi ssid and password and after that the KC868-A6 will be discoverable through the scan device program, right?

My issue is that I can't move forward from this point, after changing it to STA it never connects to my wifi and I need to restart it through the flash program to make the board accessible again.
What am I missing? Did I understood something wrong? I've tried 2g and 5g with the same result.

Thanks



Attached Files Thumbnail(s)
   
Print this item