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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,233
» Latest member: duracabs321
» Forum threads: 4,097
» Forum posts: 20,546

Full Statistics

Online Users
There are currently 60 online users.
» 0 Member(s) | 46 Guest(s)
Amazonbot, Baidu, Mediapartners-Google, PetalBot, Semrush, bot

Latest Threads
A24 configure yaml for ES...
Forum: KinCony A24
Last Post: admin
6 hours ago
» Replies: 29
» Views: 8,523
KCS v3 - Remote modificat...
Forum: KC868-A16
Last Post: admin
6 hours ago
» Replies: 8
» Views: 232
KinCony Pi5M8 – Raspberry...
Forum: News
Last Post: admin
Yesterday, 12:00 AM
» Replies: 0
» Views: 24
Need Advice for New 3-Flo...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
06-19-2026, 02:58 AM
» Replies: 1
» Views: 28
N series Energy Meter for...
Forum: N60
Last Post: admin
06-18-2026, 12:49 PM
» Replies: 2
» Views: 120
Request for free sample
Forum: Apply for free sample product
Last Post: oscarsoler
06-18-2026, 09:02 AM
» Replies: 0
» Views: 16
KCS v2 relay state after ...
Forum: "KCS" v2 firmware system
Last Post: admin
06-18-2026, 04:33 AM
» Replies: 1
» Views: 40
Multiple phase L1,L2,L3
Forum: N20
Last Post: admin
06-18-2026, 02:35 AM
» Replies: 7
» Views: 387
Request for 230VAC LEDs /...
Forum: Development
Last Post: admin
06-17-2026, 11:09 PM
» Replies: 5
» Views: 85
KC868-a6 2 analog output...
Forum: KC868-A6
Last Post: admin
06-17-2026, 01:21 PM
» Replies: 7
» Views: 220

  DM4 ESPHome yaml for home assistant with tuya
Posted by: pavel.hajn - 05-30-2026, 01:35 PM - Forum: Getting Started with ESPHome and Home Assistant - Replies (1)

Hello,
is possible to use DM4 with ESPHome and Tuya ? B8M works fine, but DM4 has some trouble in tuya_wifi_mcu_light_output.cpp

Here is the log:
Reading CMake configuration...
Dependency Graph
|-- noise-c @ 0.1.11
|-- Tuya_WiFi_MCU_SDK @ 0.0.3+sha.66c750a
Compiling .pioenvs/kin-dm4/src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp.o
Compiling .pioenvs/kin-dm4/src/esphome/components/uart/uart_component_esp_idf.cpp.o
Compiling .pioenvs/kin-dm4/src/esphome/components/uart/uart_debugger.cpp.o
Compiling .pioenvs/kin-dm4/src/esphome/components/watchdog/watchdog.cpp.o
Compiling .pioenvs/kin-dm4/src/esphome/components/web_server/list_entities.cpp.o
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp: In member function 'virtual void esphome::tuya_wifi_mcu::TuyaWifiMcuLightOutput:Confusedetup()':
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp:10:28: error: 'class esphome::light::LightState' has no member named 'add_new_remote_values_callback'
  10 |        this->bind_light_->add_new_remote_values_callback([this]() {
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp: In lambda function:
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp:15:47: warning: 'float esphome::gamma_uncorrect(float, float)' is deprecated: Use LightState::gamma_uncorrect_lut() instead. Removed in 2026.9.0. [-Wdeprecated-declarations]
  15 |          this->tuya_bright_ = gamma_uncorrect(bright, this->bind_light_->get_gamma_correct()) * 100;
      |                                ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/esphome/components/i2c/i2c.h:5,
                from src/esphome/components/ads1115/ads1115.h:3,
                from src/esphome.h:3,
                from src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.h:3,
                from src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp:1:
src/esphome/core/helpers.h:1597:7: note: declared here
1597 | float gamma_uncorrect(float value, float gamma);
      |      ^~~~~~~~~~~~~~~
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp: In member function 'virtual void esphome::tuya_wifi_mcu::TuyaWifiMcuLightOutput::process_dp_data(const unsigned char*, short unsigned int)':
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp:33:47: warning: 'float esphome::gamma_correct(float, float)' is deprecated: Use LightState::gamma_correct_lut() instead. Removed in 2026.9.0. [-Wdeprecated-declarations]
  33 |        this->output_->set_level(gamma_correct(bright, this->bind_light_->get_gamma_correct()));
      |                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/esphome/core/helpers.h:1593:7: note: declared here
1593 | float gamma_correct(float value, float gamma);
      |      ^~~~~~~~~~~~~
src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp:35:47: warning: 'float esphome::gamma_correct(float, float)' is deprecated: Use LightState::gamma_correct_lut() instead. Removed in 2026.9.0. [-Wdeprecated-declarations]
  35 |        this->output_->set_level(gamma_correct(bright, 2.8));
      |                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~
src/esphome/core/helpers.h:1593:7: note: declared here
1593 | float gamma_correct(float value, float gamma);
      |      ^~~~~~~~~~~~~
Compiling .pioenvs/kin-dm4/src/esphome/components/web_server/web_server.cpp.o
Compiling .pioenvs/kin-dm4/src/esphome/components/web_server_base/web_server_base.cpp.o
*** [.pioenvs/kin-dm4/src/esphome/components/tuya_wifi_mcu/light/tuya_wifi_mcu_light_output.cpp.o] Error 1
========================= [FAILED] Took 93.00 seconds =========================

Kind Regards
Pavel Hajn

Print this item

  KC868-A16v3 integration with 5V sensors and loads ?
Posted by: Alx - 05-29-2026, 12:31 PM - Forum: KC868-A series and Uair Smart Controller - Replies (2)

Hello,

I am planning a project based on the KC868-A16 v3.1 (REV:1.6) board. My peripheral types include 5V digital sensors (TTL/CMOS) and low-power 5V loads.

Could you please help me with the following technical questions:

  1. LO0 and LO1 with 5V: The official documentation specifies 12V/24V for the LO0 and LO1 power supply. Is it safe and functionally possible to apply a 5V external voltage to these specific channels instead?
  2. Onboard 5V VCC Usage for LO0 and LO1: Can I use the internal 5V VCC rail from the board to power the LO0 and LO1 loads? The total load current will be under 1A, which is within the XL1509-5 regulator capacity. Are there any internal limitations preventing this?
  3. 16 Digital Inputs with 5V logic: How can I modify all 16 Digital Inputs (INPUT1 and INPUT2) to safely and accurately read active 5V digital signals (TTL/CMOS)? What is the exact hardware modification procedure for the PCB?

Thank you.

Print this item

  F24 work with TS RS485 sensor
Posted by: admin - 05-29-2026, 04:15 AM - Forum: F24 - No Replies

Here is sample, KinCony F24 connect with one TS RS485 sensor, you can connect with multi TS sensors.
   

for example:

set F24 RS485 protocol = "Modbus-RTU", baud rate= 9600bps. the RS485 address should be different with TS' RS485 address.
   

TS sensor default address is 1, so set in "SENSOR" webpage:
   
   

Then it will work in monitor webpage:
   

Print this item

  KC868-A16v3 schematic
Posted by: Alx - 05-28-2026, 11:25 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hello!

Recently, I bought a KC868-A16v3.
Could you please confirm whether this schematic is valid for my KC868-A16v3?

https://www.kincony.com/download/KC868-A...ematic.pdf

Thank you in advance for your prompt reply.

Print this item

  Weak wifi signal/range
Posted by: Nicodomo - 05-27-2026, 07:50 PM - Forum: KC868-A16v3 - Replies (3)

Hello, 

Glad to join the forum, there are a lot of interesting things here.

I just received my Kincony A16v3 board equipped with the display. I planned to run it directly under ESPHome. 
I flashed my YAML file, but upon reboot, it wouldn't get an IP address. I finally found the issue: it worked when I placed it right next to the Wi-Fi router. 

At best, I get a signal at 2.4 meters away. It's as if the built-in antenna isn't working. Is this normal? 

What kind of performance/behavior are you experiencing?

Thanks for your answers!

Print this item

  KC868-A16v3 PCB layout CAD file
Posted by: admin - 05-27-2026, 12:59 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

KC868-A16v3 PCB layout CAD file

.zip   KC868-A16-V3.1_DWG.zip (Size: 3.27 MB / Downloads: 85)

Print this item

  how to use KC868-A8 with PLC ladder diagram using OpenPLC video tour
Posted by: admin - 05-26-2026, 11:20 AM - Forum: KC868-A8 - No Replies

Print this item

  Request for firmware H32
Posted by: belar - 05-26-2026, 10:31 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

I have two of your controllers that need to be restored. Please send me the bootloaders and the latest stable firmware versions.

1. H32B rev 7.2 controller
MCU: AT32F403AVGT7
Need: Bootloader + latest firmware

2. H32 rev 7.1 controller
MCU: STM32F103VCTB
Need: Bootloader + original firmware for KC868-H32

Print this item

  automations yaml for read analog value print on SSD1306 OLED
Posted by: admin - 05-25-2026, 11:22 PM - Forum: Pi5R16 - No Replies

here is automations.yaml file show analog data on SSD1306 OLED every 5 seconds.

Code:
- id: ads1115_ssd1306_display
  alias: "ADS1115 to SSD1306 (A1-A4)"
  trigger:
    - platform: time_pattern
      seconds: "/5"
  action:
    - service: ssd1306_i2c.print_text
      data:
        x: 0
        y: 0
        clear: true
        font_size: 12
        text: "A1: {{ states('sensor.a1') | float(0) | round(3) }} V\nA2: {{ states('sensor.a2') | float(0) | round(3) }} V\nA3: {{ states('sensor.a3') | float(0) | round(3) }} mA\nA4: {{ states('sensor.a4') | float(0) | round(3) }} mA"

Print this item

  automations yaml for read analog value print on SSD1306 OLED
Posted by: admin - 05-25-2026, 11:22 PM - Forum: Pi5R8 - No Replies

here is automations.yaml file show analog data on SSD1306 OLED every 5 seconds.

Code:
- id: ads1115_ssd1306_display
  alias: "ADS1115 to SSD1306 (A1-A4)"
  trigger:
    - platform: time_pattern
      seconds: "/5"
  action:
    - service: ssd1306_i2c.print_text
      data:
        x: 0
        y: 0
        clear: true
        font_size: 12
        text: "A1: {{ states('sensor.a1') | float(0) | round(3) }} V\nA2: {{ states('sensor.a2') | float(0) | round(3) }} V\nA3: {{ states('sensor.a3') | float(0) | round(3) }} mA\nA4: {{ states('sensor.a4') | float(0) | round(3) }} mA"

Print this item