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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,981
» Latest member: MANDEX
» Forum threads: 2,428
» Forum posts: 12,557

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 22 Guest(s)
Bing, Bytespider, Crawl, Feedspot, Google, PetalBot, Semrush, bot, owler, mustafa kozak

Latest Threads
Help whit update Cold CPU...
Forum: KC868-HxB series Smart Controller
Last Post: itzek
2 hours ago
» Replies: 0
» Views: 1
DI8
Forum: Development
Last Post: Vaughan2024
11 hours ago
» Replies: 0
» Views: 6
Clarification on CT Clamp...
Forum: KC868-M16 / M1 / MB / M30
Last Post: ironbill
Yesterday, 09:27 PM
» Replies: 0
» Views: 10
AS ESPHome yaml for home ...
Forum: KinCony AS
Last Post: admin
Yesterday, 12:29 PM
» Replies: 4
» Views: 269
KCS firmware - MQTT LWT?
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:02 PM
» Replies: 34
» Views: 3,308
H32W Firmware
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 10:32 AM
» Replies: 5
» Views: 1,607
"KCS" v3.0.2 firmware for...
Forum: "KCS" firmware system
Last Post: admin
Yesterday, 12:00 AM
» Replies: 0
» Views: 32
What makes the ESP32 chip...
Forum: KC868-A series and Uair Smart Controller
Last Post: alice_amira
11-08-2024, 04:38 PM
» Replies: 0
» Views: 4
Sms relays control
Forum: KC868-A8S
Last Post: Michele
11-08-2024, 11:41 AM
» Replies: 6
» Views: 25
new home automation
Forum: DIY Project
Last Post: admin
11-08-2024, 10:33 AM
» Replies: 1
» Views: 15

  KC868-H32B V5.08 firmware
Posted by: admin - 09-25-2023, 03:58 AM - Forum: News - Replies (12)

fixed bug for tuya connection with cloud server.
firmware download: 

.zip   H32B_V508_230921.zip (Size: 134.93 KB / Downloads: 395)
make sure your KC868-H32B CPU chip is AT32F403AVGT7.
if your board CPU is STM32F103VCT6 or GD32F103VCT6, there is no enough memory for new firmware update, they memory is 256K. new firmware is >300k, so can't use it.

Print this item

  ESP32+LD2410 presence sensor
Posted by: bsubasi - 09-24-2023, 11:40 AM - Forum: Development - Replies (8)

hi,


What is your ESP32+LD2410 presence sensor product's description and purchasing links?

KC-PDZ-201 and LD2410 presence sensor  Can the product work with esp and wifi? Which firmware does it use?

Print this item

  Application Condition: B - KC868-A4
Posted by: Als Santa - 09-23-2023, 10:56 AM - Forum: Apply for free sample product - No Replies

Hello, I am passionate about technology, that is why I became an engineer, I am from Colombia in South America, I would like technology to be available to everyone.
I have worked with home assistant and found that many applications can be made with their product due to its technical characteristics, which is why I would like to try it and publish these new and fast solutions based on KINCONY's IoT hardware. thank you so much

Print this item

  Tasmota supported devices
Posted by: GabrielRR - 09-23-2023, 07:24 AM - Forum: Development - Replies (3)

Which from your products are fully compatible with tasmota firmware?

Print this item

  ESP32 Energy Meter Relay Controller - KinCony M1 released
Posted by: admin - 09-22-2023, 11:57 PM - Forum: News - No Replies

We have designed ESP32 Energy Meter Relay Controller - KinCony M1 (ESP32 1 channel AC voltage and current energy monitor) for home automation DIYer. it can easy integrate to home assistant by ESPHome. it use by BL0942 energy chip, support by ESPHome. the hardware have BL0942 sensor + 1CH DIGITAL INPUT port + 1CH ZMPT107-1 voltage sensor + Ethernet POE+ WiFi + Bluetooth + 30 Relay. It have I2C bus extender terminal.

 
[Image: M1-1_01.jpg]
[Image: M1-1_02.jpg]
[Image: M1-1_03.jpg]
[Image: M1-1_04.jpg]

Print this item

  error instal A128
Posted by: Almhlws - 09-22-2023, 10:41 AM - Forum: KC868-A series and Uair Smart Controller - Replies (15)

Hi every one 

when i try to instal A123, i get error 

ERROR Serial port closed!

see attach     

Print this item

  Dead Board?
Posted by: grs56 - 09-22-2023, 06:11 AM - Forum: KC868-A8 - Replies (5)

Hi,

I have a KC868-A8.

I Flashed it fine four days ago using ESP Home on windows 11.  The board is connected to a regulated switched-mode 12v supply.  I had started to program up a script to use as an aquaponics controller.  I had the following connected:

One dry contact on the first input

One TDS sensor on A1  (+4v)

One DS18B20 on S1

All was working well.  I left the board running overnight.

Came back this morning and noticed that it wasn't showing up in Home Assistant or responding to its IP address.

Power was still OK everywhere.

I have attempted to reflash using esphome webtools and using ESP flasher and your own
 tool from here:  ESP Module Flash Download Tools - Smart Home Automation | KinCony

I have rebooted and reinstalled the com port.  

I have tried from my mac.

The Serial port is showing up on USB connection on both the mac and PC.

I have tried with a different USB cable.

I have confirmed I am able to flash other esp32 chips from the PC with no problem.

I have tried using the s1 and s1 as boot buttons.

My assumption is that the board is dead unless you have other advice?


----
config for reference:
I had yet to attach the Ph probe as I was building a voltage divider this morning. Also the Ultrasonic sensor requires some extra files for the build and i had yet to but those in the right place.  
# Basic Config
esphome:
  name: "greenwall"
  friendly_name: Greenwall
esp32:
  board: esp32dev
  framework:
    type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
  encryption:
    key: !secret greenwall_api_key
   
ota:
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  domain: !secret local_domain
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-E12294"
    password: "sJdgDQKbR936"
captive_portal:
web_server:
  port: 80
  auth:
    username: !secret web_server_username
    password: !secret gw_web_server_password
#ethernet:
#  type: LAN8720
#  mdc_pin: GPIO23
#  mdio_pin: GPIO18
#  clk_mode: GPIO17_OUT
#  phy_addr: 0
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a
# Individual outputs
switch:
  - platform: gpio
    name: "Circulation Pump"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Swirl Filter Pump"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Tank Fill"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Mixer"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Ph Up"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Ph Down"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Calcium"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "Micronutrients"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
# Inputs
# Binary
binary_sensor:
  - platform: gpio
    name: "Tank Level Low"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Swirl Level Low"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Bio Level Low"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "Tank Overflow"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "a8-input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
# Digital
  - platform: gpio
    name: "a8-s3"
    pin:
      number: 32
      inverted: true
  - platform: gpio
    name: "a8-s4"
    pin:
      number: 33
      inverted: true
dallas:
  - pin: 14
sensor:
  - platform: dallas
    #address: 0x1c0000031edd2a28 #replace with your sensor's ID
    index: 0
    name: "Water Temperature"
  - platform: ultrasonic
    trigger_pin: 13
    echo_pin: 32
    name: "Water Level"
    update_interval: 1s
    accuracy_decimals: 2
    filters:
    - lambda: return (1 - x + 0.03);
    - median:
        window_size: 20
        send_every: 10
    unit_of_measurement: "m^3"
# Analog
# pins 34/35
  # https://esphome.io/components/sensor/adc.html
  - platform: adc
    pin: 34
    id: ph
    name: "pH Sensor"
    update_interval: 1s
    unit_of_measurement: pH
    # https://esphome.io/components/sensor/ind...or-filters
    filters:
      - median:
          window_size: 7
          send_every: 4
          send_first_at: 3
      # Measured voltage -> Actual pH (buffer solution)
      - calibrate_linear:
          - 0.59 -> 7.0
          - 0.71 -> 4.0
  - platform: adc
    pin: 35
    id: tds
    name: "TDS Sensor"
    update_interval: 1s
    unit_of_measurement: ppm
    # https://esphome.io/components/sensor/ind...or-filters
    filters:
      - lambda: return (x * 1000);
      - median:
          window_size: 7
          send_every: 4
          send_first_at: 3
      # Measured voltage -> Actual TDS (buffer solution)
      #- calibrate_linear:
      #    - 0.59 -> 7.0
      #    - 0.71 -> 4.0



Attached Files Thumbnail(s)
   
Print this item

  Nodered MQTT H32B
Posted by: abgran - 09-22-2023, 02:40 AM - Forum: KC868-HxB series Smart Controller - Replies (6)

How to read the state of value for H32B?

Print this item

  KC868-E16S wiring diagram
Posted by: KinCony Support - 09-22-2023, 01:34 AM - Forum: KC868-E16S/E16P - No Replies

   

Print this item

  Arduino source code demo for KinCony M1 Energy Meter Controller
Posted by: admin - 09-21-2023, 03:48 AM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

Code:
/* KinCony M1 arduino demo
* output BL0942 voltage,current,power,frequency data by serial port
* @Author: www.kincony.com
*/
#include <SoftwareSerial.h>


const int Cur_mR = 10200;  //10200;
const int Volt_mR = 28700;   //28700;

unsigned char eNe_state = 0;

unsigned long dp_value_add_ele_1_value = 0;
unsigned long dp_value_cur_current_1_value = 0;
unsigned long dp_value_cur_power_1_value = 0;
unsigned long dp_value_cur_voltage_1_value = 0;
unsigned long dp_value_cur_freq_1_value = 0;

unsigned long dp_value_temp_value = 0;


#define  USB_TX_PIN   1
#define  USB_RX_PIN   3
#define  ENE1_RX_PIN   14
#define  ENE1_TX_PIN   13
#define  OUT1_PIN   33

unsigned long last_time = 0;
unsigned long eNe_last_time = 0;
String indata="";

String val="";
String outdata="";

SoftwareSerial eNe1;

void setup()
{
  pinMode(OUT1_PIN, OUTPUT);
  digitalWrite(OUT1_PIN, HIGH);
  Serial2.begin(9600,SERIAL_8N1,USB_RX_PIN,USB_TX_PIN);
  eNe1.begin(9600, SWSERIAL_8N1, ENE1_RX_PIN, ENE1_TX_PIN, false, 64);
  eNe1.listen();

  last_time = millis();
  eNe_last_time = last_time;
  eNe_state = 0;

}

void loop()
{


//sample energy
switch (eNe_state)
{
case 0:
    if((millis() - eNe_last_time)>100)
    {
     eNe1.listen();
     eNe_state=1;
     eNe_last_time = millis();
    }
    break;    
case 1:
    if((millis() - eNe_last_time)>1000)
    {
     eNe_state=2;
     eNe_last_time = millis();
    }
    break;    
case 2:
    outdata = "12";
    outdata[0] = 0x58;
    outdata[1] = 0xAA;
    eNe1.print(outdata);
    eNe_state=3;
    eNe_last_time = millis();
    break;    
case 3:
    if(eNe1.available()>0)
      {
        indata+=char(eNe1.read());   //read ene1

    eNe_last_time = millis();
      }
      else
      {
        if(((millis() - eNe_last_time)>4)&&(indata.length()>2))
          {

            val=indata;   //
           

              dp_value_add_ele_1_value=(double(indata[13]+indata[14]*256+indata[15]*65536)*16384*256*1218*1218*22*5)/36000/3537/Cur_mR/Volt_mR; //10200mR 28700mR
              dp_value_cur_current_1_value=(double(indata[1]+indata[2]*256+indata[3]*65536)*1218*1000)/305978/Cur_mR;  //10200mR
              dp_value_cur_power_1_value=(double(indata[10]+indata[11]*256+indata[12]*65536)*1218*1218*22*5)/3537/Cur_mR/Volt_mR; //10200mR 28700mR
              dp_value_cur_voltage_1_value=(double(indata[4]+indata[5]*256+indata[6]*65536)*1218*22*5)/73978/Volt_mR; //28700mR
              dp_value_cur_freq_1_value=2*500000/(double(indata[16]+indata[17]*256+indata[18]*65536)); //
             
            Serial2.println("meter1 channel data:");
            Serial2.print("ele1:");
            Serial2.print(dp_value_add_ele_1_value);
            Serial2.println(" wh");
            Serial2.print("current1:");
            Serial2.print(dp_value_cur_current_1_value);
            Serial2.println(" mA");
            Serial2.print("power1:");
            Serial2.print(dp_value_cur_power_1_value);
            Serial2.println(" W");
            Serial2.print("voltage1:");
            Serial2.print(dp_value_cur_voltage_1_value);
            Serial2.println(" V");
            Serial2.print("freq1:");
            Serial2.print(dp_value_cur_freq_1_value);
            Serial2.println(" Hz");
         
            eNe_state=0;
            indata="";
            eNe_last_time = millis();
          }
      }
     break;    

delay(1000);

}
}


.zip   M1.zip (Size: 1.14 KB / Downloads: 235)

Print this item