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 SU7 (model='micar.car.ms11') #1983

Open
Anzic23 opened this issue Nov 8, 2024 · 2 comments
Open

Xiaomi SU7 (model='micar.car.ms11') #1983

Anzic23 opened this issue Nov 8, 2024 · 2 comments

Comments

@Anzic23
Copy link

Anzic23 commented Nov 8, 2024

Device information:

  • Name(s) of the device: Xiaomi SU7 car

Model: micar.car.ms11
Hardware version: Android
Firmware version: 1.1.2
Supported using: GenericMiot
Command: miiocli genericmiot --ip 192.168.137.42 --token 356XXXXXXXXXX3
Supported by genericmiot: True

Additional context
status doesn't pass, returns an error:

File "/config/tutorial-env1/lib/python3.12/site-packages/miio/miot_cloud.py", line 46, in info_for_model
    raise CloudException(
miio.exceptions.CloudException: No releases found for model='micar.car.ms11' with status_filter='released'

get_property_by returns some data:

(tutorial-env1) debian-server:/config# miiocli genericmiot --ip 192.168.137.42 --token 356--3 get_property_by 2 1
Running command get_property_by
[{'did': '2-1', 'siid': 2, 'piid': 1, 'code': -4007}]
(tutorial-env1) debian-server:/config# miiocli genericmiot --ip 192.168.137.42 --token 356--3 get_property_by 3 1
Running command get_property_by
[{'did': '3-1', 'siid': 3, 'piid': 1, 'code': -4007}]

How else can I help you find additional commands or the ability to drive your car remotely?

@rytilahti
Copy link
Owner

Looks like there's no description file for such model (you can check by running cat ~/.cache/python-miio/model-to-urn.json|jq '.instances[]|select(.model=="micar.car.ms11")', just in case the "released" filter would have skipped it).

So finding out which commands are supported would require going through different siids&piids to find out if some of them respond to your queries, and then potentially trying to set them using set_property_by.

@Anzic23
Copy link
Author

Anzic23 commented Dec 4, 2024

cat ~/.cache/python-miio/model-to-urn.json|jq '.instances[]|select(.model=="micar.car.ms11")

It doesn't find such a file (model-to-urn.json). Where should I look for it?

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

No branches or pull requests

2 participants