python-miio icon indicating copy to clipboard operation
python-miio copied to clipboard

No status output on master branch

Open jerem opened this issue 1 year ago • 1 comments

Describe the bug When running a status command on my device (airqualitymonitor), nothing is printed.

Version information (please complete the following information):

  • OS: Linux
  • python-miio: master branch 0.6.0.dev0 (658ee2e82e54233372f19e4f67bbf055b60eaee4)

To Reproduce Steps to reproduce the behavior:

  1. Switch to master branch
  2. poetry run miiocli airqualitymonitor --token XXX --ip XXX status

Expected behavior Status output is printed as it used to be with version 0.5.2

Console output

$ git checkout master
$ poetry run miiocli airqualitymonitor --token XXXX --ip 10.150.6.24 status

$ git checkout 0.5.12
$ poetry run miiocli airqualitymonitor --token XXXX --ip 10.150.6.24 status
Power: on
USB power: True
Battery: 100
AQI: 35
Temperature: None
Humidity: None
CO2: None
CO2e: None
PM2.5: None
TVOC: None
Display clock: False

jerem avatar Feb 01 '24 03:02 jerem

Could you try to see if there's something interesting in the debug logs (by calling miiocli --debug ...)?

rytilahti avatar Feb 15 '24 22:02 rytilahti