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

Xiaomi Walkingpad #304

Open
kaukas opened this issue Jan 19, 2021 · 1 comment
Open

Xiaomi Walkingpad #304

kaukas opened this issue Jan 19, 2021 · 1 comment

Comments

@kaukas
Copy link

kaukas commented Jan 19, 2021

Device ID: 3153…
Model info: ksmb.walkingpad.v1
Address: 192.168.1.1
Token: <… token …> via auto-token
Support: At least generic

Type info: miio
Capabilities:

Firmware version: 1.6.7
Hardware version: MTK7697
MCU firmware version: 0057

WiFi:  (00:00:00:00:00:00) RSSI: 0
WiFi firmware version: 20190313111057

Remote access (Mi Home App): Maybe

Accidentally discovered that you can get speed with

$ miio protocol call 192.168.1.1 get_prop '["speed"]' --token <token>
INFO  Got result:
[
  4
]

and set speed via

miio protocol call <ip> set_speed '[3]' --token <token>

Another supported property seems to be mode: get_prop ["mode"] and set_mode [1]. 0 is automatic, 1 is manual, 2 is standby.

@kaukas
Copy link
Author

kaukas commented Jan 19, 2021

Found that you can get all props:

$ miio protocol call <ip> get_prop '["all"]' --token <token>
[
  "mode:1",
  "time:171",
  "sp:4.0",
  "dist:180",
  "cal:11630",
  "step:271"
]

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

1 participant