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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,095
» Latest member: odoodevelopers
» Forum threads: 1,866
» Forum posts: 9,616

Full Statistics

Online Users
There are currently 26 online users.
» 1 Member(s) | 21 Guest(s)
Bing, bot, Vulcan

Latest Threads
H32L issue
Forum: KC868-HxB series Smart Controller
Last Post: admin
2 hours ago
» Replies: 5
» Views: 3
KC868-H32B V5.08 firmware
Forum: News
Last Post: admin
2 hours ago
» Replies: 9
» Views: 1,540
[Case Study-01]: KC868-A4...
Forum: DIY Project
Last Post: JaneJLocane
9 hours ago
» Replies: 1
» Views: 1,723
RS485 Light Switch
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 11:28 AM
» Replies: 7
» Views: 6
KinCony ATF ESP32 SD Card...
Forum: News
Last Post: admin
Yesterday, 05:13 AM
» Replies: 0
» Views: 1
KC868-AP KCS 2 MQTT
Forum: KC868-AP / ADR
Last Post: whitehawk1979
Yesterday, 04:10 AM
» Replies: 2
» Views: 2
Kc868-AK
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 03:44 AM
» Replies: 3
» Views: 3
KCS DI/DO not working
Forum: "KCS" firmware system
Last Post: admin
04-17-2024, 10:25 PM
» Replies: 11
» Views: 181
KC868-HAv2
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
04-17-2024, 10:21 PM
» Replies: 1
» Views: 1
KC-868-A8 analog output 0...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
04-17-2024, 10:17 PM
» Replies: 1
» Views: 1

  KNX/RS485
Posted by: jeftevag - 01-03-2024, 11:55 PM - Forum: KC868-E16S/E16P - Replies (1)

Do you have a RS485/KNX command list for the relays on the KC868-E16P?

Print this item

  Power supply for KC868-A8 (DRC-60)
Posted by: baracha - 01-03-2024, 08:57 PM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hi,

I want to use MeanWell DRC-60 with an integrated 12V battery for powering my KC868-A8.
The output voltage supposed to be adjustable (12-15V), but is over 13V at least this is what I see on my multimeter.

Is it safe to use it?

Print this item

  KC868-M16v2 Ethernet Problem
Posted by: Roni - 01-03-2024, 07:25 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (1)

Hello ,

I have KC868-M16v2. I try the ethernet connection, but i have a problem

this is my ethernet setting

#include <ETH.h>
#include <WebServer_WT32_ETH01.h>
//#define DEBUG_ETHERNET_WEBSERVER_PORT      Serial
//#define _ETHERNET_WEBSERVER_LOGLEVEL_      3


#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

void config_ethernet()
{
  if(s_enable_ethernet=="1")
  {
    WT32_ETH01_onEvent();
  //bool begin(uint8_t phy_addr=ETH_PHY_ADDR, int power=ETH_PHY_POWER, int mdc=ETH_PHY_MDC, int mdio=ETH_PHY_MDIO,
  //          eth_phy_type_t type=ETH_PHY_TYPE, eth_clock_mode_t clk_mode=ETH_CLK_MODE);
   
    ETH.begin(ETH_PHY_ADDR, ETH_PHY_POWER, ETH_PHY_MDC, ETH_PHY_MDIO, ETH_PHY_TYPE, ETH_CLK_MODE);
    ETH.begin(ETH_PHY_ADDR, ETH_PHY_POWER);
    status_ethernet();
    //Serial.println("ethernet mac: "+ ETH.macAddress());
    //Serial.println("ethernet ip: "+ ETH.localIP().toString());
  }
}

This is Error in serial
ETH Connected
ETH Disconnected
ETH Connected
ETH Disconnected
ETH Connected
ETH Disconnected
ETH Connected
ETH Disconnected
ETH Connected
ETH Disconnected
ETH Connected
ETH Disconnected

Print this item

  Cant make E16P work with apple homekit
Posted by: Nikolas Protopapas - 01-02-2024, 09:25 PM - Forum: KC868-E16S/E16P - Replies (1)

Hello, so have bought an E16P esp32 board, too the file offer from the forum added them to Arduino IDE.

First issue was the <pcf8574.h> had to be in capitals in order to include the library.

Second and current issue am having is, error code: the list is way longer just added the first 2
In file included from C:\Users\nicol\OneDrive\Desktop\RealPushButtons\RealPushButtons.ino:7:
C:\Users\nicol\OneDrive\Desktop\RealPushButtons\DEV_LED.h: In function 'void PCF_WRITE(int, boolean)':
C:\Users\nicol\OneDrive\Desktop\RealPushButtons\DEV_LED.h:59:18: error: cannot convert 'PCF8574' to 'uint8_t' {aka 'unsigned char'}
    digitalWrite(pcfOUT_1, mPin - 1, !value);      //digitalWrite(ex1, (mPin-1), value);

In file included from C:\Users\nicol\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/esp32-hal.h:83,
                from C:\Users\nicol\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/Arduino.h:36,
                from C:\Users\nicol\AppData\Local\Temp\arduino\sketches\B825BA561FA7215E1D76DE33C6DE7CC9\sketch\RealPushButtons.ino.cpp:1:
C:\Users\nicol\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\cores\esp32/esp32-hal-gpio.h:75:27: note:  initializing argument 1 of 'void digitalWrite(uint8_t, uint8_t)'
void digitalWrite(uint8_t pin, uint8_t val);



Attached Files
.zip   RealPushButtons.zip (Size: 2.49 KB / Downloads: 64)
Print this item

  Roller shutter in Home Assistant
Posted by: lendy - 01-02-2024, 05:02 PM - Forum: KC868-E16S/E16P - Replies (1)

Hello,

I would like to ask if it is possible to use KC868-E16P as relay for controlling 8 roller shutters in Home Assistant? How it can be calibrated/configured for up/down positions?

Thank you

Print this item

  Home assistant 2023 sur CM4 sur ssd disque
Posted by: raaga - 01-02-2024, 11:10 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - Replies (1)

Salut 
comment utiliser les ports USB pour demarrer home assistant 2023 ?
j'ai un mini serveur kincony Pi cm4 et un disque ssd S3+ 512GO 
NB : home assistant est flashé sur le ssd

Print this item

  Advise me on the simplest
Posted by: Lamri - 01-02-2024, 10:58 AM - Forum: KC868-A16S - Replies (1)

Hello, 
I am a beginner, and I am struggling to configure my 2 kc868-A16S modules. I have managed to configure the home assistant and integrate Tuya on esphome and it works very well. 
Unfortunately, I cannot keep the 2 frameworks (home assistant and web page via the IP address). For this, I simply want to keep access to the interface via the IP address so that I can create ifttt and RF scenes, SMS and calls simply and Tuya, but I want voice command either by Alexa or Google Home. Advise me on the simplest, I will buy a module to run Alexa or Google Home to connect with my 2 A16S modules or it is possible to configure Alexa using node red without losing access to the kincony web page via the IP address. 
Thank you.

Print this item

  KC868-Ax - Attivazione NOTIFICHE su TUYA SMART LIFE
Posted by: Pask media_king - 01-02-2024, 10:49 AM - Forum: Customer project example - Replies (5)

Saluti a tutti e auguri.
Sono nuovo del forum e chiedo aiuto per attivare le notifiche della variazione degli ingressi su
 una KC868-A4 con licenza TUYA.
Puoi aiutarmi gentilmente?
Grazie in anticipo a tutti coloro che risponderanno.

Print this item

  Tuya app by ESPHome in KC868-A16S
Posted by: Lamri - 01-01-2024, 10:38 PM - Forum: KC868-A16S - Replies (1)

Hello, Can you correct the code for me to integrate the Tuya app by ESPHome in KC868-A16S ?

external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-tuya-iot
      ref: v1.2.0
time:
  - platform: homeassistant
    id: homeassistant_time

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output1", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output1", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output2", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output2", false);

on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output3", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output3", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output4", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output4", false);
on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output5", true);

    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output5", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output6", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output6", false);

on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output7", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output7", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output8", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output8", false);

on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output9", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output9", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output10", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output10", false);

on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output11", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output11", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output12", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output12", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output13", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output13", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output14", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output14", false);

on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output15", true);

    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output15", false);

    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output16", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output16", false);

tuya_iot:
  id: tuya_iot_component
  product_id: pxdb.........................
  device_id: 263..............................
  device_secret: Fw9..........................
  region: eu # eu, us, eus, weu, in, cn
  # eu: Central Europe Data Center
  # us: US West Data Center
  # eus: US East Data Center
  # weu: Western Europe Data Center
  # in: India Data Center
  # cn: Chinese Data Center

on_event:
    - event_name: property/set
      then:
        - lambda: !lambda |-
              // Append the required switch in switch_map to respond to commands issued by Tuya.
              static std::map<float, switch_::Switch*> switch_map {
                { 1, id(a16s-output1) },
                { 2, id(a16s-output2) },
                { 3, id(a16s-output3) },
                { 4, id(a16s-output4) },
                { 5, id(a16s-output5) },
                { 6, id(a16s-output6) },
                { 7, id(a16s-output7) },
                { 8, id(a16s-output8) },
                { 9, id(a16s-output9) },
                { 10, id(a16s-output10) },
                { 11, id(a16s-output11) },
                { 12, id(a16s-output12) },
                { 13, id(a16s-output13) },
                { 14, id(a16s-output14) },
                { 15, id(a16s-output15) },
                { 16, id(a16s-output16) },
              };

              bool is_target_output = false;
              bool output_state = false;
              int output_number = 0;
              // Modify this number 2 to match the number of switches in the above switch_map.
              for (int i = 1; i <= 16; i++) {
                String key = "output" + String(i);
                if (x.containsKey("data") && x["data"].containsKey(key.c_str())) {
                  is_target_output = true;
                  output_state = x["data"][key.c_str()];
                  output_number = i;
                  break;
                }
              }

              if (is_target_output) {
                auto iterator = switch_map.find(output_number);
                if (iterator != switch_map.end()) {
                  auto sw = iterator->second;
                  if (output_state) {
                    sw->turn_on();
                  } else {
                    sw->turn_off();
                  }
                }
              }

              bool is_target_all_on = false;
              bool all_on_state = false;

              if (x.containsKey("data") && x["data"].containsKey("all_on")) {
                is_target_all_on = true;
                all_on_state = x["data"]["all_on"];
              }

              if (is_target_all_on) {
                if (all_on_state) {
                  for(const auto& pair : switch_map) {
                    auto sw = pair.second;
                    sw->turn_on();
                  }
                }
              }

              bool is_target_all_off = false;
              bool all_off_state = false;

              if (x.containsKey("data") && x["data"].containsKey("all_off")) {
                is_target_all_off = true;
                all_off_state = x["data"]["all_off"];
              }

              if (is_target_all_off) {
                if (all_off_state) {
                  for(const auto& pair : switch_map) {
                    auto sw = pair.second;
                    sw->turn_off();
                  }
                }
              }

Print this item

  esp with tuya
Posted by: mohamedsamir - 01-01-2024, 07:06 PM - Forum: DIY Project - Replies (5)

Hello friends, Happy New Year . I am new here and I want some help
I want to control my esp with tuya smart app and I don't want to use another esp like tuya module. How to do it ?

Print this item