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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,303
» Latest member: Reginaldo
» Forum threads: 4,287
» Forum posts: 21,218

Full Statistics

Online Users
There are currently 357 online users.
» 1 Member(s) | 338 Guest(s)
Applebot, Baidu, Bing, Bytespider, Google, PetalBot, Semrush, bot, andrzejbiardzki

Latest Threads
Which KinCony board for a...
Forum: DIY Project
Last Post: admin
Yesterday, 06:26 AM
» Replies: 3
» Views: 39
KC868-AP – max current pe...
Forum: KC868-AP / ADR
Last Post: admin
10-20-2026, 11:50 AM
» Replies: 1
» Views: 16
KC868-HAv2: TS sensor on ...
Forum: KC868-HA /HA v2
Last Post: swisstmack25
10-20-2026, 07:00 AM
» Replies: 4
» Views: 45
MT4v2 Driver Board Web To...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:37 AM
» Replies: 0
» Views: 13
ARM CPU Modbus communicat...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:36 AM
» Replies: 0
» Views: 17
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:35 AM
» Replies: 0
» Views: 18
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:33 AM
» Replies: 0
» Views: 14
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:32 AM
» Replies: 0
» Views: 17
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:31 AM
» Replies: 0
» Views: 15
[arduino code examples fo...
Forum: MT4v2
Last Post: admin
10-20-2026, 03:30 AM
» Replies: 0
» Views: 18

  KC868-a16 flash sync error
Posted by: rodhamesh - 12-13-2024, 12:03 AM - Forum: DIY Project - Replies (8)

Trying to flash KC868-a16, the flash worked fine the first few days but now its giving error!

test offset :  0 0x0
case ok
......................................................................................................................................................................................................................................................................................
.
Too many lines likes this and then this message!
......................................................................................................................................................................................................................................................................................
[2024-12-12 15:39:39,302][ESP8266Loader_spi[1]][espDownloader.py][line:585][ERROR]: Chip sync error
[2024-12-12 15:39:39,302][ESP8266Loader_spi[1]][espDownloader.py][line:770][ERROR]: ESP32 Chip sync error esp_sync_blocking.
no log file output ...

Print this item

Bug M16 SHT31 sensor disconnected
Posted by: bsarra - 12-12-2024, 09:16 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (4)

I've identified an issue with my M16 board whereby the SH31 sensor becomes disconnected after the setup() function and can no longer be read.  I've tried a number of variations on the bus settings, but there seems to be no effect.  The relevant setup() code is this:

PHP Code:
    Wire.begin(4, 5);
//    Wire.setClock(100000);
    
Wire.setClock(10000);
    
Wire.setTimeOut(1000);
    
sht.begin();
    
sht.read();
    
temperature = sht.getFahrenheit();
    
humidity = sht.getHumidity();
    
int error = sht.getError();
    if (
error != 0) {
        
uint16_t stat = sht.readStatus();
        
ESP_LOGW("kincony", "Temperature sensor Error status: 0x%04x, read status: 0x%04x",
                
error, stat);
        
logSHT31BitStatus(stat);
    } 

This works, however, once inside the loop(), attempts to read the SHT31 fail as disconnected and cannot be reset, even using the HARD option.

PHP Code:
        if (sht.isConnected()) {
            
sht.read();
            
temperature = sht.getFahrenheit();
            
humidity = sht.getHumidity();

            
int error = sht.getError();
            if (
error != 0) {
                
uint16_t stat = sht.readStatus();
                
ESP_LOGW("kincony", "Temperature sensor Error status: 0x%04x, read status: 0x%04x",
                        
error, stat);
                
logSHT31BitStatus(stat);
            }
        } else {
            
int error = sht.getError();
            
ESP_LOGE("kincony", "Temperature sensor connection failure, HARD resetting...");
            
ESP_LOGW("kincony", "Temperature sensor Error status: 0x%04x", error);
            
sht.reset(true);
        } 

Could this be a conflict with the U8G2?

Full code is available via Github: https://github.com/LouPaloma/KinconyM16-...ter/Source

Print this item

Brick C++ application for KC868_M16v2
Posted by: bsarra - 12-12-2024, 09:02 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (1)

I've made available via GitHub project a C++ project for the M16 board.  This application will read CT sensors on the Kincony KC868_M16v2 board and calculate power usage. It allows per sensor configuration and sensor correction algorithms. Periodic MQTT messages are emitted with various readings and configurations can be set via MQTT messages and saved into non-volatile memory.   It also includes an STL to allow you to print a rudimentary cover for the board which will allow it to be surface mounted via screws.

The code is too large to post here, along with the numerous class files, so I'd direct you to Github:  https://github.com/LouPaloma/KinconyM16-PUBLIC

The code is marked with a number of TODO/FIXME, so patches and pull requests are welcome, although I have limited ability to test since my own unit has been "deployed".

(Also, I have identified an issue with the SHT31 sensor, but I will open a separate thread for that.)

Print this item

  Check about connections
Posted by: Bergoglio - 12-12-2024, 06:16 PM - Forum: KC868-A4S - Replies (2)

Good afternoon,

I want to control 2 different devices fans with 0-10v capabilities of one KC868-A4S but I'm not sure about wiring.

For the first fan from AFL Motors (file 122) these are the connections that I plan :
 - 0-10 VDC yellow on fan with AO1 on KC868-A4S
 - GND blue on fan with GND after AO1 on KC868-A4S

for the second fan from Aermec (file 22) these are the connections that I plan :
 - 0-10V IN V2 blue on Aermec with AO2 on KC868-A4S
 - 0V V1 grey on Aermec with GND after AO1 on KC868-A4S

Am I right or wrong ? If I'm wrong, what are the right connections ?

Thanks



Attached Files
.pdf   122.pdf (Size: 122.57 KB / Downloads: 844)
.pdf   22.pdf (Size: 226.52 KB / Downloads: 725)
Print this item

  ESP32 S3 set up issue
Posted by: omarzamudio - 12-12-2024, 05:35 PM - Forum: Extender module - Replies (10)

Hello,
In a previous email I mentioned that I am using the SIM 7600 module with the ESP32 S3 WROOM 1U, however I can't use the serial monitor in order to receive information (I can't see data), I would like to know if you have any advice for the ESP32 S3 set up in Arduino firmware. See my below set up in tools menu:

[Image: 0?ui=2&ik=2d79881756&attid=0.1&permmsgid...j58g7e0&zw]

I followed you recommendation with ''USB CDC On Boot'' = ENABLE, and now I have below information in the Serial Monitor:

ELF file SHA256: 587cb4fa5
E (159) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
E (167) esp_core_dump_elf: Elf write init failed!
E (172) esp_core_dump_common: Core dump write failed with error=-1
Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40376f0d
SPIWP:0xee
modeBig GrinIO, clock div:1
load:0x3fce2810,len:0xfdc
load:0x403c8700,len:0x4
load:0x403c8704,len:0xabc
load:0x403cb700,len:0x2d40
entry 0x403c8890
E (113) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode
E (116) spi_flash: Detected size(8192k) smaller than the size in the binary image header(16384k). Probe failed.
assert failed: __esp_system_init_fn_init_flash startup_funcs.c:95 (flash_ret == ESP_OK)
Backtrace: 0x4037654e:0x3fceb120 0x4037c65d:0x3fceb140 0x403830bd:0x3fceb160 0x4200a903:0x3fceb290 0x4200bd8b:0x3fceb2b0 0x4200bdc5:0x3fceb2d0 0x403768f5:0x3fceb300 0x403cc974:0x3fceb340 0x403ccd39:0x3fceb380 0x403c88fd:0x3fceb4b0 0x40045c01:0x3fceb570 0x40043ab6:0x3fceb6f0 0x40034c45:0x3fceb710


I think I need to change something else in the Tool config but I'm not sure.

Thanks.

Print this item

  KC868-A8 Switch
Posted by: glorifiedg - 12-12-2024, 01:30 PM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hi!
I purchased some KC868-A8 to install in my new home and I'm now testing them. 

I flashed one with ESPHome but the switches don't change relay state unless I program an automation in Home Assistant to do that (if input1 on/off change alternate relay state). Is it there anyway to configure this without HA? Should I use another firmware for this?

I also like to know if there any other device that can work with dimmable leds.

Print this item

Photo no access to kcs
Posted by: philippe - 12-12-2024, 10:43 AM - Forum: KC868-A8 - Replies (5)

Hi,
I received a new A8 board, downloaded KCS with  success, off/on the board. But I cant see the board on my net. Even with your tool udp scan. The board is on the same switch than my PC.
Udp scan can see my two other kincony board. I tried both kcs V2, the V1..no luck.

No problem with Tasmota, I have a wifi access to the board (but not via wire).


I remember , installing them last year was not esay for me, spending too much time.
I have 110 ish IP address on my Lan, many vendors, so far switches from shelly ,dingtian.
I added kincony for the 1wire support. But man, am I stupid for having so much problem with the K boards boards or is my english broken? I hope so and that you will point me to the solution.
Would be so easy for me, to have new board coming with kcs de facto.

Also, I tried to integarte it on HA. I thought it would be easy like the videos show : just copy and paste! . No way, I am fighting with the yaml syntax . I know I should learn the yaml syntax. But you could simplify my job by posting yaml files not text ( or it is hidden on the website?) . Yes I am dumb with yaml. But for newbies like me, we would be more enclined to buy kincony stuff.

Question:
When kcs starts for the first time, is dhcp activated? on wired lan first , right?


I posted my request by email, as you suggest when I contacted via ali. You reply that I should go to the forum. So please for new buyers, on ali , suggest to contact you on the forum.

Thanks



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

  connecting the 868-A6 to the Raspberry via a cable
Posted by: Michal.T - 12-12-2024, 09:24 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

What are the options for connecting an A6 to a Raspberry Pi 5 with a cable, followed by integration with Home Assistant?

Print this item

  433MHz sender and recievers
Posted by: Fleetz - 12-11-2024, 09:30 PM - Forum: KC868-A4 - Replies (1)

I already have these 433MHz sender and reciever modules are these suitable for the KC-868-A4?

Or are the sender and recievers that Kincony sell designed specifically to work only on the KC-868-A4 board?



Attached Files Thumbnail(s)
   
Print this item

  B16M Digital Input
Posted by: Dutchkiwi - 12-11-2024, 09:16 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - Replies (1)

I'm using a B16M to control a home automation project. It's using a 24V power supply and the B16M is switching a set of 24V relays that switch the 230V mains.
I can switch the relays via Home Assistant and via the ESPHome dashboard but I can't switch the relays using the digital inputs. If I ground a digital input pin I can see the state change on the Home Assistant and ESPHome dashboads but the relay dose not operate.
I am using the B16M ESPHome yaml for home assistant code from the forum which I haven't changed.
Regards



Attached Files Thumbnail(s)
   
Print this item