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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,018
» Latest member: alinailyin
» Forum threads: 3,974
» Forum posts: 20,144

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 14 Guest(s)
Amazonbot, Bing, Bytespider, Google, PetalBot, bot

Latest Threads
Current and Power not add...
Forum: N60
Last Post: edalquist
Today, 03:58 AM
» Replies: 10
» Views: 268
Python and arduino code
Forum: News
Last Post: admin
Yesterday, 12:38 PM
» Replies: 1
» Views: 15
[SOLVED] N10 - no KWH sho...
Forum: N10
Last Post: admin
05-07-2026, 05:56 AM
» Replies: 7
» Views: 116
B24 Smart Controller Wiri...
Forum: B24
Last Post: admin
05-06-2026, 10:12 PM
» Replies: 2
» Views: 88
AIO Hybrid ESP32-S3 IO pi...
Forum: AIO Hybrid
Last Post: H_spadacini
05-06-2026, 10:03 AM
» Replies: 3
» Views: 590
T32M issue with Output 1
Forum: DIY Project
Last Post: BarbaraVikuvis
05-06-2026, 06:49 AM
» Replies: 4
» Views: 357
RTC DS3231 yaml code
Forum: KC868-A16v3
Last Post: admin
05-05-2026, 01:38 PM
» Replies: 1
» Views: 37
T64M PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
05-05-2026, 08:08 AM
» Replies: 0
» Views: 27
T16M PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
05-05-2026, 08:07 AM
» Replies: 0
» Views: 20
24V Pulse input
Forum: F16
Last Post: admin
05-05-2026, 04:23 AM
» Replies: 3
» Views: 27

Question Dimmer D8 lost Ethernet connection after reset
Posted by: KjetilK - 06-28-2022, 09:45 PM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hi! I was just setting up a KC868-D8 dimmer controller that I bought some time ago.

Initially, it came up without problems, and I was able to control the one dimmer circuit I attached to it using the Web interface. Cool . It got an IP from the DHCP server in the LAN, I have it configured to give addresses in the 172.22.0.0/16 range.

Then I changed the passwords, since I don't like to have default passwords around for security. The server came back up again, but I couldn't log in, though I'm pretty sure I entered the correct password. So, thinking it would reset the password, I hit the reset button.

But now to the biggest problem: It does not connect to my network now.

I see no traffic from it in my logs, it doesn't contact the DHCP server, its MAC is listed as incomplete with arp, and there is also no response at 192.168.1.200:4196 (which is not strange, since that address wouldn't be allowed in my network).

What could be the reason for this and how do I fix it?

Could it possibly be that it insists on the 192.168.1.200 address, and so it doesn't ask the DHCP server?

Print this item

  KC868 A4 - Wifi Lost
Posted by: mfjunior96 - 06-27-2022, 01:37 PM - Forum: KC868-A4 - Replies (5)

Goodnight,

I have a problem with my KC868 A4 board - I made her code, to use it with alexa, but in about 10 days (it varies a lot) when asking for a command through alexa it doesn't find the devices, as if it had no wifi connection, so I click the reset button and it works normally again, has this happened to anyone?

thanks in advance



Attached Files
.zip   Casa_A4_Digital_Wifi_IR_LED.zip (Size: 1.5 KB / Downloads: 673)
Print this item

  Lesson34- how to send SMS by AT command
Posted by: admin - 06-27-2022, 01:40 AM - Forum: KC868-A series and Uair Smart Controller - No Replies

this demo send a sms "Test message from KinCony KC868-A8S" to your mobile phone.

here is arduino IDE source code: 
.zip   sms.zip (Size: 565 bytes / Downloads: 1118)

Print this item

  Lesson36- remote control relay by KC868-A8S 4G module via MQTT AT command
Posted by: admin - 06-26-2022, 12:38 AM - Forum: KC868-A series and Uair Smart Controller - No Replies

MQTT AT command debug for KC868-A8S:

publish message to MQTT broker:

1. AT+CMQTTSTART
2. AT+CMQTTACCQ=0,"KinCony1"
3. AT+CMQTTCONNECT=0,"tcp://iot.kincony.com:1883",120,1,"mqtt","123"
4. AT+CMQTTTOPIC=0,18
5. > relay8/12345/state
6. AT+CMQTTPAYLOAD=0,19
7. > {"relay1":{"on":1}}
8. AT+CMQTTPUB=0,1,60

this is puslish a message for update MQTT broker relay state when relay1 is ON

subscribe topic from MQTT broker:

AT+CMQTTSUB=0,16,1,1
relay8/12345/set

will receive example message:

+CMQTTRXSTART: 0,16,3
+CMQTTRXTOPIC: 0,16
relay8/12345/set
+CMQTTRXPAYLOAD: 0,3
abc
+CMQTTRXEND: 0

this is demo for receive message: abc

+CMQTTRXSTART: 0,16,19
+CMQTTRXTOPIC: 0,16
relay8/12345/set
+CMQTTRXPAYLOAD: 0,19
{"relay1":{"on":0}}
+CMQTTRXEND: 0

this is demo for receive message: {"relay1":{"on":0}}


here is arduino IDE source code: 
.zip   mqtt-relay.zip (Size: 1.35 KB / Downloads: 768)

.pdf   SIM7500_SIM7600 Series_MQTT_ATC_V1.01.pdf (Size: 740.41 KB / Downloads: 882)

Print this item

  Lesson35- use SMS control relay and read temperature sensor
Posted by: admin - 06-26-2022, 12:22 AM - Forum: KC868-A series and Uair Smart Controller - Replies (9)

send SMS text:

1. turn on/off one relay:

relay1-on    turn ON relay1
relay1-off    turn OFF relay1
relay2-on    turn ON relay2
relay2-off    turn OFF relay2
relay3-on    turn ON relay3
relay3-off    turn OFF relay3
relay4-on    turn ON relay4
relay4-off    turn OFF relay4
relay5-on    turn ON relay5
relay5-off    turn OFF relay5
relay6-on    turn ON relay6
relay6-off    turn OFF relay6
relay7-on    turn ON relay7
relay7-off    turn OFF relay7
relay8-on    turn ON relay8
relay8-off    turn OFF relay8

2. turn on/off all relay:

all-on  turn ON relay1-8
all-off  turn OFF relay1-8

3. read current temperature value:

temper      read DS18B20 temperature sensor data

4. digital input for sensor trigger output

a. if input1 trigger, (siren) relay1 ON -> 3 seconds -> relay1 OFF -> send SMS: door sensor is triggered,someone in the room!
b. if input2 trigger, (siren) relay1 ON -> 3 seconds -> relay1 OFF -> send SMS: window sensor is triggered,someone in the room!
c. if input3 trigger, send SMS: sensor3 is triggered,someone in the room!
d. if input4 trigger, send SMS: sensor4 is triggered,someone in the room!
e. if input5 trigger, send SMS: sensor5 is triggered,someone in the room!
f.  if input6 trigger, send SMS: sensor6 is triggered,someone in the room!
g. if input7 trigger, send SMS: sensor7 is triggered,someone in the room!
h. if input8 trigger, send SMS: sensor8 is triggered,someone in the room!


here is arduino IDE source code: 
.zip   sms-relay.zip (Size: 1.71 KB / Downloads: 809)

Print this item

  Lesson33- how to debug KC868-A8S GSM module using AT command
Posted by: admin - 06-25-2022, 11:50 PM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

1. Test

AT

2. make a CALL

ATD13100000000;

3. receive a CALL

RING            display receive information
ATA              Answer the phone
AT+CHUP    Hang up

4. receive a SMS

+CMTI: "SM",1    display receive information
AT+CMGR=1        read No.1 SMS
AT+CMGL="ALL"  read all SMS
AT+CMGD=1        delete No.1 SMS
AT+CMGD=1,4    delete all SMS

5. send a SMS

AT+CMGF=1  set SMS mode=TEXT
AT+CMGS="phone number"
> this is a text sms from KinCony
send Ctrl+Z or HEX (0x1A)

arduino IDE source code for GSM serial port debug:
.zip   AT-debug.zip (Size: 282 bytes / Downloads: 710)

.pdf   SIM7500_SIM7600 Series_AT_Command_Manual _V1.10.pdf (Size: 4.53 MB / Downloads: 966)



Attached Files
.zip   AT-SSCOM.zip (Size: 410.09 KB / Downloads: 715)
Print this item

  Kincony KC868-H32B Hang with momentary Switches
Posted by: superG - 06-22-2022, 10:49 PM - Forum: KC868-HxB series Smart Controller - Replies (9)

Hello,

When I use the momentary switch of a relay in combination with Mqtt, I am able to make the kincony ethernet "hang".


It seems to occur when the Kincony had to process commands during the momentary switch.
  - Note: while I do not receive the state on mqtt, the relay have well-executed the momentary switch
  - When a bug occurs:
     - the ethernet is completely stuck; no ping, no HTTP server, no mqtt
     - HTTP UI for wifi (on another IP is still working)
     - Only possible recovery is a Hard reboot (reset of wifi is not working)


My reproduction method: 
 - Put Relay1 with momentary switch 1 seconds
 - send 2 mqtt command:
    - `mosquitto_pub -t "relay32/dddd/set` -m "{\"relay1\":1}" 
    - `sleep 0.5`
    - `mosquitto_pub -t "relay32/dddd/set` -m "{\"relay1\":1}"


I also reproduced it with the embedded HTTP page just by insisting when relay state is "wrong".

I tried to update to the latest version (44) but it does not seem to help.


Have you any idea on how to mitigate that?

Print this item

  home assistant RC 2022.6 mqtt config update for configuration.yaml
Posted by: admin - 06-22-2022, 01:00 AM - Forum: KC868-HxB series Smart Controller - Replies (53)

home assistant MQTT breaking changes RC 2022.6

before MQTT config format:

switch:
  - platform: mqtt
    name: 'relay11'
    unique_id: relay11
    state_topic: 'relay32/80f9caa4068e78059e31c622/state'
    command_topic: 'relay32/80f9caa4068e78059e31c622/set'
    payload_on: '{"relay1":{"on":1}}'
    payload_off: '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0


new MQTT config format:

mqtt:
  switch:
  - name: 'relay11'
    unique_id: relay11
    state_topic: 'relay32/80f9caa4068e78059e31c622/state'
    command_topic: 'relay32/80f9caa4068e78059e31c622/set'
    payload_on: '{"relay1":{"on":1}}'
    payload_off: '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0


new MQTT config for two switches format:

mqtt:
  switch:
  - name: 'relay11'
    unique_id: relay11
    state_topic: 'relay32/80f9caa4068e78059e31c622/state'
    command_topic: 'relay32/80f9caa4068e78059e31c622/set'
    payload_on: '{"relay1":{"on":1}}'
    payload_off: '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0
   
  - name: 'relay22'
    unique_id: relay22
    state_topic: 'relay32/80f9caa4068e78059e31c622/state'
    command_topic: 'relay32/80f9caa4068e78059e31c622/set'
    payload_on: '{"relay2":{"on":1}}'
    payload_off: '{"relay2":{"on":0}}'
    value_template: '{{ value_json.relay2.on }}'
    state_on: 1
    state_off: 0



Attached Files Thumbnail(s)
       

.txt   before.txt (Size: 354 bytes / Downloads: 619)
.txt   now-2-switches.txt (Size: 695 bytes / Downloads: 694)
.txt   now.txt (Size: 352 bytes / Downloads: 691)
Print this item

  KC868-A16 questions
Posted by: LTDU - 06-20-2022, 09:27 AM - Forum: DIY Project - Replies (3)

Hi, I have some questions regarding the KC868-A16 board, please answer as follows:

1. I have a INPUT signal which is either connected to (common) GND or 5V. Will the inputs recognize this correctly?

2. I have an actor, type 1 (OUTPUT) which supports 5V and needs to be connected to GND when switched. Will this work?

3. I have an actor, type 2 (OUTPUT) which will need 15V output. Will this voltage be okay (instead of 12V)?

Print this item

  lesson32 - set button work for latch,inching,momentary, Interlocking work mode by ESP
Posted by: admin - 06-17-2022, 01:23 AM - Forum: Home automation training courses - Replies (2)

1. latch mode: Button1

    on_press:
      then:
      - switch.toggle: e16s_output1


2. inching mode: Button2

    on_press:
      then:
      - switch.turn_on: e16s_output2
    on_release:
      then:
      - switch.turn_off: e16s_output2 


3. momentary mode: Button3

    on_turn_on:
    - delay: 1000ms
    - switch.turn_off: e16s_output3


4. interlocking mode: Button4-Button5

interlock: [e16s_output5]

interlock: [e16s_output4]


.txt   KC868-E16S-ESPHome-Config-buttons-work-mode.txt (Size: 6.36 KB / Downloads: 721)

Print this item