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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,130
» Latest member: cakhiatvccio
» Forum threads: 4,257
» Forum posts: 21,094

Full Statistics

Online Users
There are currently 160 online users.
» 0 Member(s) | 144 Guest(s)
Amazonbot, Applebot, Baidu, Bing, Bytespider, Crawl, Google, PetalBot, bot

Latest Threads
Update to latest esphome
Forum: KC868-A16
Last Post: admin
4 hours ago
» Replies: 6
» Views: 51
KC868-A16 ethernet work w...
Forum: KC868-A16
Last Post: admin
Yesterday, 11:43 PM
» Replies: 31
» Views: 26,065
B32M maximum voltage
Forum: DIY Project
Last Post: admin
Yesterday, 11:52 AM
» Replies: 4
» Views: 470
m16v2 energy meter - cali...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
10-02-2026, 11:50 AM
» Replies: 15
» Views: 2,390
oCBot: KC868-A6/A16 as a ...
Forum: DIY Project
Last Post: oCBot
10-01-2026, 01:32 PM
» Replies: 0
» Views: 160
N20 Energy RS485 Modbus P...
Forum: N20
Last Post: admin
10-01-2026, 12:43 PM
» Replies: 3
» Views: 964
Getting inconsistent/wron...
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: admin
10-01-2026, 12:40 PM
» Replies: 1
» Views: 42
KC868-HAv2 phantom press ...
Forum: KC868-HA /HA v2
Last Post: phrfpeixoto
09-29-2026, 01:57 AM
» Replies: 2
» Views: 1,518
KC868-A6 Analog inputs
Forum: KC868-A6
Last Post: Tomas4289
09-28-2026, 12:57 PM
» Replies: 2
» Views: 159
N60/N30/N20/N10 PC softwa...
Forum: N10
Last Post: admin
09-28-2026, 12:49 PM
» Replies: 13
» Views: 1,817

  Update to latest esphome
Posted by: Elgatoguiri - 10-02-2026, 07:10 PM - Forum: KC868-A16 - Replies (6)

Hey,

I've got a kinkony a16 board running esphome connected through ethernet cable to homeassistant.

[*]Installation method Home Assistant OS:
[*]Core 2025.9.4
[*]Supervisor 2026.09.3
[*]Operating System 16.2 

[*]ESPHome Device Builder:
 
Current version: 2025.9.2

[*]Everything works as expected but I need to update. I've updated esphome to 2026.9.1 without updating homeassistant and all the switches gone offline. I've done a restart then I just restored the previous system and all works again.

[*]Does the board require some special settings for esphome 2026.9.1 ?

Thanks!
[*]

Print this item

  oCBot: KC868-A6/A16 as a process controller for a small distillery (Ukraine)
Posted by: oCBot - 10-01-2026, 01:32 PM - Forum: DIY Project - No Replies

Hi everyone,

I'm Ihor from Ukraine. For the past months we've been building oCBot — firmware and a cloud workspace that turn the KC868-A6 and KC868-A16 into process controllers for farms, homesteads and craft production. Our first use case is distilling; the same core runs cheesemaking, fermentation and greenhouses.

What it does on the board today:

  • flashing from the browser in a couple of minutes, no toolchain;
  • DS18B20 probes, analog inputs, RS485/Modbus devices, relays and PWM outputs;
  • scenarios that drive a process stage by stage and only call the operator when a decision is needed;
  • operator panels assembled from buttons and gauges without code, opened from a phone over Wi-Fi or remotely through our cloud (optional);
  • several controllers working as one system, with a log of every run.

Something we learned on the A16 that may save someone a few evenings:
  • After an OTA update or a reset (RST button, EN, esp_restart) the Ethernet link flaps and never gets an IP — only Wi-Fi comes up. A full power cycle brings Ethernet back. As far as we can tell from the schematic, the LAN8720 nRST is on RST_NET, which is not wired to any ESP32 GPIO, so firmware cannot reset the PHY itself. A software retry (esp_eth_stop/start) did not help on our boards. Our workaround: use the Wi-Fi address after OTA, power-cycle for LAN.
  • There is no free DAC on the A16: GPIO25/26 are taken by the Ethernet RMII.
If I'm missing something about the PHY reset, I'd be glad to be corrected.

More details and the list of supported hardware: ocbot.the.in.ua/en/hardware

Questions and feedback welcome. If you run something similar on the A6/A16, I'd like to hear how you solved it.



Attached Files Thumbnail(s)
   
Image(s)
           
Print this item

  Getting inconsistent/wrong sensor readings from N20 over RS485 Modbus RTU
Posted by: Abubakar506 - 10-01-2026, 06:27 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (1)

Getting inconsistent/wrong sensor readings from N20 over RS485 Modbus RTU — hoping for some guidance.

Setup: N20 connected via RS485 to a Server16 running Home Assistant, using the Modbus RTU integration (baud 38400, matching the N20 Modbus protocol spec).

Issue: Reading the temperature register (offset 64, float, Chip 1) gives inconsistent results. N20's own display shows 33.7°C, but Home Assistant reads back 24.38°C — sometimes correct, sometimes way off (even negative values occasionally). Current/power/energy readings on the integer registers seem fine, it's mainly the float-type registers (temperature, power factor) that come back wrong or inconsistent.

I've already tried:
- Different byte-swap orders (byte swap gives correct values sometimes, but not consistently)
- Re-tightening A/B terminals

Questions:
1. Is there a known/confirmed byte order for the float registers (temp, PF) on N20? The protocol doc mentions "CDBA format" — is there a simpler way to interpret this?
2. Any guidance on termination/grounding recommendations for the RS485 bus on N20 and Server16 specifically?
3. Is there a minimum recommended polling interval to avoid read collisions?

Any help appreciated — thanks!



Attached Files Image(s)
   

.txt   code.txt (Size: 422 bytes / Downloads: 17)
Print this item

  KC868-A6 Analog inputs
Posted by: Tomas4289 - 09-28-2026, 11:42 AM - Forum: KC868-A6 - Replies (2)

Hi. What is the situation regarding the analog inputs on the KC868-A6? Are all four 0–5V, or are two 0–5V and two 4–20mA? The reason I ask is that the system block diagram labels two as 0–5V and two as 4–20mA inputs, whereas the wiring diagram shows all four as 0–5V inputs.        

Print this item

  Best way to read from N30
Posted by: ChrisNZ - 09-25-2026, 09:13 AM - Forum: N30 - Replies (3)

Hi all,

I am building a new home setup, with a Proxmox server hosting Home Assistant, Mosquitto, VictoriaMetrics and Grafana. I am about to install an N30 into my switchboard, and would like to collect data from it into VictoriaMetrics, as well as use the energy data for Home Assistant dashboards and automations. Ideally the energy data would be recorded into VictoriaMetrics at one second intervals, while Home Assistant should deal with a lower frequency of data, e.g. every 30 seconds.

What is the best (not necessarily simplest) way to do this? I can't find much documentation on the relative merits and functionality of the ESPHome vs KCS v3 firmware, how quickly the energy data updates, or which protocol would be best suited. Note the N30 will be connected by Ethernet, and I also have an Elfin EE11 RS485-Ethernet adapter if that's helpful. I'm also happy to install extra software (e.g. Telegraf) into Proxmox if that provides a better solution.

Print this item

  kc868-a6 analog input
Posted by: Diskstain - 09-21-2026, 11:22 PM - Forum: KC868-A6 - Replies (1)

How do you connect a thermistor to an analog input?

Print this item

  A32 pro tuya
Posted by: Saif Kitany - 09-21-2026, 08:27 PM - Forum: "KCS" v3 firmware - Replies (1)

Hello support team,


I have A32 pro, I connected to it ethernet cable.

The tuya part i set by wifi. It’s working.

When the wifi fail, so no more controlling by tuya. I see on the display of A32 pro “tuya offline”.

My question is:

Can I keep controlling A32 pro With tuya by ethernet, even if wifi broke?

Print this item

  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