GithubHelp home page GithubHelp logo

Comments (11)

tony-fav avatar tony-fav commented on September 25, 2024

There's some root issue there to be dug into, but for the device id and key issue, you can already set those to something specific:

run_detach.sh -d 20characterdeviceid -l 16characterlocalkey ...

LocalTuya seems to required a unique device id (I've been doing a friendly name then padding to 20 characters friendlybulb1zzzzzzz) but you can set the local key for everything to the same thing.

from tuya-cloudcutter.

troy-f avatar troy-f commented on September 25, 2024

Don't forget you need to apply the zombie fix pr to localtuya as well. by default it is not telling the bulb to refresh dpid's as it assumes there is a working tuya cloud doing that.

from tuya-cloudcutter.

troy-f avatar troy-f commented on September 25, 2024

in regards to the tuya app no longer recognizing the bulbs, yes that is by design it is cut off from the app/cloud semi-permanently, technically an exploit payload could be built that reverses this, though I defer to @KhaledNassar in regards to how that would be accomplished

from tuya-cloudcutter.

notkmhn avatar notkmhn commented on September 25, 2024

Short answer is no, by design it's not possible to regain stock app/cloud connectivity.

The long answer is if you're very lucky, you may be able to but it requires a custom app that supports OTA updates and remote flash dumps. Even then, the necessary configuration in flash might have been already overwritten.

from tuya-cloudcutter.

GravitySandwichh avatar GravitySandwichh commented on September 25, 2024

run_detach.sh -d 20characterdeviceid -l 16characterlocalkey ...

Thank you, this worked for now and they atleast have their own preferred names and keys now for easy re-deploying.

Don't forget you need to apply the zombie fix pr to localtuya as well. by default it is not telling the bulb to refresh dpid's as it assumes there is a working tuya cloud doing that.

What exactly do you mean with the zombie fix pr? I tried googling on it a bit, but nothing matches the dpid stuff you are talking about. They only talk about DNS blocking when cutting of a non-exploited bulb.

Short answer is no, by design it's not possible to regain stock app/cloud connectivity.

It might be a good idea to make this a very visible warning in the Instructions so people can have a think about this before they continue.

from tuya-cloudcutter.

tony-fav avatar tony-fav commented on September 25, 2024

You might try running

import tinytuya

d = tinytuya.BulbDevice('<deviceID>', '<deviceIP>', '<deviceLocalKey>')
d.version = 3.3 # hack to set the version without communicating with the device
d.updatedps()
d.set_version(3.3)
print(d.status())

in Python next time instead of recutting. It may work/be something localtuya doesn't do automatically but needs to be done. I just changed the IP of a bulb in my reservations and localtuya new it was at the new IP but couldn't change anything. Ran this and it popped right in.

from tuya-cloudcutter.

troy-f avatar troy-f commented on September 25, 2024

edit these two files on your localtuya folder in homeassistant https://github.com/rospogrigio/localtuya/pull/491/files (essentially makes localtuya do the same thing as what that tinytuya script above does)

from tuya-cloudcutter.

notkmhn avatar notkmhn commented on September 25, 2024

Short answer is no, by design it's not possible to regain stock app/cloud connectivity.

It might be a good idea to make this a very visible warning in the Instructions so people can have a think about this before they continue.

It is mentioned in the instructions, though not as prominently indeed. I'll update it, thanks for pointing that out!

from tuya-cloudcutter.

GravitySandwichh avatar GravitySandwichh commented on September 25, 2024

edit these two files on your localtuya folder in homeassistant https://github.com/rospogrigio/localtuya/pull/491/files (essentially makes localtuya do the same thing as what that tinytuya script above does)

Thank you very much for this! I just changed LocalTuya so let's see if this fixes it.

from tuya-cloudcutter.

troy-f avatar troy-f commented on September 25, 2024

did that resolve your issue @GravitySandwichh ?

from tuya-cloudcutter.

Cossid avatar Cossid commented on September 25, 2024

Closing issue as stale.

from tuya-cloudcutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.