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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,001
» Latest member: qbtobc
» Forum threads: 2,433
» Forum posts: 12,576

Full Statistics

Online Users
There are currently 33 online users.
» 0 Member(s) | 17 Guest(s)
Bing, Bytespider, Crawl, Google, Semrush, Yandex, bot

Latest Threads
AS ESPHome yaml for home ...
Forum: KinCony AS
Last Post: admin
7 hours ago
» Replies: 6
» Views: 319
KC868-A8 board esphome + ...
Forum: KC868-A8
Last Post: gnetinternet@gmail.com
Yesterday, 07:19 AM
» Replies: 10
» Views: 81
"KCS" v3.0.3 firmware for...
Forum: "KCS" firmware system
Last Post: admin
11-11-2024, 10:01 PM
» Replies: 0
» Views: 24
Kc868-a16 v1.6
Forum: DIY Project
Last Post: admin
11-11-2024, 11:17 AM
» Replies: 1
» Views: 21
KCS firmware - MQTT LWT?
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
11-11-2024, 11:15 AM
» Replies: 35
» Views: 3,344
"KCS" v2.2.7 firmware BIN...
Forum: "KCS" firmware system
Last Post: admin
11-11-2024, 11:09 AM
» Replies: 0
» Views: 58
Help whit update Cold CPU...
Forum: KC868-HxB series Smart Controller
Last Post: admin
11-11-2024, 08:36 AM
» Replies: 3
» Views: 25
Clarification on CT Clamp...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
11-11-2024, 12:40 AM
» Replies: 1
» Views: 25
KC868-AIO connecting to E...
Forum: KC868-AIO
Last Post: admin
11-11-2024, 12:37 AM
» Replies: 1
» Views: 25
Digital input 11.2v
Forum: KC868-A8
Last Post: admin
11-11-2024, 12:35 AM
» Replies: 1
» Views: 5

  KC868-A16+16R
Posted by: SmartHomeTinker - 12-22-2022, 11:57 AM - Forum: DIY Project - Replies (4)

Let me present here my KC868-A16+16R* model to control my household lightning
+16R in name stands basic KC868-A16 have grown with additional 16-channel relay board on top of existing outputs.

Reason why I needed this is I have in my house impact relays what turn lights on/off and to control those I have low voltage push buttons what have led indicator to present light state. 
KC868-A16 digital inputs are reserved for button inputs
KC868-A16 Mosfet outputs are reserved to present output state in buttons
Additional 16 relays are to control impact relays as those require 12-24Vac 

Also I have here and there some smart lights what need to be constant AC, so for those channels impact relay is always in line powered positions and lights are controlled over the air, but for traditional dummy lights impact relays are controlled with that additional board relays. There's also failsafe that is Home Assistant or LAN is unreachable all lights are controlled with on/off function like traditional lights.

I'm running ESPhome in board  

16-channel relay board is basic 12Vdc voltage board what can be found everywhere like from Amazon or Aliexpress. To able control relays I had to add pcf8575 16 channel I2C IO extender card to relay board and wire it to KC868-A16 board I2C pins. Also couple of other modifications needed to get board fitted to same enclosure than  KC868-A16. Those were to move large electrolytic capacitor, power connector and pins headers to bottom side of circuit board. note in a picture power connector is still in original place
Also KC868-A16 enclosure got some modification, like trimming a skirt, adding slot for the board and slots to reach connector screws from top. Need to add some finishing touch to enclosure for sure

she might not won beauty contest but she rock!


Failsafe function video https://drive.google.com/file/d/17PmpGSY...DObO1sK4g8

edit: thank you for uploading images.

Print this item

  Uploading to KC868-A6
Posted by: Vulcan - 12-21-2022, 04:32 PM - Forum: KC868-A6 - Replies (5)

I am embarrassed to ask this and have flashed many ESP32s with far more complicated code but I am just trying to load one of the demo sketches provided by KinCony just to test my 868-A6. 
 I get this:

Connecting.....Traceback (most recent call last):
  File "esptool.py", line 34, in <module>
  File "esptool/__init__.py", line 1004, in _main
  File "esptool/__init__.py", line 790, in main
  File "esptool/loader.py", line 1108, in flash_set_parameters
  File "esptool/loader.py", line 406, in check_command
  File "esptool/loader.py", line 375, in command
  File "esptool/loader.py", line 307, in read
StopIteration
[94734] Failed to execute script 'esptool' due to unhandled exception!

I am using "cu.usbserial 14620" drivers and they work with my ESP32's. Can anyone tell me what might be wrong? 
The script is: 
Blink led on PIN0
by Mischianti Renzo <http://www.mischianti.org>

I have a lot to learn Smile


/*
Blink led on PIN0
by Mischianti Renzo <http://www.mischianti.org>
https://www.mischianti.org/2019/01/02/pc...asy-usage/
*/
#include "Arduino.h"
#include "PCF8574.h"
// Set i2c address
PCF8574 pcf8574(0x24,4,15);
void setup()
{
Serial.begin(115200);
//delay(1000);
// Set pinMode to OUTPUT
pcf8574.pinMode(P0, OUTPUT);
pcf8574.pinMode(P1, OUTPUT);
pcf8574.pinMode(P2, OUTPUT);
pcf8574.pinMode(P3, OUTPUT);
pcf8574.pinMode(P4, OUTPUT);
pcf8574.pinMode(P5, OUTPUT);
pcf8574.digitalWrite(P0, HIGH);
pcf8574.digitalWrite(P1, HIGH);
pcf8574.digitalWrite(P2, HIGH);
pcf8574.digitalWrite(P3, HIGH);
pcf8574.digitalWrite(P4, HIGH);
pcf8574.digitalWrite(P5, HIGH);
Serial.print("Init pcf8574...");
if (pcf8574.begin()){
Serial.println("OK");
}else{
Serial.println("KO");
}
}
void loop()
{
delay(300);
pcf8574.digitalWrite(P0, LOW);
delay(300);
pcf8574.digitalWrite(P1, LOW);
delay(300);
pcf8574.digitalWrite(P2, LOW);
delay(300);
pcf8574.digitalWrite(P3, LOW);
delay(300);
pcf8574.digitalWrite(P4, LOW);
delay(300);
pcf8574.digitalWrite(P5, LOW);
delay(300);
}

Print this item

  How can the power be calculated for the SMART control system
Posted by: engmohades - 12-20-2022, 05:31 PM - Forum: DIY Project - Replies (3)

How can the power be calculated for the SMART control system, considering the use of a 12 volt DC source for the following components, all of which operate on 12 volts DC and 
HOW calculat the total current ?

number  4  of KC868-E16V2            ( total 64relay )
number  2  ofof H32B PRO              ( total 64relay )
number  2 switch module boards      ( total 64 switch ) 
number  3 contactor 45A 12v dc )

Print this item

  GPIO
Posted by: Serci - 12-20-2022, 02:40 PM - Forum: KC868-AG / AG Pro / AG8 - Replies (3)

I tryed to use this configuration for tasmota

https://templates.blakadder.com/kincony_...3e5fOFiJP6

But it does not work for me

I did configure a IR receiver on GPIO 32 and it seems to receive something when I press a button on my remote control.
However it also receive with an UNKNOWN protocol when I do not press anything.

I also have a RF remote control, and I cannot receive anything from this one.

Is the GPIO32 the one for IR Receive ?
What is the GPIO Number for RF send and RF receive ?

Print this item

  Adding wifi setup button with Homespan
Posted by: leotordo - 12-20-2022, 10:09 AM - Forum: Home automation training courses - Replies (3)

Hello everybody.
I'm new on Homekit/homespan
Is it possible to add a button for launch HomeSpan’s temporary WiFi network and the related procedure with only one single press and release action?
Thanks
Stefano

Print this item

  Libraries
Posted by: Vulcan - 12-20-2022, 04:22 AM - Forum: KC868-A6 - Replies (16)

I am a newbie and learning.

When it comes to Arduino libraries for the KC868-A6 such as PCF8574.h, I struggle to find the correct one for the board. Can anyone tell me which library I should be loading? I just got the KC868 and just want to get a few things loaded and running as part of my self-training. I have been working with ESP32 for a few months. Any help would be greatly appreciated.

Print this item

  KC868-A8, Settimino, connection to Siemens PLC
Posted by: vooszoo - 12-19-2022, 10:01 PM - Forum: Development - Replies (3)

Hello,
I'm trying to connect this board to Siemens PLC directly, using S7 Protocol with no luck. Have anyone tryed this?
There is another option using TCP Server-client connection, will try this later.
I'm looking for direct connection to PLC without MQTT broker and others.

Print this item

  microPython
Posted by: Thor - 12-17-2022, 06:41 PM - Forum: KC868-A6 - Replies (1)

Hello

how may i install micropython on the board ? 
All the precompiled image don't run ?

Yves

Print this item

Bug How to connect DS18B20 in KC868-A64?
Posted by: maro1977pl - 12-15-2022, 05:45 PM - Forum: KC868-A64 - Replies (3)

Hi, how to read temperature from DS18B20 in KC868-A64 using ESPHome?
Please show an example with a pin?



# Example configuration entry
dallas:
  - pin: ???????????????????????????????

# Individual sensors
sensor:
  - platform: dallas
    address: 0x1C0000031EDD2A28
    name: "Living Room Temperature"

Print this item

  KC868-H32BS V1.50sp new firmware update
Posted by: admin - 12-14-2022, 07:18 AM - Forum: News - Replies (6)

Update content:
1. support KC868-HA RS485 button adapter.
2. support "interlock" function for "output", that can use for curtain motor, protect your motor. some "interlock" output will never ON at the same time.
   

.zip   H32BS_V150SP_20221214.zip (Size: 56.28 KB / Downloads: 208)

Print this item