Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Vaccum Cleaner #52

Open
deennoo opened this issue May 22, 2019 · 1 comment
Open

Vaccum Cleaner #52

deennoo opened this issue May 22, 2019 · 1 comment

Comments

@deennoo
Copy link

deennoo commented May 22, 2019

Just playing with an Alfawise X5 Vaccum Cleaner who run with SmartLife app.

Wifi fw : 2.1.8
MCU fw : 1.0.0

Get DSP give :

sudo python3 get_dps.py 192.168.0.41 012005742c3ae840f6f6

Plug State Information:
{'dps': {'14': 100, '26': '5', '1': True, '11': 0, '25': True, '27': '1', '28': False}, 'devId': '012005742c3ae840f6f6'}

Plug DPS List:
1;25;28

As Lib is made for Plug DPS are wrong, no worry for this

Battery is DPS 14 : Batt % remaining
States is DPS 27 where value are :

  • 0 for Sleep mode,
  • 25 for Searching Home,
  • 2 for spot Mode,
  • 1 for "normal working mode"
  • 5 for charging

Charging "@home" is DPS 1 "True" for charging or "False" for out of base

Hopping this can help, ask for more detail

@clach04
Copy link
Owner

clach04 commented May 23, 2019

@deennoo that's awesome 👍 . Thanks for sharing. Its worth adding your findings to https://github.com/clach04/python-tuya/wiki/DeviceSchemas

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

No branches or pull requests

2 participants