Dobry poradnik i działa. Potrzebowałem lokalny klucz a tu dowiedziałem się jeszcze jak odczytać parametry i jakie dane oczekiwać.
@tristanssmartesheim2 жыл бұрын
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!
@SparkyJames2 жыл бұрын
I have unfortunately discovered that not all devices with expose what the datapoints are, but plenty do though
@jasong13762 жыл бұрын
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!
@SparkyJames2 жыл бұрын
Glad I could help👍
@somedaysoon33 Жыл бұрын
This was the most straight forward and easiest video to get this info, thank you!
@TheEpicLobster2 жыл бұрын
Thank you so much!! The local key had eluded me for quite some time until this glorious tutorial
@SparkyJames2 жыл бұрын
No worries, glad it was help for you
@eduardoazevedo34052 жыл бұрын
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!
@PatrickFelstead2 жыл бұрын
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.
@SparkyJames2 жыл бұрын
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.
@PatrickFelstead2 жыл бұрын
@@SparkyJames sounds good, look forward to watching it.
@tomferrel70172 жыл бұрын
Amen to all the people thanking you. Was ready to throw myself out the window lol. Thank you very very much!
@markpurcell45072 жыл бұрын
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.
@emanbuoy76732 жыл бұрын
this really helped, i dint know my VPN was the reason why i was not getting the right information...thank you so much
@yingpwu16472 жыл бұрын
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 Жыл бұрын
same here 😢 tried to extend my trial period.. still waiting
@wimdm01 Жыл бұрын
Does anyone knows the answer to this question? I have the same problem.
@yousaf.saleem2 жыл бұрын
that is a detailed video. Thanks . It fixed it for me even after watching countless videos on the subject. region is the key
@SparkyJames2 жыл бұрын
It’s is I forget to set the region almost every time 🙃
@yousaf.saleem2 жыл бұрын
@@SparkyJames does key change if we try to change anything in localtuya integration?
@SparkyJames2 жыл бұрын
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.saleem2 жыл бұрын
@@SparkyJames I just change the time interval and now device is unavailable.
@SparkyJames2 жыл бұрын
Scan interval? What type of device is it, and what interval did you set?
@minhhoang57423 ай бұрын
Very useful, right on what I am spending 2 hrs for 🎉🎉
@TheDalejake2 жыл бұрын
I was in the same boat as Jason G , your vid helped me to sort it brilliant work
@SparkyJames2 жыл бұрын
Thanks Ian , it’s good a few have found it helpful
@bournejason9341 Жыл бұрын
You save my Time and Life! How Kind of You! Great Thanks!
@pgf862 жыл бұрын
Saved me a ton of hassle, thank you
@michaelbreitkreutz6257 Жыл бұрын
Is this still working? Just tried with a new device and it loads everything but there is no Local Key listed
@nickname153 Жыл бұрын
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?
@john3607A2 жыл бұрын
thanks - i do this just infrequently enough to forget - so thanks!
@PCman502 жыл бұрын
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.
@TristynRusselo2 жыл бұрын
This method worked today Feb 17 2022 local key obtained!
@neilbrookins84282 жыл бұрын
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.
@SparkyJames2 жыл бұрын
I found a similar thing
@essmiguel3122 Жыл бұрын
I have this "Data centers inconsistency, App account cannot be linked." :(
@filippocanton Жыл бұрын
As other, trial is expired so I get a permission denied...😓
@mfkhometheater7742 Жыл бұрын
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?
@Fluffysnowfox7 ай бұрын
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! :)
@adamdreher15012 жыл бұрын
thank you thank you! this got me going in the right direction!
@crdrcrd2 жыл бұрын
How did you ever figure this out? Tuya did an amazing job of hiding this.
@mikedproducer2 жыл бұрын
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.
@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? 😵😵
@serjiomartynov9177Ай бұрын
Thanks a lot for the tip! I drew beautiful dashboards in grafana that consume electricity for my ps5
@andy_warb Жыл бұрын
Thanks for this! I was getting super stuck trying to add my plug to HA!
@motoparadise14872 жыл бұрын
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.
@AcidNightx2 жыл бұрын
dommage qu'après 1 mois tout les accès son bloqué et impossible d'avoir le key d'un nouvel appareil...
@gerbrouwer48172 жыл бұрын
Great tutorial tyvm
@SparkyJames2 жыл бұрын
Good hear, thanks for watching!
@MrRoma702 жыл бұрын
What happen if you loose internet access but still able to browse the internal WIFI? Would it still work? Your response is highly appreciated
@JamesEggleston2 жыл бұрын
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
@likimap393811 ай бұрын
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?
@JamesEggleston11 ай бұрын
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.
@RyanVandeWetering Жыл бұрын
No permissions. Your subscription to cloud development plan has expired. What do I do with this error?
@darrylturner7622 Жыл бұрын
you renew it, i think the licence is only valid for 6 months, very silly
@dimkovics Жыл бұрын
is this local key static, or it changes?
@SparkyJames Жыл бұрын
I thought it would be static, but it’s not they seem to change sometimes
@battletv7772 жыл бұрын
Can't seem to link it JJ, is this to do with the new bans they have placed on the site?
@SparkyJames2 жыл бұрын
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?
@battletv7772 жыл бұрын
@@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.
@battletv7772 жыл бұрын
@@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.
@SparkyJames2 жыл бұрын
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
@Khalid-wi8wp2 жыл бұрын
can local tuya work for zigbee devices?
@SparkyJames2 жыл бұрын
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.
@Bazim2 жыл бұрын
No local key here for me :(
@mikep49482 жыл бұрын
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?
@SparkyJames2 жыл бұрын
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.
@mikep49482 жыл бұрын
@@SparkyJames thanks Jimmy. I got it to work. A restart and it was good to go. Great tutorial
@artyb76962 жыл бұрын
I am getting the error message "Your IP don't have access to this API
@soubhikkhan62392 жыл бұрын
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?
@SparkyJames2 жыл бұрын
I have tried it recently with the tuya smart app and have had no problem.
@csflowmax1504 Жыл бұрын
why my local key and ip is " "?
@pabloatc72342 жыл бұрын
I cant get this to work, it says “permission deny” after I submit the ID
@SparkyJames2 жыл бұрын
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.
@pabloatc72342 жыл бұрын
@@SparkyJames I only have one device but i'll try changing that server thing today. Thanks for the quick reply!
@reoproedros Жыл бұрын
thank you !
@TwanJaarsveld12 жыл бұрын
Thanks a lot
@squintero2132 жыл бұрын
Video starts at @5:00
@-broicher2 жыл бұрын
This doesnt work anymore, tuya is not letting you access the API calls anymore from within the dev plattform
@se777en731202 жыл бұрын
What if my Tuya cloud free trial is expired? I don't seem to be able to do this. "INVALID_TOKEN"
@ThomasColeman Жыл бұрын
i get "code": 2009, "msg": "not support this device",
@itsthemetho2 жыл бұрын
I find that Zigbee devices connected to the same gateway share the same "local_key". Each unit WIFI connection has a unique "local_key".
@SparkyJames2 жыл бұрын
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.