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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,934
» Latest member: PapaC
» Forum threads: 3,906
» Forum posts: 19,934

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 24 Guest(s)
AhrefsBot, Amazonbot, PetalBot, bot

Latest Threads
m16v2 energy meter - cali...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
41 minutes ago
» Replies: 1
» Views: 1
false start with KC868 A1...
Forum: KC868-A16v3
Last Post: admin
45 minutes ago
» Replies: 5
» Views: 69
N60 Sensor channel label
Forum: N60
Last Post: admin
47 minutes ago
» Replies: 7
» Views: 41
B4 Smart Controller Wirin...
Forum: B4
Last Post: admin
Yesterday, 12:05 PM
» Replies: 0
» Views: 7
Complete Home Assistant c...
Forum: KC868-A16
Last Post: admin
Yesterday, 07:07 AM
» Replies: 3
» Views: 28
Http protocol
Forum: News
Last Post: admin
Yesterday, 03:20 AM
» Replies: 9
» Views: 64
B24M ESPHome yaml for hom...
Forum: B24M
Last Post: admin
04-16-2026, 11:33 PM
» Replies: 2
» Views: 597
KC868-16A crashing in inf...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
04-16-2026, 11:32 PM
» Replies: 9
» Views: 68
KC868-A16 rev1.6 firmware
Forum: "KCS" v2 firmware system
Last Post: admin
04-16-2026, 10:54 AM
» Replies: 3
» Views: 37
4 - 20 mA adc not giving ...
Forum: KC868-AIO
Last Post: admin
04-16-2026, 12:47 AM
» Replies: 3
» Views: 36

  KC868-H32B V4.40 new firmware update
Posted by: admin - 11-01-2021, 01:25 AM - Forum: News - Replies (6)

[Image: kc868-h32b_pix550.jpg]
improvement:

fixed bug when use domain name for server IP need to re power on.

.zip   Relay32_V440_211030.zip (Size: 46.94 KB / Downloads: 955)
download the ZIP file , unzip update the bin file for KC868-H32B relay controller by USB-RS232 cable.

Print this item

  please help to use mqtt for 32bs
Posted by: engmohades - 10-31-2021, 05:46 AM - Forum: News - Replies (1)

I installed virtual home assistant and i put ip of home assistant in edite node mqtt in & out But no any response and not read state or change chanel relay ( On or Off ) of 32bs relay
and not appear thebutton switch in home assistant dashbord



Attached Files Thumbnail(s)
                       
       
Print this item

  KC868-A4 digital input1 trigger relay1 output by ESPHome config demo
Posted by: admin - 10-31-2021, 12:35 AM - Forum: KC868-A4 - No Replies

switch:
  - platform: gpio
    pin: GPIO2
    name: "room lamp"
    id: lamp

binary_sensor:
  - platform: gpio
    pin: GPIO36
    name: "room lamp Toggle Button"
    on_press:
      then:
        - switch.toggle: lamp

Print this item

  Lesson26- how to DIY Music Reactive LED strip for Christmas tree
Posted by: admin - 10-29-2021, 06:56 AM - Forum: KC868-A series and Uair Smart Controller - No Replies


1. WS2812B LED strip connect with DS18B20 temperature's port. (it's GPIO13)
2. Sound detect connect with KC868-A4's (DC 0-5V) analog input port. Sound detect is a sensor convert sound to DC 0-5v output.
3. install arduino library "FastLED" online.

arduino IDE source code download: 
.zip   music-led.zip (Size: 3.28 KB / Downloads: 754)

Print this item

  Lesson24- how to use Telegram control KC868-A4 A8 (ESP32) relay output
Posted by: admin - 10-28-2021, 12:41 AM - Forum: KC868-A series and Uair Smart Controller - No Replies


1. Creating a Telegram Bot

Open Telegram and follow the next steps to create a Telegram Bot. First, search for “botfather” and click the BotFather as shown below. Or open this link t.me/botfather in your smartphone.

2. The following window should open and you’ll be prompted to click the "start" button.

3. Type "/newbot" and follow the instructions to create your bot. Give it a name and username.

4. If your bot is successfully created, you’ll receive a message with a link to access the bot and the "bot token". Save the bot token because you’ll need it so that the ESP32/ESP8266 can interact with the bot.

5. Get Your Telegram User ID

a. In your Telegram account, search for “IDBot” or open this link t.me/myidbot in your smartphone.
b. Start a conversation with that bot and type /getid. You will get a reply back with your user ID. Save that user ID, because you’ll need it later in this tutorial.

6. Preparing Arduino IDE

a. download arduino library and source code: 
.zip   KC868-A4-A8-Telegram.zip (Size: 75.98 KB / Downloads: 1175)
b. install "Universal Telegram Bot Library" : Go to Sketch > Include Library > Add.ZIP Library...
c. install "ArduinoJson Library" :
  Go to Skech > Include Library > Manage Libraries.
  Search for “ArduinoJson”.
  Install the library.
d. open source code, replace ssid , password, CHAT_ID, BOTtoken for youself.
e. download firmware and test.

Print this item

  Lesson25- how to send alert message to Whatsapp by KC868-A4 A8 (ESP32)
Posted by: admin - 10-27-2021, 06:45 AM - Forum: KC868-A8 - Replies (21)


You need to get the apikey form the bot before using the API:

1. Add the phone number +34 644 56 55 18  into your Phone Contacts. (Name it it as you wish)

2. Send this message "I allow callmebot to send me messages" to the new Contact created (using WhatsApp of course)

3. Wait until you receive the message "API Activated for your phone number. Your APIKEY is 123123" from the bot. As this is still in beta testing, the activation can take up to 2 minutes.

4. The WhatsApp message from the bot will contain the apikey needed to send messages using the API.
You can send text messages using the API after receiving the confirmation.

Example:
   

5. Enjoy

How to send a WhatsApp text message

https://api.callmebot.com/whatsapp.php?phone=[phone_number]&text=[message]&apikey=[your_apikey]

[phone_number]: Is your phone number asociated to your WhatsApp including the country code. (Ex: +34 123 123 123).

[text]: Message to send (urlencoded). You can use this online converter to encode the message. (i.e. %20 for space, %0A for new lines). WhatsApp formatting characters are allowed (i.e "*" for bold, etc.). Check here how to include emoticons in the message.

[your_apikey]: The apikey that you received during the activation process (step 4-5 above)

Example:

https://api.callmebot.com/whatsapp.php?p...1234567890
If you have problems building the URL, you can try the Web Browser assistant to test the API.

As this API is in beta testing, the messages can be delayed up to 1 minute.
   

Preparing 433MHz RF wireless sensor

Welding wireless module to KC868-A4 or KC868-A8 PCB board.

Preparing Arduino IDE

install RCSwitch library online.
source code download: 
.zip   KC868-Whatsapp.zip (Size: 1.54 KB / Downloads: 1093)
you need to change WiFi ssid, password, apiKey, phone number, sensor_address, message_to_whatsapp by yourself.

Print this item

  KC868-A8 PCB V1.4 ESP32 I/O pin define in Arduino IDE
Posted by: admin - 10-27-2021, 02:14 AM - Forum: KC868-A8 - Replies (2)

       
#define ANALOG_A1  34  updated in PCB V1.4
#define ANALOG_A2  35  updated in PCB V1.4

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24

Relay1 = pcf8574.pinMode(P0, OUTPUT);
Relay2 = pcf8574.pinMode(P1, OUTPUT);
Relay3 = pcf8574.pinMode(P2, OUTPUT);
Relay4 = pcf8574.pinMode(P3, OUTPUT);
Relay5 = pcf8574.pinMode(P4, OUTPUT);
Relay6 = pcf8574.pinMode(P5, OUTPUT);
Relay7 = pcf8574.pinMode(P6, OUTPUT);
Relay8 = pcf8574.pinMode(P7, OUTPUT);

Input_IIC_address 0x22

Input1 = pcf8574.pinMode(P0, INPUT);
Input2 = pcf8574.pinMode(P1, INPUT);
Input3 = pcf8574.pinMode(P2, INPUT);
Input4 = pcf8574.pinMode(P3, INPUT);
Input5 = pcf8574.pinMode(P4, INPUT);
Input6 = pcf8574.pinMode(P5, INPUT);
Input7 = pcf8574.pinMode(P6, INPUT);
Input8 = pcf8574.pinMode(P7, INPUT);


DS18B20/DHT11/DHT21/LED strip -1: 14
DS18B20/DHT11/DHT21/LED strip -2: 13

DS18B20/DHT11/DHT21/LED strip -3: 32   updated in PCB V1.4
DS18B20/DHT11/DHT21/LED strip -4: 33   updated in PCB V1.4



RF433MHz wireless receiver: 15

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

Print this item

  KC868-A8 PCB V1.4 update
Posted by: admin - 10-27-2021, 02:06 AM - Forum: News - Replies (4)

we have updated KC868-A8 PCB V1.4
V1.4 up to use 4 digital input by DS18B20/DHT11/DHT21 or WS2812/B LED strips.
   

Print this item

  How to let controller connect to your own MQTT cloud server
Posted by: admin - 10-26-2021, 01:11 AM - Forum: Development - Replies (1)



1. select a cloud server for MQTT broker, suggest to use Linux server by Amazon AWS or Alibaba cloud.

2. install MQTT broker applicatoin to your server, such as mosquito or EMQ X, chose open source type.

3. allow MQTT ports by cloud server's security group.

4. start MQTT service.

5. set controller's network setting for MQTT Server Domain/IP address, port.

6. use MQTTBox debug tool to send command remote control relay for a testing.


MQTTBox debug tool download: 
https://www.kincony.com/download/client_MQTTBox-win.zip

EMQ X: https://www.emqx.com/en/downloads?product=broker

Print this item

  KC868-H32B V4.39 new firmware update
Posted by: admin - 10-25-2021, 03:00 AM - Forum: News - No Replies

[Image: kc868-h32b_pix550.jpg]
improvement:

support set domain for your own server. old version only set server IP address by number. This verison can set by a server domain name for TCP and MQTT server, added DNS function.

download the ZIP file , unzip update the bin file for KC868-H32B relay controller by USB-RS232 cable.

.zip   Relay32_V439_211024.zip (Size: 46.96 KB / Downloads: 736)
firmware update tool download: https://www.kincony.com/download/KC868-C...loader.zip

Print this item