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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,549
» Latest member: hi88ccom
» Forum threads: 4,183
» Forum posts: 20,803

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 23 Guest(s)
Crawl, Google, PetalBot, bot

Latest Threads
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: Stanb
3 hours ago
» Replies: 8
» Views: 1,616
KinCony F8 + ESPHome: Una...
Forum: F8
Last Post: admin
Yesterday, 11:51 PM
» Replies: 6
» Views: 66
How to get started
Forum: KC868-A16
Last Post: admin
08-07-2026, 11:42 PM
» Replies: 39
» Views: 9,609
Questions on the B4M
Forum: B4M
Last Post: admin
08-07-2026, 11:19 PM
» Replies: 3
» Views: 193
cannot see KC868-A6 in ro...
Forum: "KCS" v2 firmware system
Last Post: admin
08-07-2026, 09:59 AM
» Replies: 7
» Views: 252
CAN-BUS Transceiver
Forum: T16M
Last Post: admin
08-07-2026, 09:57 AM
» Replies: 1
» Views: 4
N60 configure yaml for ES...
Forum: N60
Last Post: chuyskywalker
08-06-2026, 07:18 AM
» Replies: 5
» Views: 1,773
KC868-A16
Forum: "KCS" v2 firmware system
Last Post: 5310h
08-05-2026, 09:40 PM
» Replies: 9
» Views: 3,017
KC868-A16 UART pins
Forum: KC868-A series and Uair Smart Controller
Last Post: meowdokugame
08-04-2026, 07:40 AM
» Replies: 2
» Views: 603
KC868-A32 Malfunction Aft...
Forum: KC868-A32/A32 Pro
Last Post: admin
08-04-2026, 06:19 AM
» Replies: 3
» Views: 97

  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: 788)

Print this item

  KinCony RS485 energy meter RS485 modbus protocol
Posted by: admin - 12-14-2022, 01:05 AM - Forum: KC868-HxB series Smart Controller - Replies (9)

Modbus-RTU: 9600 E 8 1  read function:03 

Register address        data                                        data type-IEEE-754      function

0000, 0001              power consumption (kWh)                 Float                        read
0100, 0101                  voltage (V)                                   Float                        read
0106, 0107                  current  (A)                                  Float                        read
0118, 0119                  power (kW)                                  Float                        read
0142, 0143                  power factor                                 Float                        read
0144, 0145                  frequency                                     Float                        read

How to change meter ID, for example: change ID:01  to 20 just send command:
01 10 0D B0 00 01 02 00 14 60 AF
first (01) current ID
14 is (20) decimal
60 AF (CRC)

   

Print this item

  KC868-A8 Novice
Posted by: BOND71 - 12-13-2022, 02:41 PM - Forum: DIY Project - Replies (1)

Hi there,
I’m an Electrician and have recently built my own house. I’d like to be able to simply switch on and off a few circuits(eg. Lights, heating, electric gates, etc.) remotely using an IPhone app when I’m away from home. I recently bought a KC868-A8 controller but am a bit at a loss for what I should do next. I’m a total novice at ’Home Automation’ but I’d like to give it a go on my own house. Any help or advice would be greatly appreciated. 
Thanks. 
BOND71

Print this item

  Rotary encoder
Posted by: pietervanstee - 12-13-2022, 09:44 AM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hi there,

I'm looking for some information which I can't find about the implementation of a rotary encoder.
I assume this can just be used as a binary input device... which occupies 3 inputs?
CW, CCW, & push

[Image: S366ca414d923475dbfae4b2b2cca49754.jpg?w...&hash=1600]
For example:
https://nl.aliexpress.com/item/100500382...hXBlKonYzV


Thanks,
Pieter

Print this item

Lightbulb ESP32 RF
Posted by: Matt - 12-13-2022, 09:27 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (49)

Hi! (first of all thx for nice products ;-))

I try to program RF remote.. (on server)
I follow : https://www.kincony.com/home-automation-...moter.html

Flashed the esp i see the codes in the serial monitor but the outputs are not responding..

I think i edit the example right : (just a few buttons to test)

#include <RCSwitch.h>
#include "PinDefinitionsAndMore.h"
#include <IRremote.h>

RCSwitch mySwitch = RCSwitch();
long int keycode=0;
long int temp_keycode=0;


void setup()
{
  Serial.begin(9600);
  Serial1.begin(38400);
  mySwitch.enableReceive(digitalPinToInterrupt(13));

  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);
}

void loop() {
  if (mySwitch.available()) {
   
    Serial.print("Received ");
    Serial.print( mySwitch.getReceivedValue() );
    Serial.print(" / ");
    Serial.print( mySwitch.getReceivedBitlength() );
    Serial.print("bit ");
    Serial.print("Protocol: ");
    Serial.println( mySwitch.getReceivedProtocol() );
    keycode=mySwitch.getReceivedValue();

    if (keycode==1376533) {Serial1.print("RELAY-KEY-255,1,1");delay(500);}  //toggle relay1
    if (keycode==1376532) {Serial1.print("RELAY-KEY-255,2,1");delay(500);}  //toggle relay2
    if (keycode==16405) {Serial1.print("RELAY-KEY-255,3,1");delay(500);}  //toggle relay3
    if (keycode==16404) {Serial1.print("RELAY-KEY-255,4,1");delay(500);}  //toggle relay4
    if (keycode==4117) {Serial1.print("RELAY-KEY-255,5,1");delay(500);}  //toggle relay5
    if (keycode==5723139) {Serial1.print("RELAY-KEY-255,6,1");delay(500);}  //toggle relay6
    if (keycode==20501) {Serial1.print("RELAY-KEY-255,7,1");delay(500);}  //toggle relay7
    if (keycode==20500) {Serial1.print("RELAY-KEY-255,8,1");delay(500);}  //toggle relay8
    if (keycode==5576131) {Serial1.print("RELAY-KEY-255,9,1");delay(500);}  //toggle relay9
    if (keycode==5575951) {Serial1.print("RELAY-KEY-255,10,1");delay(500);}  //toggle relay10
    if (keycode==5576188) {Serial1.print("RELAY-KEY-255,11,1");delay(500);}  //toggle relay11
    if (keycode==5576179) {Serial1.print("RELAY-KEY-255,12,1");delay(500);}  //toggle relay12
    if (keycode==5576191) {Serial1.print("RELAY-KEY-255,13,1");delay(500);}  //toggle relay13
    if (keycode==5576128) {Serial1.print("RELAY-KEY-255,14,1");delay(500);}  //toggle relay14
    if (keycode==5575987) {Serial1.print("RELAY-KEY-255,15,1");delay(500);}  //toggle relay15
    if (keycode==5575936) {Serial1.print("RELAY-KEY-255,16,1");delay(500);}  //toggle relay16

    mySwitch.resetAvailable();
  }

    if (IrReceiver.decode()) {

        // Print a short summary of received data
        IrReceiver.printIRResultShort(&Serial);
        if (IrReceiver.decodedIRData.protocol == UNKNOWN) {
            // We have an unknown protocol here, print more info
            IrReceiver.printIRResultRawFormatted(&Serial, true);
        }
        Serial.println();
        IrReceiver.resume(); // Enable receiving of the next value
   
    if (IrReceiver.decodedIRData.command == 0x15) Serial1.print("RELAY-SET-255,1,1"); //turn ON relay1
    if (IrReceiver.decodedIRData.command == 0x16) Serial1.print("RELAY-SET-255,1,0"); //turn OFF relay1
    if (IrReceiver.decodedIRData.command == 0x17) Serial1.print("RELAY-SET-255,2,1"); //turn ON relay2
    if (IrReceiver.decodedIRData.command == 0x19) Serial1.print("RELAY-SET-255,2,0"); //turn OFF relay2
    if (IrReceiver.decodedIRData.command == 0x1A) Serial1.print("RELAY-SET-255,3,1"); //turn ON relay3
    if (IrReceiver.decodedIRData.command == 0x1B) Serial1.print("RELAY-SET-255,3,0"); //turn OFF relay3
    if (IrReceiver.decodedIRData.command == 0x1D) Serial1.print("RELAY-SET-255,4,1"); //turn ON relay4
    if (IrReceiver.decodedIRData.command == 0x1E) Serial1.print("RELAY-SET-255,4,0"); //turn OFF relay4
    if (IrReceiver.decodedIRData.command == 0x1F) Serial1.print("RELAY-SET-255,5,1"); //turn ON relay5
    if (IrReceiver.decodedIRData.command == 0x41) Serial1.print("RELAY-SET-255,5,0"); //turn OFF relay5
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,6,1"); //turn OFF relay6
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,6,0"); //turn OFF relay6
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,7,1"); //turn OFF relay7
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,7,0"); //turn OFF relay7
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,8,1"); //turn OFF relay8
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,8,0"); //turn OFF relay8
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,9,1"); //turn OFF relay9
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,9,0"); //turn OFF relay9
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,10,1"); //turn OFF relay10
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,10,0"); //turn OFF relay10
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,11,1"); //turn OFF relay11
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,11,0"); //turn OFF relay11
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,12,1"); //turn OFF relay12
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,12,0"); //turn OFF relay12
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,13,1"); //turn OFF relay13
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,13,0"); //turn OFF relay13
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,14,1"); //turn OFF relay14
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,14,0"); //turn OFF relay14
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,15,1"); //turn OFF relay15
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,15,0"); //turn OFF relay15
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,16,1"); //turn OFF relay16
    if (IrReceiver.decodedIRData.command == 0x42) Serial1.print("RELAY-SET-255,16,0"); //turn OFF relay16
    }
}


Thx in advance..

Kind regards,

Matt

Print this item

  Home Assistant 2022.12.0
Posted by: Mandlap - 12-12-2022, 09:31 PM - Forum: KC868-Server Raspberry Pi4 local server - Replies (9)

I have updated my KC868-server to Home Assistant 2022.12.0, now all my sensors and switches from my KC868-Server are "unavailable".
below is my sample configuration. Is the a new configuration for HA 2022.12.0, as they have been warning that this updates will affect the sensor.
 
mqtt:
  broker: 192.168.0.118
  port: 1883
  username: mqtt
  password: 1232332TESETEST

# Example configuration.yaml entry
switch:
  - platform: mqtt
    name: 'output-1'
    unique_id: output-1
    state_topic: 'server/a767350037679/state'
    command_topic: 'server/a767350037679/set'
    payload_on:  '{"relay1":{"on":1}}'
    payload_off:  '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0

  - platform: mqtt
    name: 'output-2'
    unique_id: output-2
    state_topic: 'server/a767350037679/state'
    command_topic: 'server/a767350037679/set'
    payload_on:  '{"relay2":{"on":1}}'
    payload_off:  '{"relay2":{"on":0}}'


binary_sensor:
  - platform: mqtt
    name: 'input-1'
    unique_id: input-1
    state_topic: 'server/a767350037679/state'
    value_template: '{{ value_json.input1.on }}'
    payload_on: 1
    payload_off: 0

  - platform: mqtt
    name: 'input-2'
    unique_id: input-2
    state_topic: 'server/a767350037679/state'
    value_template: '{{ value_json.input2.on }}'
    payload_on: 1
    payload_off: 0
    value_template: '{{ value_json.relay2.on }}'
    state_on: 1
    state_off: 0

sensor:
  - platform: mqtt
    name: 'analog-1'
    unique_id: analog-1
    state_topic: 'server/a767350037679/state'
    unit_of_measurement: 'v'
    value_template: '{{ value_json.analog1.value }} ' 
   
  - platform: mqtt
    name: 'analog-2'
    unique_id: analog-2
    state_topic: 'server/a767350037679/state'
    unit_of_measurement: 'v'
    value_template: '{{ value_json.analog2.value }} '

Print this item

  how to connect celling pir sensor with h32b pro
Posted by: engmohades - 12-12-2022, 12:17 PM - Forum: News - Replies (3)

how to connect celling pir sensor with h32b pro ?

there are ( + - ) ( tamper ) ( alarm ) 

What is the tamper and How can I use the tamper in the home automation ?



Attached Files Thumbnail(s)
   
Print this item