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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,494
» Latest member: 247expresspackers
» Forum threads: 2,286
» Forum posts: 11,887

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 25 Guest(s)
AhrefsBot, Facebook, Google, PetalBot, Yandex, bot, facebookexternalhit, help@dataminr.com

Latest Threads
PWM support?
Forum: KC868-A16
Last Post: admin
1 hour ago
» Replies: 1
» Views: 8
USB ports
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: admin
1 hour ago
» Replies: 1
» Views: 3
Lesson23- How to connect ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 10:11 AM
» Replies: 10
» Views: 7,155
KC868-AG RF - sending rep...
Forum: KC868-A series and Uair Smart Controller
Last Post: PhilW
Yesterday, 07:46 AM
» Replies: 3
» Views: 9
Usar entradas y oled i2c ...
Forum: KC868-A6
Last Post: sistemasyusa
Yesterday, 03:16 AM
» Replies: 4
» Views: 15
a16 as basis for a securi...
Forum: KC868-A16
Last Post: admin
09-18-2024, 11:58 PM
» Replies: 8
» Views: 53
GSM CALL RELAY
Forum: KC868-A2
Last Post: admin
09-18-2024, 11:53 PM
» Replies: 9
» Views: 4,107
KC868-A16S or KC868-A8S
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-18-2024, 11:51 PM
» Replies: 3
» Views: 38
KCS firmware
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-18-2024, 11:48 PM
» Replies: 10
» Views: 113
[Arduino IDE demo source ...
Forum: KC868-A6
Last Post: sistemasyusa
09-18-2024, 09:03 AM
» Replies: 8
» Views: 4,564

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

  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