Setting up Local Tuya

Sdílet
Vložit
  • čas přidán 6. 07. 2024
  • Local Tuya
    ** Links **
    Local Tuya Key Extractor on GitHub: github.com/HiveMindAutomation...
    ** Support the Channel**
    Buy Me a Coffee: buymeacoffee.com/HiveMindAuto
    ** Affiliate Links **
    *** These links help the channel by providing a commission on purchases
    Join NordVPN Today: go.nordvpn.net/SH3eJ
    ** As seen in previous episodes **
    Buy SK6812 LED Strips (the ones behind me) - From AliExpress: s.click.aliexpress.com/e/_AO1tuu
    Nanoleaf Products at PTC Shop: ptcshop.pxf.io/ORo34G
    Nanoleaf Essentials B22 1-Pack Bulb on Amazon: amzn.to/3OJjk2e
    Nanoleaf Essentials B22 3-Pack Bulbs on Amazon: amzn.to/3k93XCa
    Nanoleaf Essentials E27 1-Pack Bulb on Amazon: amzn.to/3xUvDmp
    3M Command Strips: amzn.to/3Bcq1mX
    Buy Node MCU's - From AliExpress: s.click.aliexpress.com/e/_AVdTRm
    RM Mini 3 - InfraRed Blaster: amzn.to/3rvZBcH
    ** TIMESTAMPS **
    00:00 Intro
    01:14 Preface
    01:58 Setting upTuya IoT Cloud Project
    04:29 Connecting Devices to your Cloud Project
    06:47 Gathering Local Keys
    09:17 Installing Local Tuya with HACS
    11:59 Pairing Accessories to Local Tuya
    17:31 Does it work?
    18:34 Latency Testing
    20:46 What about a Light Entity?
    22:31 Guessing the Pin Settings
    25:25 Testing it Out
    28:24 Summary
    ** Helpful Links **
    Home Assistant: www.home-assistant.io/
    Raspberry Pi: www.raspberrypi.org/
    Balena Etcher: www.balena.io/etcher/
    Home Assistant for iOS: apple.co/34JATce
    Home Assistant for Android: bit.ly/30VUsNh
    ** CREDITS **
    Music: www.purple-planet.com
  • Věda a technologie

Komentáře • 208

  • @HiveMindAutomation
    @HiveMindAutomation  Před rokem +5

    Hey Everyone,
    I've updated the code on my Github page to pull down information about the pinouts for each device.
    Local Tuya Key Extractor on GitHub: github.com/HiveMindAutomation/LocalTuyaKeyExtractor
    There's been updates to LocalTuya that might make the script pointless, but it's there if it helps you nonetheless.
    Thanks again for watching!

    • @ibrahimbabajide3498
      @ibrahimbabajide3498 Před rokem

      Does local Tuya still allows the devices to work also when there’s internet

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      Yes, Whether there's an internet connection or not, Local Tuya will work. I've not isolated my Tuya devices from the internet yet.

  • @PauloAbreu
    @PauloAbreu Před rokem +2

    Very cool to see how you troubleshooted the color selection after setup! 👏👏👏

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Glad you liked it. That said, my Python script now extracts the pinouts from the Tuya API, so it takes a lot of the guesswork out.
      There's also been updates to LocalTuya that make the process a lot more automated.

  • @RyeMoes
    @RyeMoes Před rokem +1

    AMAZING video! Thank you so much! I have my devices on a different VLAN and couldn't figure out how to get all the data I needed to manually add until this video. Thanks!

  • @joellindsey9038
    @joellindsey9038 Před 10 měsíci

    You rock man! This is exactly what I needed and I just finished my bench test of my Atomi (Tuya hardware) porch light along with my MOES four button wall switch. Overall it was relatively painless and I have full RGB control now through home assistant.

  • @zenstrukt
    @zenstrukt Před rokem

    Great video! Definitely the easiest to follow resource out there 🙂

  • @Wojciechgc
    @Wojciechgc Před rokem +1

    I love your Aperture Laboratories shirt

  • @bradfreeman5291
    @bradfreeman5291 Před 2 lety

    This has helped me a lot, I was struggling with assigning the correct pins. BTW my local bunnings (Hervey Bay) is selling off their older Brilliant bulbs in the purple box for $1. I picked up a few can, t hurt.

  • @hungarianzozo
    @hungarianzozo Před 9 měsíci

    Excellent. I found it really useful. I wished you'd also shown the setup of power consumption and its various visualisations.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 9 měsíci

      I have another video showing the setup of the Home Assistant Energy Dashboard if that's what you mean?

  • @Qosmio1955
    @Qosmio1955 Před 2 lety

    I was a fan of tuya convert in the old days. Uploading tasmota firmware ota to light bulbs was a breeze and along with the Blakadder templates made it really easy to have local control of the bulbs. Then came the dreaded "fix" and tuya convert was dudded. Since then I've stopped buying iot bulbs altogether, not willing to risk wasting my money. I gather, from the various forums I frequent, that a great many people have done the same. I sometimes wonder whether subsequent lost sales have bothered the bulb manufacturers, or if they'd even notice? Anyhoo, I now use switches for my lighting. Those that I have to install in the ceiling space are a bit of a bother, but I still have local control and, to me, that is the most important thing,

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety +1

      Tuya shot themselves in the foot with the "fix" in my opinion. That said, I get the impression the RTL chips do provide more functionality.
      I think the problem is that the manufacturers don't actually care about smart-home enthusiasts like you or I, but more about trying to capture the market of people who don't really know what they're getting themselves into.
      In terms of bulbs, I've been pretty impressed by the Wiz range recently and there's a Local Push Home Assistant integration for them, and their price point is pretty reasonable.
      For more functionality you need to dig a wee bit deeper into the pocket for Hue or LIFX.

  • @kleeenco
    @kleeenco Před rokem

    this is so SO much easier than the video suggesting bluestacks for a rooted device and running the smartlife app to pull an xml file

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Can't say I've seen that video, but it sounds like a ridiculous idea.....

  • @deanhughes5488
    @deanhughes5488 Před rokem

    Thanks this video helped!

  • @markpurcell4507
    @markpurcell4507 Před 2 lety +1

    For the power monitoring switch, I create two entities. One as you have and then a second sensor entity for the power, so I can use that on the energy dashboard.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Interesting.
      I think if I setup a Riemann-Sum sensor I can probably use the Energy Monitoring on the Energy Dashboard but I'm yet to test that theory out.

    • @markpurcell4507
      @markpurcell4507 Před 2 lety

      @@HiveMindAutomation yes, that's exactly what I did. The Energy sensor from tuya doesn't really work, but the power measurement works well. I have the Deta Double outdoor powerpoint with tuya monitoring controlling the pool pumps.

  • @andrewtyacke1395
    @andrewtyacke1395 Před rokem

    Thank you dude.

  • @Musicman-50
    @Musicman-50 Před rokem

    Thank you for this tutorial on Local Tuya. Honesty I've had problems from the start with this integration and blindly stumbling around trying to fix things. Things like it doesn't recognize energy monitoring. Or also the lights will turn on or off but no ability to change color or dim. Looking closer I found that my bulbs were listed as a switch vs light bulb.
    So I'm now after months of giving up just leaving it alone, I'm resolved to now try to get things working properly. Seems like a overly complicated integration for a novice like myself. But my sincere thanks here for excellent video.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      It's definitely not the easiest thing to get working. With the updates I've made to my Python script, it outputs the Pinout Data as well so there's a lot less guesswork when integrating your accessories with LocalTuya.

    • @Musicman-50
      @Musicman-50 Před rokem

      @@HiveMindAutomation Thank you for your prompt reply. Guessing at Pinout Data is what's so confusing. Localtuya finds the device just fine but if it's anything other than a switch you're left in the dark guessing the multiple settings. I have about 12 devices and would gladly input them one at a time, but I've not a clue what the Pinouts are. Wish there was some published list of them.

  • @oasisoffice6371
    @oasisoffice6371 Před 4 měsíci

    Thanks!

    • @HiveMindAutomation
      @HiveMindAutomation  Před 4 měsíci

      You're welcome, and Thank you for watching and the Super Thanks!

  • @wizdude
    @wizdude Před 2 lety +4

    Thanks for a great video, Stu. Very important for the Australian environment where we have significantly less options for devices. I note that when you play with the device in HA that the same reflects in the Tuya app as well. Is this because the app is looking locally at the device or is the device still reporting back to the Tuya Cloud? Would be interesting to see if it did the same in the app if your internet was disabled. Thanks again. Cheers! 😊

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Yeah I haven't tested it on an isolated VLAN yet.
      I'm getting closer to having my IOT network off the internet but there's still some devices that require it.

    • @mattm6563
      @mattm6563 Před 2 lety

      @@HiveMindAutomation That's also on my to do list - my IOT vlan is yet to have the internet cut from it, but if nothing else it's at least isolated from everything else locally. I was literally thinking as I was watching this clip "yeah, you really need to get to testing that and get it off the todo list Matt".

    • @Rich33527
      @Rich33527 Před 2 lety +3

      The device is still reporting to the cloud. Once you disable internet access for the device it will show as offline in the smart life/tuya app. Also, I recommend assigning the IP once you have it to the device in your router config. If your router needs a reboot, or after a power outage, you will need to reconnect the device to the internet so you can control it again. Once connected you can kill the internet connection to the device again. Having the device IP address assigned in the router config avoids that issue for the most part. I think I have had to manually power cycle a device or 2 since I have done this to get it functioning remotely again.

  • @dbouma4025
    @dbouma4025 Před rokem

    Great tutorialvideo thank you for your time and effort. Would it be possible to make a video about setting up local tuya and a thermostat that can heat and cool for example. I can't figuren out wich parameter to enter in the ui of home assistant

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I don't have a Tuya Thermostat and don't plan to get one, so might be outside of the realms of producing a practical example.

  • @thelightings
    @thelightings Před rokem

    thank you alot

  • @thomaseconomou5580
    @thomaseconomou5580 Před 2 lety

    Thank you for the good video it really explains a lot I got local to leave the work couple days ago but I was having a hard time configuring the bulb so you're inside help me I was using a felt electronic bulb which is great because most people don't think they're compatible with home assistant this is a good work around. One of the things I hope they add to local to have is a private library so when you add a light you can click on your custom library with all the settings done. So you don't have to be so repetitive. Or if you could open up to Tuya and get the configuration before you switch over to local Tuya. One of my questions is I have UDP switches is way to write this script that will turn on the bulbs if you remotely shut them down when someone turns on the switch that can work for UDP, Z-Wave, Zigbee. Also I don't know if you know this yet but they have an update for local Tuya now that you can use the API and automatically discovered the devices pulling it right off the list. You still have to configure the device but that saves a lot of time also that's very new again thank you for the video maybe you could give me an idea on the script have a great day,

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      I noticed the update to Local Tuya the other day. I've not had a look at it yet.
      Not quite sure what you're trying to do with UDP, so not sure I'll be much help.

  • @benchambers3381
    @benchambers3381 Před rokem +4

    By FAR! The best video Ive found for this. Especially when setting up coloured lights. THANKYOU for keeping it simple and easy to follow.
    Any chance of doing one with offline Alex Integration? With cloudflair or duck dns?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      I'll have to look in to the non HA-Cloud Alexa integration. You STILL need an internet connection because you need to talk to Amazon Lambda endpoints.
      DuckDNS is covered in a previous video.

    • @benchambers3381
      @benchambers3381 Před rokem

      @@HiveMindAutomation much appreciated!

  • @MrLaurieLewis
    @MrLaurieLewis Před 2 lety

    Thank you for the video Stu. I am considering introducing Home Assistant into my setup. Using Tuya Cloud at moment. I have numerous scenes set up for switches (Grid Connect). I can see the delay when I was playing last night. 9 seconds to turn a light on. Better today. Back down to 1/2 second. So my question, I am assuming you can do scenes in Home Assistant using Tuya Local devices. Is this correct? Thanks.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      HI Laurence,
      Yes, Scenes, scripts and automations are the core of home assistant. Provided you have access to the accessories via Home Assistant, there shouldn't be any impediment to setting up a scene

  • @AlexeiWatson
    @AlexeiWatson Před 2 lety

    Super helpful video, thankyou. Hope you don't mind if I ask some beginner questions...
    I'm doing research before changing my wired light switches to smart variants - I'm considering the bunnings deta grid connect ones.
    One of my hesitations is that we have a few travelling (3 way and 4 way) switches and from what I've read, the grid-connect solution for this only works when there's an internet connection. Hence looking at how to do local control.
    I haven't ever used HA before, although I do have a pi I could set it up on. Can you confirm this local Tuya solution would work on the grid connect 1/2/3/4 gang switches without flashing and allow for a physical button press to cause a local routine that behaves as a 3-way/4-way light toggle. (changing state of multiple switches and lights at once).
    Also, when selecting the device by IP, not mac address - does this mean each device will need a static IP assigned, or is it smart enough to recognise when a device's IP changes?

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety +1

      I'm not sure about allowing for a 3-4 way toggle.
      You might need to talk to a sparky about whether you'd be able to set this up.
      The switches on the unit trigger a relay inside to flip-flop, it's not a signal to your Home Automation Orchestration to trigger an automation.
      If you wanted to do that you'd 100% need to flash the firmware and customise everything about it.
      LocalTuya should allow you to interact with the units without an internet connection, so if you're setting up a wireless network on an internet disabled VLAN you should still be able to access it, but you'd need to connect them to the Tuya Smart app first using an internet connection.
      I've not had an opportunity to test this theory out as my IOT wireless network VLAN still has an internet connection.
      I'd 100% recommend DCHP Reservations on your router for the MAC Addresses so they always get the same IP, otherwise you'll lose the connection if your router reboots and doesn't assign the same address.

  • @markpurcell4507
    @markpurcell4507 Před 2 lety +1

    As you say finding the right pin is trial and error, I have on the iot tuya platform seen a place you can download the specs for individual devices which can give an idea for each pin. 'Get the specifications and properties of the device'

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Good plan, I could probably pull that data with the API that I've already got in my script too.
      I'll take a closer look when I can find some time.

    • @michaelyounge5743
      @michaelyounge5743 Před 2 lety

      I am also struggling to fine the values for the pins , tried looking at the link in get the specification but not seeing anything. could you help in providing reference details ie 18, 24 etc. Thanks

  • @Kevin_VF
    @Kevin_VF Před rokem

    When you recommend to close the smart app (17:55), is it the same for integrations? I mean Alexa, Google Home, tuya official integration too? I have a chinese mini smart switch, and its DP's, ID and local key, but I can't make it work. Maybe it is not compatible?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      You'd need the app open for the Alexa/Google Home integrations with Tuya Smart.
      If you've got the pins, the ID, Key and address and it still won't pair to LocalTuya it's possible it's not compatible. The test would be to try another accessory to see if it will connect. I had an issue a while back where I couldn't add new accessories no matter what I tried and ended up needing to uninstqall/re-install LocalTuya

  • @markpurcell4507
    @markpurcell4507 Před 2 lety

    Tackling the issues! localtuya is great, but getting the localkey is always an issue, mainly because I can't remember how I did it last time. I also have some devices with registers that do not make sense in tuya. Pool thermometer.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      I figured building the script would make it easier for people to get started with LocalTuya. Manually pulling the LocalKeys for all your accessories - especially if you've got a lot of them - is hardly a good time.

  • @chrismasters3388
    @chrismasters3388 Před rokem

    Great video. Are you able to tell me if it works with the orion grid connect camera?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I don't have the Orion Grid Connect Cameras.
      Last time I checked, Local Tuya doesn't pull Camera feeds.
      That may have changed, but I doubt it.

  • @vincetreffers
    @vincetreffers Před rokem

    Great video!
    Question: I've set up quite a lot of automations in the Tuya Smart Life app, which im very familiar with. Do I need to redo all my Automations in home assistant or will they still work? And can it still be controlled via the app like you normally would?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      Your automations in Smart Life will still work and you'll still be able to control your accessories from the app.
      The primary benefit of using Local Tuya to get the devices into Home Assistant is the improved responsiveness of controlling them from Home Assistant. You can then get the benefits of Home Assistant's Automation engine which is more advanced than Tuya's.
      There is theoretically the possibility that once in local tuya, you COULD put the devices onto a seperate VLAN that has no access to the internet, completely removing them from the cloud and app control, but it seems like that's not what you're looking for.

    • @vincetreffers
      @vincetreffers Před rokem

      @@HiveMindAutomation thanks, my Smart Life automations will then still work through the cloud probably?

  • @msoldini
    @msoldini Před rokem

    Awesome guide.
    FYI on the explore API seccion you are showing the blurred data on the curl command on the top-right.
    Also do you have a guide on how to block the cloud access completely?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      I don't have a Blocking guide at the moment because it's not the kind of thing most users are going to be able to follow. My current "Plan" is to isolate my IoT Devices to a seperate Wireless Network and VLAN, and disable internet access from that VLAN, while still allowing comms with Home Assistant.
      It's a loose plan that I've spent very little time figuring out the detail for.

  • @markpurcell4507
    @markpurcell4507 Před 2 lety +1

    It would be great if you could get your extracttuyakeys script integrated with the localtuya custom component.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      An interesting concept. I'll see if I can make some time for that.

  • @mattm6563
    @mattm6563 Před 2 lety

    That Python script is fantastic - a real time saver I wish I had earlier! :-) With local Tuya vs Tasmota, I'm assuming there's no way in local Tuya to pick up double\triple button presses like Tasmota? That's one feature I haven't noticed.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety +1

      Local Tuya is only going to provide the same functionality the device had when connected to the cloud, so multi-presses would only be available if they were there beforehand.
      The challenge now with Tasmota is that it can't run on the RTL chips.

    • @mattm6563
      @mattm6563 Před 2 lety

      @@HiveMindAutomation Yeah those RTL chips are certainly not helpful, I had quite a few different Deta switches I converted before the sparky installed them and the functionality from a software perspective is brilliant. Once I saw the shift towards RTL chips I stopped even checking what the devices were and just went down the path of Local Tuya. To me Local Tuya is way easier than flashing most devices, but the tradeoff I guess is that flexibility in the short term. Hopefully it either reaches a stage of Tasmota for RTL chips, or enhanced button features in Tuya devices natively.

  • @jeibar
    @jeibar Před 2 lety

    I haven't been able to add any Arlec power boards in local tuya , aren't they supported yet ?
    awesome video mate , spent 4 hours setting up most of my local stuff in local .
    thanks heaps

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      I've not worked through the power-boards fully yet, but I didn't have any trouble adding the first switch in the power-boards.
      Still figuring out how the multiple switches work, I keep meaning to, but.... y'know.... time.

  • @johndixon8534
    @johndixon8534 Před rokem

    Thanks for the Video, Very clear and concise. All worked well for getting Key, IP address and all devices where added to Integration drop down menu. But I cant add a device. Have tried 3 devices multiple times, positive I have correct info. How do you know what protocol your device uses ?? 3.3, 3.3. or 3.4

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I normally use the latest protocol, and if that fails I choose the older one. I'll dig around the API to see if I can find this info.

  • @digismo
    @digismo Před rokem

    is there any good datebase for local tuya pins /datapoints. in github there are not so much.
    i had no success with on of this DIY smart switchs and this a rgb light strip. the values did not chance when i set it in the app

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      I recently updated my Python Key Extractor so the CSV output includes the pinouts:
      github.com/HiveMindAutomation/LocalTuyaKeyExtractor

  • @michaelbrooks1419
    @michaelbrooks1419 Před rokem

    Excellent vid - thank you. I am keen to migrate my tuya stuff to local and now have a switch operating fine but the voltage, power and current are ending up as attributes rather than entities - is this correct? I could not see the screen clearly enough when you got to that point. If they are to remain as attributes, I assume I will need to set up a template to effectively create sensors?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Yes, They are attributes, not entities on mine too.
      I ended up breaking them out into Template Entities to push the data into Grafana, and I'm trying to figure out for a future video using the Riemann Sum Helper to be able to add the data to the Energy Dashboard.

    • @michaelbrooks1419
      @michaelbrooks1419 Před rokem

      @@HiveMindAutomation thanks for clearing that up. I found your excellent vid on extracting the attributes into sensors which I have working now. I actually do my conversion of power to energy to cost (using Amber live pricing) in my SHAC and then bring it back into HASS - messy but it work

  • @ModelRailroadTechniques

    Thanks Stu, I am having glitches with my Cloud based Tuya integration. I am logging into the Tuya IOT development and now I can not see any devices or links to the Smart Life App. When I try rescanning the app with the QR code it tells me I have exceeded my 2 app limit. Any help would be great.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      If you're not seeing any accessories you'll might want to try connecting to a different "Data Center" in the developer console. it isn't always the geographically closest one. for example, my Data Centre is central Europe despite that being possibly the furthest possible DC from Melbourne.
      You should be able to delete linked apps from the console without affecting anything if you've not managed to get any devices linked.

  • @rommiei
    @rommiei Před 2 lety

    Nice video. Another cons is still no support for BLE. I found there are workaround for Zigbees but I guess this is another cons difficulty to setup

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Yeah, I didn't think of BLE because I tend to avoid BLE Accessories.
      I did discover in my review of the Holman Tap Timer - which uses a 917MHz hub - that it was probably not going to work.

  • @damienseidel3547
    @damienseidel3547 Před rokem

    Excellent tutorial as always. I am not sure why, but none of my devices come up in Device Discovery when I go to add a new device within Local Tuya. The devices are on a separate VLAN to Home Assistant, but all devices can talk to the Home Assistant IP address. Any ideas where I've gone wrong?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I'd say if they're not in the discovery it's definitely to do with the VLAN's. I don't know how well Local Tuya is going to go with discovery across subnets. it's probably only running the discovery on the local subnet.

  • @photelegy
    @photelegy Před rokem +1

    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?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      are you using LocalTuya or the Native Tuya integration?
      To my knowledge there's not a way to change the polling interval.

    • @photelegy
      @photelegy Před rokem

      @@HiveMindAutomation I use LocalTuya.
      Because I have a memory that somewhere in a portal or CZcams-video somewhere said it's possible to use polling, but I can't find this statement anymore.

  • @ghostofdre
    @ghostofdre Před rokem

    nearly 12 months on and my bulbs have all changed their Local key :( I'd avoid Tuya if you are planning on using home assistant and just want something that works, WiZ seems to be working quite well for me locally.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Interesting, didn't know the local keys changed.
      I'll keep an eye out for that.
      Love the Wiz globes, and agree with avoiding Tuya globes. Unfortunately they're everywhere.

  • @JeppeJnchAndersen
    @JeppeJnchAndersen Před 2 lety

    Any clues on how to add a camera to LocalTuya? It does not seem to present a camera class device?

  • @TheAndouz
    @TheAndouz Před rokem

    Thanks for the tutorial! I’be run into a weird issue not sure if anyone else has but only 13 of my 20 devices show up on the developer website. Is there anyway I can link the remaining?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      It's going to depend on the devices.
      I can't be 100% sure, but I strongly doubt Bluetooth and RF devices will be exposed via the cloud API.

  • @aalexisa14
    @aalexisa14 Před rokem

    Hi! I followed your video for local tuya and everything was awesome in HA. All of a sudden after the last update none of my local tuya devices work. Did i do something wrong? or is this an HA issue?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Sorry but there's not enough information for me to go off of here.
      The last update to Home Assistant or Local Tuya?
      You might want to make sure your Local Tuya is up to date as well. HACS updates are seperate from Home Assistant Updates.

  • @ichris.g
    @ichris.g Před rokem

    Has anyone had any luck with Deta Dimmer bringing over to local? Managed to talk to device somewhat, was a bit flakey and no real dimming capabilities..
    If anyone can help that would be great!

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Can't say I've tried the dimmers. Maybe someone else in the community has experience.

  • @ajambo2010
    @ajambo2010 Před 2 měsíci

    Thanks for the video. I have added my Arlec Grid Connect Plug into Home Assistant Local Tuya integration, however it is showing as "unavailable". I can control it via the Tuya app. If this matters, when adding the device I did not get any 'pin' options for current etc.. I have removed the device from HA and re-added but not luck. Any suggestions would be much appreciated.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 měsíci

      With Local Tuya, you should always be presented with the UI to assign pins depending on the device type you've selected. For a Plug, you'd select "Switch" and provided your ID, IP Address, and Local Key are correct, it should be fine.
      I'd definitely recommend assigning a DHCP Reservation on your Router for the IP Address of any accessory you're planning to add to Local Tuya as it doesn't seem clever enough to just follow the Device ID.

    • @ajambo2010
      @ajambo2010 Před 2 měsíci

      @@HiveMindAutomation Thanks for that tip, I have reserve the IP address.
      I figured out my issue. I had selected Protocol 3.4. If I leave it on 3.3 then the option to assign the pins appears.
      I have another questions I hope you can help with. Once Local Tuya was up and running on HA and the device connected I was hoping to delete the device from the Tuya app on my mobile. When I did that, the device is no longer available in Home Assistant. I wanted to go back to using the Grid Connect app or just do without any app.
      Is there a way to delete the device from the Tuya app or do I need to keep it in there?

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 měsíci

      If you delete it from the Tuya app, it's not longer accessible to the Tuya API.
      Short of setting up a VLAN that doesn't allow outbound internet traffic, I'm not aware of a method to remove them from the Cloud Connectivity.
      Don't bother trying to use the "Grid Connect" native app. as far as I can tell there's no additional features that it will add for you.

  • @111Leonidas
    @111Leonidas Před 2 lety

    Thanks for the clear video. Unfortunately this doesn't work for me. I can scan my app on the iot site, but it sais that 0 devices were imported.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      You might have the wrong Data Center selected for your Cloud Project.
      When I first setup a Cloud project it took a number of attempts to find the right DC.

    • @111Leonidas
      @111Leonidas Před 2 lety

      @@HiveMindAutomation Thanks a lot. You were right. With another datacenter I succeeded to get the codes.
      And also with your awesome python script. Unfortunately my led controllers and the miboxer-wl-box1 aren't supported by local tuya.

  • @btpv.
    @btpv. Před rokem

    if you go in the api explorer to device controle > Get Device Specification Attribute you can see witch setting do what

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Yes, I've since updated my python script to pull those details too

  • @refaelganesh3277
    @refaelganesh3277 Před rokem

    HeyHey, 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)

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I'm not aware of any way to make REST API Calls using Local Tuya.
      Home Assistant has a REST integration though.

  • @goomStar
    @goomStar Před rokem

    I am fine with the initial complicated setup process, but what really kills local tuya for me (especially with the "get your devices cloudfree"-claim!) is that you can't simply ADD devices later on. So in conclusion it's okay to manage an existing stock of devices but you'll probably extend your smart home with non-tuya stuff after that.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      I think the real benefit for the "Cloud-free" part is the significant reduction latency.
      I'm waiting to see what Tuya do with Matter, being that they are part of the Working Group. The Matter standard prescribes local control but doesn't necessarily block cloud connection.

  • @SakthiKumarChandrabose

    Its really a great video.. I have few questions hope you have time to answer the same?
    1. If I move my devices to local tuya can I still control the devices using mobile data rather than wifi?
    2. Google home integration will still work with local tuya?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      1. Yes, The Tuya Smart app will still work and/or if you've got Home Assistant setup to be accessible outside your local network you're all good
      2. Yes, Again, Home Assistant can be setup to connect to Google Assistant, but also using Home Assistant and Local Tuya doesn't remove the device from cloud connection, just allows Home Assistant to interact directly.
      You COULD theoretically setup all your accessories on a Wifi Network with no Internet Connection after adopting to Local Tuya and that would remove them from the cloud, but again, if you setup Google Integration with Home Assistant you'd still have control.

    • @SakthiKumarChandrabose
      @SakthiKumarChandrabose Před rokem

      @@HiveMindAutomation Thanks a lot for the reply. So meaning I can have local tuya along without disturbing my existing setup. Thats the perfect requirement I am checking for. Thanks.

  • @stephanb2006
    @stephanb2006 Před 2 lety

    Quick time saver, the last 12 characters in the deviceID is the Mac Address.
    In a spreadsheet, put your Device IDs in Column A
    in Column B, fill down this: =Right(A1,12) This will it will split off the MAC Address.
    in Column C, fill down =CONCATENATE(MID(A1,1,2),":",MID(A1,3,2),":",MID(A1,5,2),":",MID(A1,7,2),":",MID(A1,9,2),":",MID(A1,11,2)) This will format the MAC address.

    • @stephanb2006
      @stephanb2006 Před 2 lety

      Okay I did this before I got to the point in the Video with the Python script... so yeah...

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Good to know, but.... I already Solved that Problem ;)

  • @maciejk.9827
    @maciejk.9827 Před rokem

    When you got those local keys from Tuya portal - is this forever, or you will need to update those keys after a year - as the free account will expire... ?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      Good question, I've not needed to update them, I think the local Key is from the device, not from the cloud portal.

  • @amlucent
    @amlucent Před 29 dny

    It seems the procedure outlined for gathering local keys no longer works for new objects going into tuya cloud. I get a blank local_key with new lights I purchased intending to put into local tuya. This video was the original video I followed in 2022 to get all my other lights in local tuya. FYI for those lights and switches I still have access to the local_keys and when I run the same API call it returns the local_key still, just not these new lights. I am reading there was some tuya cloud 2.0 changes that render this process dead for new tuya devices. Hopefully someone shares with me a method that proves me wrong.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 21 dnem

      I think some of the newer devices are making use of a new API which unfortunately means the Local Tuya functions are no longer compatible.
      I need to do some more digging.
      That Said, Tuya are part of the CSA working group on Matter, so I'm waiting for them to get a Matter Device out.

  • @ManfredRotgers
    @ManfredRotgers Před rokem

    Hi, followed the steps, but I have an issue. After adding the app, 35 devices are discovered, but when I try the API explorer to get device information the response is always 'permission deny'. When I get the status the response is correct, like turned on or off. What step did I miss?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      You might need to add more permissions to your API Project in Tuya Cloud

  • @fkkr_
    @fkkr_ Před rokem

    Hello Stew, thank you for this really amazing and helpful video. I have a few questions and I hope you can help me with them (I am NOT an expert whatsoever - so please excuse if some of these are address something that might be obvious or basic^^)
    1) How do you know what server to select (it was Central EU for you)? Is it just the geographically closest one?
    2) Do the IPs of the connected devices change, are they dynamic? And does Local Tuya update them automatically in that case? Or are they static?
    3) A big concern with Tuya always seems to be security. Do you think these concerns are largely addressed with Local Tuya or would one still need to take them fully offline somehow? Is there still any communication with Tuya services or servers?
    4) If Tuya, the company, ever shuts down completely, is the setup you describe a futureproof way to ensure ones devices do not go to waste? (assuming one got the device IDs etc from the Tuya developer platform beforehand)
    5) Is the Tuya App needed at all anymore after implementing what you show here or can it be removed?
    Again: Thank you for the amazing video. I wish you a nice day :)

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      1) Selecting the server is trial and error until tyou see your devices available
      2) IP's of connected devices will change anytime your home router reboots, it's worthwhile preventing this by googling the brand and model of your router and "DHCP Reservation" to reserve the IP Addresses for your Devices so they always get the same address even when they or your router reboots.
      3) To address any security concerns you might have, the devices would need to be 100% dicsconnected from the internet. This could be acheived by greating a seperate wireless network on a VLAN that has been isolated. The how to of this is beyond the scope of this channel
      4) Were Tuya to shut down or change the rules, the Local Tuya integration would - theoretically - continue to operate. It's hard to be 100% certain on this. Isolating devices from the internet would help keep them online in this circumstance.
      5) You'd only need the Tuya app for 2 reasons.... i) if you - for whatever reason - wanted to or ii) To add/integrate more/newer Tuya Devices into your setup. That said, Tuya is part of the "Matter" Working group, and the Matter Standard would remove the need for the Tuya app.

    • @fkkr_
      @fkkr_ Před rokem

      @@HiveMindAutomation Thank you so much for taking the time and answering my questions point by point. As I mentioned I am no expert and you are extremely helpful. Very much appreciated. All the best to you!

    • @fkkr_
      @fkkr_ Před rokem

      @@HiveMindAutomation Hi again. I found that if the WLAN-Password of ones router is changed, than it is not possible to connect to the Tuya devices anymore. Is that something you encountered as well?
      It has me a bit concerned because that means I can only use the WLAN password I used when initially connecting the Tuya devices to the Tuya app (which is needed to get the device IDs via Tuya Developer Platform, as per your video).
      I might be naive but that feels like Tuya has potential access to my WLAN password.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      That is expected behaviour. If you pair a device and then change your WLAN password without telling the device your new WLAN password, there's no way it can connect to your WLAN.
      If you're concerned about this aspect, the solution is unfortunately somewhat complicated.
      You'd need to create a seperate Wireless LAN with a different PSK.
      Most Consumer grade Networking gear doesn't support multiple SSID's (Wireless LANs) and it would be extremely rare to then also find any consumer grade Networking gear that also then would support adding VLAN's and Network Isolation into the mix to keep those IoT devices from seeing and peering to other devices on your network.
      That would mean you'd need to consider a fairly complex network configuration, utilising Enterprise Level Networking Hardware.
      At a guess I'd say this might not be accessible for you at this stage, and there's no shame in that at all. I happen to work in IT/Technology, so it IS accessible to me, but I'm very aware that this is not the case for everyone.

  • @EmilePolka
    @EmilePolka Před rokem

    Iot tuya page should give you a big clue what pin should do with that tuya device.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Yeah thanks, I've updated the Python Script to pull that data into the CSV file when run so it's a "one stop shop".... kinda...

  • @fajarmuhammadnoorrozaqi3005

    I have a dummy question, but if you know about this topic it will be great.. is it possible to get or extract Tuya Local Keys without applying into Tuya IoT Platform Setup Device?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Theoretically yes, however it'd be REALLY complicated.
      off the top of my head you'd probably need to do some Deep Packet Inspection on data flowing from the Tuya Cloud to your device and even then it's unclear if that's going to yield the required data.

  • @chuxxsss
    @chuxxsss Před rokem

    Cat cam2 where did you buy that from mate?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      It's a Mirabella Genio Camera that I think I bought either from Big W or Kmart.

    • @chuxxsss
      @chuxxsss Před rokem

      @@HiveMindAutomation Must go look for it, need new cameras to go through my server.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I'm yet to get any cameras to work through Local Tuya

  • @allanhiberg7133
    @allanhiberg7133 Před 9 měsíci

    Thank you for this detailed walk-through. My Tuya trial account is about to expire for the second time, and lacking those $25.000 for a regular one I have now prepared the move to LocalTuya in case a trial extension fails. weird how I was almost willing to let my kid's room go dark just to save such a small amount, right? :-)

    • @HiveMindAutomation
      @HiveMindAutomation  Před 9 měsíci

      Glad it was helpful.
      To be honest at this point I'm trying to avoid purchasing anymore Tuya devices.

  • @Mark-Callis
    @Mark-Callis Před 2 lety

    New HA user here. I couldn’t find LocalTuya when trying to add from the integrations tab (around 12:05 in the video). Any idea why it wouldn’t appear?

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Have you installed it from HACS?

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      And Restarted Home Assistant after installing it?

    • @Mark-Callis
      @Mark-Callis Před 2 lety

      I must not have checked after restarting HA, because I restarted and LocalTuya appeared as if nothing was wrong. Thanks for the help!

  • @franciscocastello
    @franciscocastello Před rokem +1

    I am wondering I created the tuya iot platform account and managed to get my test bulb working in home assistant. Not I am asking myself. Should I get more of this devices? I see what could become a problem is that iot developer account access to api expires in a month. So that can be a problem as I will be adding devices gradually.
    I also saw that subscription for the iot core package is $25000 so completely out of my reach.
    Makes me spender if it’s worth even buying tuya devices to use with home assistant. I am trying it because I am in Argentina and those devices are easy to get here.
    Does anyone know how can I keep my account active without spending the crazy amount for the subscription.
    I will add or remove devices from time to time. So I don’t want to have to create an account each time I need to get the local keys

    • @user-vc1jl1ox4x
      @user-vc1jl1ox4x Před rokem

      same problem

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I honestly think a lot of these problems will start to go away as the Matter Standard becomes more Ubiquitous.
      Tuya are a part of the CSA so there will come a time where there will be Matter compatible Tuya devices and Matter is a Local Control Standard.
      I'd hold off on buying a full house of Tuya gear until we know what's happening with Matter and Tuya.
      Personally, I'm starting to steer away from Tuya as much as possible because there's still too many unknowns around what functionality works and doesn't. To your point though, Tuya is by far the easiest ecosystem to get into in Australia.

  • @jukka-pekkakokkonen4711

    Great video. How I could remove device from app or then rename device?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      Removing and Renaming Devices is done from within the Tuya Smart or Smart Life App.
      It's different for each Device, but you normally drill into the settings in the top right corner, where you'll find settings to rename or remove the device.
      If you've got them into Home Assistant, it's pretty easy to simply change the Display Name in the Interface.
      If you need to remove a device from Home Assistant, that can be done from the 3-dot stack or "Kebab" Menu on the Device page in Home Assistant

  • @rossjaniceourhouse8852

    Hi am a major Tuya User for my home. I have over 200 devices. I was a heavy Xiaomi & Aqara user but I did not like some of designs of the human sensors and wanted something even more unobtrusive. The sensors from both these companies were good. Then Tuya appeared mid 2019. At first I ordered numerous sensors and found them to very good. Reluctantly I let go of all Xiaomi / Aqara devices and Cams due to lack of integration to Alexa and Google Home. I even gave up the Broadlink Pro and associated products. Well it is now 2023 and I fail too see any reason not to use in house Tuya embedded devices everywhere in the home and in the dreaded "evil" cloud. . These includes door locks, (one looks like technology out of 2100. advanced deadlocks, Ethernet connected Cams (Appears on both Both Alexa & Alexa, Garage door opener, Floodlights, garden lights, Irrigation, water sensors, tank level sensors, electrical plugs (Australian), Light Switches, Smart Wall Sockets, PIR both Presence & IR, IR RF blasters, lamps fans, Conversion of decorators low volt ceiling fans using intelligent RF copying to Tuya based RF Controller. . I ditched all other banded lights bulbs with a few exceptions and use Tuya Bluetooth Mesh only. I have three Zigbee Bluetooth combo hubs. The Cams are mazing and all video intercom work on Alexa and Google smart speaker displays. There is hardly any lag with all devices in the Cloud. I am implementing the entire system at the moment. Connecting to Office (Control) is over 20 Ethernet cables with POE going to various the devices. Tuya has rarely let me down even the cheap stuff. I found a PIR micro selling for $7.95 AUD that works better than a Aqara Motion PIR sensor. The system uses the same cams (Onvif compatible as well) and they have follow me technology. The external Cam are steel cased with hoods and are Ethernet as well. PIRs, Open Close, water, fire CO2, CO, Gas detection etc etc. I will be eventually off the Internet after this system is completed and made practical. By going 100% Tuya I will find after seeing your You Guide on Local Tuya that it will be fast as all sensors are the same - like all PIRS are identical Zigbee devices. I think I am right in saying but I expedited one of the most advanced practical non-fiddle fast tracked complex home automations. I have sighted many many Video and if you like fiddling HA is for you but I prefer not to divorce my life soldering and being up all night over one device that fails in HA. I purchased a few Pis before the worldwide shortage.as well. Tuya is huge. Billions worldwide use it everyday going back and forth with smart devices. In fact it a "matter" of opinion whether Matter will even catch up with Tuya and HA combined.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Sounds like you've got a great system that works for you, and that's what matters.
      As for Matter, Tuya are a part of the Connectivity Standards Alliance, so I daresay there's some Matter developments coming at some point there.
      The best thing about Tuya is they're so readily available and the barrier to entry is relatively low.
      My only real problem with Tuya is that their API's still leave a lot to be desired in functionality and consistency, and I've had a couple of white-label Tuya products fail on me now from poor Quality Low Voltage components.

  • @lgg4doru430
    @lgg4doru430 Před 2 měsíci

    Salutare si multumesc de ajutor. Pentru local tuya poti face un tutorial pentru integrare aer conditionat? Am un aer conditionat paxton la parintele meu si trebuie sa il controlez din home assistant si nu reusesc. Multumesc, o zi frumoasa.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 měsíci

      Multumesc pentru vizionare! Nu am un aparat de aer condiționat Paxton de testat, dar am unul Kogan despre care plănuisem să fac un videoclip acum aproximativ 2 ani.
      Merită menționat faptul că POATE să existe anumite limitări cu Local Tuya, deoarece am descoperit că nu toate articolele sunt expuse la API-ul Cloud, așa că kilometrajul dvs. VA varia.
      Sper să intru curând pe aparatul de aer condiționat.
      Scuze dacă și Google Translate este un gunoi.

    • @lgg4doru430
      @lgg4doru430 Před 2 měsíci

      @@HiveMindAutomation Mulțumesc mult, aștept cu nerăbdare aici în țară nu am găsit de la nimeni ajutor.

  • @saeedesmail7315
    @saeedesmail7315 Před rokem

    any limation for the numbers fo devices?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      If there is I'm yet to find it. That said, you'll probably hit your network limit first.

  • @nehajain2974
    @nehajain2974 Před rokem

    I have a tuya based contact sensor. I have the local key, id and the ip address for it, I am not able to add it to local tuya in homeassistant. Please guide how can I add it via .yaml configuration to local tuya.
    Kindly guide.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I won't be able to provide this info as I don't have a Tuya contact Sensor.
      without knowing the exact device I can't be sure, but this device is probably connected back to Tuya via a bridge in the middle, these items tend not to work well with Local Tuya.

    • @nehajain2974
      @nehajain2974 Před rokem

      @@HiveMindAutomation ok thank you...

  • @DjLundbladh
    @DjLundbladh Před 2 lety

    Does it work with vieo doorbells?

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Not to my knowledge.
      I've been unable to get the Video camera entities to import, but I've not tried very hard.

  • @dillonbradburry8240
    @dillonbradburry8240 Před rokem +1

    I wish I had someone who can set this up for me. I got 30+ devices and just don't have the time to do it

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      There's been some updates to Local Tuya that streamline the setup but it still requires you to configure the pinouts of each device.
      The script I created can help you out a fair bit with getting the pinout data and the local keys.
      It should only take around a minute or 2 per supported device, 30 minutes to an hour is all you really need.

  • @marcoverrips4118
    @marcoverrips4118 Před 2 lety

    at V4 it takes all details from cloud itself

  • @emanbuoy7673
    @emanbuoy7673 Před rokem

    hi,im unable to get the local keys, i have tried ewverything possible .is there some other ways to get it pls

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      If you've followed the instructions in the video and still can't get the local keys then your accessories may not be compatible.
      The API Explorer is the most frequently demonstrated method, or you can try using my python script linked in the video description.
      Are you able to see your Devices in the Developer Portal? if not you might have selected the wrong Data Centre or maybe skipped a step.

    • @emanbuoy7673
      @emanbuoy7673 Před rokem

      @@HiveMindAutomation hi, i was able to get the local keys, took me a while to realize i need to turn off my vpn,,, but now I have another issue, for the mac address I got a permission deny message... thanks for your help

    • @emanbuoy7673
      @emanbuoy7673 Před rokem

      NVM,i got the mac address i had to disable one of the light and check which device is offline in my router ... thank you so much

  • @scienceoftheuniverse9155

    Does local tuya work with tuya or smart life app

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      It seems to work fine with the Tuya Smart App, I've not used the Smart Life App.
      Bear in mind when adding accessories, you may not be able to have the app open at the same time.
      Your milage may vary as I suspect this may depend on the accessory too.

  • @williamrosswhite
    @williamrosswhite Před rokem +1

    Followed exact same steps and it didn't work (my favourite thing in the whole world...)
    When I try to add a device in Configure Tuya device, after a minute or two of spinning I get 'An unknown error occurred. See log for details'. There are of course no logs to check, and nothing helpful in the error comment. Can anyone offer any help with this??

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem +1

      Something I've seen with these is if you have the Tuya app open on your phone it can create this issue.
      On another occasion I had to uninstall and re-install the LocalTuya integration.

    • @CampBlanc
      @CampBlanc Před rokem

      @@HiveMindAutomation having the same issues Ross mentioned. There are logs but beats me how to get around these. Might be time to find a different purpose for the Raspberry Pi running Hassio and just stick with the Smartlife app and set up automations there directly, and the Google Home app. Or ditch all Tuya products and get Hue or whatever.

  • @TheSirSpence
    @TheSirSpence Před 2 lety

    informative video, unfortunately every time I try to request the device ID I am getting "msg": "permission deny"
    I might try again with a different account but to fall down so early in the process seems like a bad sign to me.

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      Double Check you have the right access priviledges set on the Cloud Project

    • @00evo
      @00evo Před 2 lety

      @@HiveMindAutomation Can you please expand on "checking for the right access privileges set on the Cloud Project"? I authorized all the Service API to my project such as IOT Core and a few other APIs. Using API Explore, I'm able to execute all APIs under "General Device Control" and "General Device Status"; however whenever I try to execute the "Get Device Information" API under "General Devices Management", I keep getting "Permission Denied".
      {
      "code": 1106,
      "msg": "permission deny",
      "success": false,
      "t": 1654883173832,
      "tid": "38b2a060e8e511ecba3f5ad45eb50702"
      }

    • @MathiewMay
      @MathiewMay Před 2 lety +7

      Just so you know you need to click Get Device Information not Get the device information in api exporer....

    • @mojodmonkey
      @mojodmonkey Před 2 lety +1

      @@MathiewMay The real MVP over here with guessing what was wrong with what I was doing. Thank you.

    • @riverwolf695
      @riverwolf695 Před 2 lety +1

      @@MathiewMay Grrrrrrr, Why did they much have similar looking thing!

  • @RhuanrLima
    @RhuanrLima Před rokem

    mine gets device denied response

  • @FranciscoAngelini
    @FranciscoAngelini Před 2 lety

    Universal IR Works ?

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      I haven't got a Tuya IR blaster, so I can't comment on whether it works or not.

  • @_nom_
    @_nom_ Před rokem

    All I can do is get an access_token, afterwards:
    "msg": "permission deny",

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      You might need to review your permissions settings for the Tuya API

  • @rediculousman
    @rediculousman Před rokem

    Does this work with cloudcutter?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I would say probably not, but this is the first I've heard of cloudcutter So I really can't be certain. Might be worth asking the question on the cloudcutter github.
      It looks like an interesting project, so I'll take a closer look when I get time.

    • @rediculousman
      @rediculousman Před rokem

      @@HiveMindAutomation I have been using it to flash openBK on the bekken chips to great success. However, you can also patch the current firmware to run locally, but haven't looked into it

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      a very cursory glance at the documentation suggests to me that their MO to divorce from the cloud is to replace the security keys on the device. Provided you can still access the local key, theoretically it'll still work with localTuya.
      I'm not sure if I've got any of the BK chip devices, I know I've got some of the RTL's though, which I doubt it'll work with.

  • @BoxOfChocs
    @BoxOfChocs Před 2 lety

    Can I still use "Hey Google, turn on the light"?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      If you've setup the Google Home integration for Tuya, Yes.
      Because you still have to join the device to the cloud, it's not removing the device from the cloud service at all, just using a local API to communicate with it.
      Even better would be to enable Google Home Integration with Home Assistant and toggle the Local Tuya instance of the light rather than hitting the Tuya Cloud for control.

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Bear in mind if you then put the device on a VLAN without open Internet connectivity, the Tuya Cloud will not be able to see the light and the Google integration would be broken then.

  • @rownakulhaque7946
    @rownakulhaque7946 Před rokem

    My devices are going offline now and then, anyone facing this problem?

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I did have that problem early on.
      It might be worth making sure the devices you're connecting with Local Tuya have been given a DHCP Reserved IP Address in your Router Settings so they always get the same IP.
      If the device reboots for whatever reason (power outage, etc) it MAY get a new IP Address and then Local Tuya will be unable to connect to it anymore.

  • @alexpi01
    @alexpi01 Před 5 měsíci

    What if the querry returns device_id: ""

    • @HiveMindAutomation
      @HiveMindAutomation  Před 4 měsíci

      you MIGHT be able to get the device ID from within the Tuya Smart App or Smart Life App, otherwisw it's possible that the accessory just isn't going to work with the Local Tuya integration

  • @legitablelegend
    @legitablelegend Před 7 měsíci

    All just to fucking say "hey Google turn of my fucking lights"

    • @HiveMindAutomation
      @HiveMindAutomation  Před 7 měsíci

      Actually that functionality is built into The Tuya Cloud app control.
      This process and Project is to take the cloud out of the equation, and gain back local control and significantly reduce the latenct.

  • @HQinternet
    @HQinternet Před rokem +1

    tbh.. if you see tuya, run the other way. if you have to hack and chop into it, with api that they want subscription for.. its just not gonna be worth it. zigbee seems much better and local. just saying

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      I agree. Tuya is mostly a pain, but finding smart gadgets in Australia that aren't Tuya controlled and don't cost an arm and a leg is a bit of a mission. With Matter in 1.0 I'll be interested to see if Tuya make a change.
      Also worth mentioning, the free API sign up hasn't stopped working for me yet.

  • @MrSupersidewinder
    @MrSupersidewinder Před 2 lety

    I learned that I don't want any tuya devices.... Way too much to deal with....🤮

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      The challenge there is you might end up getting some and not know it.
      Most manufacturers don't explicitly tell you they're "Powered by Tuya" and have their own wrapper app around the Tuya APIs.

  • @asdkjh4370
    @asdkjh4370 Před 2 lety

    Learn how to use basic network sniffer functionality and later analyse network trafic from your server - then tell me more about „local and secure” window which you’ve just opened to the World. One thing is to have security issues - another thing is to keep them in secret and selling platform as „safe’ - and that is just pure scam. So good luck with „opinions” here..

    • @HiveMindAutomation
      @HiveMindAutomation  Před 2 lety

      I've said it before and I'm going to say it again, if you don't like Home Assistant, stop clicking on Home Assistant Content.
      "Learn how to use basic network sniffer functionality" isn't a good argument.
      You're not contributing anything to the discussion.

  • @j67160
    @j67160 Před rokem

    Way too unpractical, complicated and time consuming, needs to be "plug and play"

    • @HiveMindAutomation
      @HiveMindAutomation  Před rokem

      Plug and play is nice and all, but if you want to remove tuya devices from the cloud without opening them up to flash them or de-solder control boards, this is how it's done.

  • @Hupihovi
    @Hupihovi Před 2 lety

    Thanks!