Started tracing 0 functions. Press Ctrl+C to stop.
I tried with single quotes, double quotes, no quote…nothing
i try
adb shell “ps”
and find
com.ldvsmartwifi.smart
but if i try
frida-trace -U -i open com.ldvsmartwifi.smart
returns
Failed to spawn: unable to find process with name ‘com.ldvsmartwifi.smart’
works with
frida-trace -U -i open com.android.chrome
where do i create input_number.h_input , input_number.s_input , input_number.temperature_input in HA? i’ve got it to work, but the temperature and the color doesent work.
you have to install local tuya, its an addon that you find in hacs or you have to install it manually, when your home assistant isnt in Supervisor mode (like in a docker container)
Thanks for the guide, I now can see the JSON that the android app is generating in the console!
LocalTuya configuration requires both the device_id and the local_key, I see the localKey in the json, but the closest thing to device_id that I can see is devId, which has a similar value to key and bizId in the same JSON, it is also the same as the Virtual ID value that you can find in the LDV WiFi app itself for this bulb, but when I try using that as the device_id I’m not able to get a successful connection with the bulb and it’s greyed out in the Lovelace dashboard!
i can confirm that what you see as Virtual ID in the app is what you need, why is greyed out i don’t know, maybe looking at some debug information on localtuya can help you, are you sure to have not mixed localkey from various device?
do you, guys think this same approach is going to work for this ledvance light? It says on the datasheet it also uses the Ledvance smart+ wifi app so I’m guessing it will work…
Hi Flag - I’ve been trying this for a day now and can’t get “add root” to execute. Normally comes back with “can’t run in production modes” or something. Can you help?
first: adb shell (press enter) and then the other commands line by line!
Do you haave the right Android Version in the emulator running?
With the first tutorial, i got crazy because many steps are not included. I spent days with trial and error. Today, wouldnt buy theese plugs and would take better one with zigbee.