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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,375
» Latest member: tziku
» Forum threads: 2,575
» Forum posts: 13,319

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 34 Guest(s)
Bing, Bytespider, Crawl, Google, PetalBot, bot

Latest Threads
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: Poczwara13
1 hour ago
» Replies: 7
» Views: 64
change wake up name
Forum: KinCony AS
Last Post: gal
1 hour ago
» Replies: 14
» Views: 109
H32L - home assistant
Forum: KC868-HxB series Smart Controller
Last Post: athxp
1 hour ago
» Replies: 0
» Views: 2
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
1 hour ago
» Replies: 14
» Views: 473
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: elemarek
Today, 10:12 AM
» Replies: 15
» Views: 7,687
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Today, 09:03 AM
» Replies: 12
» Views: 137
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 11:15 PM
» Replies: 18
» Views: 191
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
Yesterday, 11:12 PM
» Replies: 8
» Views: 2,273
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 400
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 73

  KC868-1U configure yaml for ESPhome Home assistant
Posted by: admin - 06-21-2023, 01:23 AM - Forum: KC868-1U - No Replies

   

.txt   KC868-1U-ha-config.txt (Size: 5.76 KB / Downloads: 157)

esphome:
  name: 1u
  platform: ESP32
  board: esp32dev
 
 
remote_receiver:
  pin: 13
  dump:
    - rc_switch
  tolerance: 50%
  filter: 250us
  idle: 2ms
  buffer_size: 2kb
# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 16
  scan: true
  id: bus_a
# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
  # Optional manual IP
 # manual_ip:
 #   static_ip: 192.168.1.199
#    gateway: 192.168.1.1
#    subnet: 255.255.255.0  
# Example configuration entry
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
# Individual outputs
switch:
  - platform: gpio
    name: "light1"
    id: light1
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "light2"
    id: light2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light3"
    id: light3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light4"
    id: light4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light5"
    id: light5
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true      
     
  - platform: gpio
    name: "light6"
    id: light6
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "light7"
    id: light7
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
  - platform: gpio
    name: "light8"
    id: light8
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
binary_sensor:
  - platform: gpio
    name: "input1"
    on_press:
      then:
        - switch.toggle: light1
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input2"
    on_press:
      then:
        - switch.toggle: light2
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input3"
    on_press:
      then:
        - switch.toggle: light3
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input4"
    on_press:
      then:
        - switch.toggle: light4
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input5"
    on_press:
      then:
        - switch.toggle: light5
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input6"
    on_press:
      then:
        - switch.toggle: light6
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input7"
    on_press:
      then:
        - switch.toggle: light7
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: gpio
    name: "input8"
    on_press:
      then:
        - switch.toggle: light8
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
  - platform: remote_receiver
    name: "remoter1"
    rc_switch_raw:
      code: '001111010111001010111000'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light1
    filters:
      - delayed_off: 200ms
  - platform: remote_receiver
    name: "remoter2"
    rc_switch_raw:
      code: '001111010111001010111100'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light2
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter3"
    rc_switch_raw:
      code: '001111010111001010110100'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light3
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter4"
    rc_switch_raw:
      code: '001111010111001010111001'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light4
    filters:
      - delayed_off: 200ms  
   
  - platform: remote_receiver
    name: "remoter5"
    rc_switch_raw:
      code: '001111010111001010110010'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light5
    filters:
      - delayed_off: 200ms
  - platform: remote_receiver
    name: "remoter6"
    rc_switch_raw:
      code: '001111010111001010110101'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light6
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter7"
    rc_switch_raw:
      code: '001111010111001010110001'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light7
    filters:
      - delayed_off: 200ms
     
  - platform: remote_receiver
    name: "remoter8"
    rc_switch_raw:
      code: '001111010111001010110011'
      protocol: 1
    on_press:
      then:
        - switch.toggle: light8
    filters:
      - delayed_off: 200ms
     
# Enable logging
logger:
# Enable Home Assistant API
api:
dallas:
  - pin: 14
    update_interval: 5s
sensor:
  - platform: dallas
    address: 0xa538cee908646128
    name: "1U Temperature"

Print this item

  KC868-1U ESP32 I/O pin define
Posted by: admin - 06-21-2023, 01:21 AM - Forum: KC868-1U - No Replies

IIC SDA:4
IIC SCL:16

Relay_IIC_address 0x24

Input_IIC_address 0x22

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

RF433MHz wireless receiver: 13
IR Sender:5
IR 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


RS485:
RXD:32
TXD:33

Buzzer:2

Print this item

Wink KinCony Server-Mini Raspberry Pi4 relay board released
Posted by: admin - 06-20-2023, 12:56 AM - Forum: News - No Replies

KinCony Server-Mini is a raspberry pi CM4 relay board for smart home automation and industrial automation control, it’s mini version of KC868-Server. Server-Mini smart controller support 8 channel relay output and wall switch connect to it directly. The most important is integrated Raspberry pi CM4 module. Relay and digital input port have connected with CM4 module’s GPIO directly. You can use Node-Red easy to control relay and read digital input port and use I2C bus extender.
[Image: Server-mini1_01.jpg]
[Image: Server-mini1_02.jpg]
[Image: Server-mini1_03.jpg]
[Image: Server-mini2_01.jpg]
[Image: Server-mini2_02.jpg]

Print this item

Question Specifications lack of information for KC868-HxB
Posted by: fomKLM - 06-18-2023, 10:41 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

About:
https://www.kincony.com/16-channel-ether...-h16b.html

After consulting the website and documentation. Could anyone clarify, please the following:

For the Input Ports:
What is the voltage input range / type of input / type of current for the inputs of the module?
There is NO INFORMATION regarding these ports!
f.e. DC 0-5V dry contact
or AC 230V
or whatever.

For the Output Ports:
Are they isolated? Can be used for different phases? i.e relay1: Phase1-N, relay2: Phase2-N.. relay{n} phase{1,2,3}-N
Can be the unit operated at 10A/per port continousuly? (what is the duty service?)


For the "working voltage":
What is the tolerance for the power supply? In volts or %. What is the maximun current drained, I.e. mx operational power of this unit?

In general:
What is the derrating with altitude / ambient temperature (stated as -20 to +70 C)?


Are there diagrams regarding mounting spacing required (safe areas, clear areas) and hole spacing?


I think the "product parameters" for most of the products should be updated to reflect more "basic" information.

Thank you.

Print this item

  DAC on the KC868-a6
Posted by: Siebje - 06-16-2023, 01:02 PM - Forum: KC868-A6 - Replies (1)

Hi, I'm working on a project where I need to control a 0-10V fan. I was going to use the two DAC channels on the KC868-a6 development board but without success. from the following code, I couldn't get a measurement with my multimeter  

Code:
/*KC868-A6 DAC CODE*/
#define DAC1 26
#define DAC2 25

void setup() {
  //Serial.begin(115200);

}

void loop() {

  dacWrite(DAC1, 127);
  dacWrite(DAC2, 127);

  delay(2000);

  dacWrite(DAC1, 255);
  dacWrite(DAC1, 255);

  delay(2000);
}
can someone help me with how to use the DAC?

Print this item

  A4s inaccurate voltage readings
Posted by: mvtech2430 - 06-16-2023, 01:43 AM - Forum: KC868-A4 - Replies (1)

Hello, i have a 24v water level sensor connected to AI1 0-5v output

my reading on my voltmeter is 27100mv = 0.271v 

but the reading in esphome is not accurate see image



Attached Files Thumbnail(s)
       
Print this item

  KCS MQTT ANALOG
Posted by: philippe - 06-15-2023, 10:35 PM - Forum: "KCS" firmware system - Replies (20)

Hi, I am trying KCS.
It sends Mqtt frames with all data (Input+relay+analog+DAC).
Only inputs and outputs changes are updated by a mqtt frame.
When analog and DAC changes, there is no mqtt updates.
I tried to parameterize the threshold, but no way

Quite important to get them updated without any changes in input and output.
Thanks

Print this item

  Mqtt and switches
Posted by: philippe - 06-15-2023, 06:51 PM - Forum: KC868-AM - Replies (3)

Hi , I d like my switches to not act on my relays. And instead, they should send MQTT messages stating "switch 1 action ON". I tried according to the tasmota pages https://tasmota.github.io/docs/Buttons-a...ion-switch to do it, setoption 114 ou 15, but I dont see any mqtt message when pressing a switch. Can you help?
Thanks

Print this item

  ADC GPIOs
Posted by: philippe - 06-15-2023, 06:20 PM - Forum: KC868-A4 - Replies (1)

Hi, I am a bit confused with the ADC pins. Seems that the A4 board does not connect to the same GPIOs as the tasmota pages indicates.
Can you give me the list of gpios that are coming with the A4 provided by Tasmota here
https://templates.blakadder.com/kincony_KC868-AM.html

Also if I want Temp reading should I mention ADC Temp?
Thanks

Print this item

  School Project
Posted by: robjae - 06-15-2023, 09:58 AM - Forum: Apply for free sample product - No Replies

I would like a sample to use in my CyberSecurity project.  The built in wifi and 433mhz would allow me to test IOT devices for vulnerabilities.

Print this item