TUYA API (Setup, Basics and FREE FINGERBOTS)

  Рет қаралды 36,242

Mark Watt Tech

Mark Watt Tech

Күн бұрын

In todays video we are looking at how to setup a Tuya Cloud Project. We will be running through all steps required including creating a developer account, setting up a project, setting up required APIs, connecting our Tuya / Smartlife app and importing our IOT devices and finally controlling a Fingerbot with the Tuya API Explorer. In this video we will be making use of the Adaprox Tuya Fingerbot which can be won by entering Tuyas competition.
Tuya is currently running a competition to encourage developers to create fun IOT projects. By completing "Missions" you can earn various prizes including a Free Fingerbot Robot, a $7 voucher and a $35 voucher.
For more information on the competition check out : pages.tuya.com/develop/ClickA...
In the coming weeks I will be working on and sharing my own projects that utilize the Tuya API to control a robotic vacuum. I will also be updating my Local Tuya Key Extractor Project to make use of some of Tuya's API calls.
Curious about the Fingerbot?
Check out my video on it : • THE ADAPROX FINGERBOT
▬ 🎥 VIDEO CHAPTERS: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
0:00​​​​ - Intro
0:29​​​ - Todays Video
1:19​ - Who are Tuya?
2:48 - Pros and Cons of Tuya
5:28 - Setting up Developer Account
8:22 - Creating a Cloud Project
10:25 - Linking Tuya / SmartLife to our Project
12:07 - About the Fingerbot
13:19 - Controlling Devices
21:37 - Additional methods for Tuya API
22:25 - Upcoming API work
22:52 - Tuya Competition (FREE FINGERBOTS)
25:20 - Summary and Outro
------------------------------
🙏Support my Channel - Become a PATRON🙏
Consider supporting the channel by becoming a Patron. Any and all funds go into creating new content and bigger projects.
► / markwatttech
▬ Handy Video Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Tuya Competition
pages.tuya.com/develop/ClickA...
Tuya Developer
developer.tuya.com/en/
Postman for Tuya
developer.tuya.com/en/docs/io...
API User Guide
developer.tuya.com/en/docs/io...
MY OTHER TUYA VIDEOS
Local Tuya Keys - • HOW TO - Get All Local...
Tuya Key Extractor - • Tuya Key Extractor (CO...
Fixes for Local Tuya - • LOCAL TUYA HELP (Tuya ...
How To Local Tuya - • HOW TO - Setup Local T...
Tuya Home Assistant Integration - • HOW TO - Add Tuya Devi...
____________________________________________________________
📣FOLLOW ME ON SOCIAL MEDIA📣
Follow me on all of the places for exclusive insights and updates:
👤 Facebook: / markwatttech
👤 FB Group: / 2963936147172102
📸 Instagram: / markwatttech
🐦 Twitter: / markwatttech
► MarkWattTech Sub Reddit :
/ markwatttech
▬ Buy Me a Coffee ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
☕ Found my content helpful?
Any and all funds will go towards helping improve future content.
Plus there are an extra few perks to becoming a member.
☕ If your interested check it out :
► Buy Me a Coffee:
www.buymeacoffee.com/MarkWatt...
------------------------------
🎵 Track Info:
Title: All That
Royalty free from : www.bensound.com/royalty-free...
------------------------------
#api​​​​ #tuya​​​​ #iotDevelopment

Пікірлер: 76
@MarkWattTech
@MarkWattTech 2 жыл бұрын
The Dev Pages have Changed a little since I created this Guide. I will be creating an up to date version this Weekend!
@WahyuHidayatullah
@WahyuHidayatullah 2 жыл бұрын
Iam cannot scan the QR Code to add the device when confirm login... please help me...
@FelipeSoares-do8so
@FelipeSoares-do8so Жыл бұрын
Tuya api is not free and is very expensive…
@chictech777
@chictech777 3 жыл бұрын
not only developers, there're all sorts of things can be supported by Tuya IoT- good job here!
@elasticleeds
@elasticleeds 3 жыл бұрын
just a small point; tuya devices primarily run locally now, and only connect to the cloud to update the devices status. you can try this yourself - unplug your broadband (but keep your hub on) and you can still control your lights etc. also means there's virtually no lag these days.
@mannykhan7752
@mannykhan7752 9 ай бұрын
Wow brilliant video. Exactly what I was looking for and then some more. Well done and thanks.
@brudwyr
@brudwyr 5 ай бұрын
Great video. Just started with Tuya so this is extremely helpful. Thanks.
@simoncometto
@simoncometto Жыл бұрын
Very helpful video. Thank you!
@SimX9000
@SimX9000 Жыл бұрын
What an excellent video! Starting to learn API's, Subscribed!
@MarkWattTech
@MarkWattTech Жыл бұрын
Awesome, thank you!
@simonburke6681
@simonburke6681 3 жыл бұрын
Love your videos, you explain things well in layman's terms and give great detail. Thankyou again :)
@MarkWattTech
@MarkWattTech 3 жыл бұрын
Thank’s for the feedback Simon :)
@paullammermeier
@paullammermeier Жыл бұрын
Mark, Is there a way to program to get notifications? I have Tuya vib sensor and want to be notified when a vib has not been detected for a certain amount of time.
@urkman5000
@urkman5000 2 жыл бұрын
is there any chance to control fingerbots without a hub? even the new bluetooth integration not finding them. could you maybe do a how to to integrate them? an ESP workaround would be fine too. having a hard time integrating this little bot into home assistant
@whoman0385
@whoman0385 11 ай бұрын
is there a sdk for any programming language or just a rest api?
@FelipeSilva-cq3sn
@FelipeSilva-cq3sn 3 жыл бұрын
Ótimo vides, voce saberia dizer como faço para adicionar um equipamento de IR da Livraria de Infrared da tuya?
@PhilippeLeToquin
@PhilippeLeToquin 3 жыл бұрын
Just discovered you today. Great video and following this video and your follow up I have installed the new tuya integration. Looks great! I am trying to follow the competition now but can't seem to access it. Is it over ?
@MarkWattTech
@MarkWattTech 3 жыл бұрын
Thanks Philippe. I’m not 100% sure if the competition is still open or not. Best bet would be to message one of the Tuya guys on there support chat :)
@COSatyamWats
@COSatyamWats 2 жыл бұрын
Mark how do I automate it? Lets say I want to turn it on if the value of parameter crosses a certain value. How do I achieve it?
@code-master
@code-master 11 ай бұрын
is it possible to short-circuit and send commands to local device on same network?
@conhecaeaprenda
@conhecaeaprenda 6 ай бұрын
O meu apresenta erro toda vez que tento digitalizar o QR code
@kevinleesmith
@kevinleesmith 7 ай бұрын
Hi Mark - great video - i want to call these APIs from make/integromat. Calling the apis you demonstrate here is easy, however, I need to setup the headers for each request, so what api calls do i need to make to authenticate and get whatever tokens I need to pass in the header of subsequent calls? Do you have a video on this or can u point me to an articel somewhere explaning the proces?
@simonburke6681
@simonburke6681 3 жыл бұрын
Hey Mark, great to hear local intergration is on the cards as this is the one of the main attractions to HA users. Is there any plans to get IR blaster device support that you know of?
@MarkWattTech
@MarkWattTech 3 жыл бұрын
As far as I have seen, and from the guys at Tuya I have spoken to - it’s a very broad “more devices” at the moment. I will speak to them today and see if I can get a proper answer to your question for my new video that will be out this week 👍🏻
@simonburke6681
@simonburke6681 3 жыл бұрын
@@MarkWattTech thanks champ
@simonburke6681
@simonburke6681 3 жыл бұрын
@@MarkWattTech Another thought on this - a bit hacky but if we could add tap to run in home assistant then maybe we could build a custom remote in lovelace.
@vinup7667
@vinup7667 3 жыл бұрын
please make a follow up video to connect HA with Tuya IOT. I have few tuya devices not compatible with local tuya
@MarkWattTech
@MarkWattTech 3 жыл бұрын
Coming soon! 😁👀
@HuyNguyen-vp7eb
@HuyNguyen-vp7eb 2 жыл бұрын
Thanks for your information, i have a question about c# API, can it work with Unity 3d? i dont find any infor about this.
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Not 100% on this but if you can access the C# libraries then I would say so.
@puneetbaranwal2873
@puneetbaranwal2873 3 жыл бұрын
great video!!! can you share a video for integration SDK development?
@MarkWattTech
@MarkWattTech 3 жыл бұрын
What in particular would you like to see? :)
@puneetbaranwal2873
@puneetbaranwal2873 3 жыл бұрын
@@MarkWattTech i have been trying integrating App sdk android. But when i try to get network token for pairing. It shows permission denied, No Access. So if ypu please help me or share a video of integrating SDK. It would be great!! Thanks
@singiviil4195
@singiviil4195 Жыл бұрын
Does the Trial Edition only last for 1 month and then you must start paying?
@amirjosevelasquezaburdene4318
@amirjosevelasquezaburdene4318 11 ай бұрын
I have the same doubt
@joaohenriquebelliperes1150
@joaohenriquebelliperes1150 Жыл бұрын
If i have my own APP, i can control Tuya modules? Or the API just can be used on TUYA app?
@amirjosevelasquezaburdene4318
@amirjosevelasquezaburdene4318 11 ай бұрын
Did you find anything about that?
@eugrus
@eugrus 2 жыл бұрын
Is it possible to push requests via telnet?
@Samsul2013
@Samsul2013 3 жыл бұрын
Hi I'm new to Tuya. Can you show video on how to use the Tuya API in programming (any language) rather than using the POSTMAN or cloud console for testing purpose only?
@MarkWattTech
@MarkWattTech 3 жыл бұрын
What would you like to see? Just a console app to interact with the Api?
@coryhyatt2035
@coryhyatt2035 2 жыл бұрын
Things have changed quite alot since this video was published. I am trying to follow along. But get stuck at logging in to the IoT Device Management app when trying to add a device using the QR code. It is saying my username and password are incorrect. Although I know for a fact that it is correct. Hmmm im stuck.
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Check some of my newer Tuya videos for a more up to date look. My newer Home Assistant one shows the app and account linking.
@coryhyatt2035
@coryhyatt2035 2 жыл бұрын
@@MarkWattTech thanks. I will look into it.
@COSatyamWats
@COSatyamWats 2 жыл бұрын
Did you get through it? I am also getting incorrect username and password. What to do now?
@coryhyatt2035
@coryhyatt2035 2 жыл бұрын
@@COSatyamWats No, I gave up on it.
@christoffbothma3905
@christoffbothma3905 2 жыл бұрын
Mine doesent show projects
@MarkWattTech
@MarkWattTech 2 жыл бұрын
Hey Christoff. The pages have updated since May. I'm actually releasing a new guide to this on Saturday. For now Check Cloud > Development > Create Cloud Project. Cheers.
@YashPal-wb4iq
@YashPal-wb4iq 3 жыл бұрын
make a video on app development using TUYA SDK
@MarkWattTech
@MarkWattTech 3 жыл бұрын
What in particular would you like to see?
@tychowerner
@tychowerner 3 жыл бұрын
When trying to create a cloud project in wants me to verify myself including my Dutch version of the Social Security Number, mmmh.. not happing
@MarkWattTech
@MarkWattTech 3 жыл бұрын
I think thats to do with the Region selection. Try just putting USA and you should be able to create an account without giving all of that info.
@bossybill7437
@bossybill7437 3 жыл бұрын
I curious what Tuya's Business Model is? As in, how do they make money? Obviously running the cloud, providing support, and so on, costs, at least, a small fortune. Since 'we' (end-product consumers) buy Tuya based product, there is some revenue for them there (via H/W manufacturers) but that's hardly a viable longer term revenue stream. I ask because it's actually more than simple 'curiosity'. Personally, I do not want to invest my time and resources (either buying more Tuya product or this API development venture) into a dead end or one that will turn around and trap me in some other kind of got'cha. As many of us have recently learned with Google, 'we' are their Product, not their Client. I hope this is not the case with Tuya.
@MarkWattTech
@MarkWattTech 3 жыл бұрын
Heya :) I believe they create there revenue via api licenses and smaller company’s paying them to utilise there software development platform. The Tuya platform is huge. And very simple for small company’s to creat apps and other tools to integrate with the Tuya cloud. I dont know what percentage etc they make from it, but you can see some of the corporation and enterprise packages on there website. You are able to use a free version of the Tuya cloud which is given to your for free when you create an account. This is free for a set number of projects and devices and this tier will always be free.
@Pentols
@Pentols 2 жыл бұрын
this free?
@MarkWattTech
@MarkWattTech 2 жыл бұрын
It is yes. For a set number of api calls (its quite a lot of calls)
@Sparky_D
@Sparky_D 3 жыл бұрын
No subscription now... What happens when they get massive amounts of people using them then change to a paid service. It could certainly happen. Local tuya is the way, if a device can't be flashed as is the way with most of the recent ones
@MarkWattTech
@MarkWattTech 3 жыл бұрын
It could happen at some point yes. But its not currently in Tuyas business plan. I will be creating a new video for the Tuya HA Tuya integration in the coming weeks showing how to utilise more devices.
@simonburke6681
@simonburke6681 3 жыл бұрын
Either ways you'll have the keys to use tuya local ;)
@MarkWattTech
@MarkWattTech 3 жыл бұрын
@@simonburke6681 Ill be sharing more info in a video this week. But Tuyas new integration has local control planned. So hopefully they streamline this whole process.
@deepakkoirala2296
@deepakkoirala2296 10 ай бұрын
Is the Tuya Api free for personal use?
iot.tuya.com -  ваш технический менеджер
1:53:57
HOW TO - Setup Local Tuya in Home Assistant
19:49
Mark Watt Tech
Рет қаралды 235 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 76 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 22 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 121 МЛН
Python monitors my plants via Tuya Python IoT
48:45
Ahmad Bazzi
Рет қаралды 76 М.
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 172 М.
Working with Tuya Cloud API: Introduction for beginners
24:00
NotEnoughTECH
Рет қаралды 24 М.
Watch BEFORE You Buy Tuya Smart Home Products..
14:12
Alex Teo
Рет қаралды 152 М.
Learn .NET MAUI - Full Course for Beginners | Build cross-platform apps in C#
4:08:53
Top-notch Coding Projects for Employment!
16:27
Tech With Tim
Рет қаралды 357 М.
Tuya Convert Not Working? NO Solder Jig | Flash Tasmota & ESPHome
19:22
Make Your Nest Mini Local with this HACK
3:09
Mark Watt Tech
Рет қаралды 30 М.
The New TUYA Home Assistant Integration (FULL SETUP)
14:10
Mark Watt Tech
Рет қаралды 174 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН
Сколько реально стоит ПК Величайшего?
0:37