Feels like this is made intentionally complex. Why is't there some autodiscovery or fetch-from-cloud feature of devices and values and whatever. A bad joke. And I'm an IT guy...
Yikes, that background music is WAY louder and BOOMY that it is in Premiere (my video editor). Sorry about that! I have started using less background music and also using a different method to blend. Thank you for the (mostly) constructive feedback!
Yeah with current hardware there is NO need for background music, if we want music we multitask and put our own on. ;-) Just put ASMR in the title and have even more viewers. hahaha Thanks for the info anyway!👍
Couldn't you have re-mixed the audio and re-uploaded? Outside that... I tried the Local Tuya integration. Got it working initially (kinda). RGBW lights would turn on/off but couldn't adjust color... no color picker available in HA. Ha! Then found I needed to add in a bunch of totally non-obviousl variables when adding in each device. I edit the lights, but... hey, each light is disappearing when I do so, or the device hangs around but the entity disappears. What the what? I delete the Local Tuya integration, re-install, and try again. Now one of the lights is no longer in the pull-down list for devices to add, can't get to it. Well, what's up with that? In the end, the more I tried to fix things, the worse it go. Removed Local Tuya from HA and installed Tuya and that worked... with a bit of lag but 80% there. The local Tuya was just buggy. Dunno why the values for those codes for device attributes is *way* too manual. I do appreciate that you provided a method, however circuitous, to get a definitive value.
This is so useful! Kind of a pain to get setup but once its setup its great! I was able to take some "dumb" strip lights, get a tuya controller, set it up in Tuya, then connect it to Home Assistant with Local Tuya. That opens the door for so many other projects. Thank you for this video!
Thanks for this video. I decided to reinstall homeassist and the way I use to get the id's doesn't exist anymore. You have saved me many hours of struggle!
This video helped me a lot! I've been trying to add in my Smart Life devices since I got my HA a few months ago, but never got around to it. Without needing a HA Cloud account and fees, this solution seemed too good to be true. After watching both of these videos (including creating the dev account for tuya) I got both my devices into HA and are working flawlessly with no cloud account need or extra $$$! Now to try and experiment with some automation with the new Tuya switches (turn on lights) and my Ring camera when it senses motion. Thanks again!
This is a great new resource for Local Tuya. I set up mine a couple of years ago before some of these resources were available (or they were more limited). Mine was done by guesswork and trial/error. Thanks - this is very useful. Well done. I might have to reconfigure some of my devices to make sure I am getting everything I need. I have cut mine off from the internet and they are all still working as expected, although the Zemismart wifi blinds are a bit hit and missing with their position reporting.
Yeah same here. I went ahead anyway and added my devices locally following this approach -- worked for all 5 minutes before they dropped / greyed out -- "this entity is no longer being provided by the localtuya integration." Deprecated: feature that is tolerated or supported but not recommended". Clearly not the case here.
Well done your video is one of the best for local tuya setup ... I only needed a refresher as its been a while and it was perfect with all the new updated info too Thank you
This video is clutch for me as I’m just starting with HA. Thank you for making it. I have the Feit Costco switches and they work great through this integration. Also I set them up as a light not a switch to get dimmer control. I had the localTuya set up before but could only see the device ID not the name. After adding the Device Query Log and using the UUID instead of a user I had added, I could then see the Name of the device and all of the info for the device was auto populated. Find the “code” was also key especially for color lights (also Costco) and some guys based fans.
I am glad you liked it. It is all thanks to my neighbor, the video was on my list but he asked about it for his new lights. So I decided to get it made!
First of all, great tutorial. However there is still a privacy risk. for example a smart plug is still connected to the tuya cloud. So, this is just an integration method to get your tuya devices on home assistant. In otherwords the tuya device is connected to your local wifi, but also could be sending data to the tuya app.
Great content as always. Can I give some constructive feedback. Background music is the bane of my life. If your hearing is not 100% it can make it a real struggle to pick out the narration. I'm not anti atmospheric music as such and your video deals with it well as it is just added to intro / exit chapters. For me if it was a touch quieter it would add ambiance rather than an audio distraction. I've followed your channel for about a year now and really appreciate your videos. They are easy to follow and packed with great information. You have covered many of the topics that interest me with HA and I look forward to future videos. ~Brian
Thank you Brian, I appreciate the feedback and I hadn't looked at it that way. I try and use the music to keep the pace going through slower sections but it makes since, I don't want to muddy the message. I typically let Premiere duck the music and then push it down another 3 to 5 db. In the future I will be more cognisant of this and either reduce the use or use more filters to make it easier to hear. Thank you again!
Have you tried turning on captions and then displaying the transcript? Can help sometimes. Captions are the gear symbol, transcript is the three dots on right of the download command.
Great video, you finally helped me fix an issue that was stopping my Tuya lights working with scenes in HA! Hours of frustration fixed thanks to your Dev. Tools tip in the Browser! Thank you!
Thank you for this. I added a Smart plug with this method. However, I can't add the power consuption to the energy energy tap because I can't find the entity. How can I fix this?
I find this hilarious. I understand that Dexter said Do not press that button! ... but that was a cartoon 😂 ohhh that blackberry keyboard i miss it soooo much
Thanks for this video. Very clear. But no, the same question as other, I think. How do you manage the change in the policy in Tuya ? Is it possible to do the same without paying for their iot platform ? Is it needed to create a new account after the one month ? Every advised are welcome.
Thanks for this! Quick question before I start. After implementing this, can I/should I delete the Tuya cloud integration, both in HA and in Tuya, should I do this in a particular order?
I will be using the TUYA APP for a EVERSECU SECURITY CAMERA. My last camera wanted me to subscribe to the Cloud Service in order to view video from the camera. My question is, Will I have the same problem with the Tuya App. Thanks..
When I restart localtuya integrations all devices become unavailable, they only show their values on status change. How to make the update automatically??
Hi am having a problem when I scan the QR code amd hetting this message "Data centers inconsistency, App account cannot be linked. Please select the data center matching the App account in the upper right corner of the page. If you are unsure of the data center for your App account, please refer to the App Account Data Center Distribution" I have the "Device Log Query" added and it say in service. I also choose estern amareica and in the app I have NY/america What am missing?
Hi and thank you for the great tutorial. Can you update on the current status of your Local Tuya? I ask as there is an update for Local Tuya 5.0 in HA. Have you had any issues with devices failing, or not responding?
I don’t think you will find many people that will argue with that. I talked with Tuya at CES this year, I don’t think they are focused on the “small dev” like us. They want to sell their environment to others as a “white label”.
The way the integration works is every time it's restarted it pulls your keys from the dev console. So unfortunately it will fail when starting up if your account expires. You can probably set it to not automatically pull the keys but you will have to find something once those keys expire. I'm looking into alternate ways for the folks who are getting kicked out of their Dev accounts.
Excellent video with some neat tricks (such as ID debugging) that will surely save me hours of pulling my hair out. Question: Once locally integrated, will I be able to set firewall rules to prevent my Tuya devices from phoning home to motherland after setup? Or does it still require periodic internet to resume function.
I as end user of devices compliant with tuya. Have to pay for the api calling on my devices ? Devices such as smart circuit breakers etc or lights etc..
@@ThisSmartHouse I figured it out now. It started working again after 24 hours passed by. Maybe there's a cool down or something, but I got the local keys now and all other info, but what I found was that the devices completely still rely on the cloud to still function on local tuya. There doesn't seem to be a way to cut the devices away from the server
Hi, should there be any changes in the process? I follow your steps and tuya says that "Smart Home Scene Linkage" and "Device Log Query" are [Deprecate], maybe there are some updates?
Hey, worked well up to the QR code part, the Smart Home app says "Logging in "Non-Mobile devices", please make sure it was you" -- this is on an Android phone! When I click "Conform Login", I get "No Access"
I don't have a tuya Zignee hub but I've seen people in some of the discussion groups talking about it. You might want to check with the developer and see if it's possible.
I have been working on dialing it in. Everything sounds balanced on my studio speakers but I realize it isn't the same on all. Thanks for the helpful feedback.
I tried LocalTuya a couple of years ago and had some problems with devices not showing up as available to integrate. Has the integration improved since then?
For the one that live in Eastern area like me ( Montreal) choose Western instead before scanning the code with the cellular otherwise it will show you (0 device found) it took me a while to figure it out ; )
Hi, thank you so much for your tutorial. H've a question. I've a combo fan+light like you. I have configurated weel in home assistant. For the fan, when I use the remote I have the fan speed in home assistant that is correctly updated (16% 33% ... 100%) for the 6 speeds. BUT when I want to change the speed from home assistant i've ONLY 50% (i i set 16% it slider go to 50% same for all speeds). Any idea ?
Love the video. But I'm also amazed that these devices get away with calling themselves smart with this absolutely absurd technical overhead just to get something to do what it is supposed to do. "Smart" world seems kind of ridiculous at the moment :D
I would agree that "smart" is just one level above dumb. The problem with Tuya is they have developed a whole market around selling whitelabeled products. So they have built out a full, enterprise API for their products. Which leads to the level of complexity (and sometimes cost).
Hi! Do both "Tuya" and "Local Tuya" integrations work at the same time on HA/ZHA? Or should I disable/uninstall my current "Tuya" integration, before using the "Local Tuya" one? This question because I may need several weeks before finishing the process on all my devices, and don't want to lose control on the devices which are currently working, while I am switching the other ones, one by one, from cloud to local. Thanks!
Nice video. My account on tuya expired and now get after scanning the QR code: The number of projects linked with this Tuya Smart App account has reached the upper limit of 2. Unlink the account from existing projects and try again. Any tips to get the needed keys?
Hello i have a problem, the tuya doesnt detect any devices therefore i have tu add it manually but i dont know the devices ip adress (Host) :/ where i can find it?
Hello, Thanks for the video, but my tuya account expired a few days ago, and I cant connect localtuya. Getting Error that my tuya account is expired. Is there any way around it? I sent application to extend trial period, and it's being reviewed, but so far no luck.
Thanks for the video, I followed exactly what you did. There is only one bug, when I change the slider of the fan speed nothing happens, my fan the same you have 3 speed level. Can you help? Thanks
With the Tuya Key Extactor: One of the devices is showing Nothing as Local Key (blank) . I repated the process more than 5 times and thats the only device it shows blank as Local Key
The Device Log Query API says that it's deprecated, not sure when this happened. I hope it's not going to be a problem soon. Looking at picking up some Tuya devices.
When I first installed the local Tuya, everything worked fine without Internet but after sometime, if I restart my home assistant without Internet, all the tuya devices become unavailable I have to connect to Internet and restart again before they become available. Which after that they can work without the Internet. Is there any way I can fix this?
I have some tuya slider blinds that I can add to local tuya but for whatever reason I can't use the open/close buttons I can only use the position slider. I've tried every combination of IDs I can think of and it just doesn't work.
How to make pull-requests from the devices? I have a Tuya Smart-Meter-Plug, the switch works well but the sensors (current, voltage, power) don't update often (only around once an hour). Only when I have the TuyaApp open on my smartphone it updates frequently (like all 5 seconds). Is there a way to make HomeAssistant pull the sensor values like e.g. all 30 seconds?
Thanks for the video. But I cant see the Hacs section on the side panel. Also cant find the local tuya integration. Just the standard tuya. Have they updated the HA platform? How can I find them
LocalTuya won't show up if you didn't install the integration in HACS. If you're missing HACS on the side panel you may not have it installed under integrations. If you're using the Docker install of HA I don't think HACS is available on it.
I think you may have pointed me in the right direction here. Question: Can you only have LocalTuya, and not set up regular Tuya in Home Assistant? I think I have to remove the HA Tuya, and then activate LocalTuya, Can you confirm that is the case? Thank you for sharing the video.
If you have the automated key checking enabled in configuration then it will require an internet connection each time home assistant restarts. Alternatively you can set everything up and then disable the automated checking and it shouldn't require an internet connection.
Hi, what happens if my Tuya trial account expires and I buy a new Tuya device after that ? Can I still get the device ID for the new Tuya device ? Can I still setup/configure the new Tuya device when my Tuya account is expired ?
If you get push notifications through Home Assistant, then yes (where Home Assistant is notifying you of a state change). If you are wanting to get it directly from the device, then I think you still need the cloud.
Yes. As long as the particular Zigbee hub / software supports it. Check out Zigbee2MQTT, they have a lot of devices supported (including Tuya Bluetooth).
If you are using home assistant then it would be easy. The home assistant app can have notifications sent to it. Here is a reddit post with a quick how to: www.reddit.com/r/homeassistant/s/7RxAXCi0r2
If you have a device that runs purely off of Bluetooth of BLE, then you should be able to communicate with it directly using Home Assistant's bluetooth interface. That is if someone has developed an integration. Which device is it?
Hi, can you please advise ? My provider internet changes my IP every 2 months. ( I don't have a fixed IP) How do I change my IP in Tuya ? I am using Smart Life program on my mobile to control lights. I also use Lumiastream on my computer, which is not functional without Tuya. Thank you for your help.
I don't think that should matter. Your Tuya devices reach out and make the connection if you are using the cloud. If you are doing this project, then all of the traffic is inside your network (except for retrieving keys).
Really helpful video and very clear, except it failed when I got to setting up Cloud API Account Configuration with the following error [Failed to retrieve device list. Error 28841001: No permissions.]. Everything else worked, I followed your instructions, my devices appears in the Tuya Developer Platform. As far as I can see I am suscribed to the Free Trial. Any ideas greatly received.
I've tried this, but after I link my account, it says 0 devices and I don't see anything listed. I know my account is added successfully because I get an error if I try to re-add it. I even tried creating brand new Tuya and Tuya developmer accounts, and the same thing happens.
Great video, but there is a lurking problem. My roller blinds have stopped working as my Tuya Dev account 1 month free trial has expired. I tried to renew it but I am getting a message saying I have already used my maximum allowance of 1. Any thoughts?
They changed the accounts some time ago and removed the free tier. I was grandfathered in so I didn't run into this issue. Unfortunately there doesn't seem to be a good solution moving forward.
hello all i got the entity's added from a wifi dualct clamp meter but cant get them to work in HAs power skreen do eny one know how to add state_class: on to the entity's i added them in dev tools but when the sensor s update the state class fals away agane
When I tried to add local tuya integration: Failed to retrieve device list. Error 28841002: No permissions. Your subscription to cloud development plan has expired.
I did everything correctly and I get Login error (1106): permission deny. Im using Home Assistant 2023.5.3. Well, it actually worked with the account email address, the on I use on my app.
Hello Thank you for the video. I realize is old but i did everything explained here but when the internet is disconnected, the local tuya devices are unavailable. I read other folks are having the same issue and they are advised to remove dns and internet access to those devices. However, this presents another issue where either the cloud app or local has to be used but not both. Any comments?
@@ThisSmartHouse Thank you for the response. It seems the call from the android device was having issues, once i set manual setting for the sever, the devices work locally. IT is also working with ewelink sonoff devices. Thank you for your help.
If you are still struggling to get your DP ID. Check out the updated guide posted by the Zigbee2MQTT project here: tsh.li/tuyadpid
Feels like this is made intentionally complex. Why is't there some autodiscovery or fetch-from-cloud feature of devices and values and whatever. A bad joke. And I'm an IT guy...
@@andrisi Totally agree with you
"This is not your email address"....the most useful words I've heard this year. Thanks!
Well I am glad to have helped!
The console let's me select the Device Log Query but it says it's deprecated. What's the alternative once they remove it from the console completely?
Yikes, that background music is WAY louder and BOOMY that it is in Premiere (my video editor). Sorry about that! I have started using less background music and also using a different method to blend. Thank you for the (mostly) constructive feedback!
Yeah with current hardware there is NO need for background music, if we want music we multitask and put our own on. ;-)
Just put ASMR in the title and have even more viewers. hahaha Thanks for the info anyway!👍
Couldn't you have re-mixed the audio and re-uploaded?
Outside that... I tried the Local Tuya integration. Got it working initially (kinda). RGBW lights would turn on/off but couldn't adjust color... no color picker available in HA. Ha! Then found I needed to add in a bunch of totally non-obviousl variables when adding in each device. I edit the lights, but... hey, each light is disappearing when I do so, or the device hangs around but the entity disappears. What the what? I delete the Local Tuya integration, re-install, and try again. Now one of the lights is no longer in the pull-down list for devices to add, can't get to it. Well, what's up with that?
In the end, the more I tried to fix things, the worse it go. Removed Local Tuya from HA and installed Tuya and that worked... with a bit of lag but 80% there. The local Tuya was just buggy. Dunno why the values for those codes for device attributes is *way* too manual. I do appreciate that you provided a method, however circuitous, to get a definitive value.
Nope because then you lose all of the views and comments on the video....
Why do you need background music at all? It's just annoying. It doesn't add anything whatsoever to the quality of your content.
If your read the original comment, I had already addressed this... I don't even use music anymore
This is so useful! Kind of a pain to get setup but once its setup its great! I was able to take some "dumb" strip lights, get a tuya controller, set it up in Tuya, then connect it to Home Assistant with Local Tuya. That opens the door for so many other projects. Thank you for this video!
Thanks for this video. I decided to reinstall homeassist and the way I use to get the id's doesn't exist anymore. You have saved me many hours of struggle!
So glad I could help!!!
Thank you, your video helped me to figure out how connect my tuya devices and start to explore the IoT world!
Great to hear!
This video helped me a lot! I've been trying to add in my Smart Life devices since I got my HA a few months ago, but never got around to it. Without needing a HA Cloud account and fees, this solution seemed too good to be true. After watching both of these videos (including creating the dev account for tuya) I got both my devices into HA and are working flawlessly with no cloud account need or extra $$$! Now to try and experiment with some automation with the new Tuya switches (turn on lights) and my Ring camera when it senses motion. Thanks again!
This is a great new resource for Local Tuya. I set up mine a couple of years ago before some of these resources were available (or they were more limited). Mine was done by guesswork and trial/error.
Thanks - this is very useful. Well done. I might have to reconfigure some of my devices to make sure I am getting everything I need. I have cut mine off from the internet and they are all still working as expected, although the Zemismart wifi blinds are a bit hit and missing with their position reporting.
I wanted to make sure I found a definitive way to figure out the IDS. I wish they would just list them in the developer portal. So glad it helped!
Hi, thanks for this, the device log query is now deprecated, which one should we use?
Yeah same here. I went ahead anyway and added my devices locally following this approach -- worked for all 5 minutes before they dropped / greyed out -- "this entity is no longer being provided by the localtuya integration." Deprecated: feature that is tolerated or supported but not recommended". Clearly not the case here.
Thanks Man, I could not undertand any documentation and I was stuck on User ID. Saved me ❤
OMG you're a lifesaver!! There was absolutely no way I was going to be able to decipher the codes from my new Tuya Range Hood. Thanks bro!
You are so welcome!
Well done your video is one of the best for local tuya setup ... I only needed a refresher as its been a while and it was perfect with all the new updated info too Thank you
This video is clutch for me as I’m just starting with HA. Thank you for making it. I have the Feit Costco switches and they work great through this integration. Also I set them up as a light not a switch to get dimmer control. I had the localTuya set up before but could only see the device ID not the name. After adding the Device Query Log and using the UUID instead of a user I had added, I could then see the Name of the device and all of the info for the device was auto populated. Find the “code” was also key especially for color lights (also Costco) and some guys based fans.
Nice vídeo, 15 days ago I was looking for videos to setup localtuya and all the popular ones poping up in the searches were a bit outdated
I am glad you liked it. It is all thanks to my neighbor, the video was on my list but he asked about it for his new lights. So I decided to get it made!
Super useful. I was ready to write my hardware off until I found this video. Many many thanks 🙏
First of all, great tutorial. However there is still a privacy risk. for example a smart plug is still connected to the tuya cloud. So, this is just an integration method to get your tuya devices on home assistant. In otherwords the tuya device is connected to your local wifi, but also could be sending data to the tuya app.
Great content as always.
Can I give some constructive feedback. Background music is the bane of my life. If your hearing is not 100% it can make it a real struggle to pick out the narration. I'm not anti atmospheric music as such and your video deals with it well as it is just added to intro / exit chapters. For me if it was a touch quieter it would add ambiance rather than an audio distraction.
I've followed your channel for about a year now and really appreciate your videos. They are easy to follow and packed with great information. You have covered many of the topics that interest me with HA and I look forward to future videos.
~Brian
Thank you Brian, I appreciate the feedback and I hadn't looked at it that way. I try and use the music to keep the pace going through slower sections but it makes since, I don't want to muddy the message. I typically let Premiere duck the music and then push it down another 3 to 5 db. In the future I will be more cognisant of this and either reduce the use or use more filters to make it easier to hear.
Thank you again!
Have you tried turning on captions and then displaying the transcript? Can help sometimes. Captions are the gear symbol, transcript is the three dots on right of the download command.
The tip with how to obtain the ID is great. Thank you!!!
Thank you for this tutorial!
I was about to give up to set up my plug with HA.
Thaaanks!!!
Glad I could help!
Dude! Thank you so much. Finally fixed my smart plugs for my night time automation with help from this video.
u are awsome !
searched for a solution for local network command to my Tuya devices for ages
Great video, you finally helped me fix an issue that was stopping my Tuya lights working with scenes in HA! Hours of frustration fixed thanks to your Dev. Tools tip in the Browser! Thank you!
Thank you for this. I added a Smart plug with this method. However, I can't add the power consuption to the energy energy tap because I can't find the entity. How can I fix this?
Thanks for the video. it was VERY helpful and got my switches set up.
I find this hilarious. I understand that Dexter said Do not press that button! ... but that was a cartoon 😂 ohhh that blackberry keyboard i miss it soooo much
Thanks for this video. Very clear.
But no, the same question as other, I think. How do you manage the change in the policy in Tuya ? Is it possible to do the same without paying for their iot platform ? Is it needed to create a new account after the one month ? Every advised are welcome.
works perfect, thanks! Can you add support for IR controller which control my AC?
Thanks for this! Quick question before I start. After implementing this, can I/should I delete the Tuya cloud integration, both in HA and in Tuya, should I do this in a particular order?
I’ve gotta say the new beta Smartlife makes this an utter breeze now . Appreciate this is older now in this fast paced integration world
At 3:35, it looks like the Device Log Query is nowadays described as "[Deprecate]Device Log Query". Do we know how does it impact this operation?"
I will be using the TUYA APP for a EVERSECU SECURITY CAMERA. My last camera wanted me to subscribe to the Cloud Service in order to view video from the camera. My question is, Will I have the same problem with the Tuya App. Thanks..
When I restart localtuya integrations all devices become unavailable, they only show their values on status change. How to make the update automatically??
Hi am having a problem when I scan the QR code amd hetting this message
"Data centers inconsistency, App account cannot be linked. Please select the data center matching the App account in the upper right corner of the page. If you are unsure of the data center for your App account, please refer to the App Account Data Center Distribution"
I have the "Device Log Query" added and it say in service. I also choose estern amareica and in the app I have NY/america
What am missing?
Great video! Clear explanation, helped me a lot! Thanx!
Hi and thank you for the great tutorial. Can you update on the current status of your Local Tuya? I ask as there is an update for Local Tuya 5.0 in HA. Have you had any issues with devices failing, or not responding?
Good video. IMO, too much of a hassle, and that’s why I have been replacing my tuya devices. I have gone with Kasa stuff. It’s been solid with HA
I don’t think you will find many people that will argue with that. I talked with Tuya at CES this year, I don’t think they are focused on the “small dev” like us. They want to sell their environment to others as a “white label”.
Awesome tutorial! Thank you for the methodical step by step! But what if I’m from South America? Are the only options EU, US, CH and IN? 6:27
2024 still working. Thanks for your help and this method!
Hi, thanks for a grate video! Does this local tuya survive the expiration of the free iot core license from iot tuya?
The way the integration works is every time it's restarted it pulls your keys from the dev console. So unfortunately it will fail when starting up if your account expires.
You can probably set it to not automatically pull the keys but you will have to find something once those keys expire.
I'm looking into alternate ways for the folks who are getting kicked out of their Dev accounts.
thx for the detailed video. Very helpfull. In chrome I cant find dat ID for the integration, none of the responses got code in it.
I just tested this a couple weeks ago and I was able to see the response. Are you using Chrome or another browser?
@@ThisSmartHouse Hi, using Chrome and found it somehow, thx.
Excellent video with some neat tricks (such as ID debugging) that will surely save me hours of pulling my hair out.
Question: Once locally integrated, will I be able to set firewall rules to prevent my Tuya devices from phoning home to motherland after setup? Or does it still require periodic internet to resume function.
I as end user of devices compliant with tuya. Have to pay for the api calling on my devices ? Devices such as smart circuit breakers etc or lights etc..
I got "failed to retrieve device list. Error 28841001: no permissions. What does that mean and how do I fix that so I can move forward?
Are you sure you connected your developer account with your device account?
@@ThisSmartHouse I figured it out now. It started working again after 24 hours passed by. Maybe there's a cool down or something, but I got the local keys now and all other info, but what I found was that the devices completely still rely on the cloud to still function on local tuya. There doesn't seem to be a way to cut the devices away from the server
Hi, should there be any changes in the process? I follow your steps and tuya says that "Smart Home Scene Linkage" and "Device Log Query" are [Deprecate], maybe there are some updates?
Hey, worked well up to the QR code part, the Smart Home app says "Logging in "Non-Mobile devices", please make sure it was you" -- this is on an Android phone! When I click "Conform Login", I get "No Access"
I get the same. did you ever fix it?
This video us a MUST ! Thanks a lot as it helps understand how to set it UP correctly for all the entities. 👍
thanks a lot
my problem was uid and you solve it with your note
thanks thanks thanks
❤❤❤❤❤❤❤❤❤❤
Nice vídeo, I wanted to ask if it is possible to hub zigbee tuya?
I don't have a tuya Zignee hub but I've seen people in some of the discussion groups talking about it. You might want to check with the developer and see if it's possible.
Why the heck do you play that noise while you're talking?
Are you talking about the music? Or the SFX?
@ThisSmartHouse your music volume is so high that its distracting from your voice over.
I have been working on dialing it in. Everything sounds balanced on my studio speakers but I realize it isn't the same on all. Thanks for the helpful feedback.
@@ThisSmartHouse both ;)
Yikes people are very opinionated about sound... I've been working on improving them in later videos.
I tried LocalTuya a couple of years ago and had some problems with devices not showing up as available to integrate. Has the integration improved since then?
For the one that live in Eastern area like me ( Montreal) choose Western instead before scanning the code with the cellular otherwise it will show you (0 device found) it took me a while to figure it out ; )
You sir are a GOTA. THANK YOU
Hi, thank you so much for your tutorial. H've a question. I've a combo fan+light like you. I have configurated weel in home assistant. For the fan, when I use the remote I have the fan speed in home assistant that is correctly updated (16% 33% ... 100%) for the 6 speeds. BUT when I want to change the speed from home assistant i've ONLY 50% (i i set 16% it slider go to 50% same for all speeds). Any idea ?
Love the video. But I'm also amazed that these devices get away with calling themselves smart with this absolutely absurd technical overhead just to get something to do what it is supposed to do. "Smart" world seems kind of ridiculous at the moment :D
I would agree that "smart" is just one level above dumb. The problem with Tuya is they have developed a whole market around selling whitelabeled products. So they have built out a full, enterprise API for their products. Which leads to the level of complexity (and sometimes cost).
Hi! Do both "Tuya" and "Local Tuya" integrations work at the same time on HA/ZHA? Or should I disable/uninstall my current "Tuya" integration, before using the "Local Tuya" one? This question because I may need several weeks before finishing the process on all my devices, and don't want to lose control on the devices which are currently working, while I am switching the other ones, one by one, from cloud to local. Thanks!
You can use both. You will just have double the devices.
Can I have 2 Kerui Alarms on the same router and access either with the same phone?
Hi, can you create a video on how to set up HACS ? Thanks !
Waaayy ahead of you: ua-cam.com/video/wZLOTzpiELs/v-deo.html
It is older but should be relevant.
Device Log Query is missing in the API Services list. What to do then?
Nice video. My account on tuya expired and now get after scanning the QR code: The number of projects linked with this Tuya Smart App account has reached the upper limit of 2. Unlink the account from existing projects and try again.
Any tips to get the needed keys?
Hello i have a problem, the tuya doesnt detect any devices therefore i have tu add it manually but i dont know the devices ip adress (Host) :/ where i can find it?
Hello, Thanks for the video, but my tuya account expired a few days ago, and I cant connect localtuya. Getting Error that my tuya account is expired. Is there any way around it? I sent application to extend trial period, and it's being reviewed, but so far no luck.
Same problem of me...
Thanks for the video, I followed exactly what you did. There is only one bug, when I change the slider of the fan speed nothing happens, my fan the same you have 3 speed level.
Can you help?
Thanks
Still working.
Great Job! Thank you
You're welcome!
how do you manually add device ? because they are not discovered on the network ( but you do have other device )
With the Tuya Key Extactor: One of the devices is showing Nothing as Local Key (blank) . I repated the process more than 5 times and thats the only device it shows blank as Local Key
if I configure the device in Local tuya, I have to write HOST - What is it? device id - ok, local key - what is it?
The Device Log Query API says that it's deprecated, not sure when this happened. I hope it's not going to be a problem soon. Looking at picking up some Tuya devices.
Yeah Tuya looks to be taking away some cloud features. I might have to do a new video once they remove the feature.
When I first installed the local Tuya, everything worked fine without Internet but after sometime, if I restart my home assistant without Internet, all the tuya devices become unavailable I have to connect to Internet and restart again before they become available. Which after that they can work without the Internet. Is there any way I can fix this?
So you are blocking internet access for the devices or for home assistant,
Not really I have poor Internet connection
I have some tuya slider blinds that I can add to local tuya but for whatever reason I can't use the open/close buttons I can only use the position slider. I've tried every combination of IDs I can think of and it just doesn't work.
This was great but why are my devices working sometimes and not others?
How to make pull-requests from the devices?
I have a Tuya Smart-Meter-Plug, the switch works well but the sensors (current, voltage, power) don't update often (only around once an hour). Only when I have the TuyaApp open on my smartphone it updates frequently (like all 5 seconds).
Is there a way to make HomeAssistant pull the sensor values like e.g. all 30 seconds?
Device log query is deprecated now, any other suggestion?
Thanks for the video. But I cant see the Hacs section on the side panel. Also cant find the local tuya integration. Just the standard tuya. Have they updated the HA platform? How can I find them
LocalTuya won't show up if you didn't install the integration in HACS. If you're missing HACS on the side panel you may not have it installed under integrations. If you're using the Docker install of HA I don't think HACS is available on it.
I think you may have pointed me in the right direction here. Question: Can you only have LocalTuya, and not set up regular Tuya in Home Assistant? I think I have to remove the HA Tuya, and then activate LocalTuya, Can you confirm that is the case? Thank you for sharing the video.
Update: I just added and have basic control of a Costco 4" Globe light. Now to try to set up the rest of the settings. Thanks for the GREAT tutorial!
Looks like this was answered in a different comment (supposedly yes)
But what happens if my platform is NOT listed? I want to add a shutter\blinds but it does not show. What to do from here?
It may not be supported under the project. Did you check the GitHub to see if it's on the compatibility list?
Temperature sensors are not supported?
After the initial set up do I need to have an Internet or I can operate locally with Home assistant without connecting it to the Internet?
If you have the automated key checking enabled in configuration then it will require an internet connection each time home assistant restarts. Alternatively you can set everything up and then disable the automated checking and it shouldn't require an internet connection.
The request tab seems to be missing in Chrome Developer Tools for me. Tried with both Brave and Chrome.
This is fantastic. Thank you
Hi, what happens if my Tuya trial account expires and I buy a new Tuya device after that ? Can I still get the device ID for the new Tuya device ? Can I still setup/configure the new Tuya device when my Tuya account is expired ?
so can i connect my light bulbs on my laptop?
Device log Query was depricated. What now?
If I implement this local Tuya solution does this mean that push notifications won't work remotely when I'm away from home ?
If you get push notifications through Home Assistant, then yes (where Home Assistant is notifying you of a state change). If you are wanting to get it directly from the device, then I think you still need the cloud.
Is it possible to pair tuya zigbee devices with other zigbee gateways such as HA and hubitat?
Yes. As long as the particular Zigbee hub / software supports it. Check out Zigbee2MQTT, they have a lot of devices supported (including Tuya Bluetooth).
Is there a way to get Push notifications on my phone from e.g. a door sensor?
If you are using home assistant then it would be easy. The home assistant app can have notifications sent to it. Here is a reddit post with a quick how to: www.reddit.com/r/homeassistant/s/7RxAXCi0r2
Is there any way to send data to iot device with bluetooth without using tuya sdk?
If you have a device that runs purely off of Bluetooth of BLE, then you should be able to communicate with it directly using Home Assistant's bluetooth interface. That is if someone has developed an integration. Which device is it?
Hi, can you please advise ? My provider internet changes my IP every 2 months. ( I don't have a fixed IP) How do I change my IP in Tuya ? I am using Smart Life program on my mobile to control lights. I also use Lumiastream on my computer, which is not functional without Tuya. Thank you for your help.
I don't think that should matter. Your Tuya devices reach out and make the connection if you are using the cloud. If you are doing this project, then all of the traffic is inside your network (except for retrieving keys).
how can i add a bluetooth sensor? I don't have an IP address.
So is this allowing me to use tuya app on my phone and Home Assistant OS simultaneously?
Yes it should.
Really helpful video and very clear, except it failed when I got to setting up Cloud API Account Configuration with the following error [Failed to retrieve device list. Error 28841001: No permissions.]. Everything else worked, I followed your instructions, my devices appears in the Tuya Developer Platform. As far as I can see I am suscribed to the Free Trial. Any ideas greatly received.
Someone else had the same issue. Where are you seeing that error? In Home Assistant?
what about tuya zigbee devices? thank you
In HACS, "install" seems to have been replaced with "download."
Good to know. They are always changing things. Thanks!
I've tried this, but after I link my account, it says 0 devices and I don't see anything listed. I know my account is added successfully because I get an error if I try to re-add it. I even tried creating brand new Tuya and Tuya developmer accounts, and the same thing happens.
I have the same problem. Have you solved it already?
@@patrykpetryszen1404 no unfortunately I've shelved the whole project in frustration
I know a lot of people have had issues with their dev account linking to their device account. Which app are you using? Smart Life or Tuya Smart?
@@ThisSmartHouse I use Tuya. Everything went fine apart from device discovery
I've always used Tuya Smart. Do you think switching apps might help?
Great video, but there is a lurking problem. My roller blinds have stopped working as my Tuya Dev account 1 month free trial has expired. I tried to renew it but I am getting a message saying I have already used my maximum allowance of 1. Any thoughts?
They changed the accounts some time ago and removed the free tier. I was grandfathered in so I didn't run into this issue. Unfortunately there doesn't seem to be a good solution moving forward.
hello all i got the entity's added from a wifi dualct clamp meter but cant get them to work in HAs power skreen do eny one know how to add state_class: on to the entity's i added them in dev tools but when the sensor s update the state class fals away agane
When I tried to add local tuya integration:
Failed to retrieve device list. Error 28841002: No permissions. Your subscription to cloud development plan has expired.
I did everything correctly and I get Login error (1106): permission deny. Im using Home Assistant 2023.5.3. Well, it actually worked with the account email address, the on I use on my app.
Hello Thank you for the video. I realize is old but i did everything explained here but when the internet is disconnected, the local tuya devices are unavailable. I read other folks are having the same issue and they are advised to remove dns and internet access to those devices. However, this presents another issue where either the cloud app or local has to be used but not both. Any comments?
Let me take a look at it. I only have one tuya device left in my house.
@@ThisSmartHouse Thank you for the response. It seems the call from the android device was having issues, once i set manual setting for the sever, the devices work locally. IT is also working with ewelink sonoff devices. Thank you for your help.
How do you add devices that are on different vlans where they don't pop up on the configure screen?
I haven't tested multiple vlans with this project. Can you just type in all of the manual data?
Have you managed to get any bluetooth hubs in? I'm finding that to be a brick wall despite it showing as supported.
I don't have any Bluetooth Tuya gear, sorry.