This repository was archived by the owner on Sep 4, 2021. It is now read-only.

Description
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