-
Notifications
You must be signed in to change notification settings - Fork 39
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
Failed CRC / object has no attribute '_id" #104
Comments
Hello? |
I got the same issue.
|
This issue has been fixed in my fork: mill1000/midea-msmart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
since a time the script does not function anymore.
We updated our apps to MSMartHome, and after that the script has a lot of errors going on.
What to do?
ERROR:msmart.device.AC.command:Payload 'c00186667f7f00000000005c36000000000000c3' failed CRC. Received: 0xC3, Expected: 0x3C. Traceback (most recent call last): File "/usr/local/bin/midea-discover", line 10, in <module> sys.exit(discover()) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/msmart/cli.py", line 51, in discover found_devices = loop.run_until_complete(discovery.get_all() if ip == '' else discovery.get(ip)) File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete return future.result() File "/usr/local/lib/python3.7/dist-packages/msmart/scanner.py", line 205, in get await self._process_tasks([task]) File "/usr/local/lib/python3.7/dist-packages/msmart/scanner.py", line 199, in _process_tasks [self.result.add(task.result()) for task in tasks] File "/usr/local/lib/python3.7/dist-packages/msmart/scanner.py", line 199, in <listcomp> [self.result.add(task.result()) for task in tasks] File "/usr/local/lib/python3.7/dist-packages/msmart/scanner.py", line 55, in support_test await loop.run_in_executor(None, _device.refresh) File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/dist-packages/msmart/device/AC/appliance.py", line 109, in refresh self._send_cmd(cmd) File "/usr/local/lib/python3.7/dist-packages/msmart/device/AC/appliance.py", line 114, in _send_cmd self._process_response(response) File "/usr/local/lib/python3.7/dist-packages/msmart/device/AC/appliance.py", line 124, in _process_response if response.id == ResponseId.State: File "/usr/local/lib/python3.7/dist-packages/msmart/device/AC/command.py", line 206, in id return self._id AttributeError: 'state_response' object has no attribute '_id'
The text was updated successfully, but these errors were encountered: