Comments (11)
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.
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.
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.
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.
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.
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.
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.
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.
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.
did that resolve your issue @GravitySandwichh ?
from tuya-cloudcutter.
Closing issue as stale.
from tuya-cloudcutter.
Related Issues (20)
- I used wrong profile, can i flash with another Firmware HOT 1
- Arlec EL450HA Batten Light HOT 1
- Smart Switch Voltage & Energy Monitor | Earth Leakage | 63A HOT 1
- QS-WIFI-S10-C04 Curtain module available on CBLC9 HOT 8
- Curtain module QS-WIFI-C01 HOT 2
- XS-A18 Smart Plug dump HOT 1
- Feit OM60/RGBW/CA/AG/3 v1.5.10 HOT 1
- Mirabella Genio - Downlight - I004544 Downlight Dump HOT 1
- Device Dump - NOVOSTELLA Permanent Outdoor Lights, Smart RainbowColor RGB IC Light, 100ft (50x2) with 80 LED HOT 10
- Profile update needed For two different feit electric 2019 smart bulbs. HOT 12
- Device Dump - Arlec PC191HA Series 2 with BK7231N HOT 1
- Flashing doesn't continue after "failed to open pidfile /src/dnsmasq.pid: Permission denied" error HOT 2
- Device Dump - Arlec Grid Connect LED Globe 830lm E27 (GLD322HA) HOT 1
- [!] The profile you selected did not result in a successful exploit EARU EAWCBT-P HOT 1
- TAXNELE-TVPS1-63T HOT 1
- RTNETLINK answers: Operation not permitted HOT 1
- Device Dump HOT 2
- Using Tuya cloud cutter for 1.3.16 firmware version? HOT 2
- Need update for Z2-N-V1.1 module running v1.0.4 HOT 1
- New Device PD Surge Protector (Power Strip) 16A Model SM-306U-PA85 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-cloudcutter.