Git Product home page Git Product logo

Comments (10)

mrbungle64 avatar mrbungle64 commented on July 25, 2024 1

@p08dev

I will try to reproduce this issue when I receive my Airbot Z1 at the end of next week.

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@p08dev

Please try version 0.4.10 😉

from ecovacs-deebot.js.

bhuebschen avatar bhuebschen commented on July 25, 2024

looks like ecovacs has changed some commands.. they send "getAirQuality0" instead of "getAirQuality" from the app

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

Hey @bhuebschen

looks like ecovacs has changed some commands.. they send "getAirQuality0" instead of "getAirQuality" from the app

Did you recognize it using mitmproxy?

from ecovacs-deebot.js.

bhuebschen avatar bhuebschen commented on July 25, 2024

i saw it last time i was looking for the problem... but now it's gone 😂

{
    "app": {
        "id": "ecovacs"
    },
    "auth": {
        "realm": "ecouser.net",
        "resource": "***",
        "token": "***",
        "userid": "***",
        "with": "users"
    },
    "cmdName": "getAirQuality",
    "payload": {
        "body": {
            "data": {}
        },
        "header": {
            "pri": 1,
            "ts": "***",
            "tzm": ***,
            "ver": "0.0.50"
        }
    },
    "payloadType": "j",
    "td": "q",
    "toId": "***",
    "toRes": "***",
    "toType": "sdp1y1"
}

is currently sent from the App

from ecovacs-deebot.js.

bhuebschen avatar bhuebschen commented on July 25, 2024

i saw it last time i was looking for the problem... but now it's gone 😂

{
    "app": {
        "id": "ecovacs"
    },
    "auth": {
        "realm": "ecouser.net",
        "resource": "***",
        "token": "***",
        "userid": "***",
        "with": "users"
    },
    "cmdName": "getAirQuality",
    "payload": {
        "body": {
            "data": {}
        },
        "header": {
            "pri": 1,
            "ts": "***",
            "tzm": ***,
            "ver": "0.0.50"
        }
    },
    "payloadType": "j",
    "td": "q",
    "toId": "***",
    "toRes": "***",
    "toType": "sdp1y1"
}

is currently sent from the App

from ecovacs-deebot.js.

bhuebschen avatar bhuebschen commented on July 25, 2024

but the command has an HTTP-answer, containing the desired data:

{
    "id": "oOsJ",
    "payloadType": "j",
    "resp": {
        "body": {
            "code": 0,
            "data": {
                "aq": 1,
                "hum": 32,
                "pm10": 1,
                "pm25": 1,
                "pm_10": 1,
                "tem": 21,
                "voc": 1
            },
            "msg": "ok"
        },
        "header": {
            "fwVer": "1.15.8",
            "hwVer": "0.1.1",
            "pri": 1,
            "ts": "***",
            "tzm": 60,
            "ver": "0.0.1",
            "wkVer": "0.1.54"
        }
    },
    "ret": "ok"
}

from ecovacs-deebot.js.

bhuebschen avatar bhuebschen commented on July 25, 2024

and it seems that it's not the only command that now sends it's answers via http

from ecovacs-deebot.js.

stale avatar stale commented on July 25, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from ecovacs-deebot.js.

stale avatar stale commented on July 25, 2024

This issue has been automatically closed.

from ecovacs-deebot.js.

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.