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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,168
» Latest member: 789winosakaa
» Forum threads: 4,260
» Forum posts: 21,110

Full Statistics

Online Users
There are currently 79 online users.
» 0 Member(s) | 72 Guest(s)
Baidu, Google, PetalBot, bot

Latest Threads
Bricked KC868-A16
Forum: KC868-A series and Uair Smart Controller
Last Post: newdos
7 hours ago
» Replies: 4
» Views: 31
remember relay state
Forum: KC868-E16T
Last Post: greeryan
Today, 12:37 AM
» Replies: 6
» Views: 362
It looks like it's broken...
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: admin
Yesterday, 08:36 AM
» Replies: 5
» Views: 100
Bidirectional reading
Forum: N10
Last Post: admin
10-05-2026, 11:35 PM
» Replies: 1
» Views: 27
Update to latest esphome
Forum: KC868-A16
Last Post: admin
10-05-2026, 12:05 PM
» Replies: 6
» Views: 158
KC868-A16 ethernet work w...
Forum: KC868-A16
Last Post: admin
10-04-2026, 11:43 PM
» Replies: 31
» Views: 26,361
B32M maximum voltage
Forum: DIY Project
Last Post: admin
10-04-2026, 11:52 AM
» Replies: 4
» Views: 571
m16v2 energy meter - cali...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
10-02-2026, 11:50 AM
» Replies: 15
» Views: 2,503
oCBot: KC868-A6/A16 as a ...
Forum: DIY Project
Last Post: oCBot
10-01-2026, 01:32 PM
» Replies: 0
» Views: 313
N20 Energy RS485 Modbus P...
Forum: N20
Last Post: admin
10-01-2026, 12:43 PM
» Replies: 3
» Views: 1,020

  Disconnect loop with Home Assistant MQTT
Posted by: MihaiX - 09-20-2026, 08:25 AM - Forum: F16 - Replies (3)

Hello everyone,
I have two F16 boards connected with HA that started to have connection issues.
The output from the MQTT logs:

Code:
2026-09-20 11:00:44: New connection from x.x.x.12:53372 on port 1883.
2026-09-20 11:00:47: New client connected from x.x.x.12:53372 as <MAC> (p4, c1, k120, u'kincony12').
2026-09-20 11:00:47: Client <MAC> [x.x.x.12:53372] disconnected: connection closed by client.
2026-09-20 11:00:50: New connection from x.x.x.11:63968 on port 1883.
2026-09-20 11:00:53: New client connected from x.x.x.11:63968 as kincony11_<MAC> (p4, c1, k120, u'kincony11').
2026-09-20 11:00:53: Client kincony11_<MAC> [x.x.x.11:63968] disconnected: connection closed by client.
kincony11 is configured to use MQTT for Home Assistant while kincony12 is configured to use standard MQTT as I was trying different solutions but the result is the same: disconnect loop.
kincony11 is on fw  v3.18.0
kincony12 is on fw  v3.27.2

Home Assistant details:
    Installation method Home Assistant OS
    Core 2026.9.3
    Supervisor 2026.09.2
    Operating System 18.3
    Frontend 20260826.7
MQTT v7.1.1

As fw v3.27.2 has logging view, this is some output:
Code:
W (1300036) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
E (1301096) mqtt_client: esp_mqtt_connect: mqtt_message_receive() returned 0
E (1301096) mqtt_client: MQTT connect failed
I (1301096) mqtt: MQTT_EVENT_DISCONNECTED
I (1305036) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1305236) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1305236) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1305236) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1305236) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1305596) mqtt: Other event id:7
I (1310236) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1310436) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1310436) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1310436) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1310436) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1315436) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1315606) mqtt_client: esp_mqtt_connect: mqtt_message_receive() returned 0
E (1315606) mqtt_client: MQTT connect failed
I (1315606) mqtt: MQTT_EVENT_DISCONNECTED
E (1315636) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1315636) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1315636) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1315636) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1320106) mqtt: Other event id:7
I (1320636) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1320836) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1320836) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1320836) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1320836) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
I (1325836) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1326036) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1326036) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1326036) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1326036) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE
E (1330116) mqtt_client: esp_mqtt_connect: mqtt_message_receive() returned 0
E (1330116) mqtt_client: MQTT connect failed
I (1330116) mqtt: MQTT_EVENT_DISCONNECTED
I (1331036) gpio: GPIO[9]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (1331236) sdmmc_sd: sdmmc_init_sd_if_cond: send_if_cond (1) returned 0x108
E (1331236) vfs_fat_sdmmc: sdmmc_card_init failed (0x108).
I (1331236) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1331236) sd: Failed to mount filesystem. Error: ESP_ERR_INVALID_RESPONSE


Any help is much appreciated.

Print this item

  config modbus sensor in KCS
Posted by: admin - 09-19-2026, 11:52 AM - Forum: "KCS" v3 firmware - No Replies

here is KinCony AIO Hybrid smart controller work with oxygen modbus sensor using RS485
   
   
here is oxygen sensor modbus protocol:
   
here is config sensor in KCS "sensor" webpage, chose "modbus" type of sensor.
   

slave: 22
function code: 03
register: 104
data type: uint16
byte order: abcd big endian
multiplier: 0.1

KCS monitor will show the sensor value:
   

Print this item

  getting the A8A inputs to work?
Posted by: bboett - 09-18-2026, 01:49 PM - Forum: Development - Replies (5)

Hello!

i have a Kincony A8 i finally try to get working....
the relais i got working, but the inputs don't.... 
i flashed from esphome the follwoing:

esphome:
  name: kc868-a8
  friendly_name: relais_wohnung

esp32:
  variant: esp32
  board: esp32dev
  framework:
    type: arduino

# I2C Bus für die Relais-Ansteuerung
i2c:
  sda: GPIO4
  scl: GPIO5
  scan: true
  id: bus_a

pcf8574:
  - id: pcf8574_hub_in_1
    address: 0x22
    pcf8575: false

binary_sensor:
  - platform: gpio
    name: "A8 Input 1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A8 Input 8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true


     
logger:

api:
  encryption:
    key: "*****"

ota:
  - platform: esphome


ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk:
    mode: CLK_OUT
    pin: 17
  phy_addr: 0



i tried to put common the pin 3, on GND, then 12V, then GND again.... i tried directly to put 12V or GND, when inversed, with a wire directly to the contacts, not a peep? what am i doing wrong?
i thought that electrically speaking i go 12V to the houe bell switch, back to the input entry, and put the 12V- GND on common? but that simply doesn't do it?

Print this item

  remember relay state
Posted by: greeryan - 09-18-2026, 06:53 AM - Forum: KC868-E16T - Replies (6)

I just recieved my module and want it to remember the relay state during power loss, how do I do that?

Thanks!

Print this item

  Output pin protection
Posted by: kremilek - 09-17-2026, 08:22 PM - Forum: T16M - Replies (1)

Hello, is there included any onboard overvoltage protections to switch inductive load? I need to switch electromagnetic valve 24V / 1A. Thanks

Radovan

Print this item

  N10 with L1 and L2 support ?
Posted by: aredan - 09-16-2026, 10:12 PM - Forum: N10 - Replies (1)

I am looking for a meter that supports split-phase or 3-phase; the N30 and others are too big for my project. Any chance the N10 supports split-phase?

 Looking to monitor Grid-tied Inverter generation and grid consumption. I already have a Victron Meter VM-3P75CT and am in need of a second meter with the same capabilities (L1,L2 and L3) and cheaper. This will be integrated to Home-Assistant and Node-Red running on my CerboGX.

 Maybe you can build an N5 with L1,L2 and L3 ? Smile

Print this item

  KC868-A16S PCB layout CAD file
Posted by: admin - 09-14-2026, 11:23 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

KC868-A16S PCB layout CAD file



Attached Files
.zip   KC868-A16S-V1.2_DWG.zip (Size: 3.07 MB / Downloads: 80)
Print this item

  KC868-A16 – Using AI3/AI4 (0–5V) as 4–20mA Inputs Without Replacing SMD Resistors
Posted by: ramiavdiel - 09-14-2026, 07:26 AM - Forum: KC868-A16 - Replies (1)

Hi KinCony,
We are using the KC868-A16 and need four 4–20mA inputs.
AI1 and AI2 are already configured for 4–20mA, while AI3 and AI4 are configured for 0–5V.
We understand from the schematic that converting AI3/AI4 internally would normally require replacing the SMD resistors (5.1kΩ / 10kΩ network with the 0Ω / 150Ω configuration used on AI1/AI2).
We would prefer not to modify or solder components on the PCB.
We tested an external solution on AI3 by connecting a 220Ω resistor externally across the analog input and GND.
With a 4–20mA pH output connected, the controller showed pH 2.41, and we measured approximately 1.460V at the AI3 input. After taking the existing internal resistor network into account and applying the appropriate conversion in our ESP32 firmware, we were able to obtain almost the same pH value.
The measurement also appears electrically stable at the input.
Our question: Is using an external resistor in this way a safe and recommended solution for continuously using AI3 and AI4 as 4–20mA inputs?
Is there any disadvantage or protection/accuracy issue compared with changing the onboard resistors?
If you recommend a different external solution that does not require PCB soldering, please let us know.
Thank you.

Print this item

  Case
Posted by: rmonty - 09-13-2026, 09:30 PM - Forum: KC868-A16S - Replies (5)

I just purchased the A16S and was looking for a case for it if there is one.  I can also print one, but I am unable to find the board dimensions.  Can you point me in the right direction?

Thanks,
Ryan

Print this item

  Questions on CO16
Posted by: philj77 - 09-13-2026, 09:38 AM - Forum: CO16 - Replies (3)

Hi,

I have several questions on CO16 that I would like to use to replace my alarm system :-)

1/ Are there free GPIO that can be accessed (I need to add Wiegand input)
2/ Is there a socket to expand I2C bus ? 
3/ Which GPIO are used for KNX ? 
4/ With ESPHome can we send KNX messages from CO16
5/ Regarding the SIM7600E expansion, what is the wiring (I already have such a module and I would like to know if it will be compatible) 
6/ Any idea on how to generate sound for a remote loundspeaker (the one that tells alarm in service / door left open / ....) ?
7/ Is there any electronic between GPIO38/39 and RS485 socket ?

Regards
Philippe

Print this item