This Tutorial was created a few months ago now. Since then the Tuya API and menus have updated and changed slightly. The steps still work but the menus are now in different places. I will be creating a NEW Tutorial for this soon. Cheers.
This is great news. Getting an odd error when I go to scan my app saying "You cannot scan the QR code to add a device deployed in another data center." I'm sure this is some misconfiguration on my Tuya Cloud project, but I cannot figure out which.
Hey Rodney. For that error check the data center your project is registered to, and the data center the devices are on. Tuya made a change a few days back that changed how cross region development works. You can find info on the relationship info here : developer.tuya.com/en/docs/iot/oem-app-data-center-distributed?id=Kafi0ku9l07qb In short, make sure you are using the same data center for your project and where the devices are registered (you can check device region in the tuya/smartlife app). Hope that helps!
Very good video. Thanks for very clear instructions. What I must admit, is this: after watching this video, I have become convinced that having a local smart home is simply too much effort. As much as I would have loved to run HA locally only, this process is obviously ONLY for my Tuya devices. I have about 35 of them!!!! Then there are the Sonoff products, again, probably about 30. Then, in future, there may be Aqara, as well as Shelly devices. I must admit, working with Home Assistant for about two years now. The more I want to smooth it out, and get things to actually work the way I want....the more I think that it's easier to just get up out of the chair, and press the light switch. Also, it's quicker doing that once or twice a day, rather than spending hours upon hours upon hours figuring out how this works, and then spending hours upon hours upon hours, imlementing it, and then spending hours upon hours upon hours finding the problem if there's an error, and then spending hours upon hours upon hours if something changes. Man! Such a pity, I really wanted this to work and be nice 🙂 Still, the video...excellent. My motivation to use this stuff: less than zero. I am unfortunately going to remain sold-out to something like Google, since you pretty much just plug your s""t in, and connect and go! Sure, it can't do everything you want it to, and sure....YOU are the product, they're mining your data, and sure....it's not as safe...but, then again, getting behind the wheel of a 2.5 ton automobile is also dangerous :-) But, after all is said and done, I presently feel...stuff it all. Plug in a Google Mini, plug in the Tuya/Sonoff devices, run them through their apps, and hey presto! I guess this is not the sort of comment that is really fit for this type of video. Sigh....
Watched your video first and then a second time following your lead. Other than a few changes to the Tuya Developer page, everything went well. Had some issues with the settings a for light. Using the yaml on the Github link for reference, I set: ID: 20, Brightness: 22, Color Temp: 23, Color Mode: 21, Color: 24, Scene: 25. Brightness values: 29/1000; Color Temps: 2700/6500 (though I'm not sure about the value and temp settings). Next up: setting up VLANs and restricting internet access.
Wow, did not expect this to be such a process. One would think that simply adding the Tuya API within Home Assistant would automatically store the devices locally. I've done a very simple process to store all my Sonoff devices locally and it works amazing! Hopefully Tuya can simplify this process in the future, for now I think I'll just stick with the cloud service. My Tuya devices are the only devices working via the cloud...
Tuya are working on the v2 integration. It does have plans for local control but its not currently part of it. It also supports way more devices :) Hopefully they do add it in the future and its a simple process.
Thanks for sharing. I think since I created the video, the feature has been removed and added a couple of times 😂. It should be working and I did create an alternate method which is a lot simpler for anyone that is struggling. Thanks for sharing Dmitry.
watching this a couple of years later, could eventually link devices (once i linked the correct datacenter) and then took a while sifting through options until i found the one that gave a local key - site rearranged a lot sinceyour video, but the principle still worked ! Thanks.
Thanks Mark, a clear and understandable video, even with the Tuya developer portal changing quite a lot. Tuya local now doesn’t require you to find the local_id for a device, it automatically pulls it in when you add a new device to the integration in HA. On balance have decided to not use Tuya local and remain with the core Tuya integration. Whilst I was able to get my Tuya shed alarm system working as a ‘select’ entity (armed, disarmed, sos, etc), the UI of the Tuya core integration is better; and when I try to add my Tuya Temperature and Humidity sensors to Tuya Local, I just get an “unknown error see log” - maybe not supported even though its just numeric output. Hey ho!
Thanks so much. Great video. In my case I had to open a ticket to the Tuya guys to switch my newly made account from Chinese Mainland to Greece. Took 48h but it did the trick and I could eventually follow your guide. All good and everything worked! 😃
Your comment saved me plenty of nasty words which I was going to spit on Tuya when I saw that cyber security request. PS. I din't choose United States during sing up... I bet you did the same mistake.
Hi. I need a little help. I cant find API product menu ( see video 11:55) . I have only API explorer and i cant subsribe Smart Home Devices Managament. Thank You
Thanks for another great video. Now got Local Tuya working on my HA on Windows 10 with a smart plug, but I have lots of other Tuya devices and I don't understand two things. 1. How to set up multicolour/white bulbs? 2. How to set up wall sockets (mine have two sockets and a USB socket so there are in fact 4 options on the socket) Many thanks in advance.
You asked a few weeks ago if you could improve your videos in any way. This video shows that you’ve learned a lot from the feedback and improved significantly. Congratulations 👏👏👏 Thanks for this, I’ll give it a go and try following your instructions. All failures will probably be due to my inadequacies. 😉
Wicked! really appreciate the support. Still trying to find my footing but I am always open to feedback and suggestions. Trying to improve with each video. Give it a go, and give me a shout if your stuck! I've also created a supporting video which goes over some issues so give that a check too if your stuck.
Thank you for the explaination. Very easy to follow and informative. I have a quession to ask. I have just added Tuya plug to my local Tuya but wondering how to get power consumptions in Home Assistant. Thanks
Great video, thank you! In API Explorer "Get Device Details" changed to "Query Device Details". (Tuya IOT Platform looks a little bit different too :( , but it is not your fault)
i created a tuya IoT account in 2023. i could locate my key via tuya under 'device management' then 'query device details'. entered device ID and it returned in the json response perfectly.
This is awesome - one step closer to brining things all internal and not requiring outside cloud services! One thing I'm struggling with is the adding of the entities and all the different settings and what should go in there! May be missing something on the github page but just can't find what they should be set to!
Hey Ian. It is a little fiddly setting up the entities and is often more of a case of just trial and error. I do plan to go over adding entities in Local Tuya in a future video. What type of device are you trying to add? One thing you can do to try and figure out what the entities are is to just set them as sensors. Then if you use the Tuya/SmartLife app to control the device and change its status (turn it on, press a button etc.) you will see that sensor change and know what it is. Entities that's sensor state is true or false are obviously some kind of switch. In the Local Tuya Entities video I will show how to figure entities out, and how I added an unsupported Robot Vac and an unsupported diffuser. No ETA yet though sorry. Feel free to share a post via my FB Group and I will try my best to help you out. (Link in description) Cheers.
I initially had issues getting a light to work. (I actually ended up randomly guessing the settings and it worked!) I was able to confirm my settings by visiting the Github link and looking at the configuration.yaml example. (I did not add it to my yaml.) Using the yaml for reference, I set - Brightness:22, Color Temp: 23, Color Mode: 21, Color: 24, Scene:25. Brightness values: 29/1000; Color Temp: 2700/6500 (though I'm not sure about the value and temp settings). Hope this is helpful.
Thanks for sharing Derek. Yeah it can be guess work. I do plan on doing a video going through Local Tuya entities and also sharing the config/ids for settings I have used for devices I have set up.
Thanks, Mark. Apparently, something in the Tuya integration or server changed such that toggling a switch was no longer working. But, it works fine through Local Tuya. I would not have have had a clue how to set that up without your video.
Thanks for video. I was done today setup for Local Tuya what uses My Nedis Wifi sockets. This was possible because you made that other video also what was pointing steps to get local_keys. There was few challenges on my route but comments was helping me out
Not sure is this was already the case at the time this video was made, but it is already possible to make some local tuya automations that work without access to internet just purely in the Tuya Smart app, from what I could gather this works specially with Zigbee devices and automations that do not require access to online elements such as the time of day. It's still limited but better than nothing.
Great video Mark, but it's old enough that the Tuya screens have changed and I can find the API selections that you describe in this video, I am old and therefore slow, but also I don't give up and I will keep trying to get this to work.
Hope it helped Karl! Yeah at the time of creating this video they where undergoing some big changes. As Local Control has seemingly been promised in the new integration I am waiting to see what comes from that before I do another Local Tuya or the advanced Local tuya setup video.
Hi Mark, thanks so much for your very easy and simple step-by-step (and troubleshooting video) on getting Local Tuya to work. Now I am finally free of the overlords that control my Tuya GU10 bulbs as I am not able to flash them with Tasmota using TuyaConvert (firmware has the exploit fixed). I was able to get my 4 GU10 light bulbs and smart plug into HA using Local Tuya. Yay! The only thing is that my smart plug has power monitoring as well. However, when you want to set up the various additional sensors, the "IDs" that come up which I would represent the different data points and not clear as to what they mean in terms of current, voltage, etc, etc. Thankfully I don't need the power monitoring features at present, but I might need them later. All one sees is 2 (value 0), 4 (value 0), 5, 6 and 7 with no indication as to what they represent. Any ideas on where I can find this information?
Hey Glen. Glad the tutorials helped you out :) The DP documentation is pretty loose. Ive had to manually play around with some of my devices to figure out what they are / what they control. I did this by setting unknown dp values to just sensor entities. Then I modified the device with the Tuya/Smart Life app to see what changed (e.g setting a specific mode, toggling a set option). There are a few basic templates on the Local Tuya GitHub though. Cheers
@@MarkWattTech Thanks very much. I used those templates in figuring out the values for the lights, but smart plugs were not well covered at all. Good idea - I’ll create sensors and figure them out that way.
Awesome, that is a great help. Had real problems trying to find my local key. Had to get around the new menus and such but found it in the end. Thanks.
Where did you find them? I didn't have to sign up for an API, which was strange until I noticed the OCT 15 popup a second viewing of the My Services. After running the debug, I don't see anything about a Local Key. Still poking around. NVM, just found it less than 5 mins commenting here. Once you are in the API Explorer, expand the General Devices Management, and click on Get Device Information. Enter the ID, and away you go.
Hi Mark, Thanks for this video, really good in your way of explaining steps. But I still have a question... this way, all the devices already in Tuya cloud are then controlled locally. What if we want to add a new device : do we have to connect it in Tuya cloud and then transfer it to Tuya local or is there a way to get it connected directly to Local Tuya ? Maybe it can be covered in you new video... Thanks !
Hello Mark, You explained very well how to integrate devices into HomeAssistant. It all worked for me, but how do you delete a device connected via Tuya from HomeAssistant?Greetings Dieter
Mark, I am fairly new to Home Assistant and have been using your videos as a reference. This is yet another good video. Thanks for taking the time and effort to educate me on my venture into Home Assistant.
Thanks for this howto video. Been trying to do this over the weekend after seeing it on another channel but failed at every hurdle. Now seeing this I can see where I was going wrong. I'm gonna give it a another crack in the week now and see what mess I can make - lol.
Hopefully it helps :) I have covered another method for accessing Local Tuya if your still stuck with this one. Tuya are also working on local control as part of the official Tuya v2 integration
@@MarkWattTech Yes i did hear they are now working on a local version. How local remains to be seen but keeping an open mind. Gonna try local tuya first though as the cloud was in my room yesterday so foggy all my switches were lost 😬😂
@@seangraves3509 only time will tell 😁. I am thinking it will be a system where you still provision your devices with Tuya, but then you are able to make use of registered devices tokens to complete local controls. I will be covering it when its finally implemented :)
Hi Mark, thanks for a great video, just some feedback, I set this up for the first time today and I was able to create all the necessary accounts and linking on the Tuya website. Just thought you would like to know that it worked for me. Cheers
Thanks Derek. The Tuya page has changed a few times (allowing and stopping accounts) a few times since I created this video. Glad it worked for you though :)
@@MarkWattTech Hi Mark, just an update on what I have discovered lately. In Australia and New Zealand one of the local stores sells their own branded TUYA devices (Arlec and Deta), these also run a rebranded TUYA app called Grid Connect. When I set up LocalTUYA I decided to set up a new Arlec device in the TUYA app instead of Grid Connect, which does work and I was able to get it connected on LocalTUYA. I then thought I would need to move my old devices from Grid Connect to TUYA, but this was not the case, I could add Grid Connect as an app in the TUYA API. Just thought that would help anybody in AU or NZ. Cheers
I've just purchased a smart electrical heater. In the list in the integration. Is this listed. I'd on and off and it's thermostat. I don't want to go through all those steps to find out its not supported. Thanks great channel.
Hey Bill. I have another local Tuya video dropping tomorrow. Originally I said the dev tools method was easier, but as Tuya keep changing there API and access it's a little unreliable. Tomorrows video requires a few steps, but it will give you all the keys in one go.
Mark, I have a few quick questions. What happens when a device is added to Local Toya? Does it dissappear from the device list on the Toya account? If additional devices are added in the home, how are THEY added to Local Toya. Your tutorials are among the easiest to follow. Thank you. But, this one has so many steps to follow, it is still difficult.
Hey Jamie. If you add it to local tuya it still stays in the tuya list (you can still use the tuya/smartlife app). If you can use both at the same time, but they can cause some strange oddities and sync issues. Unfortunately every device has to be manually added. Tuya still doesn’t have a great local option and it seems they have turned there back on what they have said about implementing a local solution.
Great tutorial. With your help I set up 3 devices in Local Tuya successfully. Question I have: 2 of the devices are Smart Life bulbs. In HA they don't have the ability to dim, just on or off. Where if possible can I change things to allow brightness to be controllable?
First of all: Nice video which is easy to follow even if your not a native speaker. However when trying to follow either this tutorial or the one for cloud configuration it becomes frustrating quit soon. For the HA integration via cloud solution there are abolutely no devices shown at all and for tuya local integration it doesn´t bring up my light sensor but only the Zigbee gateway (which obviously doesn´t deliver any valuable data points). Not even entering the device credentials manually allows to get the device into Home assistant ("An unknown error occurred. See log for details.") Anybody had the same issue and knows how to fix it?
Have you tried the new beta Smartlife intergration ? Wow what a breeze . Appreciate this guide is old in terms of rapid deployment that is intergration these days
Looking for some help on adding IR remote ("Domo-22-a2") to HA. I can add the diven using local tuya but I can´t control it. It does not add a remote entity
I have solved the problem of sensors not being supported in local tuya. This device can be connected to an external switch, so this could be a door sensor etc. It will appear as a switch device in local tuya so can be used to trigger events if it’s state changes.
Hello Mark. Congratulations on the videos. I'm a follower of yours... without useful. I was installing LocalTuya and when I was installing one of the devices I had a problem on the computer, and Had to start the process of installing the device from the start ... but now it always aborts... I was able to install other devices, but the one was "hanging". Can we reset the installation process? Or somehow delete already installed devices in localtuya?
Hey Diogo. Oh no! You should be able to delete the device thats failing. If you head into your integrations, you should see local tuya. Select the device thats not working. Select the 3 dots and click delete (its like deleting an integration but it only deletes one device at a time). You should then be good to just re add it.
Hi great video. I had this working perfectly up until a few weeks ago and now I can't see my devices even though it looks like it's connected fine to the cloud. Now, no matter what I do I can't see any of my devices.
Loving the video's they are much needed!! . I don't know if anyone has had this problem but I am missing a few devices from the Tuya IoT platform and the Tuya Extractor. From HA the Local Tuya has 2 Device ID's that don't exist anywhere else when crossed referenced. The missing device all work from with in Bluestacks and my phone. Any ideas?
Some devices just aren't supported by the Tuya or Local Tuya integration. You would be best to check the device ID's against the Tuya API to see what they actually are. The new Tuya v2 integration supports way more devices and plans to offer local control at a future date.
@@MarkWattTech Hey Mark thanks for the quick reply. I have only been with HA for just over a week so I am a total newbie. I have followed your video's to get me to the place where I'm at now so thanks. Will Tuya v2 be coming out soon?
@@tonymiles1888 I have a few videos on it allready and I’m currently doing a series following each big update. It is out now in Beta and can be setup via HACS.
Stuck at this point with home assistant: Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists.
Cheers. In some of my videos I play around with some blurring tools and effects. Still just experimenting and playing around. Anything I have shown or not covered etc was just missed when playing around, but isn’t sensitive info etc. I would like to think I am more careful than that 😋. But thank you for the heads up.
Hi, I see you pinned a comment that you will be making a newer updated video of how to set this up, have you done that yet? or when do you plan on doing that, I would really love to watch it so I can set it up but with how different things are now compared to this video I'm lost and confused.
Well - it seems you still have a dependency on the cloud here? Last time I checked out Tuya I got bad flashbacks to ifttt and lock-in fever and your jumps through hoops and it seems the cloud control option, or cloud trust option to be honest, that you talk about here is still an issue as this cloud solution has full access to your devices. But I appreciate seeing how you setup devices to at least keep working if your internet is out ....
Hi firdt of all thank you for all you videos that are very clear. I have a small question: how can I add in the same way an IP cam that is only working with Tuya/Smart life ? Many thanks
Thanks very much for this! It has changed a fair bit since this was made, but with this, a bit of trial and error, and the important comment by @Stephan Jones (which needs pinning) I managed to get all 16 of my Smart Life plugs' local keys and they all now work fine with LocalTuya.
like the video, question I have two wifi networks and what I am seeing is if the device is configured in SmartLife app under SSID 1 and my home assistant is on SSID 2 it does not see the device when you go to configure it. Is this the way it works or am I doing something wrong. I can reconfigure the device in SmartLife app but was just wondering why tks keep up the informative videos
I think the Tuya device sees them as “different networks” which is why it doesn’t show up. Also make sure the device is in the supported list. Thank you! Plenty more to come :)
Thanks for the detailed instruction I managed to add the Tuya based curtain motor but HomeAssistant can not control no response. Device went off line in Tuya interface too. Do you have any recommendations.
Hey Emre. I have just picked up a Tuya curtain device. When I get a second I will set it up and give it a go. Give me a nudge if you don’t hear from me (I might forget 😋)
Hello, new here, great video! Thanks for the effort. Quick question... can you remove the bulbs from the tuya servers after this or do they have to stay active? What happens if a power outage occurs and my router reboots?
Hi I have just set up tuya local only have one device which is a Zemismart Tuya wifi curtain track. I have this working in the HA Tuya intergration however I cannot get it to work as a local controlled device - anybody managed to do this - any help would be great - thank you
@@pjbear1813 thx, after resetting and registering again the curtain now works with Tuya app. Shall make some experiments with Tuya Local, ping you if any success ;)
UPDATE - April 20th 2021 It looks like a few days after this post Tuya changed the options again. You should be able to follow this guide okay. But for anyone struggling, I have created another video detailing an alternate method for extracting the keys. Cheers UPDATE - March 25th 2021 As of today it looks like Tuya have updated the way there Dev accounts work. So it may be harder to link devices via an app. Another reason your devices are at the mercy of the cloud gods! I WILL BE CREATING A NEW VIDEO : on another method that doesn’t require the dev account. There's a few more steps involved but it wont require the Tuya Developer account and it will give you all your keys at once. Stay tuned 👀 NEW VIDEO SHOWING ALTERNATE METHOD - ruclips.net/video/YKvGYXw-_cE/видео.html Update from Tuya here : developer.tuya.com/en/docs/iot/open-api/user-guide/managing-devices/link-devices?id=Ka471nu1sfmkl ================================================================= PRIOR TO THE UPDATE - PRE March 25th (If you already setup a dev account) If your stuck or having any issues with this setup, I've also created a supporting video which goes over a couple of issues I had and the fixes. It may help you out. Also to note, the Tuya Dev website seems a little janky at the minute! You can catch that supporting video here : ruclips.net/video/t2S2KLtDj7I/видео.html
Matt I installed the integration per your video and everything went smoothly except that I don't see any of my devices in the integration. The integration is blank except fo the box symbol and cloud symbol the in the upper right corner of the integration.
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?
I have a tuya thermostat... after i added to local tuya but shows wrong numbers. On the thermostat display is 22⁰c but in homeassistant is 4.4⁰c. Please help
I went to try this today but a lot of what you wrote says "lifetime when setting this up 2 years ago. Things have changed and Tuya re now only offering 1 month trials, after this everything stops working. So new account holders are left in the dust.
While we do control the tuya device locally, the tuya device is theoratically still connected to the internet right, and using the smart life/tuya app would allow us to turn on the device outside of our local network. Any way to make a tuya device completely local?
Hi, first of all. Thanks for this instructive video 🙏 I have some question. Some one use local tuya with video security system ? I understand the local tuya provide automation system more responsive. But I'm looking a way to get video system more fast. Because, some time when I wanna look on my video system on smartlife app, I get troubleshooting with system encryption. Maybe local tuya can fix this ? Or Maybe there is an other way ? Thanks in advance for help from all 👍
Hey :) I don't think the tuya integration works with video/camera at the moment (I could be wrong). I dont have any Tuya cameras to test with though. I dont think they are listed in supported devices either. With your cameras are you just trying to add them into HA? Do they have RTSP feeds? you could just link them in HA with those feeds. Cheers.
@@MarkWattTech no the camera are not listed inside HA. The video connection trough Smartlife is very unstable. I thought local tuya can be solve my problem
Question: What is the way of getting local keys from a 2 gang wifi switch . there is a single device id and I'm getting a single key only from the iot site. the result is a single switch found and connected in home assistant. any idea? thanks
Hi Mark if you add it to local tuya do you still be able to control it from the app when is not at home ? Do you have any video upgrading sonoff devices with tuya app (firmware)... My ideia was to get some of my tuya devices and extract firmware and than flash in the sonoff devices) I just not found easy way to doing it and also maybe some devices firmware not go to be compatible I pressume? would be possible put tuya app on the Smart Scene Wall Switch Sonoff NSPanel ? thank you
Thank you Matt. To try and unclog my wifi network, I have switched to Zigbee for a lot of my smart devices. Do you know anything about Local access for Zigbee devices? (Did not seem I could add the gateway, which was the only one with an IP address but wonder if you knew of anything or alternatives please?)
I’ve done all of this and local connection works on HA, however when I don’t have internet local stops working; so how do we do a real local Tuya connection that works even without internet?
Hi Mark, thanks for the helpfull tutorial. Menu's and API's have changed, but i got it to work. After the devices were setup in HA, i tried to remove them them from the Tuya smart app, to remove all connections with te cloud. Buy then the devices stopped working. So i guess you have to keep the Tuya smart app intact? Does this mean that all commands are send locally but the state of de device will remain visible in the Tuya smart app, and so in the cloud? Greetz
Mark - Some of the Tuya Zigbee devices will only connect through the Tuya Zigbee Gateway. One of these is the Zigbee Presence Sensor. When connected this way, the gateway is a physical device with a local key but the Presence sensor is a "virtual device" that has NO local key. Is it possible to configure these virtual devices in Local Tuya?
Heya. For Tuya Zigbee devices I would recommend picking up the Zemismart Zigbee hub. This allows you to connect Tuya Zigbee devices to the hub. The nice thing about the Zemismart hub is it allows you to expose the devices to HA via HomeKit. This will give you local control over the devices. I use this hub for devices that don’t work via zigbee to HA (e.g locks and some sensors).
Mark - Awsome video. I was able to get this after zillion other video reference. A quick question.. shall i revoke access of iot device from tuya platform?? Since its all about local communication.
I would as it then makes them truly local. However if there are any issues and the device forgets the network etc you have to repeat the whole process which is a bit of a pain. Tuya are working on local support in the new v2 integration, so hopefully this will all just become super simple :)
Hi Mark- I removed the device from smartlife and also revoked authorisation.. in both cases the integration broke.. i am having second thoughts if this is really local.. in my opinion local tuya shall be able to handle the device on its own else smartlife becomes a duplicate. Your thoughts.
Thank you :D I don't have any tuya IR devices to test with. But if Local Tuya can see the device you might be able to add some of the functionality by settings it's entities up as sensors and switches. It may be limited though.
Hello I have aquestion I have some smart plug conrolled from Tuya they are showing energy consumtion on the tuya app but I dint see this in Home assistant only switch on/off any help? or suggestion?
Can you make a updated video of Tuya. As the latest setup doesn't work anymore. I have more than 10 iOT devices and it is throwing me an error of device limit. Can you help me?
Tuya vs ewelink, any differences or just the name? I have a 4port smart "switch" (relay board) on ewelink that I thought was dead so I bought a new one and it came with instructions for this tuya.
Ewelink is Sonoffs software. It is different and most eWelink devices offer a form of local control or relatively easy firmware flashing. Tuya devices are less so.
Got up to scanning the QR code and confirm. Got a pop up on the screen clicked OK but no devices added ( I have three plugs ). Tried again and it says App already added :(
This Tutorial was created a few months ago now. Since then the Tuya API and menus have updated and changed slightly. The steps still work but the menus are now in different places. I will be creating a NEW Tutorial for this soon.
Cheers.
was just following this tutorial to the point i got to api management and the damn thing has moved somewhere hha
@@nicolasraby2967 you can find it under
Smart Home Management System > Device Management (left hand menu) :)
@@MarkWattTech awesome cheers buddy great channel
This is great news. Getting an odd error when I go to scan my app saying "You cannot scan the QR code to add a device deployed in another data center." I'm sure this is some misconfiguration on my Tuya Cloud project, but I cannot figure out which.
Hey Rodney. For that error check the data center your project is registered to, and the data center the devices are on. Tuya made a change a few days back that changed how cross region development works.
You can find info on the relationship info here : developer.tuya.com/en/docs/iot/oem-app-data-center-distributed?id=Kafi0ku9l07qb
In short, make sure you are using the same data center for your project and where the devices are registered (you can check device region in the tuya/smartlife app).
Hope that helps!
Very good video. Thanks for very clear instructions. What I must admit, is this: after watching this video, I have become convinced that having a local smart home is simply too much effort.
As much as I would have loved to run HA locally only, this process is obviously ONLY for my Tuya devices. I have about 35 of them!!!! Then there are the Sonoff products, again, probably about 30. Then, in future, there may be Aqara, as well as Shelly devices.
I must admit, working with Home Assistant for about two years now. The more I want to smooth it out, and get things to actually work the way I want....the more I think that it's easier to just get up out of the chair, and press the light switch. Also, it's quicker doing that once or twice a day, rather than spending hours upon hours upon hours figuring out how this works, and then spending hours upon hours upon hours, imlementing it, and then spending hours upon hours upon hours finding the problem if there's an error, and then spending hours upon hours upon hours if something changes.
Man! Such a pity, I really wanted this to work and be nice 🙂
Still, the video...excellent.
My motivation to use this stuff: less than zero. I am unfortunately going to remain sold-out to something like Google, since you pretty much just plug your s""t in, and connect and go!
Sure, it can't do everything you want it to, and sure....YOU are the product, they're mining your data, and sure....it's not as safe...but, then again, getting behind the wheel of a 2.5 ton automobile is also dangerous :-) But, after all is said and done, I presently feel...stuff it all. Plug in a Google Mini, plug in the Tuya/Sonoff devices, run them through their apps, and hey presto!
I guess this is not the sort of comment that is really fit for this type of video. Sigh....
Watched your video first and then a second time following your lead. Other than a few changes to the Tuya Developer page, everything went well. Had some issues with the settings a for light. Using the yaml on the Github link for reference, I set:
ID: 20, Brightness: 22, Color Temp: 23, Color Mode: 21, Color: 24, Scene: 25. Brightness values: 29/1000; Color Temps: 2700/6500 (though I'm not sure about the value and temp settings).
Next up: setting up VLANs and restricting internet access.
Wow, did not expect this to be such a process. One would think that simply adding the Tuya API within Home Assistant would automatically store the devices locally. I've done a very simple process to store all my Sonoff devices locally and it works amazing! Hopefully Tuya can simplify this process in the future, for now I think I'll just stick with the cloud service. My Tuya devices are the only devices working via the cloud...
Tuya are working on the v2 integration. It does have plans for local control but its not currently part of it.
It also supports way more devices :)
Hopefully they do add it in the future and its a simple process.
Account on Tuya opened on 09/05/2021. Today is 18/05/2021 and method works!
Thanks for sharing. I think since I created the video, the feature has been removed and added a couple of times 😂. It should be working and I did create an alternate method which is a lot simpler for anyone that is struggling.
Thanks for sharing Dmitry.
The portal changed a lot from your video, but I managed to stumble through and fetch the local key through trial and error. Thanks for the guide man 👍
you helped me a lot thank you.
I was already giving up on local integration, now the spirit is back.
watching this a couple of years later, could eventually link devices (once i linked the correct datacenter) and then took a while sifting through options until i found the one that gave a local key - site rearranged a lot sinceyour video, but the principle still worked ! Thanks.
Thanks Mark, a clear and understandable video, even with the Tuya developer portal changing quite a lot. Tuya local now doesn’t require you to find the local_id for a device, it automatically pulls it in when you add a new device to the integration in HA.
On balance have decided to not use Tuya local and remain with the core Tuya integration. Whilst I was able to get my Tuya shed alarm system working as a ‘select’ entity (armed, disarmed, sos, etc), the UI of the Tuya core integration is better; and when I try to add my Tuya Temperature and Humidity sensors to Tuya Local, I just get an “unknown error see log” - maybe not supported even though its just numeric output. Hey ho!
Thanks for a great video. I was unable to use Tuya convert on most of my switches, this gives a good alternative. I'll try it soon.
Thanks so much. Great video.
In my case I had to open a ticket to the Tuya guys to switch my newly made account from Chinese Mainland to Greece.
Took 48h but it did the trick and I could eventually follow your guide.
All good and everything worked! 😃
Thanks for sharing 😁
Your comment saved me plenty of nasty words which I was going to spit on Tuya when I saw that cyber security request.
PS. I din't choose United States during sing up... I bet you did the same mistake.
Really thorough explanation unlike another I tried to follow unsuccessfully. I had numerous problems with the registration. Keep them coming.
Thanks David. Glad to have helped. Plenty more to come :)
Hi. I need a little help. I cant find API product menu ( see video 11:55) . I have only API explorer and i cant subsribe Smart Home Devices Managament. Thank You
Thanks for another great video. Now got Local Tuya working on my HA on Windows 10 with a smart plug, but I have lots of other Tuya devices and I don't understand two things.
1. How to set up multicolour/white bulbs?
2. How to set up wall sockets (mine have two sockets and a USB socket so there are in fact 4 options on the socket)
Many thanks in advance.
I tried this and was successful . Some menus or the locations of the menus had change on the tuya website but with a little digging I found them
You asked a few weeks ago if you could improve your videos in any way. This video shows that you’ve learned a lot from the feedback and improved significantly. Congratulations 👏👏👏
Thanks for this, I’ll give it a go and try following your instructions. All failures will probably be due to my inadequacies. 😉
Wicked! really appreciate the support. Still trying to find my footing but I am always open to feedback and suggestions. Trying to improve with each video.
Give it a go, and give me a shout if your stuck! I've also created a supporting video which goes over some issues so give that a check too if your stuck.
Thank you for the explaination. Very easy to follow and informative. I have a quession to ask. I have just added Tuya plug to my local Tuya but wondering how to get power consumptions in Home Assistant. Thanks
Great video, thank you! In API Explorer "Get Device Details" changed to "Query Device Details". (Tuya IOT Platform looks a little bit different too :( , but it is not your fault)
Thanks for helping us take our devices out of the butt.
yes got it working with help from the "help video"
i created a tuya IoT account in 2023.
i could locate my key via tuya under 'device management' then 'query device details'. entered device ID and it returned in the json response perfectly.
This is awesome - one step closer to brining things all internal and not requiring outside cloud services! One thing I'm struggling with is the adding of the entities and all the different settings and what should go in there! May be missing something on the github page but just can't find what they should be set to!
Hey Ian. It is a little fiddly setting up the entities and is often more of a case of just trial and error. I do plan to go over adding entities in Local Tuya in a future video. What type of device are you trying to add?
One thing you can do to try and figure out what the entities are is to just set them as sensors. Then if you use the Tuya/SmartLife app to control the device and change its status (turn it on, press a button etc.) you will see that sensor change and know what it is.
Entities that's sensor state is true or false are obviously some kind of switch.
In the Local Tuya Entities video I will show how to figure entities out, and how I added an unsupported Robot Vac and an unsupported diffuser. No ETA yet though sorry. Feel free to share a post via my FB Group and I will try my best to help you out. (Link in description)
Cheers.
I initially had issues getting a light to work. (I actually ended up randomly guessing the settings and it worked!) I was able to confirm my settings by visiting the Github link and looking at the configuration.yaml example. (I did not add it to my yaml.)
Using the yaml for reference, I set - Brightness:22, Color Temp: 23, Color Mode: 21, Color: 24, Scene:25. Brightness values: 29/1000; Color Temp: 2700/6500 (though I'm not sure about the value and temp settings).
Hope this is helpful.
Thanks for sharing Derek. Yeah it can be guess work. I do plan on doing a video going through Local Tuya entities and also sharing the config/ids for settings I have used for devices I have set up.
Thanks, Mark. Apparently, something in the Tuya integration or server changed such that toggling a switch was no longer working. But, it works fine through Local Tuya. I would not have have had a clue how to set that up without your video.
I think they fixed it and then broke it again haha. Glad to have helped :)
Thanks for video. I was done today setup for Local Tuya what uses My Nedis Wifi sockets. This was possible because you made that other video also what was pointing steps to get local_keys. There was few challenges on my route but comments was helping me out
Not sure is this was already the case at the time this video was made, but it is already possible to make some local tuya automations that work without access to internet just purely in the Tuya Smart app, from what I could gather this works specially with Zigbee devices and automations that do not require access to online elements such as the time of day. It's still limited but better than nothing.
Clouds -> Projects is now Cloud -> Development, at least on mine here.
Great video Mark, but it's old enough that the Tuya screens have changed and I can find the API selections that you describe in this video, I am old and therefore slow, but also I don't give up and I will keep trying to get this to work.
Brilliant video! The Tuya site has changed slightly since you posted this video, but nothing major.
Hope it helped Karl!
Yeah at the time of creating this video they where undergoing some big changes. As Local Control has seemingly been promised in the new integration I am waiting to see what comes from that before I do another Local Tuya or the advanced Local tuya setup video.
Hi Mark, thanks so much for your very easy and simple step-by-step (and troubleshooting video) on getting Local Tuya to work. Now I am finally free of the overlords that control my Tuya GU10 bulbs as I am not able to flash them with Tasmota using TuyaConvert (firmware has the exploit fixed). I was able to get my 4 GU10 light bulbs and smart plug into HA using Local Tuya. Yay! The only thing is that my smart plug has power monitoring as well. However, when you want to set up the various additional sensors, the "IDs" that come up which I would represent the different data points and not clear as to what they mean in terms of current, voltage, etc, etc. Thankfully I don't need the power monitoring features at present, but I might need them later. All one sees is 2 (value 0), 4 (value 0), 5, 6 and 7 with no indication as to what they represent. Any ideas on where I can find this information?
Hey Glen. Glad the tutorials helped you out :)
The DP documentation is pretty loose.
Ive had to manually play around with some of my devices to figure out what they are / what they control. I did this by setting unknown dp values to just sensor entities. Then I modified the device with the Tuya/Smart Life app to see what changed (e.g setting a specific mode, toggling a set option).
There are a few basic templates on the Local Tuya GitHub though.
Cheers
@@MarkWattTech Thanks very much. I used those templates in figuring out the values for the lights, but smart plugs were not well covered at all. Good idea - I’ll create sensors and figure them out that way.
@@gverran doing it this way I have managed to get an unsupported robot vacuum into Home Assistant with Local Tuya :)
@@MarkWattTech Wow, very cool. So who knows - maybe some of these sensors could reveal hidden functionality 😂
Awesome, that is a great help. Had real problems trying to find my local key. Had to get around the new menus and such but found it in the end. Thanks.
Where did you find them? I didn't have to sign up for an API, which was strange until I noticed the OCT 15 popup a second viewing of the My Services. After running the debug, I don't see anything about a Local Key. Still poking around.
NVM, just found it less than 5 mins commenting here.
Once you are in the API Explorer, expand the General Devices Management, and click on Get Device Information. Enter the ID, and away you go.
Hi Mark, Thanks for this video, really good in your way of explaining steps. But I still have a question... this way, all the devices already in Tuya cloud are then controlled locally. What if we want to add a new device : do we have to connect it in Tuya cloud and then transfer it to Tuya local or is there a way to get it connected directly to Local Tuya ? Maybe it can be covered in you new video... Thanks !
Hello Mark,
You explained very well how to integrate devices into HomeAssistant. It all worked for me, but how do you delete a device connected via Tuya from HomeAssistant?Greetings Dieter
Mark, I am fairly new to Home Assistant and have been using your videos as a reference. This is yet another good video. Thanks for taking the time and effort to educate me on my venture into Home Assistant.
Welcome aboard! Glad you have found the content helpful
very helpful you saved me hours of googling
Thanks for this howto video. Been trying to do this over the weekend after seeing it on another channel but failed at every hurdle. Now seeing this I can see where I was going wrong. I'm gonna give it a another crack in the week now and see what mess I can make - lol.
Hopefully it helps :)
I have covered another method for accessing Local Tuya if your still stuck with this one. Tuya are also working on local control as part of the official Tuya v2 integration
@@MarkWattTech Yes i did hear they are now working on a local version. How local remains to be seen but keeping an open mind.
Gonna try local tuya first though as the cloud was in my room yesterday so foggy all my switches were lost 😬😂
@@seangraves3509 only time will tell 😁. I am thinking it will be a system where you still provision your devices with Tuya, but then you are able to make use of registered devices tokens to complete local controls.
I will be covering it when its finally implemented :)
Came back for adding new devices, still an awesome video.
Hi Mark, thanks for a great video, just some feedback, I set this up for the first time today and I was able to create all the necessary accounts and linking on the Tuya website. Just thought you would like to know that it worked for me. Cheers
Thanks Derek. The Tuya page has changed a few times (allowing and stopping accounts) a few times since I created this video. Glad it worked for you though :)
@@MarkWattTech Hi Mark, just an update on what I have discovered lately. In Australia and New Zealand one of the local stores sells their own branded TUYA devices (Arlec and Deta), these also run a rebranded TUYA app called Grid Connect. When I set up LocalTUYA I decided to set up a new Arlec device in the TUYA app instead of Grid Connect, which does work and I was able to get it connected on LocalTUYA. I then thought I would need to move my old devices from Grid Connect to TUYA, but this was not the case, I could add Grid Connect as an app in the TUYA API. Just thought that would help anybody in AU or NZ. Cheers
@@DerekWalker55 thanks Derek :) in theory anything that utilises the Tuya IOT platform, should be able to connect as they all use the same backend.
Great tutorial.. only ONE entity i got (On/Off)......how to get others entities(brightness,color,..) i have tested with a smart ceiling LIGHT ;.
I've just purchased a smart electrical heater. In the list in the integration. Is this listed. I'd on and off and it's thermostat. I don't want to go through all those steps to find out its not supported. Thanks great channel.
Whew. Looks like a lot of work. Great video. Will try the local integration soon.
Hey Bill. I have another local Tuya video dropping tomorrow.
Originally I said the dev tools method was easier, but as Tuya keep changing there API and access it's a little unreliable. Tomorrows video requires a few steps, but it will give you all the keys in one go.
Mark, I have a few quick questions. What happens when a device is added to Local Toya? Does it dissappear from the device list on the Toya account? If additional devices are added in the home, how are THEY added to Local Toya.
Your tutorials are among the easiest to follow. Thank you. But, this one has so many steps to follow, it is still difficult.
Hey Jamie.
If you add it to local tuya it still stays in the tuya list (you can still use the tuya/smartlife app). If you can use both at the same time, but they can cause some strange oddities and sync issues.
Unfortunately every device has to be manually added.
Tuya still doesn’t have a great local option and it seems they have turned there back on what they have said about implementing a local solution.
Great tutorial. With your help I set up 3 devices in Local Tuya successfully. Question I have: 2 of the devices are Smart Life bulbs. In HA they don't have the ability to dim, just on or off. Where if possible can I change things to allow brightness to be controllable?
First of all: Nice video which is easy to follow even if your not a native speaker. However when trying to follow either this tutorial or the one for cloud configuration it becomes frustrating quit soon. For the HA integration via cloud solution there are abolutely no devices shown at all and for tuya local integration it doesn´t bring up my light sensor but only the Zigbee gateway (which obviously doesn´t deliver any valuable data points). Not even entering the device credentials manually allows to get the device into Home assistant ("An unknown error occurred. See log for details.")
Anybody had the same issue and knows how to fix it?
Brilliant channel, thanks for helping me setting up local tuya and other stuff on HA
Have you tried the new beta Smartlife intergration ? Wow what a breeze . Appreciate this guide is old in terms of rapid deployment that is intergration these days
Looking for some help on adding IR remote ("Domo-22-a2") to HA. I can add the diven using local tuya but I can´t control it. It does not add a remote entity
I have solved the problem of sensors not being supported in local tuya.
This device can be connected to an external switch, so this could be a door sensor etc.
It will appear as a switch device in local tuya so can be used to trigger events if it’s state changes.
excellent video, describing step by step with all the required details! well done! I hope you keep up the great work :)
Thank you! Plenty more to come :)
Hello Mark. Congratulations on the videos. I'm a follower of yours... without useful. I was installing LocalTuya and when I was installing one of the devices I had a problem on the computer, and Had to start the process of installing the device from the start ... but now it always aborts... I was able to install other devices, but the one was "hanging". Can we reset the installation process? Or somehow delete already installed devices in localtuya?
Hey Diogo. Oh no! You should be able to delete the device thats failing. If you head into your integrations, you should see local tuya. Select the device thats not working. Select the 3 dots and click delete (its like deleting an integration but it only deletes one device at a time). You should then be good to just re add it.
@@MarkWattTech Fantastic... Thanks.
Nice !
Hi great video. I had this working perfectly up until a few weeks ago and now I can't see my devices even though it looks like it's connected fine to the cloud. Now, no matter what I do I can't see any of my devices.
Loving the video's they are much needed!! . I don't know if anyone has had this problem but I am missing a few devices from the Tuya IoT platform and the Tuya Extractor. From HA the Local Tuya has 2 Device ID's that don't exist anywhere else when crossed referenced. The missing device all work from with in Bluestacks and my phone. Any ideas?
Some devices just aren't supported by the Tuya or Local Tuya integration. You would be best to check the device ID's against the Tuya API to see what they actually are.
The new Tuya v2 integration supports way more devices and plans to offer local control at a future date.
@@MarkWattTech Hey Mark thanks for the quick reply. I have only been with HA for just over a week so I am a total newbie. I have followed your video's to get me to the place where I'm at now so thanks. Will Tuya v2 be coming out soon?
@@tonymiles1888 I have a few videos on it allready and I’m currently doing a series following each big update. It is out now in Beta and can be setup via HACS.
Stuck at this point with home assistant: Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists.
Thanks for your video, I see you from Spain. I joined to this channel to lear as all I can... thx
maby you should blur out your email in the intergration page small detail but thanks for the video got it working thank you
Cheers. In some of my videos I play around with some blurring tools and effects. Still just experimenting and playing around.
Anything I have shown or not covered etc was just missed when playing around, but isn’t sensitive info etc. I would like to think I am more careful than that 😋. But thank you for the heads up.
Late comer to the game, and realized Get device details is now called Get Device Information under General Device Management on the IoT Platform site.
Hi, I see you pinned a comment that you will be making a newer updated video of how to set this up, have you done that yet? or when do you plan on doing that, I would really love to watch it so I can set it up but with how different things are now compared to this video I'm lost and confused.
Well - it seems you still have a dependency on the cloud here? Last time I checked out Tuya I got bad flashbacks to ifttt and lock-in fever and your jumps through hoops and it seems the cloud control option, or cloud trust option to be honest, that you talk about here is still an issue as this cloud solution has full access to your devices. But I appreciate seeing how you setup devices to at least keep working if your internet is out ....
Thank you for your effort. Unfortunately, this is now out of date. The LocalTuya config is significantly different now.
What is the difference in using local Tuya, or just pair Tuya zigbee switches directly through MQTT and Home Assistant?
Hi firdt of all thank you for all you videos that are very clear.
I have a small question: how can I add in the same way an IP cam that is only working with Tuya/Smart life ?
Many thanks
Thanks very much for this! It has changed a fair bit since this was made, but with this, a bit of trial and error, and the important comment by @Stephan Jones (which needs pinning) I managed to get all 16 of my Smart Life plugs' local keys and they all now work fine with LocalTuya.
@AndyS where did you find the info?
You now need only the IoT core API (was Smart Home Management System API) for device details and getting the Local Key.
Thank you very much!
like the video, question I have two wifi networks and what I am seeing is if the device is configured in SmartLife app under SSID 1 and my home assistant is on SSID 2 it does not see the device when you go to configure it. Is this the way it works or am I doing something wrong. I can reconfigure the device in SmartLife app but was just wondering why tks keep up the informative videos
I think the Tuya device sees them as “different networks” which is why it doesn’t show up.
Also make sure the device is in the supported list.
Thank you! Plenty more to come :)
Thanks for the detailed instruction I managed to add the Tuya based curtain motor but HomeAssistant can not control no response. Device went off line in Tuya interface too. Do you have any recommendations.
Hey Emre. I have just picked up a Tuya curtain device. When I get a second I will set it up and give it a go. Give me a nudge if you don’t hear from me (I might forget 😋)
@@MarkWattTech cool thanks :) that was quick
Hi Mark, can you offer an update on how well Local Tuya is working currently, and if you have updated to version 5.0 with the latest HA update?
Its broken for new setups unless you found a work around
Hello, new here, great video! Thanks for the effort. Quick question... can you remove the bulbs from the tuya servers after this or do they have to stay active? What happens if a power outage occurs and my router reboots?
Hi I have just set up tuya local only have one device which is a Zemismart Tuya wifi curtain track. I have this working in the HA Tuya intergration however I cannot get it to work as a local controlled device - anybody managed to do this - any help would be great - thank you
Hi I have the same issue but the device also went off line in Tuya interface. Can you still able to manage your device from Tuya app?
@@nesendil yes works in TuyaSmart app
@@pjbear1813 thx, after resetting and registering again the curtain now works with Tuya app. Shall make some experiments with Tuya Local, ping you if any success ;)
UPDATE - April 20th 2021
It looks like a few days after this post Tuya changed the options again. You should be able to follow this guide okay. But for anyone struggling, I have created another video detailing an alternate method for extracting the keys. Cheers
UPDATE - March 25th 2021
As of today it looks like Tuya have updated the way there Dev accounts work. So it may be harder to link devices via an app. Another reason your devices are at the mercy of the cloud gods!
I WILL BE CREATING A NEW VIDEO : on another method that doesn’t require the dev account. There's a few more steps involved but it wont require the Tuya Developer account and it will give you all your keys at once. Stay tuned 👀
NEW VIDEO SHOWING ALTERNATE METHOD - ruclips.net/video/YKvGYXw-_cE/видео.html
Update from Tuya here : developer.tuya.com/en/docs/iot/open-api/user-guide/managing-devices/link-devices?id=Ka471nu1sfmkl
=================================================================
PRIOR TO THE UPDATE - PRE March 25th
(If you already setup a dev account)
If your stuck or having any issues with this setup, I've also created a supporting video which goes over a couple of issues I had and the fixes. It may help you out.
Also to note, the Tuya Dev website seems a little janky at the minute! You can catch that supporting video here : ruclips.net/video/t2S2KLtDj7I/видео.html
Matt I installed the integration per your video and everything went smoothly except that I don't see any of my devices in the integration. The integration is blank except fo the box symbol and cloud symbol the in the upper right corner of the integration.
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?
I have a tuya thermostat... after i added to local tuya but shows wrong numbers. On the thermostat display is 22⁰c but in homeassistant is 4.4⁰c. Please help
Thanks Mark, just unsure as to what the host address should be?
I went to try this today but a lot of what you wrote says "lifetime when setting this up 2 years ago. Things have changed and Tuya re now only offering 1 month trials, after this everything stops working. So new account holders are left in the dust.
soooo nice !!! after the integrtation in Local Tuya, extracted all the key, can we delete le tuya cloud account .?
While we do control the tuya device locally, the tuya device is theoratically still connected to the internet right, and using the smart life/tuya app would allow us to turn on the device outside of our local network. Any way to make a tuya device completely local?
Hi, first of all.
Thanks for this instructive video 🙏
I have some question.
Some one use local tuya with video security system ?
I understand the local tuya provide automation system more responsive.
But I'm looking a way to get video system more fast.
Because, some time when I wanna look on my video system on smartlife app, I get troubleshooting with system encryption.
Maybe local tuya can fix this ?
Or Maybe there is an other way ?
Thanks in advance for help from all 👍
Hey :)
I don't think the tuya integration works with video/camera at the moment (I could be wrong). I dont have any Tuya cameras to test with though. I dont think they are listed in supported devices either.
With your cameras are you just trying to add them into HA? Do they have RTSP feeds? you could just link them in HA with those feeds.
Cheers.
@@MarkWattTech no the camera are not listed inside HA.
The video connection trough Smartlife is very unstable.
I thought local tuya can be solve my problem
Question: What is the way of getting local keys from a 2 gang wifi switch . there is a single device id and I'm getting a single key only from the iot site. the result is a single switch found and connected in home assistant. any idea? thanks
Hi Mark if you add it to local tuya do you still be able to control it from the app when is not at home ?
Do you have any video upgrading sonoff devices with tuya app (firmware)... My ideia was to get some of my tuya devices and extract firmware and than flash in the sonoff devices)
I just not found easy way to doing it and also maybe some devices firmware not go to be compatible I pressume?
would be possible put tuya app on the Smart Scene Wall Switch Sonoff NSPanel ?
thank you
Thank you Matt.
To try and unclog my wifi network, I have switched to Zigbee for a lot of my smart devices. Do you know anything about Local access for Zigbee devices? (Did not seem I could add the gateway, which was the only one with an IP address but wonder if you knew of anything or alternatives please?)
I’ve done all of this and local connection works on HA, however when I don’t have internet local stops working; so how do we do a real local Tuya connection that works even without internet?
Hi Mark, thanks for the helpfull tutorial. Menu's and API's have changed, but i got it to work.
After the devices were setup in HA, i tried to remove them them from the Tuya smart app, to remove all connections with te cloud. Buy then the devices stopped working. So i guess you have to keep the Tuya smart app intact?
Does this mean that all commands are send locally but the state of de device will remain visible in the Tuya smart app, and so in the cloud?
Greetz
Hi, great video but I think the Tuya web has changed and for example I can't found the Project part or Api Products...
I have created some newer videos on this (after this one) that show the more up to date process :)
They may help
Mark - Some of the Tuya Zigbee devices will only connect through the Tuya Zigbee Gateway. One of these is the Zigbee Presence Sensor. When connected this way, the gateway is a physical device with a local key but the Presence sensor is a "virtual device" that has NO local key. Is it possible to configure these virtual devices in Local Tuya?
Heya. For Tuya Zigbee devices I would recommend picking up the Zemismart Zigbee hub. This allows you to connect Tuya Zigbee devices to the hub.
The nice thing about the Zemismart hub is it allows you to expose the devices to HA via HomeKit. This will give you local control over the devices.
I use this hub for devices that don’t work via zigbee to HA (e.g locks and some sensors).
Very useful video. Just installed release v4. Any chance you can feature in your next video how to install Tuya Zigbee/BLE.
Mark - Awsome video. I was able to get this after zillion other video reference. A quick question.. shall i revoke access of iot device from tuya platform?? Since its all about local communication.
I would as it then makes them truly local. However if there are any issues and the device forgets the network etc you have to repeat the whole process which is a bit of a pain.
Tuya are working on local support in the new v2 integration, so hopefully this will all just become super simple :)
@@MarkWattTech awsome.. lets see how it goes in V2..subscribed!!👍
Hi Mark- I removed the device from smartlife and also revoked authorisation.. in both cases the integration broke.. i am having second thoughts if this is really local.. in my opinion local tuya shall be able to handle the device on its own else smartlife becomes a duplicate. Your thoughts.
Hi Mark, are you going to redo this install video given the changes in the Tuya site now make working through this befuddling?
I have a Tuya RM Mini IR remote, I can’t find an entity type for it. Is it compatible?
Btw, amazing tutorial, everything setup in one go.
Thank you :D
I don't have any tuya IR devices to test with. But if Local Tuya can see the device you might be able to add some of the functionality by settings it's entities up as sensors and switches. It may be limited though.
Hello I have aquestion I have some smart plug conrolled from Tuya they are showing energy consumtion on the tuya app but I dint see this in Home assistant only switch on/off any help? or suggestion?
Can you make a updated video of Tuya. As the latest setup doesn't work anymore. I have more than 10 iOT devices and it is throwing me an error of device limit. Can you help me?
Great! Thx!
Tuya vs ewelink, any differences or just the name? I have a 4port smart "switch" (relay board) on ewelink that I thought was dead so I bought a new one and it came with instructions for this tuya.
Ewelink is Sonoffs software. It is different and most eWelink devices offer a form of local control or relatively easy firmware flashing. Tuya devices are less so.
Got up to scanning the QR code and confirm. Got a pop up on the screen clicked OK but no devices added ( I have three plugs ). Tried again and it says App already added :(
Just amazing! Thank you very much!
I am planning to move all my Smart Life device to Local Tuya but can the Smart Life IR blaster be moved to Local Tuya?
Hey, Thanks a lot for the video,
I have a question about the API,
In local Tuya' can I make REST API calls?
(to local machine)
Can we add a switch that can be set to on after a power failure?
Have you ever did a video for the current version because I am unable to find API management
I created a few newer videos of this, but the Api has changed a fair few times so it’s hard to keep up with it
Very Good friend / Thank you Broooooo
Always welcome 👊