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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,016
» Latest member: crodriguez
» Forum threads: 2,436
» Forum posts: 12,586

Full Statistics

Online Users
There are currently 26 online users.
» 1 Member(s) | 15 Guest(s)
Bing, Bytespider, Google, Yandex, bot

Latest Threads
M30 Troubles
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
4 hours ago
» Replies: 3
» Views: 10
[Arduino IDE demo source ...
Forum: KC868-A16
Last Post: admin
5 hours ago
» Replies: 2
» Views: 1,969
Default firmware
Forum: B16M
Last Post: admin
5 hours ago
» Replies: 1
» Views: 2
KC868-A16 - Own Arduino f...
Forum: Development
Last Post: admin
5 hours ago
» Replies: 1
» Views: 2
AS ESPHome yaml for home ...
Forum: KinCony AS
Last Post: admin
11-12-2024, 10:17 PM
» Replies: 6
» Views: 336
KC868-A8 board esphome + ...
Forum: KC868-A8
Last Post: gnetinternet@gmail.com
11-12-2024, 07:19 AM
» Replies: 10
» Views: 86
"KCS" v3.0.3 firmware for...
Forum: "KCS" firmware system
Last Post: admin
11-11-2024, 10:01 PM
» Replies: 0
» Views: 29
Kc868-a16 v1.6
Forum: DIY Project
Last Post: admin
11-11-2024, 11:17 AM
» Replies: 1
» Views: 27
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,354
"KCS" v2.2.7 firmware BIN...
Forum: "KCS" firmware system
Last Post: admin
11-11-2024, 11:09 AM
» Replies: 0
» Views: 68

  Lesson26 - send email notifications by sensor in home assistant
Posted by: admin - 05-24-2022, 09:09 AM - Forum: Home automation training courses - No Replies



# Example configuration.yaml entry for Google Mail.
notify:
  - name: "NOTIFIER_NAME"
    platform: smtp
    server: "smtp.gmail.com"
    port: 587
    timeout: 15
    sender: "YOUR_USERNAME@gmail.com"
    encryption: starttls
    username: "YOUR_USERNAME@gmail.com"
    password: "YOUR_PASSWORD"
    recipient:
      - "RECIPIENT_1@example.com"
      - "RECIPIENT_N@example.com"
    sender_name: "SENDER_NAME"

Print this item

Wink Lesson25 - how to use Apple HomeKit by home assistant
Posted by: admin - 05-23-2022, 03:07 AM - Forum: Home automation training courses - No Replies


1. home assistant -- Configration -- Device & Services +ADD INTEGRATION -- HomeKit

2. find the QRcode of HomeKit "HASS Bridge" in Notifications

3. open "HOME" app by iOS device (iPhone/iPad) scan this QRcode to add devices.

Print this item

  Disappointed with this server...
Posted by: Amaral989 - 05-23-2022, 01:54 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (5)

The ESP 3.3v is 5v now. 
i can not get ADC to read voltages . This unit just doesn't work like its described.  Angry

Print this item

  ADC pins
Posted by: Amaral989 - 05-22-2022, 03:54 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (4)

Hello, 
This is all new to me and trying to learn as i go along. 
I have a resistance sensor that reads water tank levels. Full level it reads 33ohms, empty level reads 240ohms. 
I'm trying to understand how to hook this sensor up. I'm assuming it needs to be on ADC 0. 
If it does , i dont see anything occuring . 

Thank you for you help. 
john

Print this item

Wink 【Sensor series program】-#02-Arduino code of KC868-A6 and Laser Sensor
Posted by: KinCony Support - 05-20-2022, 09:03 AM - Forum: KC868-A6 - No Replies

【Sensor series program】-#02-Arduino code of KC868-A6 and Laser Sensor

Code:
#include <U8g2lib.h>
#include <Wire.h>
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0,  15, 4, U8X8_PIN_NONE);//SCL IO15  SDA  IO4


void page1() {
  u8g2.setFont(u8g2_font_timR14_tf);// Font 18
  u8g2.setFontPosTop();
  u8g2.setCursor(5,20);
  u8g2.print("Sending Lasers ");
}
void page2() {
  u8g2.setFont(u8g2_font_timR14_tf);// Font 18
  u8g2.setFontPosTop();
  u8g2.setCursor(5,20);
  u8g2.print("Not Sending");
}

void setup() {
  pinMode(0,INPUT);
  pinMode(32,OUTPUT);
  u8g2.setI2CAddress(0x3C*2);
  u8g2.begin();
  u8g2.enableUTF8Print();
 
}
void loop() {
  if(digitalRead(0)==LOW)
  {
   digitalWrite(32,HIGH);
   u8g2.firstPage();
    do
     {
    page1();
     }while(u8g2.nextPage());
  }
  else
     {
      digitalWrite(32,LOW);
         u8g2.firstPage();
    do
     {
       page2();
     }while(u8g2.nextPage());
     }
 
}
       

Print this item

Wink 【Sensor series program】-#01-Arduino code of KC868-A6 and Hall Sensor
Posted by: KinCony Support - 05-20-2022, 03:11 AM - Forum: KC868-A6 - No Replies

【Sensor series program】-#01-Arduino code of KC868-A6 and Hall Sensor

Code:
/*【Sensor series program】Arduino code of KC868-A6 and Hall Sensor*/
/*When the Hall sensor is triggered, Turn on relay 1; Otherwise turn off relay1*/
#include "Wire.h"
#include"PCF8574.h"

PCF8574 pcf8574_RE(0x24,4,15);
int rawValue;

void setup(){

  pinMode(32,INPUT);
  Serial.begin(115200);
  pcf8574_RE.pinMode(P0,OUTPUT);
  pcf8574_RE.pinMode(P1,OUTPUT);
  pcf8574_RE.pinMode(P2,OUTPUT);
  pcf8574_RE.pinMode(P3,OUTPUT);
  pcf8574_RE.pinMode(P4,OUTPUT);
  pcf8574_RE.pinMode(P5,OUTPUT);
  pcf8574_RE.begin();
  for(int i=0;i<6;i++)
  {
   pcf8574_RE.digitalWrite(i,HIGH);
  }
}

void loop(){
  rawValue=analogRead(32);
  Serial.println(rawValue);
  if(rawValue==0)
  {
     
      pcf8574_RE.digitalWrite(P0,LOW);
  }
  else {
      pcf8574_RE.digitalWrite(P0,HIGH);
  }
}
 
   

Print this item

  KC868 H32B in node red and home assistant
Posted by: ahmedwizza - 05-19-2022, 11:52 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hello Engineer 

I faced some problem.when I active Alexa bridge and made switch .then connect Alexa node to controller by TCP out 
  all okay .... the sound control by Alexa is okay ...the switch appeared in Alexa app in my phone ...but I cant find the switch in Alexa entities in home assistant to control

as attached photos



Attached Files Thumbnail(s)
           
Print this item

Rainbow How to use tasmota for KC868-A32 via PCF8574 IIC extend GPIO
Posted by: KinCony Support - 05-18-2022, 02:50 AM - Forum: KC868-A32/A32 Pro - Replies (10)

How to use tasmota for KC868-A32 via PCF8574 IIC extend GPIO

   
The Tamplate code is:

{"NAME":"KC868-A32","GPIO":[32,0,1120,0,641,609,0,0,0,608,1,640,0,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,1],"FLAG":0,"BASE":1}
   

Set all Device port to  "OUTPUT"
   

   



Attached Files
.zip   ESP-Flasher-Windows-x64.zip (Size: 16.07 MB / Downloads: 334)
.zip   firmware-en-a32.zip (Size: 764.89 KB / Downloads: 304)
Print this item

  Lesson24 - home assistant remote access by FREE DuckDNS
Posted by: admin - 05-17-2022, 04:27 AM - Forum: Home automation training courses - Replies (5)


https://www.duckdns.org/

Print this item

Thumbs Up [Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485
Posted by: KinCony Support - 05-17-2022, 01:29 AM - Forum: KC868-E16S/E16P - No Replies

[Arduino IDE demo source code for KC868-E16S]--#06-KC868-E16S-RS485
   

Code:
/*WWW.KINCONY.COM */
/*KC868-E16S CODE OF RS485*/
void setup(){
  Serial2.begin(9600,SERIAL_8N1,13,32);// IO13 is 485RX  IO32 is 485TX
}

void loop() {
Serial2.println("abcd123456789551");// send abcd123456789551
}



Attached Files
.zip   KC868-E16S-RS485.zip (Size: 469.31 KB / Downloads: 245)
Print this item