Closed treforparr closed 3 years ago
You are following the instructions in the README? Using Blue Stacks and the older version of the Eufy Robovac App? https://www.apkmirror.com/apk/anker/eufyhome/eufyhome-2-3-2-release/eufyhome-2-3-2-android-apk-download/
Yes I’ve tried all the instructions even the old versions don’t show local ID/device ID
Sent from my iPhone
On 2 Aug 2020, at 00:04, Alex Martin notifications@github.com wrote:
You are following the instructions in the README? Using Blue Stacks and the older version of the Eufy Robovac App? https://www.apkmirror.com/apk/anker/eufyhome/eufyhome-2-3-2-release/eufyhome-2-3-2-android-apk-download/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I have tried several ways of getting it working no joy
Closing due to inactivity.
You can get both pieces of information by using logcat to "sniff" the data on an android phone OR emulator (like BlueStacks. This is known to work on Eufy Home v2.3.2 (click the link to download the apk)
More detailed steps on using logcat:
- Close the app on your mobile device
- Connect the device to your laptop and enable USB debugging
- Run adb logcat -e 'tuya.m.my.group.device.list' (assumes you have already installed the Android debug tools)
- Launch the Eufy Home app
- The output lines contain JSON, you're looking for the values of localKey (16 character hex string) and devId (20 character hex string).
I'm running into the same thing. Looking at the output, it seems the JSON response is incomplete. Using Eufy Home v2.3.2, tried it on both BlueStacks and my actual phone.
The entire text of the erroneous node above:
{
"result":[
{
"schemaInfo":{
"schemaExt":"[]",
"schema":"[{\"mode\":\"rw\",\"code\":\"power\",\"name\":\"电源开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power2\",\"id\":1,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"power_go\",\"name\":\"清扫开关\",\"property\":{\"type\":\"bool\"},\"iconname\":\"icon-dp_power\",\"id\":2,\"type\":\"obj\",\"desc\":\"1是 开始工作(工作中),0是停止工作(待机中)\"},{\"mode\":\"rw\",\"code\":\"direction\",\"name\":\"清扫方向\",\"property\":{\"range\":[\"forward\",\"back\",\"left\",\"right\"],\"type\":\"enum\"},\"iconname\":\"icon-dp_mode\",\"id\":3,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"mode\",\"name\":\"清扫模式\",\"property\":{\"range\":[\"auto\",\"SmallRoom\",\"Spot\",\"Edge\",\"Nosweep\",\"remote\",\"bf1\",\"bf2\",\"bf3\"],\"type\":\"enum\"},\"iconname\":\"icon-dp_dust\",\"id\":5,\"type\":\"obj\",\"desc\":\"自动模式;小房间模式;定点模式;延边模式……可按产品实际功能进行修改\"},{\"mode\":\"ro\",\"code\":\"status\",\"name\":\"工作状态\",\"property\":{\"range\":[\"Running\",\"standby\",\"Sleeping\",\"Charging\",\"completed\",\"Recharge\"],\"type\":\"enum\"},\"iconname\":\"icon-dp_direction\",\"id\":15,\"type\":\"obj\",\"desc\":\"0x00:运行中\\n0x01:待机中\\n0x02:休眠中\\n0x03:充电中\\n0x04:充电完成\\n0x05:回充中\"},{\"mode\":\"rw\",\"code\":\"FMR\",\"name\":\"自动回充\",\"property\":{\"type\":\"bool\"},\"id\":101,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"Cleaning_intensity\",\"name\":\"清扫强度\",\"property\":{\"range\":[\"Standard\",\"Turbo\",\"Max\",\"Boost_IQ\"],\"type\":\"enum\"},\"id\":102,\"type\":\"obj\",\"desc\":\"Standard、Turbo、Max、Boost IQ\"},{\"mode\":\"rw\",\"code\":\"Looking_weeper\",\"name\":\"寻找扫地机\",\"property\":{\"type\":\"bool\"},\"id\":103,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"electricity_left1\",\"name\":\"剩余电量\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":104,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"Fault_report\",\"name\":\"故障提示\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":10000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":106,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"ForbidMode\",\"name\":\"勿扰模式状态\",\"property\":{\"type\":\"bool\"},\"id\":107,\"type\":\"obj\",\"desc\":\"1:在勿扰模式 0:不在勿扰 目前只做上报\"},{\"mode\":\"ro\",\"code\":\"ClearTime\",\"name\":\"清扫时间\",\"property\":{\"unit\":\"s\",\"min\":0,\"max\":10000000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":109,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"ro\",\"code\":\"ClearArea\",\"name\":\"清扫面积\",\"property\":{\"unit\":\"m2\",\"min\":0,\"max\":10000000,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":110,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"Loudness\",\"name\":\"音 量调节\",\"property\":{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":111,\"type\":\"obj\",\"desc\":\"\"},{\"mode\":\"rw\",\"code\":\"pauseStar\",\"name\":\"暂停/继续\",\"property\":{\"range\":[\"Nosweep\",\"Pause\",\"Continue\"
Nevermind. Looks like if the device is shared with you, it won't show you the keys/IDs. Getting the device owner to login on BlueStacks worked.
That makes a lot of sense. Thanks for finding that out.
Struggling to get to device and local ID