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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,449
» Latest member: LouisMartin
» Forum threads: 4,326
» Forum posts: 21,312

Full Statistics

Online Users
There are currently 290 online users.
» 1 Member(s) | 263 Guest(s)
Amazonbot, Applebot, AwarioBot, Baidu, Bytespider, Google, HeadlessChrome, PetalBot, Semrush, bot, 7777xbetorg

Latest Threads
kc868-a6 analog input
Forum: KC868-A6
Last Post: admin
Yesterday, 09:56 AM
» Replies: 3
» Views: 407
F24 ESPHome yaml for home...
Forum: F24
Last Post: admin
Yesterday, 07:25 AM
» Replies: 0
» Views: 12
[arduino code examples fo...
Forum: F24
Last Post: admin
Yesterday, 05:35 AM
» Replies: 0
» Views: 15
[arduino code examples fo...
Forum: F24
Last Post: admin
Yesterday, 05:33 AM
» Replies: 0
» Views: 15
[Arduino source code for ...
Forum: KC868-A2
Last Post: admin
Yesterday, 05:31 AM
» Replies: 6
» Views: 1,756
KC868-A4 – Relay 1 clicks...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
11-03-2026, 11:58 PM
» Replies: 3
» Views: 61
⚡ 40 Buttons, 36 Lighting...
Forum: DIY Project
Last Post: lulu01
11-03-2026, 07:34 PM
» Replies: 24
» Views: 3,066
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 03:04 AM
» Replies: 0
» Views: 27
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 01:34 AM
» Replies: 0
» Views: 31
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 12:15 AM
» Replies: 0
» Views: 32

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

Print this item

  TWAI (CANBUS) interface on KC868 board
Posted by: Pierzogad - 06-16-2022, 10:32 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Are there any plans to add TWAI (CANBUS) controler e.g.with SN65HVD23x instead of RS-232/RS-485? 

With CANBUS it's easy to daisy-chain any number of boards whereas RS-232/RS-485 are tricky to add more than just 1 additional board. 
I would preffer setup with several smaller boards - e.g. 4-6 relays/inputs and ability to add more when needed rather than aiming for maximum planned IOs.

Please add comments if anyone else would be ineterested in it.

Print this item

  how to enable the USB ports on Raspberry Pi CM4
Posted by: admin - 06-13-2022, 06:39 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (22)

To enable the USB 2.0 ports on the Compute Module 4, you need to edit the boot config file (/boot/config.txt) and add:

dtoverlay=dwc2,dr_mode=host
Then reboot the Pi. Now you should be able to use the built-in USB 2.0 ports!

Print this item

  Lesson31 - control modbus relay by Node-Red
Posted by: admin - 06-10-2022, 05:12 AM - Forum: Home automation training courses - Replies (2)

Print this item

  Read Serial (RS485) Data
Posted by: v1rtus - 06-09-2022, 09:40 PM - Forum: KC868-Server Raspberry Pi4 local server - Replies (26)

Hello,

I have no success to read data from RS485 port (orange one). I use NODE-RED for building flows.

To make sure that it is not issue in any configuration I used USB->RS485 adapter and I had success to read data.

There are two serial available when execute

Code:
dmesg | grep tty

  1. /dev/ttyS0
  2. /dev/ttyAMA0

I assume that /dev/ttyAMA0 is the right one to use but when I try to read data the response is "Modbus Failure On State sending Get More About It By Logging"

Could someone help me with that? I can read data if I use USB->RS485 adapter but not trought the built-in RS-485 port (orange one).

Print this item

  Lesson30 - how to install Node-Red on home assistant
Posted by: admin - 06-09-2022, 04:42 AM - Forum: Home automation training courses - No Replies

Print this item

  Lesson29 - how to config manual push button for switches and LED strip
Posted by: admin - 06-08-2022, 10:10 AM - Forum: Home automation training courses - No Replies

1. get the MQTT feedback message from every puch button.

2. create "automation" for buttons in home assistant.

Print this item

  KC-868-AG ESP32 IR/RF
Posted by: ahmedk4444@yahoo.com - 06-07-2022, 07:02 PM - Forum: DIY Project - Replies (3)

Dear kincony Custmer support,
I bought 4 pieces of this module to connect them to varies function
1. External for learn the remote control of garage gate motor to open close by mobile app the same application for all.
2. Another to control reception 3 Air conditions remote control + home appliances of living room:-
DVD
VIDEO
OUTDOOR AMPLIFIER
PROJECTOR
HOME THEATER
SATELLITE RECIEVER
BLURAY
SMART TV
APPLE TV 

All in the same room and all work with remote control
Bearing in mind the 3 AC split AC are the same remote and code for all 3 unit and i need to control each separate from mobile app.
3. Master bedroom AC, TV, Satelite reciever, shutter motor using Wifi SONOFF
4. Multi purpose room Bluray 4 K, smart TV, XBox, home theater reciever.
Please send me clear procedures and you tube videos for installation and vsries programing related toeach function above..
Thanks in advance
Ahmed

Print this item

  Enable serial port on Raspberry Pi CM4
Posted by: admin - 06-07-2022, 06:58 AM - Forum: KC868-Server Raspberry Pi4 local server - No Replies

I also noticed sometimes UART is disabled in kernel. The enable it you need to check in /boot/config.txt the line enable_uart

If it's set to 0 like follow

enable_uart=0
You need to change to 1 as follow

enable_uart=1
And reboot of course!

sudo raspi-config
   
make sure disable Linux UART console

Print this item

  KC868-Server 16 channel digital input use for push button - home asssitant configurat
Posted by: admin - 06-07-2022, 02:00 AM - Forum: KC868-Server Raspberry Pi4 local server - No Replies

- platform: mqtt
    name: 'sw1'
    unique_id: sw-1
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW1.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw2'
    unique_id: sw-2
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW2.on }}'
    payload_on: 1
    payload_off: 0
   
  - platform: mqtt
    name: 'sw3'
    unique_id: sw-3
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW3.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw4'
    unique_id: sw-4
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW4.on }}'
    payload_on: 1
    payload_off: 0   
   
  - platform: mqtt
    name: 'sw5'
    unique_id: sw-5
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW5.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw6'
    unique_id: sw-6
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW6.on }}'
    payload_on: 1
    payload_off: 0
   
  - platform: mqtt
    name: 'sw7'
    unique_id: sw-7
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW7.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw8'
    unique_id: sw-8
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW8.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw9'
    unique_id: sw-9
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW9.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw10'
    unique_id: sw-10
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW10.on }}'
    payload_on: 1
    payload_off: 0
   
  - platform: mqtt
    name: 'sw11'
    unique_id: sw-11
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW11.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw12'
    unique_id: sw-12
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW12.on }}'
    payload_on: 1
    payload_off: 0   
   
  - platform: mqtt
    name: 'sw13'
    unique_id: sw-13
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW13.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw14'
    unique_id: sw-14
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW14.on }}'
    payload_on: 1
    payload_off: 0
   
  - platform: mqtt
    name: 'sw15'
    unique_id: sw-15
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW15.on }}'
    payload_on: 1
    payload_off: 0   

  - platform: mqtt
    name: 'sw16'
    unique_id: sw-16
    state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
    value_template: '{{ value_json.SW16.on }}'
    payload_on: 1
    payload_off: 0


.txt   KC868-Server-home-assistant-config-16-channel-DI-mqtt.txt (Size: 3.28 KB / Downloads: 737)

Print this item