How to Use Tuya Homebridge Plugin to control Tuya devices from Apple Home app

  Рет қаралды 17,932

KPeyanski

KPeyanski

Күн бұрын

We will install the official #Tuya #Homebridge #plugin so it will be possible to control Tuya smart devices using Apple HomeKit. That means if you have Apple device and powered by Tuya devices you can make them work together natively using the iOS Home app! I will show you how.
One of the main characters in today’s video is the Tuya Homebridge custom plugin which will help us to control Powered by Tuya (PBT) devices using Apple HomeKit. Tuya Homebridge plugin is based on Tuya Open API and it is officially maintained by the Tuya Developer Team. In other words if you follow this tutorial and make this work once you will able to enjoy it and control your Tuya devices from your iPhone, iPad & Mac for a very long time.
Which is good don’t you think?
► AFFILIATE LINKS
Shelly Amazon Store - amzn.to/34d88VR
Sonoff Basic Smart Relay - amzn.to/3zML9he
Reolink Flash Deals - shrsl.com/301ih
SwitchBot flash deals - switchbot.vip/3BwF221
Aqara Amazon Store - amzn.to/3EpeCSb
Ubiquiti UniFi Dream Machine (UDM) - amzn.to/34B0FQK
Raspberry Pi 4 4GB Starter Kit with 32GB Micro SD Card - amzn.to/3qaI5qN
Raspberry Pi Zero W kit - s.click.aliexpress.com/e/_A47KBK
Raspberry Pi Zero W Official Starter Kit (Amazon Affiliate link) - amzn.to/3ndcX87
Tech that I’m using right now - www.amazon.com/shop/kpeyanski
Get $100 in credit over 60 days for DigitalOcean - m.do.co/c/6dd2caef1f1f
► CRYPTO AFFILIATE LINKS
Sign up for Crypto.com and we both get $25 USD (Referral code: xn86atnceg) - crypto.com/app/xn86atnceg
Binance - One of the biggest Crypto currency exchange - www.binance.com/en/register?r...
► MY WRITTEN ARTICLE - peyanski.com/how-to-use-tuya-...
► MY GUIDE
Smart Home Getting Started Smart Home Guide v2.0 - peyanski.com/product/smart-ho...
► SUPPORT MY WORK
Patreon - / kpeyanski
Paypal - www.paypal.me/kpeyanski
Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
Revolut - revolut.me/kiriltk3x
► COME AND SAY “HI” on:
My Discord server - invite.gg/kpeyanski
My Twitter - / kpeyanski
► INSTALL HOMEBRIDGE ON A RASPBERRY PI
setup repo
curl -sL deb.nodesource.com/setup_14.x | sudo bash -
install Node.js
sudo apt install -y nodejs gcc g++ make python net-tools
test node is working
node -v
Install Homebridge and Homebridge UI
sudo npm install -g --unsafe-perm homebridge homebridge-config-ui-x
► INSTALL HOMEBRIDGE ON DIFFERENT OPERATING SYSTEMS
Install Homebridge on Red Hat, CentOS or Fedora Linux - github.com/homebridge/homebri...
Install Homebridge on macOS - github.com/homebridge/homebri...
Install Homebridge on Windows 10 - github.com/homebridge/homebri...
Official Homebridge Raspberry Pi Image - github.com/homebridge/homebri...
► INSTALL TUYA HOMEBRIDGE PLUGIN
npm install homebridge-tuya-platform
► EDIT TUYA HOMEBRIDGE PLUGIN CONFIGURAITON
cd ./node_modules/homebridge-tuya-platform/config
vim config.json
► TUYA IOT PLATFORM
To register a Tuya account - iot.tuya.com/?_source=365d24d...
► TUYA HOMEBRIDGE GITHUB REPO
github.com/tuya/tuya-homebrid...
► TUYA HOMEBRIDGE PLUG-IN BETA PROGRAM
pages.tuya.com/develop/Homebr...
► TIME TABLE
00:00 Intro
00:27 What is Tuya Homebridge Plugin?
01:21 What is Homebridge?
02:27 Install NodeJS needed for Homebridge
03:27 Homebridge Installation
04:01 Create a cloud project in Tuya IoT Platform
06:47 Install Tuya Homebridge Plugin
06:58 Edit the Tuya Homebridge Plugin configuration
08:30 Start the Tuya Homebridge plugin
09:06 Scan the Tuya Homebridge QR code with iOS Device
09:51 Control Tuya device from Apple Home app demo
10:27 Supported Tuya Device Types by Tuya Homebridge plugin
✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
► DISCLAIMER
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!

Пікірлер: 25
@KostasKap
@KostasKap 2 жыл бұрын
Thanks for the guide. I have done everything and all my accessories are inside home kit now. My problem is that when I close the terminal, devices are not working. Terminal with QR code, must always run! And secondly, I have a delay of approximately 5 seconds for lights or switches to work. Any ideas? Thanks in advance! I have a raspberry 3b+.
@SpiceSnow
@SpiceSnow Жыл бұрын
Hi Is there way to control Tuya lock using this ? GIMDOW smart door lock Digital Password Bluetooth-compatible from Aliexpress, I am not able see this using local tuya integration
@sundarram8415
@sundarram8415 2 жыл бұрын
Thank you for the tutorial. Unfortunately, even after I have linked the Tuyasmart app to the IOT platform (it can see the device on the IoT platform) and I scan the QR code on my Home app, after a while the app reports that the accessory is not found. I have tried pretty much everything but cannot get the app or homebridge to see the accessory. (BTW the account id and password in the json file are exactly the same that I use for the IoT platform as well as the app). Any thoughts on what I should do? Thank you
@sundarram8415
@sundarram8415 2 жыл бұрын
I have a dual band WiFi router and Tuya requires the device running Homebrudge to be on the 2.4 ghz network. When I turned off the 5ghz band on my WiFi temporarily I could now add the Tuya devices on my Homeapp. Once I did that I turned on the 5ghz network.
@daverobertson8138
@daverobertson8138 2 жыл бұрын
Thanks for the great tutorial! I have everything seemingly connected as you showed in the video but my Homebridge is not seeing my accessories. I have them added in the Smart Life app and they are showing up in the Tuya IOT platform just not in home bridge. Any suggestions would be welcome.
@daverobertson8138
@daverobertson8138 2 жыл бұрын
I had the wrong password in the plug in. Be sure you have the mobile app password in your plug in
@EsotericArctos
@EsotericArctos 2 жыл бұрын
It's quite easy to go above 50 devices when you add motion sensors, temperature and humidty and light switches in place. Depending how heavily you go into Tuya. There are so many brands using Tuya now. I think between some of the Tuya Zigbee and WiFi I am pretty close to 50
@KPeyanski
@KPeyanski 2 жыл бұрын
True, if you decided to go all in Tuya and your home is not small - 50 devices may not be enough for you! I guess the Tuya averaged this number from their analytics and decided that this number will be fine for the majority of the users.
@EsotericArctos
@EsotericArctos 2 жыл бұрын
@@KPeyanski At least there are other ways. It is surprising how quickly things can add up if you go all in on one ecosystem for windows, sensors, switches, lightglobes locks. One room I have has 3 light fittings, but 3 globes in each fitting. That's 9 globes, 9 devices if using smart globes just for the light in one room :)
@KPeyanski
@KPeyanski 2 жыл бұрын
Exactly! But for example here majority of the ppl are living in apartments with 3 or even 2 rooms. In such cases 50 devices should be enough… but again it depends!
@EsotericArctos
@EsotericArctos 2 жыл бұрын
@@KPeyanski Definitely. Small apartment, lets say 2 globe fitting in the living room, 3 or4 globes in the kitchen, 2 bedroom, lets say 4 more globes (2 x 2globe) . yeah, 50 would likely be plenty even going all Tuya :). It would be ideal if they could extend it to 100 devices in a future update though. Tuya are doing some good work in the Smart Home space right now with their Homekit and Home Assistant integrations.
@KPeyanski
@KPeyanski 2 жыл бұрын
Yes 100 devices will be great, but even greater will be the local integration release ;)
@vladpros81
@vladpros81 2 жыл бұрын
Thanks. But would be nice to have that inside a docker container
@KPeyanski
@KPeyanski 2 жыл бұрын
I don't know, maybe there is something interesting in Docker hub that can be used right away, but the problem is that if it is not official it may stop working after a some time.
@joshuagerard3400
@joshuagerard3400 Жыл бұрын
I keep getting no access when I scan the QR code any idea?
@elenapiccinini8243
@elenapiccinini8243 2 жыл бұрын
I don't have some of the API service...why is that?! And I cannot find them even in the store...I don't understand.. I don't have: - Smart Home Devices Management - Smart Home Family Management - Smart Home Data Service
@leecummins9068
@leecummins9068 2 жыл бұрын
I have followed this and installed the plug on my Mac and my smart life devices (hoover & outside light) don’t appear in the devices on homebridge & HomeKit. Any ideas why this would be?
@KPeyanski
@KPeyanski 2 жыл бұрын
Hey, lee did you pair your devices in Tuya Smart or Smart Life app first? Also did you link you Tuya account with the Cloud project?
@gregorul
@gregorul Жыл бұрын
@@KPeyanski i have this problem too, but i added devices to my Tuya account and connected it with my cloud!
@aj51081
@aj51081 2 жыл бұрын
I’m trying this but when I scan the QR code to link the Tuya app it tells me the data centre is wrong. My app shows Isle of Mann/United Kingdom but that isn’t an option
@KPeyanski
@KPeyanski 2 жыл бұрын
Hello, I can suggest to contact Tuya support to resolve the issue. I don't know what to advise you here.
@aj51081
@aj51081 2 жыл бұрын
@@KPeyanski I got it working thanks
@cheapme1850
@cheapme1850 8 ай бұрын
Same here. I gave up and decided it’s not worth it for one stinking floodlight.
Apple TV is INCREDIBLE when you know how to use it! (Tutorial & TVOS 17)
19:18
Proper Honest Tech
Рет қаралды 1,1 МЛН
How to setup Tuya plugin on Homebridge.
7:32
Home Sight
Рет қаралды 55 М.
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 64 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 71 МЛН
Apple Smart Home with Over 100 HomeKit Devices
15:41
Stephen Robles
Рет қаралды 613 М.
I Tried Building the PERFECT Smart Home: What I Learned (Mistakes Included)
14:51
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 2,3 МЛН
OMG - Tuya local HACS integration for Tuya devices in Home Assistant
17:34
5 Reasons WHY HomeKit Automations are the BEST!
12:25
Craig's Tech Talk
Рет қаралды 26 М.
HOOBS vs Homebridge : Which One is BETTER For YOU?
11:05
Eddie dSuZa
Рет қаралды 34 М.
Home Assistant Setup Made Easy: The Ultimate Guide
33:05
Crosstalk Solutions
Рет қаралды 426 М.
Nika loves to eat chicken #cat #cats
0:17
Princess Nika cat
Рет қаралды 83 МЛН
А вы бы как с ним поступили?
0:22
Почему?
Рет қаралды 2,1 МЛН
Epic Beach Day! Digging a Massive Hole!
0:12
MELIAH & DAD (THE PONTES FAMILY)
Рет қаралды 6 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
0:45