Code Monkey home page Code Monkey logo

Comments (7)

techguydave avatar techguydave commented on June 26, 2024 1

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.

from eufy-robovac.

apexad avatar apexad commented on June 26, 2024

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/

from eufy-robovac.

treforparr avatar treforparr commented on June 26, 2024

from eufy-robovac.

treforparr avatar treforparr commented on June 26, 2024

I have tried several ways of getting it working no joy

from eufy-robovac.

apexad avatar apexad commented on June 26, 2024

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:

  1. Close the app on your mobile device
  2. Connect the device to your laptop and enable USB debugging
  3. Run adb logcat -e 'tuya.m.my.group.device.list' (assumes you have already installed the Android debug tools)
  4. Launch the Eufy Home app
  5. The output lines contain JSON, you're looking for the values of localKey (16 character hex string) and devId (20 character hex string).

from eufy-robovac.

techguydave avatar techguydave commented on June 26, 2024

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.

image

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\"

from eufy-robovac.

apexad avatar apexad commented on June 26, 2024

That makes a lot of sense. Thanks for finding that out.

from eufy-robovac.

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.