midea-discover
INFO:msmart.cli:Discovering devices with UDP Broadcast, press CTRL-C to quit...
ERROR:msmart.security:aes_decrypt error: ValueError('Padding is incorrect.') - data: 412653079b37a7820682f1ee8dd7a0e3436ba3330f3c3a84298cb9c043613216f642894fde83da99358c04066639a65eeac6a0bc1ac5427cc5e4402c4e880626
Traceback (most recent call last):
File "/usr/local/bin/midea-discover", line 10, in <module>
sys.exit(discover())
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/msmart/cli.py", line 67, in discover
m_type = m_ssid.split('_')[1]
IndexError: list index out of range
bash-5.0# midea-discover
INFO:msmart.cli:Discovering devices with UDP Broadcast, press CTRL-C to quit...
ERROR:msmart.security:aes_decrypt error: ValueError('Padding is incorrect.') - data: 000000000000000087acefd2faa5bf012541d758dfbb8885469339f1df94ff6cef77e560f6e108cb56b8182ad3ccfefe6d10daf2601e4924b8d5b79d4d38abfe
Traceback (most recent call last):
File "/usr/local/bin/midea-discover", line 8, in <module>
sys.exit(discover())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/msmart/cli.py", line 67, in discover
m_type = m_ssid.split('_')[1]
IndexError: list index out of range
bash-5.0#
bash-5.0# midea-discover
INFO:msmart.cli:Discovering devices with UDP Broadcast, press CTRL-C to quit...
INFO:msmart.cli:Midea Local Data 192.168.31.162 837000b8200f00005a5a0111a8007a800000000000000000000000008df6050000940000000000000000010000000000d867c91a1c2f328cb19ac374376f832f848c88b915b20793fd998edc6ba32028d5a000c6f8d5002dbb6ef17dca7bfac65f28ad965c9dd8a48126be3d33f1ab64382e5f4987940eb70e060fb4daabe0a7b145f7c35a79f600318b509addfaeade06c416020931f48926620dfe95e2311110789699b332e71f9533366a40b751e6c76a16eea8dcdfe7a373bfd275548952
ERROR:msmart.security:aes_decrypt error: ValueError('Padding is incorrect.') - data: d867c91a1c2f328cb19ac374376f832f848c88b915b20793fd998edc6ba32028d5a000c6f8d5002dbb6ef17dca7bfac65f28ad965c9dd8a48126be3d33f1ab64
Traceback (most recent call last):
File "/usr/local/bin/midea-discover", line 8, in <module>
sys.exit(discover())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/msmart/cli.py", line 76, in discover
m_type = m_ssid.split('_')[1]
IndexError: list index out of range
bash-5.0# pip show msmart
Name: msmart
Version: 0.1.19
Summary: A library to control Midea appliances via the Local area network
Home-page: https://github.com/mac-zhou/midea-msmart
Author: mac_zhou
Author-email: [email protected]
License: UNKNOWN
Location: /usr/local/lib/python3.7/site-packages
Requires: pycryptodome
Required-by:
bash-5.0# midea-discover -d
INFO:msmart.cli:Debug mode active
INFO:msmart.cli:Discovering devices with UDP Broadcast, press CTRL-C to quit...
INFO:msmart.cli:Midea Local Data 192.168.3.29 837000b8200f04055a5a0111a8007a80000000000000000000000000c204020000850000000000000000000000000000195610e33f8ad661d6bcf360d699751ce43a10d55b2c14f8dd337a30238b38c61d0fa9bf7435ce8fdc29858455ac912f32fc917cb459c4a3135aac7ca28ce027a74a0a46d69f23e8ae365d721dfba3998a0fa254619b8d2f622538cb2ff085ec06c416020931f48926620dfe95e231116d3c5561ee26ead19c5988051404fdb68f2c51de7e8ba309244b935150e8845d
ERROR:msmart.security:aes_decrypt error: ValueError('Padding is incorrect.') - data: 195610e33f8ad661d6bcf360d699751ce43a10d55b2c14f8dd337a30238b38c61d0fa9bf7435ce8fdc29858455ac912f32fc917cb459c4a3135aac7ca28ce027
Traceback (most recent call last):
File "/usr/local/bin/midea-discover", line 8, in <module>
sys.exit(discover())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/msmart/cli.py", line 76, in discover
m_type = m_ssid.split('_')[1]
IndexError: list index out of range
pi@hassbian:~ $ midea-discover
Traceback (most recent call last):
File "/usr/local/bin/midea-discover", line 6, in <module>
from msmart.cli import discover
File "/home/pi/.local/lib/python3.7/site-packages/msmart/cli.py", line 3, in <module>
import click
ModuleNotFoundError: No module named 'click'