Тёмный
No video :(

Get your Tuya Device Local Key 

Jimmy James
Подписаться 4,4 тыс.
Просмотров 75 тыс.
50% 1

Short, current video, on how to get Tuya local key, so you can use Home Assistant Tuya Local. Also a little bit of information on how to work out what your device's datapoints are using the developer platform. I made this specifically to go with an installation video of the Brilliant WIFI ceiling fan controller, as the method to get the key may change in the future. The Brilliant WIFI ceiling fan controller is great for AC ceiling fans and for use with Home Assistant. But the information may be useful if you're simply looking for any device's local key.
AC Ceiling Fan Installation - • Ceiling Fan Controller...
00:00 - Intro and account setup
01:26 - Create Cloud Project
03:21 - Link Tuya Smart Account with Developer Account
05:00 - Get the Local Key from API Explorer
06:07 - How to get information on your Tuya Device Data Points

Опубликовано:

 

8 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@tristanssmartesheim
@tristanssmartesheim 2 года назад
Very impressive, I thought it was not possible anymore to get the localkey sooo easy. The last minute was also very very helpfull to get some information about the datapoints - don't know this before! Thanks!
@SparkyJames
@SparkyJames 2 года назад
I have unfortunately discovered that not all devices with expose what the datapoints are, but plenty do though
@jasong1376
@jasong1376 2 года назад
Thank you, thank you, thank you! I've been trying to get my localKeys for about a year now without luck and you made it straight-forward and easy! Nice one Jim!
@SparkyJames
@SparkyJames 2 года назад
Glad I could help👍
@TheEpicLobster
@TheEpicLobster 2 года назад
Thank you so much!! The local key had eluded me for quite some time until this glorious tutorial
@SparkyJames
@SparkyJames 2 года назад
No worries, glad it was help for you
@robertwalisz7699
@robertwalisz7699 8 месяцев назад
Dobry poradnik i działa. Potrzebowałem lokalny klucz a tu dowiedziałem się jeszcze jak odczytać parametry i jakie dane oczekiwać.
@somedaysoon33
@somedaysoon33 9 месяцев назад
This was the most straight forward and easiest video to get this info, thank you!
@tomferrel7017
@tomferrel7017 Год назад
Amen to all the people thanking you. Was ready to throw myself out the window lol. Thank you very very much!
@markpurcell4507
@markpurcell4507 2 года назад
Thanks, I couldn't get localtuya working, but you helped with the reference to data centres, somehow my devices have moved to central Europe, but it is working now.
@emanbuoy7673
@emanbuoy7673 Год назад
this really helped, i dint know my VPN was the reason why i was not getting the right information...thank you so much
@PatrickFelstead
@PatrickFelstead 2 года назад
he's back! been wondering if you were going to make new videos. I've been meaning to try Tuya local, so thanks for this.
@SparkyJames
@SparkyJames 2 года назад
I am back, I have filmed a stack of footage on lots of different things, but sort of went down a rabbit hole checking out batteries and solar systems, so some of that will be coming soon too.
@PatrickFelstead
@PatrickFelstead 2 года назад
@@SparkyJames sounds good, look forward to watching it.
@TheDalejake
@TheDalejake 2 года назад
I was in the same boat as Jason G , your vid helped me to sort it brilliant work
@SparkyJames
@SparkyJames 2 года назад
Thanks Ian , it’s good a few have found it helpful
@pgf86
@pgf86 2 года назад
Saved me a ton of hassle, thank you
@bournejason9341
@bournejason9341 Год назад
You save my Time and Life! How Kind of You! Great Thanks!
@eduardoazevedo3405
@eduardoazevedo3405 2 года назад
YOU ARE A LIFE SAVER. I'm far from expert in all of this, but man, I've swapping betwen 12321342234235 tabs from git hub, misleading information, installing things, doing pcaps, to NOTHING. Your video sorted in 2 minutes! THANK YOU!
@Musicman-50
@Musicman-50 Год назад
Thanks So Much !! This is a most Excellent Tutorial. It's helped me out a lot, but I'm still not fully operational. Honestly I am still lost as to why the LocalTuya Integration is so Overly Complicated. I've spent hours fiddling with it, and it still doesn't work right. I've got only Basic On/Off with over 17 Tuya devices Color Lights, Smart Plugs, Thermometers, and Strip Plugs with 4 devices on each strip. They work perfectly on my phone app, but just On/Off at best with Home Assistant.. UGhh I'm lost as to the complicated DP-ID's needed to make it work. Most I haven't a clue as the names don't match up with the Integration. I'm still learning, but sure would be a nice feature if LocalTuya just worked like the older Tuya Integration Did.. I don't have any of these problems with my 20ea devices flashed with Tasmota. They just work perfectly but I want to one day be running everything locally.
@john3607A
@john3607A 2 года назад
thanks - i do this just infrequently enough to forget - so thanks!
@adamdreher1501
@adamdreher1501 Год назад
thank you thank you! this got me going in the right direction!
@andy_warb
@andy_warb Год назад
Thanks for this! I was getting super stuck trying to add my plug to HA!
@TristynRusselo
@TristynRusselo 2 года назад
This method worked today Feb 17 2022 local key obtained!
@yousaf.saleem
@yousaf.saleem 2 года назад
that is a detailed video. Thanks . It fixed it for me even after watching countless videos on the subject. region is the key
@SparkyJames
@SparkyJames 2 года назад
It’s is I forget to set the region almost every time 🙃
@yousaf.saleem
@yousaf.saleem 2 года назад
@@SparkyJames does key change if we try to change anything in localtuya integration?
@SparkyJames
@SparkyJames 2 года назад
The key remains the same, once you have it you can disconnect it from your Tuya account and it will still work local, in fact you will need to do that if you have lots of devices as there is a limit to how many Devices can be linked to the cloud project 8 I think.
@yousaf.saleem
@yousaf.saleem 2 года назад
@@SparkyJames I just change the time interval and now device is unavailable.
@SparkyJames
@SparkyJames 2 года назад
Scan interval? What type of device is it, and what interval did you set?
@yingpwu1647
@yingpwu1647 Год назад
No permissions. Your subscription to cloud development plan has expired..............it seems that the iot core connection server need paid now, is anyone have a better connect way to get local key?
@hyzteric
@hyzteric Год назад
same here 😢 tried to extend my trial period.. still waiting
@wimdm01
@wimdm01 Год назад
Does anyone knows the answer to this question? I have the same problem.
@crdrcrd
@crdrcrd Год назад
How did you ever figure this out? Tuya did an amazing job of hiding this.
@gerbrouwer4817
@gerbrouwer4817 2 года назад
Great tutorial tyvm
@SparkyJames
@SparkyJames 2 года назад
Good hear, thanks for watching!
@neilbrookins8428
@neilbrookins8428 2 года назад
I’ve tried both local tuya and the other cloud based tuya and I can say with certainty that the local is better for me. That’s because the smart outlet with current measurement only works with local tuya. The cloud tuya doesn’t show me the watts volts amps.
@SparkyJames
@SparkyJames 2 года назад
I found a similar thing
@reoproedros
@reoproedros 11 месяцев назад
thank you !
@TwanJaarsveld1
@TwanJaarsveld1 2 года назад
Thanks a lot
@mikedproducer
@mikedproducer 2 года назад
I have this weird anomaly on iPad where the “Submit Request” button doesn’t appear. I know I figured it out last time I did this but right now I am drawing a blank.
@michaelbreitkreutz6257
@michaelbreitkreutz6257 Год назад
Is this still working? Just tried with a new device and it loads everything but there is no Local Key listed
@nickname153
@nickname153 8 месяцев назад
it's possible obtain local_key if the account is expired after one moths? i btaine this message ""No permissions. Your subscription to cloud development plan has expired." there are some mode to have local_key?
@motoparadise1487
@motoparadise1487 2 года назад
everything is good, only one problem, I have something like that, no matter which option I choose, I have "your api is not subscribed" everywhere. I have tried literally all options from the internet in no way I can get the key. I omit the fact that I do not have such an option as "Smart Home Management System". The project itself is set the same as in your movie, including selected APIs. Maybe you can help me somehow, because my hands are dropping.
@mfkhometheater7742
@mfkhometheater7742 10 месяцев назад
Any solution for this error that occurs when entering the local key... "Connection to device succeeded but no datapoints found". Yours is the first video I've found that mentions data points, is there a way to edit or correct them if this is the cause of the error?
@essmiguel3122
@essmiguel3122 9 месяцев назад
I have this "Data centers inconsistency, App account cannot be linked." :(
@AcidNightx
@AcidNightx Год назад
dommage qu'après 1 mois tout les accès son bloqué et impossible d'avoir le key d'un nouvel appareil...
@godproverb20.18
@godproverb20.18 Год назад
when i write down the device_id to the explorer this messege shows. "msg": "No permissions. Your subscription to cloud development plan has expired.", can i get the key without paying the subscription? ? is there another way? 😵😵
@MrRoma70
@MrRoma70 Год назад
What happen if you loose internet access but still able to browse the internal WIFI? Would it still work? Your response is highly appreciated
@JamesEggleston
@JamesEggleston Год назад
It will work without the internet, with Tuya local. But it must be connected to the internet and a Tuya server to get the local key initially, but once you have the key you don’t need internet
@likimap3938
@likimap3938 6 месяцев назад
Cool. I only have one device detected - the gateway. In iot tuya, only the gateway has the key. For other devices "local_key": "",. What could it be?
@JamesEggleston
@JamesEggleston 6 месяцев назад
The Tuya gateway is for Zigbee devices? Probably? The local key is only used for Tuya wifi devices. The individual zigbee devices can be connected directly using a gateway compatible with home assistant like but not limited to the skyconnect.
@soubhikkhan6239
@soubhikkhan6239 2 года назад
Tuya iot platform options have changed the way we used to scan and connect to the tuya mobile app! Now it shows to connect with a Smart industry app and devices are not available in that app. Anyone has figured out the new app?
@SparkyJames
@SparkyJames 2 года назад
I have tried it recently with the tuya smart app and have had no problem.
@filippocanton
@filippocanton Год назад
As other, trial is expired so I get a permission denied...😓
@Bazim
@Bazim Год назад
No local key here for me :(
@artyb7696
@artyb7696 Год назад
I am getting the error message "Your IP don't have access to this API
@mikep4948
@mikep4948 2 года назад
When I follow all your steps, and go to 'Get Device Details', paste device id, and click 'Submit Request' , I do not get the local key as depicted in the video. Instead, I get 'Request URL' and 'Response'. What am I missing here?
@SparkyJames
@SparkyJames 2 года назад
Hi Mike, I checked if it was working, and it didn't work the first time but did work after a few minutes, it could be internet traffic issues being the data centre may be in central europe somewhere?? In addition to that, check you are at the right data centre there are 6 to try, check the device is online at the device list in the project, and try a different browser some have said that it won't work on an ipad. Hope that helps.
@mikep4948
@mikep4948 2 года назад
@@SparkyJames thanks Jimmy. I got it to work. A restart and it was good to go. Great tutorial
@RyanVandeWetering
@RyanVandeWetering Год назад
No permissions. Your subscription to cloud development plan has expired. What do I do with this error?
@darrylturner7622
@darrylturner7622 Год назад
you renew it, i think the licence is only valid for 6 months, very silly
@Khalid-wi8wp
@Khalid-wi8wp 2 года назад
can local tuya work for zigbee devices?
@SparkyJames
@SparkyJames 2 года назад
No it’s just wifi devices, I haven’t used zigbee much, but I heard the con bee USB zigbee gateway is very good and will get almost any zigbee device working with home assistant in no time at all.
@battletv777
@battletv777 2 года назад
Can't seem to link it JJ, is this to do with the new bans they have placed on the site?
@SparkyJames
@SparkyJames 2 года назад
I just went and checked it, it's still working where I'm in Perth. Did you try link each of the 6 data centres? If the first one didn't work?
@battletv777
@battletv777 2 года назад
@@SparkyJames Yes apparently a new thing came in November last year. I read they updated the policy of the account so hackers could not malice change things on your devices. I will do some more research. Maybe anyone whose account started before that date is secure. New Accounts the new policy is applied to.
@battletv777
@battletv777 2 года назад
@@SparkyJames Finally got it, unsure why it caused so much issues. I unlinked alot of stuff then it seemed to work properly. Unsure what I did wrong. But now have it all connected. thanks again for the informative video.
@SparkyJames
@SparkyJames 2 года назад
Yes that is a good point, there is a limit on how many devices you can have linked to a project I think it’s 8, once you have the key you don’t need the devices linked though
@dimkovics
@dimkovics Год назад
is this local key static, or it changes?
@SparkyJames
@SparkyJames Год назад
I thought it would be static, but it’s not they seem to change sometimes
@csflowmax1504
@csflowmax1504 10 месяцев назад
why my local key and ip is " "?
@pabloatc7234
@pabloatc7234 2 года назад
I cant get this to work, it says “permission deny” after I submit the ID
@SparkyJames
@SparkyJames 2 года назад
Above the get device details section where you enter device id, change the data centre, there are 6 to try, it says permission deny if that is not right, also there is a limit to the number of device that can be linked for to the project once you have the local key you can unlink devices, to make room for new ones.
@pabloatc7234
@pabloatc7234 2 года назад
@@SparkyJames I only have one device but i'll try changing that server thing today. Thanks for the quick reply!
@Fluffysnowfox
@Fluffysnowfox 3 месяца назад
Solution for "No permissions. Your subscription to cloud development plan has expired": -Click on cloud - open your Project - Service API - IoT Core --> View Details then extend trail period --> fill in the information DONE! :)
@-broicher
@-broicher Год назад
This doesnt work anymore, tuya is not letting you access the API calls anymore from within the dev plattform
@squintero213
@squintero213 Год назад
Video starts at @5:00
@itsthemetho
@itsthemetho 2 года назад
I find that Zigbee devices connected to the same gateway share the same "local_key". Each unit WIFI connection has a unique "local_key".
@SparkyJames
@SparkyJames 2 года назад
Thanks, for the info itsthemetho, I haven’t really got into zigbee. Just wifi and z wave. I do have a few, Zigbee sensors I was going to play with, just need to get a gateway.
@se777en73120
@se777en73120 Год назад
What if my Tuya cloud free trial is expired? I don't seem to be able to do this. "INVALID_TOKEN"
@ThomasColeman
@ThomasColeman Год назад
i get "code": 2009, "msg": "not support this device",
Далее
HOW TO - Setup Local Tuya in Home Assistant
19:49
Просмотров 235 тыс.
OG Buda -  Лазерный
02:27
Просмотров 107 тыс.
Smart Sigma Kid #funny #sigma #memes
00:26
Просмотров 11 млн
What is going on? 😂 (via haechii_br/IG) #shorts
00:15
Adding Local Tuya Devices (Dekala Arkenstone Lamp)
18:52
Home Assistant and Zigbee is all you need!
24:10
Просмотров 104 тыс.
TUYA API (Setup, Basics and FREE FINGERBOTS)
26:02
Просмотров 36 тыс.
Should You Pay For Home Assistant Cloud?
8:08
Просмотров 13 тыс.
OG Buda -  Лазерный
02:27
Просмотров 107 тыс.