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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,411
» Latest member: asalhi
» Forum threads: 3,660
» Forum posts: 18,959

Full Statistics

Online Users
There are currently 56 online users.
» 0 Member(s) | 34 Guest(s)
AhrefsBot, Amazonbot, Bytespider, Crawl, Google, PetalBot, Semrush, Yandex, bot

Latest Threads
N30 Energy entry not work...
Forum: N30
Last Post: admin
8 hours ago
» Replies: 30
» Views: 547
flash Kincony software to...
Forum: DIY Project
Last Post: admin
8 hours ago
» Replies: 11
» Views: 63
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
10 hours ago
» Replies: 8
» Views: 133
KC868-A16 v1 with KCS v2....
Forum: "KCS" v2 firmware system
Last Post: admin
10 hours ago
» Replies: 7
» Views: 49
Separate +12V to Kincony,...
Forum: T128M
Last Post: admin
10 hours ago
» Replies: 1
» Views: 15
linux command line / bash...
Forum: TA
Last Post: almman
10 hours ago
» Replies: 2
» Views: 28
KC868-A16 ethernet work w...
Forum: KC868-A16
Last Post: admin
Yesterday, 12:53 PM
» Replies: 14
» Views: 15,952
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 11:24 AM
» Replies: 145
» Views: 26,582
KC868-HAv2 work with F24 ...
Forum: KC868-HA /HA v2
Last Post: admin
Yesterday, 11:19 AM
» Replies: 9
» Views: 682
how to compile new tasmot...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 11:16 AM
» Replies: 5
» Views: 3,839

  KS868-A Series multiple questions
Posted by: spacerunner - 03-14-2023, 07:14 AM - Forum: KC868-A series and Uair Smart Controller - Replies (7)

Hi,

just a fest questions about different A-Series ESP32 controllers:

1. Are the dry contact inputs of the KCS868-AI the same as on the KC868-A16/64/128 ? (anti-interference, ling range etc)

2. Can the dry contact inputs of KCS868-AI or KC868-A16/64/128 also be driven by external voltage, such as +5V or +12V?

3. Can the MOSFET outputs of KC868-A16/64/128 also drive +5V instead of 12V/24V?

4. Can the MOSFET outputs of KC868-A16/64/128 drive different voltages per 8-PIN-Block? For example 12V output on A1-A8, 24V output on B9-B16, 5V output on B73-B80?

Print this item

  KC868-A4 dht22 problem
Posted by: Joseph.o - 03-13-2023, 11:19 PM - Forum: KC868-A4 - Replies (9)

i'm using a dht22 and input 1 and output1.
i made a simple code where i'm showing the dht22 value in the serial monitoring and  when the intput1 is colsed i made the output1 in the ON state, and if the input1 is open the ouptput1 is OFF.
in the simulation everting work fine and the value of the dht22 sonsor is correct.

but when i add an lamp in the output1 and turn it on and off the value of the dht22 becomes null.
i tried to modify the code like add a delay... but no result. dht22 becomes null.

 here is my simple source code:

Code:
#define output1 4
#define input1   36


#include "DHT.h"
#define DHTPIN 13     // Digital pin connected to the DHT sensor
#define DHTTYPE DHT22 
DHT dht(DHTPIN, DHTTYPE);



int temperatureSonde=0;

void setup() {
 
  Serial.begin(9600);
dht.begin();

pinMode(output1,OUTPUT);
pinMode(input1,INPUT);
}

int loading=0;

void loop() {

if (digitalRead(input1)==0 && digitalRead(output1)==0){digitalWrite(output1,1);
//delay(100);
}
else if(digitalRead(input1)==1 && digitalRead(output1)==1){digitalWrite(output1,0);
//delay(100);
}


/*********************humidity***************************/
// Reading temperature or humidity takes about 250 milliseconds!
  // Sensor readings may also be up to 2 seconds 'old' (its a very s0 sensor)
  float h = dht.readHumidity();


  // Check if any reads failed and exit early (to try again).
  if (isnan(h) ) {
      Serial.println("Failed to read from DHT sensor!");
    }


  Serial.print(F("Humidity: "));
  Serial.println(int(dht.readHumidity()));

/********************************************************/





delay(100);

}// end loop()

Print this item

Photo kc868-A6 relay module RS485 communication
Posted by: Joseph.o - 03-13-2023, 10:59 PM - Forum: KC868-A6 - Replies (1)

hello,
i want to connect the kc868-A6 with a 8 input 8 output rs485 relay.
is there any source code that can use it or start with?


[Image: DC-12V-24V-Multifunction-RS485-IO-Board-....jpg_.webp]

Print this item

  Strange Behavior
Posted by: Philadam - 03-13-2023, 10:32 PM - Forum: KC868-A16 - Replies (5)

I have a 4 gang momentary switch connected to input positions 1-4 and GND on my A16. When I push the buttons I would expect outputs 1-4 to be triggered, instead outputs 9-12 are triggered. Plus, if I push the buttons fast, the A16 seems to get confused and the outputs either freeze or aren't triggered.
I have the latest KCS firmware installed  v1.0.15.

Any ideas on why this is happening.
I have attached pictures.



Attached Files Thumbnail(s)
                   
Print this item

  Homekit firmware for KC868-A32
Posted by: krokodilik - 03-13-2023, 07:44 PM - Forum: KC868-A series and Uair Smart Controller - Replies (15)

Hi guys,

i have bought KC868-A32 board, and my plan is to use relays on board to control some devices using apple homekit environment.
I am not going to implement or develop any software. I just need to flash firmware for this board and then add it to homekit.

However i am struggling what firmware/software/bin to use, or how to do it. I have successfully flashed KCS firmware but it is not supporting homekit.
I found that homespan package in ArduinoIDE would help, but as i said i am not going to develop software based on examples.
i want to automate devices within homekit.

Please advice how to make relays in KC868-A32 board visible in homekit. Is some homekit firmware available and ready for use like for HB32-PRO?
Actually i bought this board because it was stated that it supports homekit.

Thank you.

Miroslav

Print this item

  Help - Did I Buy The Wrong Device
Posted by: shrub100 - 03-13-2023, 06:10 PM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (7)

Hi, I bought one of Kincony KC868-AG IR RF Transmitter / Recievers from AlliExpress hoping that it would integrate better with my Home Assistant set-up vs my current transmitter / receiver which only works via Tuya SmartLife. The adverts looked like a device that was 'ready to go' but I am starting to understand that this is not the case and that there is a reasonable amount of coding and configuration etc required to get this to work or am I missing something? Out of the box there were no instructions or any guidance on how this works. So far I managed:

1. Set-up ESP Home on Home Asistant
2. Connect to the device and load the configuration including wifi; HA api / passwords etc
3. I now have an entity for firmware updates, but that is it.

I can see some of the suggestions on setting up the Yaml to start to get the receivers to work but have had limited success and am getting multiple errors and the yaml from the post KC868-UAIR ESPHOME Config for IR and RF (kincony.com) isnt really complete and fully working as far as I can tell. Here are my errors:

  • IR Reciever - ERROR [inverted] is an invalid option for [1]. Please check the indentation. I did add some indentation and just got another error.
  • Buzzer - commented out as I have a warning about pin4 being a strapping pin
  • Entity - is not a valid domain - not sure what to select for a buzzer though!

So questions:
1. is there any way to get this working with some ready-made firmware? I want to be able to read IR / RF signals and then create some buttons to send them to my blinds; garage door; and a few other items.
2. if there is nothing out of the box... can someone just post a working YAML for this device with all the receivers/transmitters and buzzers? Equally, maybe a couple of examples of devices would be useful. Surely it is more work to continuously respond to questions about getting this working than to just write a few lines of code once and be done with it?
3. Once I have the yaml working... then what? How do I actually use this to record and transmit via home assistant? Is there another plugin or something that makes this work in HA ideally with a GUI?

Sorry for all the newb questions. I would not have bought this item if I knew that the software embedded was missing and that I would have to find / build everything myself. I get that this works for some hardcore users, and whilst I am happy tinkering I also have kids and work to worry about  Wink

My Yaml so far.

Code:
esphome:
  name: esp-remote-ir-rf-remote
  friendly_name: "ESP Remote IR / RF Remote"
esp32:
  board: esp32dev
  framework:
    type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
  encryption:
    key: "**********"
ota:
  password: "**********"
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "esp_remote_ir_rf_remote"
    password: !secret wifi_password
#Remote Reciver
remote_receiver:
  - id: RF_Receiver
    pin: 13
    dump:
      - rc_switch
    tolerance: 50%
    filter: 250us
    idle: 4ms
#IR Reciever - ERROR [inverted] is an invalid option for [1]. Please check the indentation.
  - id: IR_Receiver - commented out as
    pin: 23
    inverted: True
    dump: all
#Buzzer - commented out as I have a warning about pin4 being a strapping pin.
#output:
#  - platform: gpio
#    id: "buzzer"
#    pin: 4

#entity: -  Also entity isnt a valid domain apparently - what should I use for a buzzer then?
#  - platform: binary
#    output: "buzzer"
#    name: "IR-RF-Remote-Buzzer"

Print this item

  I need a smart audio system that works with the KC868-SERVER
Posted by: engmohades - 03-13-2023, 12:33 PM - Forum: DIY Project - Replies (3)

I need a smart audio system that works with the KC868-SERVER so that the speakers of each room can be controlled individually or all together
Please help select materials that are compatible with KC868-SERVER

Print this item

  KC868-S8 manual bypass switch released
Posted by: admin - 03-13-2023, 11:46 AM - Forum: News - No Replies

we have designed 8 Channel Manual Bypass Switch for smart home automation controller. If controller is broken or bad, so that can use manual control buttons for your smart system.
 
[Image: KC868-S8_01.jpg]
[Image: KC868-S8_02.jpg]

Print this item

  DS1307 RTC
Posted by: Olsen@HuaHin - 03-13-2023, 10:23 AM - Forum: KC868-A16 - Replies (16)

Hello everybody!

I am looking at adding a DS1307 RTC connected via I2C, anyone you can recommended that has been testet and easy to connect?

Presume source code are the same as for the KC868-A6.

Print this item

  how to install docker on KC868-Server CM4 by raspberry pi OS
Posted by: admin - 03-13-2023, 04:44 AM - Forum: Home automation training courses - No Replies

A. install docker on KC868-Server CM4 on raspberry pi OS

1. sudo curl -sSL https://get.docker.com | sh

2. sudo docker run hello-world

this test whether docker install correct.

3. sudo systemctl daemon-reload

4. sudo systemctl docker

5. sudo systemctl start docker

B. install GUI portainer

1. sudo docker pull portainer/portainer

2. sudo docker volume create portainer_data

3. docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

4. login web browser by http://ip:9000

Print this item