Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart life "belife" smartplug not working #23

Open
ricardovanlaarhoven opened this issue Aug 13, 2021 · 2 comments
Open

Smart life "belife" smartplug not working #23

ricardovanlaarhoven opened this issue Aug 13, 2021 · 2 comments

Comments

@ricardovanlaarhoven
Copy link

Perhaps my plug is not supported but i'm not sure.
image
it says it's temporary unavailable with a dutch error:

Apparaat Onbeschikbaar
Dit apparaat is tijdelijk onbereikbaar.

via https://openapi.tuyaeu.com/v1.0/devices?device_ids=.... i'm getting this reponse, is that what your app expects as wel?

        "product_id": "jdk24sq7i07oofqo",
        "product_name": "EU02-JX 公版",
        "status": [
          {
            "code": "switch_1",
            "value": true
          },
          {
            "code": "countdown_1",
            "value": 0
          },
          {
            "code": "add_ele",
            "value": 27
          },
          {
            "code": "cur_current",
            "value": 293
          },
          {
            "code": "cur_power",
            "value": 506
          },
          {
            "code": "cur_voltage",
            "value": 2324
          }
        ],
@ricardovanlaarhoven
Copy link
Author

"{\"dps\":{\"18\":95,\"19\":25},\"t\":1637409487}\n NEW DATA ATRIBUTE: {\"dps\":{\"18\":75,\"19\":26},\"t\":1637409491}\n NEW DATA ATRIBUTE: {\"dps\":{\"18\":74,\"19\":38},\"t\":1637409493}\n NEW DATA ATRIBUTE: {\"dps\":{\"18\":76,\"19\":32},\"t\":1637409495}\n NEW DATA ATRIBUTE: {\"dps\":{\"18\":75,\"19\":25},\"t\":1637409497}\n NEW DATA ATRIBUTE: {\"dps\":{\"18\":74,\"19\":29},\"t\":1637409499}\n NEW DATA ATRIBUTE: {\"dps\":{\"18\":76,\"19\":33},\"t\":1637409503}\n NEW DATA ATRIBUTE: {\"dps\":{\"19\":29},\"t\":1637409505}"

It’s weird when i look in the code i don’t see whats different then to other plugs. 18 19 and 20 are used for the power consumption just like neo and the others. but it says it’s unavailable

9 = always 0 ? even if turned of…
18 = current in mA
19 = Power (/10)
20 = voltage (/10

@rebtor
Copy link
Owner

rebtor commented May 7, 2023

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants