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 41 online users.
» 0 Member(s) | 28 Guest(s)
Amazonbot, Bing, Bytespider, Crawl, Google, Yandex, bot

Latest Threads
KC868-AG RF - sending rep...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
1 hour ago
» Replies: 5
» Views: 155
Kc868 a8 in workshop
Forum: KC868-A8
Last Post: admin
3 hours ago
» Replies: 1
» Views: 3
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: admin
3 hours ago
» Replies: 16
» Views: 7,691
One input switch - turn o...
Forum: KinCony AS
Last Post: admin
4 hours ago
» Replies: 1
» Views: 2
change wake up name
Forum: KinCony AS
Last Post: admin
4 hours ago
» Replies: 15
» Views: 111
KC868-A8 Switch
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
4 hours ago
» Replies: 3
» Views: 36
H32L - home assistant
Forum: KC868-HxB series Smart Controller
Last Post: admin
4 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
7 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

  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

  KC868-A16 protocol_custom call rs485 using http?
Posted by: stanchiam - 01-01-2024, 02:02 PM - Forum: "KCS" firmware system - Replies (3)

Hi,

How can the protocol - custom page be use to call the rs485 modbus devices attached to the RS485 AB port.
Example a hex 0106000103E8D8B4 will call the device and set it to 10v.
I try using call it using post/get the url but will get "File does not exist".

   

Print this item

  KC868-A32M vs KC868-A16
Posted by: charlesrg - 01-01-2024, 02:51 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Wiring Diagrams for A32M show low side (Negative side) switching. While for A16 is shows high side (positive side) switching.

It makes the wiring for one of the other be very different. Since both are using P-Channel Mosfets are this diagrams correct ?
Is there a reason to make them very different and not interchangeable ?

Is it possible to do High side switching with the A32M ?


Thank you,

Print this item

  lost access to my module’s interface with IP address
Posted by: Lamri - 12-30-2023, 10:00 PM - Forum: KC868-A16S - Replies (7)

After configuring Home Assistant, I managed to control my KC868-A16S module with it. However, I lost access to my module’s interface with the IP address 192.168.1.76. It’s important to note that before setting up Home Assistant, I was always able to connect to the module’s interface with this IP address. Can you assist me with this problem?

Print this item

  KC868-A16S & Tuya & Alexa
Posted by: Lamri - 12-29-2023, 11:29 PM - Forum: KC868-A16S - Replies (3)

Hello, I have added my Kincony KC868-A16S module to the Tuya app and everything works fine. However, when integrating with Alexa via the Tuya app, Alexa starts up and tells me that my robot vacuum cleaner device is not yet supported in this language. But my module is not a vacuum cleaner. What should I do so that I can control my module with Alexa? Also, the language setting on my phone is French

Print this item

  Best product for application
Posted by: SwampHouse - 12-29-2023, 04:40 PM - Forum: DIY Project - Replies (9)

Hi

You have a large selection of products, so I thought I better ask to see what best fits my application. This project is fairly simple. Need to send a SMS TXT  when a digital input is triggered.  Can use IFTTT or some other means.  When the switch is open a TXT will be sent when switch closes TXT will be sent.  Will have WiFi at the location. You have so many different options using ESP32 and other, so let me know your recommendations.  Would prefer not to use TUYA if possible.

Print this item