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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,137
» Latest member: bbyptares
» Forum threads: 2,793
» Forum posts: 14,683

Full Statistics

Online Users
There are currently 104 online users.
» 1 Member(s) | 79 Guest(s)
Amazonbot, Bing, Bytespider, Crawl, Google, PetalBot, Semrush, WhatsApp, Yandex, bot, jaca

Latest Threads
ESPhome builder 2025.2
Forum: KinCony AS
Last Post: eyevisions
2 hours ago
» Replies: 0
» Views: 3
Etgernet + wifi
Forum: KC868-A series and Uair Smart Controller
Last Post: kulibin
3 hours ago
» Replies: 25
» Views: 257
Authentication failure
Forum: KC868-A8S
Last Post: admin
5 hours ago
» Replies: 6
» Views: 114
GI - ESPHOME
Forum: G1
Last Post: admin
5 hours ago
» Replies: 5
» Views: 11
Home Assistant authentica...
Forum: KC868-A8S
Last Post: Auxinne Paul
8 hours ago
» Replies: 2
» Views: 249
Several controllers in on...
Forum: KC868-A6
Last Post: admin
Yesterday, 09:30 AM
» Replies: 3
» Views: 17
Water supply automation
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
Yesterday, 09:28 AM
» Replies: 1
» Views: 9
"KCS" v2.2.10 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: draugen
Yesterday, 03:59 AM
» Replies: 25
» Views: 2,282
Kc868-a32 spi
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 02:27 AM
» Replies: 1
» Views: 14
PROGRAM KC868 A16 DI, DO ...
Forum: KC868-A16
Last Post: admin
Yesterday, 02:27 AM
» Replies: 18
» Views: 250

  RS485 ON A16
Posted by: tom_elec - 12-28-2024, 09:56 AM - Forum: KC868-A16 - Replies (4)

Hello everyone,

I recently bought a Kincony A16 card with the aim of making it work in RS485 with this Waveshare gateway :
https://www.amazon.fr/dp/B09LQMH2S1?ref=...title&th=1

I control this gateway from a Loxone Miniserver, however I can't really understand the Kincony Modbus register table :
https://kincony.com/forum/attachment.php?aid=2240

The loxone page for modbus communication :
https://www.loxone.com/frfr/kb/communication-modbus/

RS485 transmission is enabled in the A16 and gateway parameters.

I need the I/O address and the register type.

Could someone tell me the requests to send to enable / disable an output and get state of digital / analog input on A16 please ?

Thanks in advance for your help, Tom

Print this item

Question KC868 A16 mqtt temperature sensor - home assistant
Posted by: bonius - 12-27-2024, 07:21 PM - Forum: KC868-A16 - Replies (5)

My gear: KC868 A16, KCS
DS18B20 connected to chanel 1

I have one DS18B20 connected to chanel 1, and its working correct. I see that temperature is changing through kcs panel
    >
Unfortunately looks like temperature value is not provided by mqtt. Through mqtt explorer i see there is only two threshold values provided by mqtt.
   

Print this item

  coding support
Posted by: Salman - 12-27-2024, 07:09 PM - Forum: KC868-A4 - Replies (1)

greetings,

I would like to do the followings
3 digital input and one digital output

the trouble that digital input 3 should be permissive low to activiate relay 1.
then I would  the software while the relay 1 is activiated, to monitor digital input 3.
if it is remain high, keep relay 1
if it is switch to low , de activate relay 1

if ( digital input 1 == high and digital input 2 == high and digital input 3 ==  low ( this is will be permissive signal ) )
digital output 1 == high

if ( digital input 1 = low and digital input 2== low )
digital output 1 == low

if ( digital input 3 == low )
delay 1 minute 
digital output 1 = low

Print this item

  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 (3)

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

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