HOW TO - Setup Local Tuya in Home Assistant

Ғылым және технология

In this video we will be running through the setup process for Local Tuya. We will also be having a look at some of the differences between using the Tuya Cloud service and using Local Tuya. This is just a brief comparison with no techy specs.
Local Tuya is away of accessing your Tuya devices locally. There are other options available too.
Did you find the Easter Egg in todays episode?
🙏Support my Channel - Become a PATRON🙏
Consider supporting the channel by becoming a Patron. Any and all funds go into creating new content and bigger projects.
► / markwatttech
▬ Video Chapters ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
0:00​​ - Intro
0:15​ - Todays Video
0:41​ - About Tuya
2:04​ - About Local Tuya
4:32 - Local Tuya Home Assistant Integration (Via HACS)
5:43​ - Tuya Developer Account Setup
8:57 - Cloud Project Setup
11:56 - API Setup
14:31 - Local Key extraction
15:13 - Setup Local Tuya using obtained local keys
18:59 - Summary and troubleshooting link
19:40 - Outro
------------------------------
!!! UPDATE !!!
SEE MY PINNED POST ABOUT TUYA DEVELOPER CHANGES
I have also created a new video showing an alternate method for getting local keys. If this method doesn't work for you. Go check out : • HOW TO - Get All Local...
▬ Handy Video Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Tuya Developer Signup
auth.tuya.com/register?from=h...
Local Tuya GitHub
github.com/rospogrigio/localtuya
Fixing Issues setting up Local Tuya
• LOCAL TUYA HELP (Tuya ...
Not sure what values to use for Lights etc? Check out :
pypi.org/project/tinytuya/
There's a section on the different values available.
=========================================
P L E A S E N O T E !
==========================================
The Tuya Dev Website has been a little unstable and had a lot of issues the past few days. I ran into a fair few problems during this process so it's not 100% full proof. If enough people are interested I can show another method for setting up Local Tuya that doesn't need the Tuya Developer account / website.
In this video we will be running through the setup process for Local Tuya. We will also be having a look at some of the differences between using the Tuya Cloud service and using Local Tuya. This is just a brief comparison with no techy specs.
=========================================
I S S U E S W I T H T H I S S E T U P
=========================================
Problems following some steps ?
Because I ran into a few issues I have also put together a quick video separate to this one showing some issues and fixes.
You can check that out here: • LOCAL TUYA HELP (Tuya ...
Why is this separate? - Not everyone will have these problems (some are website specific so may be resolved by now or in the future) so I didn't want to fill the video with unnecessary issues and fixes
Local Tuya is not a standard integration. You will need to have HACS installed to access it. Check my links below for info on how to install HACS.
▬ [ M y R e f e r e n c e d V i d e o s ] ▬
- HACS setup : • 5 Home Assistant Add-o...
- Tuya setup : • HOW TO - Add Tuya Devi...
- Local Tuya Help : • LOCAL TUYA HELP (Tuya ...
- NEW METHOD : NEW Method to get Local KEYS
📣FOLLOW ME ON SOCIAL MEDIA📣
Follow me on all of the places for exclusive insights and updates;
👤 Facebook: / markwatttech​​​
👤 FB Group: / 2963936147172102
📸 Instagram: / markwatttech​​​
🐦 Twitter: / markwatttech​​​
► MarkWattTech Sub Reddit : / markwatttech
▬ Become a Patreon ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Consider supporting the channel by becoming a Patreon member.
► / markwatttech
▬ Buy Me a Coffee ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
☕ Found my content helpful?
Any and all funds will go towards helping improve future content.
Plus there are an extra few perks to becoming a member.
☕ If your interested check it out :
► Buy Me a Coffee: www.buymeacoffee.com/MarkWatt...
------------------------------
🎵 Track Info:
Title: All That
Royalty free from : www.bensound.com/royalty-free​​
------------------------------
#markwatttech​​ #homeassistant​​ #localtuya

Пікірлер: 674

  • @MarkWattTech
    @MarkWattTech2 жыл бұрын

    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.

  • @nicolasraby2967

    @nicolasraby2967

    2 жыл бұрын

    was just following this tutorial to the point i got to api management and the damn thing has moved somewhere hha

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    @@nicolasraby2967 you can find it under Smart Home Management System > Device Management (left hand menu) :)

  • @nicolasraby2967

    @nicolasraby2967

    2 жыл бұрын

    @@MarkWattTech awesome cheers buddy great channel

  • @alsothejiraguy

    @alsothejiraguy

    2 жыл бұрын

    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.

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    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!

  • @tazeemn
    @tazeemn3 жыл бұрын

    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.

  • @FlavioOliveira25
    @FlavioOliveira25 Жыл бұрын

    you helped me a lot thank you. I was already giving up on local integration, now the spirit is back.

  • @manosioa
    @manosioa3 жыл бұрын

    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! 😃

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    Thanks for sharing 😁

  • @mil3k

    @mil3k

    3 жыл бұрын

    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.

  • @d_sellers1
    @d_sellers13 жыл бұрын

    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.

  • @davidtjac
    @davidtjac3 жыл бұрын

    Really thorough explanation unlike another I tried to follow unsuccessfully. I had numerous problems with the registration. Keep them coming.

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    Thanks David. Glad to have helped. Plenty more to come :)

  • @bdbgh
    @bdbgh8 ай бұрын

    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 👍

  • @irishpete79
    @irishpete79 Жыл бұрын

    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.

  • @MegaUndertaker3
    @MegaUndertaker33 жыл бұрын

    excellent video, describing step by step with all the required details! well done! I hope you keep up the great work :)

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    Thank you! Plenty more to come :)

  • @dplawrance
    @dplawrance2 жыл бұрын

    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.

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    I think they fixed it and then broke it again haha. Glad to have helped :)

  • @fred7flinstone
    @fred7flinstone2 жыл бұрын

    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.

  • @LigerXT5

    @LigerXT5

    2 жыл бұрын

    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.

  • @WoutScheper
    @WoutScheper2 жыл бұрын

    Brilliant channel, thanks for helping me setting up local tuya and other stuff on HA

  • @frankthedsigner558
    @frankthedsigner5582 жыл бұрын

    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...

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    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.

  • @geoffreycoan
    @geoffreycoan11 ай бұрын

    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!

  • @BlakeSpence
    @BlakeSpence2 жыл бұрын

    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.

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    Welcome aboard! Glad you have found the content helpful

  • @AngloYorkshire
    @AngloYorkshire3 жыл бұрын

    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.

  • @ThisOldManOfTheSea
    @ThisOldManOfTheSea3 жыл бұрын

    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. 😉

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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.

  • @CA-FE-C0-FF-EE-00
    @CA-FE-C0-FF-EE-002 жыл бұрын

    Came back for adding new devices, still an awesome video.

  • @ReonAugustus
    @ReonAugustus3 жыл бұрын

    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

  • @bill_automated1226
    @bill_automated12263 жыл бұрын

    Whew. Looks like a lot of work. Great video. Will try the local integration soon.

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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.

  • @mikkovirta3249
    @mikkovirta3249 Жыл бұрын

    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

  • @seangraves3509
    @seangraves35093 жыл бұрын

    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.

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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

  • @seangraves3509

    @seangraves3509

    3 жыл бұрын

    @@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 😬😂

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    @@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 :)

  • @awedaei
    @awedaei Жыл бұрын

    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

  • @saintpara1980
    @saintpara19803 жыл бұрын

    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!

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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.

  • @d_sellers1

    @d_sellers1

    3 жыл бұрын

    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.

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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.

  • @rrrrrrrr290
    @rrrrrrrr2903 жыл бұрын

    yes got it working with help from the "help video"

  • @gverran
    @gverran3 жыл бұрын

    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?

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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

  • @gverran

    @gverran

    3 жыл бұрын

    @@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.

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    @@gverran doing it this way I have managed to get an unsupported robot vacuum into Home Assistant with Local Tuya :)

  • @gverran

    @gverran

    3 жыл бұрын

    @@MarkWattTech Wow, very cool. So who knows - maybe some of these sensors could reveal hidden functionality 😂

  • @paololazzareschi5077
    @paololazzareschi50773 жыл бұрын

    Nice Job Mark ! 1000 Thumbs up

  • @polpotube
    @polpotube2 жыл бұрын

    very helpful you saved me hours of googling

  • @richardheb2489
    @richardheb2489 Жыл бұрын

    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 !

  • @dmitrykopelev
    @dmitrykopelev3 жыл бұрын

    Account on Tuya opened on 09/05/2021. Today is 18/05/2021 and method works!

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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.

  • @felipefn88
    @felipefn882 жыл бұрын

    Just amazing! Thank you very much!

  • @chesshooligan1282
    @chesshooligan1282 Жыл бұрын

    Thanks for helping us take our devices out of the butt.

  • @victorrodrigues409
    @victorrodrigues4093 жыл бұрын

    Thanks a lot very very usefull Keep on doing that kind of video

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    Thank you for the feedback!

  • @juanantonio7155
    @juanantonio71553 жыл бұрын

    Thanks for your video, I see you from Spain. I joined to this channel to lear as all I can... thx

  • @mael0331
    @mael03312 жыл бұрын

    Hi Mark, thank you always for your great videos. I learned a lot about integrating my Tuya devices to Home Assistant. I'm now trying my luck to integrate to Local Tuya as I find the Tuya V2 slow in responding when activating switches and automations. I just have a question, do I need to install a zigbee usb coordinator when I use Local Tuya in Home Assistant? Thank you.

  • @mustafafathi9507
    @mustafafathi95073 жыл бұрын

    thank you for this great video

  • @MarkWattTech
    @MarkWattTech3 жыл бұрын

    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 - kzread.info/dash/bejne/i3-qqbuRp5DFk6g.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 : kzread.info/dash/bejne/pmaHlK2FpKfQZ6w.html

  • @dsm150
    @dsm1503 жыл бұрын

    Thank You a lot!!! All great! )

  • @running_rich
    @running_rich Жыл бұрын

    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?

  • @whadat2000
    @whadat20003 жыл бұрын

    Hi thanks for this, I have been having trouble with the tuya integration on homeassistant with controlling my tuya app curtain. The problem I am having after following your guide is to set up the curtain. It doesn't work when I use the cover entity. Do you have a video showing how to connect a cover entity?

  • @DerekWalker55
    @DerekWalker553 жыл бұрын

    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

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    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 :)

  • @DerekWalker55

    @DerekWalker55

    3 жыл бұрын

    @@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

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    @@DerekWalker55 thanks Derek :) in theory anything that utilises the Tuya IOT platform, should be able to connect as they all use the same backend.

  • @geidorei
    @geidorei2 жыл бұрын

    Brilliant video! The Tuya site has changed slightly since you posted this video, but nothing major.

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    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.

  • @Draxanderful
    @Draxanderful3 жыл бұрын

    am i able to control individually my devices within my tuya hub? my devices are manually added by 433mhz radio frequency?

  • @Bazim
    @Bazim Жыл бұрын

    Thank you very much!

  • @djeev1
    @djeev12 жыл бұрын

    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

  • @pjuhl2313
    @pjuhl23132 жыл бұрын

    Hey Mark, thanks for the video. I was able to get local tuya set up, however I cannot add more than one device in the integrations section? I added a fan and was able to add both the fan and light as entities but it won't let me add an additional fan. Any suggestions would be helpful!

  • @ccotty9211
    @ccotty92113 жыл бұрын

    good vid mate :)

  • @dieter3613
    @dieter3613 Жыл бұрын

    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

  • @paltomare
    @paltomare2 жыл бұрын

    Thanks for these fantastic videos! I know this video is a few months old, managed to navigate through the new menus but still got the dreaded 1106 error. I've checked my DC's and all match Western America, which I assume is correct for USA. Any ideas?

  • @rodneysmith1750
    @rodneysmith175011 ай бұрын

    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.

  • @user-hd7xp6hr4t
    @user-hd7xp6hr4t3 жыл бұрын

    Thanks a lot!

  • @TheDanhib
    @TheDanhib3 жыл бұрын

    Another great video! I've got plugs working fine but for some reason my bulbs get added, the first worked but then keeps saying unavailable. Is this maybe me making a mistake with the Identity part and colour settings. Bit confused with the value 0, value 1 and value 0000000fg I'm assuming is colour. Thanks again

  • @zsoltbiro5723
    @zsoltbiro57239 ай бұрын

    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)

  • @seewind2000
    @seewind20002 жыл бұрын

    Great! Thx!

  • @asopok
    @asopok3 жыл бұрын

    Great video mate. I just bought a tuya wired zigbee gateway hub but the devices I have all Tuya WiFi based. Can I connect them to the hub?

  • @simonbunn5841
    @simonbunn58413 жыл бұрын

    I had to turn off UFW on my ubuntu machine that is running home assistant inside a docker container. (Managed installation I think they call it). What ports do I need to open in UFW so that tuya local can 'browse' and fiind all my devices?

  • @acmepackers87
    @acmepackers87 Жыл бұрын

    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?

  • @nicoladellino8124
    @nicoladellino81243 жыл бұрын

    Nice video bro, tnx 👏 👏 👏

  • @SaraB-zf5mz
    @SaraB-zf5mz Жыл бұрын

    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.

  • @grant_HH
    @grant_HH Жыл бұрын

    Hi Mark I set up the IOT account following the steps for the home assistant tuya cloud integration then added Local tuya. I've got a 3rd party device that uses Tuya as its back end (Kids colour changing clock) When added to the tuya integration It has no entities. Do you know if there is any way to find out the entities to add it to the local tuya integration?

  • @marcsteingrand1354
    @marcsteingrand13542 жыл бұрын

    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?

  • @peterfixit7221
    @peterfixit7221 Жыл бұрын

    i have a bunch of the tuya zigbee devices through the tuya hub do these still run through the tuya hub or a zigbee dongle and do you have a video on it

  • @chaimvazana8836
    @chaimvazana88362 жыл бұрын

    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

  • @yonutz333
    @yonutz3333 жыл бұрын

    Very nice and helpful video. I've already started the process some time ago from another youtube tutorial but yours is definitely better. Just as an info, when i created the account I used Europe (not US) and it was made after the date you mentioned (April 11th) and the get device info and everything else required along the way worked just fine. I now have the local key and everything required. Maybe this info helps someone ...

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    Hey :) thanks for the feedback. Since creating this video Tuya have changed the Api and Dev tools etc multiple times. This guide should work okay, but can change again based on Tuya.

  • @kevin4rsl
    @kevin4rsl2 жыл бұрын

    Great job on the videos. Can you do a video on how to integrate TTLock app to controll door lock like Hornbill etc.?

  • @mikebakkeyt
    @mikebakkeyt3 жыл бұрын

    Great video again and I got to the point of being able to add my RGB bulbs and have them work as white only :-( I had the same issue with the cloud Tuya integration but fixed that with an override on the customize.yaml to set the # of available functions to 63 - they are now working as expected via cloud. BUT - when I do the same with local it rejects the config as invalid. My assumption is that it's down to my selection of "DPs" (whatever they are) when adding the bulbs. I've tried as many combinations as I can bear but I still never get the colour picker displayed at all. Sooo unless I can find a solution I will have to stick with cloud. I did look on the tuya local GIT and found a utility which should dump all the available DPs from a device but that fails to execute because (I think) python can't load cryptography. Kind of stymied for now...

  • @seanbrewster9018
    @seanbrewster90183 жыл бұрын

    Have tried all of the aforementioned, but HA only detects my Tuya Smart hub, no devices! any thoughts?

  • @gabiruman
    @gabiruman Жыл бұрын

    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.

  • @grisvianbrudlie6093
    @grisvianbrudlie6093 Жыл бұрын

    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?

  • @McGuppie
    @McGuppie Жыл бұрын

    Nice !

  • @Thomgrsbk
    @Thomgrsbk2 жыл бұрын

    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

  • @rommiei
    @rommiei2 жыл бұрын

    Very useful video. Just installed release v4. Any chance you can feature in your next video how to install Tuya Zigbee/BLE.

  • @bdanuw
    @bdanuw Жыл бұрын

    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?)

  • @user-bi7bx7xf2z
    @user-bi7bx7xf2z Жыл бұрын

    Hello, tried this yesterday as a test with a plug and it works although some things changed at the tuya site. But Now I would like to remove the tuya app from my phone therefore using the plug only local and without a internet connection to tuya. so I disconnected the plug from the smart life app (it started blinking again). Checking if the plug can still be used in home assistant, but after deleting the plug in the smart life app it's also unavailable in HA. Are my actions wrong and do I still need to have all devices in the smart life app or do I need to travel another road for this? If this is the way it is then i'm still hooked on Tuya and stil need to have a connection to Tuya for registering devices online. Can You elaborate?

  • @tempdemp1622
    @tempdemp16223 жыл бұрын

    Appreciate the video. Tuya only shows one entity for a device : the device state ON/OFF . Is it possible to get other entities if attached to the device like RSSI ..??

  • @BMannien
    @BMannien5 ай бұрын

    What is the difference in using local Tuya, or just pair Tuya zigbee switches directly through MQTT and Home Assistant?

  • @WayneNaylor25
    @WayneNaylor253 жыл бұрын

    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.

  • @AhmedBahgat
    @AhmedBahgat3 жыл бұрын

    Hello mate. All good now and I can see all the discovered Tuya devices on my Lan, thank you very much for your great and detailed videos. Just more question(s) please, when configuring the discovered devices, I see that there is a value for the device IP address that I have to enter in the Host box, what will happen in the case of the device getting a different IP address from my DHCP, will it fail then? and if so, do I need to reserve a fixed IP address for each device? and if I have to do so, how can I get the MAC address for each device? Thank you very much mate you have a been a great help and I can tell you that I watched 3 other guys talking about the same thing, Local Tuya, and I only managed to understand it from your videos. Have a great day

  • @vyraz
    @vyraz2 жыл бұрын

    hi mark, just found this. im totally new with ha and all my stuff is tuya. unfortuately im at thelast bit but itsays "Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists" any thoughts?

  • @TheLiorNt
    @TheLiorNt2 жыл бұрын

    Thanks for another great video Mark. I did all the steps that you have mentioned but for some reason my local tuya doesn't recognize any of my devices while the regular Tuya is recognize all of them. Can you help here? Thanks

  • @DueIIer
    @DueIIer2 жыл бұрын

    Hello Mark, thank you for your video. Do you think is possible tu use local tuya together with the new integration Tuya v2?

  • @photelegy
    @photelegy Жыл бұрын

    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?

  • @wagzo0927
    @wagzo0927 Жыл бұрын

    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

  • @trung_automation
    @trung_automation Жыл бұрын

    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?

  • @PL-VA
    @PL-VA3 жыл бұрын

    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 ....

  • @vaughanza
    @vaughanza3 жыл бұрын

    Thanks for great video, what would a geyser switch be, will I add it as a switch even if it has power monitoring ? Thanks

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    You should be able to add both entities separately. On the Local Tuya Git they are working on adding some new sensors for power monitoring etc.

  • @pabll0
    @pabll0 Жыл бұрын

    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

  • @MusaferHoonYaaro
    @MusaferHoonYaaro Жыл бұрын

    Can we add a switch that can be set to on after a power failure?

  • @marnodeheij8756
    @marnodeheij87562 жыл бұрын

    Thank you for this video! Is it possible to Integrate device voltage / current / power within HA? Hopefully you can help me!

  • @akibakha5313
    @akibakha53133 жыл бұрын

    Very Good friend / Thank you Broooooo

  • @MarkWattTech

    @MarkWattTech

    3 жыл бұрын

    Always welcome 👊

  • @user-di3le7hy2l
    @user-di3le7hy2lАй бұрын

    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

  • @Talk2Giuseppe
    @Talk2Giuseppe Жыл бұрын

    Mark - you put together some great tutorials. Just finished watching each of your local tuya, key extraction videos. Seems like the various techniques are no longer available? Any recommendations, or video in the works on how to get the keys?

  • @MarkWattTech

    @MarkWattTech

    Жыл бұрын

    Heya :) you can still use the web to get the local keys. The site layout is now just a little different. Tuya constantly keep moving bits so it’s hard to keep up with videos

  • @Talk2Giuseppe

    @Talk2Giuseppe

    Жыл бұрын

    @@MarkWattTech - Thanks for that! You're right, the keys can now be found under "General Device Capabilities | General Devices Management | Get Device Information" off the Tuya Developers site.

  • @cvmsgames4651
    @cvmsgames46513 жыл бұрын

    Hi Mark, I follow step by step of your video, but when I try to find my tuya devices into local tuya I've received this error: Address used for discovery is already in use. Make sure no other application is using it (TCP port 6668). Do You know how to figure out it? thanks a lot!!!

  • @samirbenalla
    @samirbenalla2 жыл бұрын

    Hi Mark, is it possible to install/get Local Tuya without HACS? A few months ago mine HACS installtion got corrupted and tried many times and ways to reinstall without luck.

  • @syruce76
    @syruce7611 ай бұрын

    soooo nice !!! after the integrtation in Local Tuya, extracted all the key, can we delete le tuya cloud account .?

  • @deanofire100
    @deanofire1002 жыл бұрын

    Hi there. Another great video, very helpful as i am brand new to HA. One quick question, Once you have put the smart device (switch etc) on your local Tuya, is it totally off the Tuya cloud or is it on both instances to use ? TIA

  • @MarkWattTech

    @MarkWattTech

    2 жыл бұрын

    Once you put it in local tuya it is kind of in a hybrid state. You can communicate locally with it, but the cloud connection is needed to get the local key. You will also need to block the network access for the device. I would recommend only using one integration as they can make each other go out of sync and mess with your automations. Both instances can control the devices.

  • @kimnser8017
    @kimnser80172 жыл бұрын

    Thanks for a great and helpful video. Local tuya did work in first try. But now i stopped working anymore. Did Tuya do something? Or is this issue only my problem?

  • @manoxyde
    @manoxyde2 жыл бұрын

    Thx a lot

  • @robertperkins4909
    @robertperkins49092 жыл бұрын

    Great videos. Success on 29 devices but I have 8 that show up in Tuya but not in the LocalTuya drop-down to integrate. Three do show up, but I get an error when trying to submit, "Failed to authenticate with device." Any suggestions?

  • @refaelganesh3277
    @refaelganesh3277 Жыл бұрын

    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)

Келесі