Smart Home Automation Forum

Full Version: how to use KinCony Server16/Server-Mini work with Tuya app
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1. add Kincony Tuya Mqtt component to home assistant by HACS
https://github.com/hzkincony/hass-tuya-mqtt
[attachment=5651]
[attachment=5652]
[attachment=5653]
[attachment=5654]
[attachment=5655]

2. edit configuration.yaml add the code as sample code:
here is whole configuration.yaml download:
[attachment=7803]

you need to buy Tuya license for Server16 or Server-Mini from KinCony. how to order Tuya license, see here: https://www.kincony.com/forum/showthread.php?tid=2544

after you bought Tuya license, replace these 3 lines with yourself:

  device_id: xxxxxxxxxxxxxxxxxxxxx
  device_secret: xxxxxxxxxxxxxxxxxxx
  region: xx

"bind_id" for switch and binary_sensor, you need search in home assistant -- "Developer tools"--"STATES", input your entity name, then find the ID name.
[attachment=5657]
[attachment=5658]

3. use Tuya application or smart life application to scan QRcode(we will give you) add device.

4. you can test turn on/off relay and short digital input port.
here are test photo for turn on relay1,2.
[attachment=5659]
[attachment=5660]

here are test photo for short digital input1 with GND.
[attachment=5661]
[attachment=5662]

now you can not only use home assistant control device in local network, but also remote control device by internet via tuya application.
[attachment=5663]