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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,728
» Latest member: meghamalik
» Forum threads: 3,020
» Forum posts: 15,892

Full Statistics

Online Users
There are currently 18 online users.
» 0 Member(s) | 7 Guest(s)
AhrefsBot, Amazonbot, Google, PetalBot, bot

Latest Threads
How to use channel 5,6,7,...
Forum: KC868-AG / AG Pro / AG8
Last Post: tenabiker
2 hours ago
» Replies: 2
» Views: 12
KinCony KC868-A2v3 ESP32-...
Forum: News
Last Post: admin
4 hours ago
» Replies: 0
» Views: 2
AIO pins 0-5v reading 3.1...
Forum: KC868-AIO
Last Post: admin
5 hours ago
» Replies: 3
» Views: 13
[arduino code examples fo...
Forum: T64M (under developing)
Last Post: admin
10 hours ago
» Replies: 0
» Views: 370
Tuya adapter V2 arduino s...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
10 hours ago
» Replies: 5
» Views: 333
Soil moisture sensors
Forum: KC868-AIO
Last Post: admin
Yesterday, 11:06 PM
» Replies: 10
» Views: 51
A16: IFTTT Time based act...
Forum: KC868-A16
Last Post: sebfromgermany
Yesterday, 02:29 PM
» Replies: 20
» Views: 716
AS ESPHome yaml for home ...
Forum: KinCony AS
Last Post: admin
Yesterday, 09:20 AM
» Replies: 22
» Views: 2,702
"KCS" v3.9.1 firmware BIN...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 08:48 AM
» Replies: 11
» Views: 287
Kincony Server 16 Modbus
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: admin
Yesterday, 08:47 AM
» Replies: 5
» Views: 333

  kc868-a6 define IO
Posted by: smortopoul - 12-27-2024, 06:50 PM - Forum: KC868-A6 - Replies (1)

what is the meaning of this
PCF8574 pcf8574(0x24, 04, 15) ?
and how i can define both inputs and outputs?

Print this item

  H32B conrolled by Nodered
Posted by: Saif Kitany - 12-27-2024, 04:13 PM - Forum: News - Replies (7)

hello technical support team, 

I produced nodered diagram(for test) to control h32b controller. for test, i want to control 3 realys by one switch.
the problem is : 

when i turn on the switch, i got just one relay turn on from the three relays.(they don't turn on all of them in the same time). but if i put timer for the other 2 relays, then i got all relays turn on.

realy 22----> 0 sec
relay 23---> 0.3 sec
relay 24---> 0.6 sec

i will add a pictures of the diagrams : one picture without delay, the seconed picture with delay



Attached Files Thumbnail(s)
       
Print this item

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

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: 176)
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: 112)
.zip   KCS_B16M_V3.4.0.zip (Size: 1.01 MB / Downloads: 153)
.zip   KCS_F16_V3.4.0.zip (Size: 1.02 MB / Downloads: 112)
.zip   KCS_F24_V3.4.0.zip (Size: 1.02 MB / Downloads: 88)
Print this item

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

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

Print this item