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: daleldalel
» Forum threads: 2,577
» Forum posts: 13,330

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 30 Guest(s)
Bytespider, Google, Yandex, bot

Latest Threads
KC868-AG RF - sending rep...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
59 minutes ago
» Replies: 5
» Views: 155
Kc868 a8 in workshop
Forum: KC868-A8
Last Post: admin
3 hours ago
» Replies: 1
» Views: 2
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: admin
3 hours ago
» Replies: 16
» Views: 7,690
One input switch - turn o...
Forum: KinCony AS
Last Post: admin
3 hours ago
» Replies: 1
» Views: 2
change wake up name
Forum: KinCony AS
Last Post: admin
3 hours ago
» Replies: 15
» Views: 111
KC868-A8 Switch
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
3 hours ago
» Replies: 3
» Views: 36
H32L - home assistant
Forum: KC868-HxB series Smart Controller
Last Post: admin
3 hours ago
» Replies: 1
» Views: 5
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: Poczwara13
6 hours ago
» Replies: 7
» Views: 69
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
6 hours ago
» Replies: 14
» Views: 481
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 09:03 AM
» Replies: 12
» Views: 140

  esp32 K-Type thermocouple 24CH relay module – A24 released
Posted by: admin - 12-18-2023, 11:43 AM - Forum: News - No Replies

KinCony A24 esp32 board based on ESP32 wifi chip, it have manual control switch buttons can turn ON/OFF relay even if system is broken. Support 3CH K-Type thermocouple use by MAX31855 chip. It support GSM module for SMS, voice call, GPRS communication for Tuya mobile application. Use SMS or call to turn ON/OFF relay will be very easy for home automation DIY. You can write any code by Arduino IDE to ESP32 wifi/bluetooth/ethernet RS485 module. We will supply demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY.
 
[Image: A24-1_01.jpg]
[Image: A24-1_02.jpg]
[Image: A24-1_03.jpg]
[Image: A24-1_04.jpg]
[Image: A24-1_05.jpg]
[Image: A24-1_06.jpg]

Print this item

  A24 configure yaml for ESPhome
Posted by: admin - 12-18-2023, 11:30 AM - Forum: KinCony A24 - Replies (19)

   

esphome:
  name: a24
  platform: ESP32
  board: esp32dev


# Enable logging
logger:

# Enable Home Assistant API
api:


# Example configuration entry
i2c:
  - id: bus_a
    sda: 16
    scl: 5
    scan: true
    frequency: 400kHz
   

# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0


# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-12 CS1-CS3
    i2c_id: bus_a
    address: 0x21
    pcf8575: true

  - id: 'pcf8574_hub_out_2'  # for output channel 13-24
    i2c_id: bus_a
    address: 0x22
    pcf8575: true

  - id: 'pcf8574_hub_in_1'  # for input channel 1-16
    i2c_id: bus_a
    address: 0x24
    pcf8575: true

  - id: 'pcf8574_hub_in_2'  # for a24--input channel 17-32
    i2c_id: bus_a
    address: 0x25
    pcf8575: true
   
# Individual outputs
switch:
  - platform: gpio
    name: "a24--light1"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a24--light5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true


  - platform: gpio
    name: "a24--light9"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 8
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light10"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 9
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light11"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 10
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light12"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 11
      mode: OUTPUT
      inverted: true



  - platform: gpio
    name: "a24--light13"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light14"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light15"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 2
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light16"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 3
      mode: OUTPUT
      inverted: true
     
     
  - platform: gpio
    name: "a24--light17"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 4
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light18"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light19"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 6
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light20"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 7
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a24--light21"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 8
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light22"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 9
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light23"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 10
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a24--light24"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 11
      mode: OUTPUT
      inverted: true     



# Individual inputs
binary_sensor:
  - platform: gpio
    name: "a24--input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
     
  - platform: gpio
    name: "a24--input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true


  - platform: gpio
    name: "a24--input9"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 8
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input10"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 9
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input11"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 10
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input12"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 11
      mode: INPUT
      inverted: true
     
  - platform: gpio
    name: "a24--input13"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 12
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input14"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 13
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input15"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 14
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input16"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 15
      mode: INPUT
      inverted: true
     
     
  - platform: gpio
    name: "a24--input17"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input18"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input19"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input20"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 3
      mode: INPUT
      inverted: true
     
  - platform: gpio
    name: "a24--input21"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input22"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input23"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "a24--input24"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 7
      mode: INPUT
      inverted: true

sensor:
  - platform: adc
    pin: 35
    name: "A24 A1 Voltage"
    update_interval: 10s
    attenuation: 11db
    filters:
      - lambda:
          if (x >= 3.11) {
            return x * 1.60256;
          } else if (x <= 0.15) {
            return 0;
          } else {
            return x * 1.51;
          }
  - platform: adc
    pin: 34
    name: "A24 A2 Voltage"
    update_interval: 10s
    attenuation: 11db
    filters:
      # - multiply: 1.51515
      - lambda:
          if (x >= 3.11) {
            return x * 1.60256;
          } else if (x <= 0.15) {
            return 0;
          } else {
            return x * 1.51;
          }
  - platform: adc
    pin: 39
    name: "A24 A3 Current"
    update_interval: 10s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666
  - platform: adc
    pin: 36
    name: "A24 A4 Current"
    update_interval: 10s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666

  - platform: max31855
    name: "K-Type Thermocouple-1"
    cs_pin:
      pcf8574: pcf8574_hub_out_1
      number: 13
      mode: OUTPUT
      inverted: false
    update_interval: 5s

  - platform: max31855
    name: "K-Type Thermocouple-2"
    cs_pin:
      pcf8574: pcf8574_hub_out_1
      number: 14
      mode: OUTPUT
      inverted: false
    update_interval: 5s

  - platform: max31855
    name: "K-Type Thermocouple-3"
    cs_pin:
      pcf8574: pcf8574_hub_out_1
      number: 15
      mode: OUTPUT
      inverted: false
    update_interval: 5s

spi:
  - id: spi_bus0
    clk_pin: 14
    miso_pin: 12

gp8403:
  id: my_gp8403
  voltage: 10V

output:
  - platform: gp8403
    id: gp8403_output_1
    gp8403_id: my_gp8403
    channel: 0
  - platform: gp8403
    id: gp8403_output_2
    gp8403_id: my_gp8403
    channel: 1

light:
  - platform: monochromatic
    name: "A24-DAC-1"
    output: gp8403_output_1
  - platform: monochromatic
    name: "A24-DAC-2"
    output: gp8403_output_2


.txt   A24-ESPHome.txt (Size: 10.11 KB / Downloads: 170)

Print this item

  A24 ESP32 I/O pin define
Posted by: admin - 12-18-2023, 11:28 AM - Forum: KinCony A24 - No Replies

#define ANALOG_A1  GPIO35
#define ANALOG_A2  GPIO34
#define ANALOG_A3  GPIO39
#define ANALOG_A4  GPIO36

IIC Bus-1:A

SDA-A:GPIO16
SCL-A:GPIO5

PCF8575:U15 (relay1-12): i2c address:0x21

PCF8575->U15->P0 (relay 1)
PCF8575->U15->P1 (relay 2)
PCF8575->U15->P2 (relay 3)
PCF8575->U15->P3 (relay 4)
PCF8575->U15->P4 (relay 5)
PCF8575->U15->P5 (relay 6)
PCF8575->U15->P6 (relay 7)
PCF8575->U15->P7 (relay 8)
PCF8575->U15->P10 (relay 9)
PCF8575->U15->P11 (relay 10)
PCF8575->U15->P12 (relay 11)
PCF8575->U15->P13 (relay 12)
PCF8575->U15->P15 (CS1 of MAX31855)
PCF8575->U15->P16 (CS2 of MAX31855)
PCF8575->U15->P17 (CS3 of MAX31855)

PCF8575:U27 (relay13-24): i2c address:0x22

PCF8575->U27->P0 (relay 13)
PCF8575->U27->P1 (relay 14)
PCF8575->U27->P2 (relay 15)
PCF8575->U27->P3 (relay 16)
PCF8575->U27->P4 (relay 17)
PCF8575->U27->P5 (relay 18)
PCF8575->U27->P6 (relay 19)
PCF8575->U27->P7 (relay 20)
PCF8575->U27->P10 (relay 21)
PCF8575->U27->P11 (relay 22)
PCF8575->U27->P12 (relay 23)
PCF8575->U27->P13 (relay 24)

PCF8575:U16 (input1-16): i2c address:0x24

PCF8575->U16->P0 (input 1)
PCF8575->U16->P1 (input 2)
PCF8575->U16->P2 (input 3)
PCF8575->U16->P3 (input 4)
PCF8575->U16->P4 (input 5)
PCF8575->U16->P5 (input 6)
PCF8575->U16->P6 (input 7)
PCF8575->U16->P7 (input 8)
PCF8575->U16->P10 (input 9)
PCF8575->U16->P11 (input 10)
PCF8575->U16->P12 (input 11)
PCF8575->U16->P13 (input 12)
PCF8575->U16->P14 (input 13)
PCF8575->U16->P15 (input 14)
PCF8575->U16->P16 (input 15)
PCF8575->U16->P17 (input 16)


PCF8575:U28 (input17-32): i2c address:0x25

PCF8575->U28->P0 (input 17)
PCF8575->U28->P1 (input 18)
PCF8575->U28->P2 (input 19)
PCF8575->U28->P3 (input 20)
PCF8575->U28->P4 (input 21)
PCF8575->U28->P5 (input 22)
PCF8575->U28->P6 (input 23)
PCF8575->U28->P7 (input 24)
PCF8575->U28->P10 (input 25)
PCF8575->U28->P11 (input 26)
PCF8575->U28->P12 (input 27)
PCF8575->U28->P13 (input 28)
PCF8575->U28->P14 (input 29)
PCF8575->U28->P15 (input 30)
PCF8575->U28->P16 (input 31)
PCF8575->U28->P17 (input 32)

-----------------

1-wire: GPIO15

-----------------

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:GPIO32
TXD:GPIO33

4G module:
RXD:GPIO13
TXD:GPIO4

--------------------
SPI bus for MAX31855
SCK: GPIO14
MISO: GPIO12

-------------------
GP8403 DAC i2c address: 0x58

Print this item

  ESPHOME 2023.12.0b2 breaking change
Posted by: petez69 - 12-17-2023, 12:24 PM - Forum: Getting Started with ESPHome and Home Assistant - Replies (7)

Hi Kincony

There is a breaking change in ESPHOME in 2023.12.0b2 that causes the A8 etc yaml to fail the configuration test.

https://github.com/esphome/esphome/pull/5666

I dont have a test system, not sure if you need to add allow_other_uses: true to each pin or a global entry at the top.

If you could advise that would be good

Thankyou..Peter allow_other_uses: true

Print this item

  How use Serverboard IO from CM4
Posted by: Helmut_number_one - 12-17-2023, 11:47 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (5)

I'm new here and don't have a server from here yet, my question:
How do I communicate with the analog and digital inputs and outputs from Server Board to the CM4 System,
with Modbus TCP, UDP, MQTT or with firmware commands?
Example I want to read the analog input from the board to CM4 and assign a value to the analog output from board.
I can use MQTT, UDP, Modbus TCP or Http Get/Put.
I use it with PHP Server Script IP-Symcon Homeautomatic system
Best regards

Print this item

  KC868-D16 all tested light bulbs are flickering
Posted by: stansvec - 12-16-2023, 05:05 PM - Forum: KC868-HxB series Smart Controller - Replies (8)

Hi,
I purchased and had electricians install the KC868-D16 dimmer along with a PQSSR-10DV 0-10V / 10A SSR relay to control the dimming of 220V light bulbs. However, there's an issue: all the light bulbs tested in every circuit flicker at any brightness level except 100%. I've tested 10 different brands of light bulbs in total, including both normal and decorative incandescent and halogen bulbs, as well as one 20W LED. This is a significant problem for me, as I've already designed the lighting infrastructure in my new flat around the KC868-D16 dimmer, and this flickering issue was unexpected. I didn't find any mention of potential problems in the product description or manuals. Is there a way to resolve this issue please?

Details:
1. Dimmer: KC868-D16 16 CH Tuya Dimmer Controller WiFi+Ethernet+RS485 Switch Module (Kincony store)
2. SSR Relay: Voltage Type Regulating Solid-State Relay Regulator PQSSR-10DV 0-10V /10A (Kincony store)
3. Power adapter for dimmer: MW DIN Rail switch power supply DC12V 2A Max 24W For smart home automation distribution box DIY (Kincony store)

Attached pictures:
a) The power adapter
b) Tested light bulbs

Many thanks,

Stan

   

   

Print this item

  Technical details about remote sold by Kincony !
Posted by: vincen - 12-15-2023, 12:07 PM - Forum: Suggestions and feedback on KinCony's products - Replies (3)

Hi

Kincony sells this product on aliexpress (radio remote) https://www.aliexpress.com/item/10050024...3e5fCX8MU8 but unhappy it's not indicated which battery to use with it !
It's some CR something but unable to find out which model !
Kincony support on Aliexpress is just dumb (sorry to say but it's reality, it's only able to tell you to contact them by whatsapp or link you to their youtube channel, or sending so bad quality pictures of products that you can do nothing with it Sad
Do someone has the info ? or someone from Kincony can answer please ?

Thanks

Vincèn

Print this item

  ESP32 chipset not working for rf module and led strip light from esphome
Posted by: homeassistant144 - 12-15-2023, 11:02 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (6)

RF module and led strip light gpios dont seem to be able to work together in this kc868 board. I tried for both seperately within esphome, once only using the RF and the next time only using the led code. No issues were seen until I tried to use them together. when i flash the esp32 with the code containing parts for both of these, flash shows to be successful but it doesn't come online in esphome. this is my yaml code i have been using in esphome.
.txt   yaml code esphome.txt (Size: 3.3 KB / Downloads: 114)

Print this item

  KCS Firmware multiple DS18B20 on the same GPIO
Posted by: tamibandy - 12-15-2023, 10:49 AM - Forum: "KCS" firmware system - Replies (3)

Is there implemented to can read multiple DS18B20 temperature sensors on the same GPIO?
If not, it is possible to implement some management for it by sensor's uniq id?

Another question, is the KCS firmware open source?

Print this item

  Connecting analogue sensors
Posted by: fundisimu - 12-15-2023, 08:32 AM - Forum: KC868-A16 - Replies (11)

I am new to your board(kcs868-a16). need help testing the onboard LED indicators to see if they are working ok. Installed firmware and need to test if the outputs are ok. secondly need help connecting 0-5 v PH sensor. Do they already have input elctronics already inside or need external circuit for 0-5v signal.

Print this item