Skip to content

Cannot get status from my zhimi.airpurifier.mb3(Airpurifier 3H) #1037

Closed
@rogerbl

Description

@rogerbl

When I issue the command to get info from the airpurifier it works, but when I want to get the status the following error msg comes:
Error: {'code': -5001, 'message': 'command error'}
This is the command I issued to get the status:
miiocli airpurifier --ip 192.168.100.191 --token xxxxxxxxxxxxxxxxxx status
and the info request which works:
miiocli airpurifier --ip 192.168.100.191 --token xxxxxxxxxxxxxxxxxx info
I get the same error as above when I try to connect in a python script.
with AirPurifier(ip,token,0,0)
What can be wrong?
I 've got another older 2s airpurifier which works fine with these commands.
I use python 3.8 on windows 10 and Ubuntu 20 Same error on both.
Model: zhimi.airpurifier.mb3
Hardware version: esp32
Firmware version: 2.0.7

Name: python-miio
Version: 0.5.0.1
Summary: Python library for interfacing with Xiaomi smart appliances
Home-page: https://github.com/rytilahti/python-miio
Author: Teemu Rytilahti
Author-email: tpr@iki.fi

Version information (please complete the following information):

  • OS: [e.g.Linux]
  • python-miio: [Use miiocli --version or pip show python-miio]

Device information:
If the issue is specific to a device [Use miiocli device --ip <ip address> --token <token> info]:

  • Model:
  • Hardware version:
  • Firmware version:

To Reproduce
Steps to reproduce the behavior:
1.

Expected behavior
A clear and concise description of what you expected to happen.

Console output
If applicable, add console output to help explain your problem.
If the issue is about communication with a specific device, consider including the output using the --debug flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions