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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,788
» Latest member: pipingmaterial
» Forum threads: 3,846
» Forum posts: 19,677

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 37 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bing, Google, PetalBot, bot

Latest Threads
Channels always have curr...
Forum: KC868-AP / ADR
Last Post: MariusM
2 hours ago
» Replies: 12
» Views: 5,920
AS-ESP32-S3 won't initial...
Forum: Getting Started with ESPHome and Home Assistant
Last Post: scottq
8 hours ago
» Replies: 4
» Views: 32
SHT30 temp/humidity i2c s...
Forum: B8
Last Post: admin
Today, 06:01 AM
» Replies: 4
» Views: 20
A24 configure yaml for ES...
Forum: KinCony A24
Last Post: admin
Yesterday, 11:47 PM
» Replies: 21
» Views: 6,705
N60 N30 N20 N10 ARM CPU f...
Forum: N60
Last Post: admin
Yesterday, 11:44 PM
» Replies: 2
» Views: 85
Kincony KC868-A16 (ESP32)...
Forum: KC868-A16
Last Post: admin
Yesterday, 01:55 PM
» Replies: 3
» Views: 37
Advice for DIY underfloor...
Forum: DIY Project
Last Post: admin
Yesterday, 01:53 PM
» Replies: 3
» Views: 34
E16V3 - Dimensions compat...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
Yesterday, 11:09 AM
» Replies: 3
» Views: 24
ESP32 Smart Controller – ...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 11:07 AM
» Replies: 3
» Views: 20
E16v3 - CE
Forum: Suggestions and feedback on KinCony's products
Last Post: ldebacker
Yesterday, 09:52 AM
» Replies: 6
» Views: 215

  KC868-A16 integrate to Node-Red for alexa voice control
Posted by: admin - 09-14-2022, 11:19 AM - Forum: KC868-A16 - Replies (9)


1. download web server firmware for KC868-A16
https://www.kincony.com/forum/showthread.php?tid=2240

2. register https://alexa-node-red.bm.hardill.me.uk
   

3. create device on "node-red-contrib-alexa-home-skill" skill website
   

4. add alexa skill on Node-Red
   

5. add "alexa" and "http request" node on Node-Red
   

light1-on http command is: http://192.168.1.60/1/on
light1-off http command is: http://192.168.1.60/1/off

just replace the KC868-A16's IP address with yours.

Node-Red follow download:

.zip   KC868-A16-Node-Red-Alexa-16switch.zip (Size: 2.03 KB / Downloads: 698)

6. add skill (Node-Red) on Alexa phone app
   

7. Discovery for new device
   

Print this item

  [Arduino source code for KC868-A4]-21 Homekit with relay &DS18B20 &contact sensor
Posted by: admin - 09-14-2022, 05:19 AM - Forum: KC868-A4 - Replies (4)


This is a demo source code KC868-A4 with 10pcs of DS18B20 temperature sensor and 4 relay and 4 dry contact sensor.

.zip   homekit-temp-dry_contact-4DO.zip (Size: 630.68 KB / Downloads: 1632)
   
[Image: attachment.php?aid=1331]

Print this item

  [Arduino source code for KC868-A4]-20 Apple Homekit 4pcs motion sensor
Posted by: admin - 09-14-2022, 05:15 AM - Forum: KC868-A4 - No Replies


.zip   homekit-motion-A4.zip (Size: 3.8 KB / Downloads: 670)

Print this item

  [Arduino source code for KC868-A4]-19 Apple Homekit with 10pcs DS18B20
Posted by: admin - 09-14-2022, 05:14 AM - Forum: KC868-A4 - No Replies

arduino demo source code for KC868-A4 work with Apple homekit with 10pcs of DS18B20 temperature sensors by one wire.

.zip   homekit-10unit-ds18b20.zip (Size: 6.03 KB / Downloads: 657)

Print this item

  KC868-A6 Outputs
Posted by: petez69 - 09-14-2022, 03:25 AM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Hi Kincony

I have a relayboard that turns relay on when pin goes to GND.  I see A16 digital outputs go high when turned on....Can I invert this to make actuve GND ?

Thankyou..Peter

Print this item

  [Arduino source code for KC868-A4]-18 one GPIO with multiple DS18B20 sensor
Posted by: admin - 09-14-2022, 01:49 AM - Forum: KC868-A4 - Replies (4)

these 10pcs of DS18B20 temperature sensors work with one ESP32 GPIO. program will print 10 sensor's value at the same time.
   
   
   

Code:
// Include the libraries we need
#include <OneWire.h>
#include <DallasTemperature.h>

// Data wire is plugged into port 2 on the Arduino
#define ONE_WIRE_BUS 13
#define TEMPERATURE_PRECISION 9

// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

// arrays to hold device addresses
DeviceAddress sensor1,sensor2,sensor3,sensor4,sensor5,sensor6,sensor7,sensor8,sensor9,sensor10;


void setup(void)
{
  // start serial port
  Serial.begin(115200);

  // Start up the library
  sensors.begin();

  // locate devices on the bus
  Serial.print("Locating devices...");
  Serial.print("Found ");
  Serial.print(sensors.getDeviceCount(), DEC);
  Serial.println(" devices.");

  //
  // method 1: by index
  if (!sensors.getAddress(sensor1, 0)) Serial.println("Unable to find address for Device 0");
  if (!sensors.getAddress(sensor2, 1)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor3, 2)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor4, 3)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor5, 4)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor6, 5)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor7, 6)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor8, 7)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor9, 8)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor10, 9)) Serial.println("Unable to find address for Device 1");


  // set the resolution to 9 bit per device
  sensors.setResolution(sensor1, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor2, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor3, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor4, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor5, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor6, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor7, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor8, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor9, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor10, TEMPERATURE_PRECISION);
}

void loop(void)
{
  // call sensors.requestTemperatures() to issue a global temperature
  // request to all devices on the bus
// sensors.requestTemperatures();
  float tempC1 = sensors.getTempC(sensor1);
  float tempC2 = sensors.getTempC(sensor2);
  float tempC3 = sensors.getTempC(sensor3);
  float tempC4 = sensors.getTempC(sensor4);
  float tempC5 = sensors.getTempC(sensor5);
  float tempC6 = sensors.getTempC(sensor6);
  float tempC7 = sensors.getTempC(sensor7);
  float tempC8 = sensors.getTempC(sensor8);
  float tempC9 = sensors.getTempC(sensor9);
  float tempC10 = sensors.getTempC(sensor10);   
  Serial.println(tempC1);
  Serial.println(tempC2);
  Serial.println(tempC3);
  Serial.println(tempC4);
  Serial.println(tempC5);
  Serial.println(tempC6);
  Serial.println(tempC7);
  Serial.println(tempC8);
  Serial.println(tempC9);
  Serial.println(tempC10);
  Serial.println("*************");
 
}

Print this item

Big Grin [Arduino source code for KC868-A4]-17 homekit work with 4 relay and 4 switch buttons
Posted by: admin - 09-13-2022, 02:51 AM - Forum: KC868-A4 - Replies (8)

this arduino source code for KC868-A4 work with 4 relay and 4 momentary switch buttons via Apple homekit app. you can download the BIN firmware directly without chanage any code. Or you can open arduino source code project to compile.
here are KC868-A4 board with 6 gang switch panel (actually I have used 4 buttons) and iPhoneXR.
   

this is demo video:
   

here is source code:

.zip   RealPushButtons-4DO-4DI.zip (Size: 624.09 KB / Downloads: 854)
this is firmware and source code, BIN file included.

if you want to use source code, you should do:
1. install ESP32 V2 board in arduino IDE.
   
2. install "homespan" library for arduino.
   

after you downloaded firmware, first time to use, need type "W" in serial monitor, chose number of wifi SSID, input password. 
   
   
   
   

then use your iPhone or iPad to pair KC868-A4.
                                       

Print this item

  How to return my password account application smart home
Posted by: engmohades - 09-09-2022, 07:16 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

I can not login my account application smart home because i don't remember my password .

how  can i return my password account smart home and how to change it?

Print this item

Photo kincony_kc-H868B_relay32B HomeAssistant Mqtt Not Working After 2022.12.0 Update
Posted by: Shemi - 09-08-2022, 01:27 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi,
I updated HOME ASSISTANT to the latest version and now I get an error message. 
The controller is an H32B model, And the connection is via MQTT.
I can't connect to the controller and nothing is responding, through the HOMEASSISTANT interface.
Before the update I could activate all the relays and see the state of the inputs.


The controller itself works and I can enter the settings through the WEB interface.

This is the message I see in the HOME ASSISTANT interface:
https://im.ge/i/Screenshot-2[img]Manually configured MQTT switch(s) found under platform key switch.[/img]022-09-08-15552800002.OkBDd9



[Image: 72a659600ea6bc80f7ff00799a07540993a558fc.png]


I am attaching a picture of the settings:

[Image: 70496a3eda87726c9a2f3732b93f4167e3db657b.png]



I tried to change the settings to the new format as shown in the instructions and that doesn't work either.

[Image: 159df7bd75704d204ff13ac4286a5dfe7b75fbc3.png]

I assume the problem stems from incorrect settings in the CONFIGURATION.YAML file.
The format should probably be changed.
I would love to get help please.

Thanks in advance,
Shemi Cohen

Print this item

  Poor IR transmitter range
Posted by: onlyoneme - 09-08-2022, 11:13 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (3)

Hello, I've just bought this device and after some preliminary tests I've noticed that IR range is terribly poor comparing to my another transmitter, which is a cheap Tuya based device.

Is it a matter of weak IR LEDs or reason is something else?

Print this item