Marcus-L / m4rcus.TuyaCore

Tuya Smart Plug Console Utility & .NET Standard API for Tuya/Jinvoo-compatible devices
MIT License
55 stars 19 forks source link

logcat via adb shell doesn't get anything #9

Closed aleqx closed 5 years ago

aleqx commented 5 years ago

I have the Tuya android app v3.8.5 (latest) and tried the adb shell trick to get the keys for the smartplugs I'm using with Tuya. I can get a shell just fine on my android phone while connected to USB, and then I tried removign and re-adding the smartplugs, killing the app, etc, but logcat | grep BindDeviceSuccessPresenterlogcat doesn't get anything at all ...

Has the log entry name changed?

larsbeck commented 5 years ago

In case you haven't found this yourself already. This approach seemed to have worked only up to version 2.8.1 (see https://github.com/clach04/python-tuya/wiki). Now you can find the appropriate Ids, when you follow this guide: https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md

Marcus-L commented 5 years ago

Updated the docs, thanks!