question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Platform error climate.midea_ac - Requirements for midea_ac not found: ['msmart==0.2.4']

See original GitHub issue

Bug Description After the update on release 0.2.4 the error appears. Already tried to install via ‘pip install msmart’, which led to the upgrade to msmart 0.2.5 but the error persists. ➜ ~ pip show msmart Name: msmart Version: 0.2.5 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: mac.zfl@gmail.com License: MIT Location: /usr/lib/python3.10/site-packages Requires: click, ifaddr, pycryptodome, requests

Tried also to upgrade Core Version to 2022.7.6, but the issue is not solved.

I can get the devices discovered with ‘Midea-discover’ via CLI

INFO:msmart.cli:*** Found a device: {'name': 'net_ac_DB24', 'ssid': 'net_ac_DB24', 'ip': '192.168.188.199 [...] INFO:msmart.cli:*** Found a device: {'name': 'net_ac_FB12', 'ssid': 'net_ac_FB12', 'ip': '192.168.188.198' [...]

but they are still Unavailable on the GUI and the HA Configuration check fails with the error

Platform error climate.midea_ac - Requirements for midea_ac not found: ['msmart==0.2.4'].

Versions (版本信息)

  • Home Assistant version: 2022.6.6 and 2022.7.6
  • OS version: 8.2
  • Midea msmart version: 0.2.4

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
mill1000commented, Sep 23, 2022

Those modes might have been missing because of mac-zhou/midea-msmart#90 as seen in #186 and #183. The fix is sitting here mac-zhou/midea-msmart#95

0reactions
duanechewcommented, Sep 22, 2022

Just wanted to share my experience here as I had the same issue. I updated msmart to 0.2.5 in the manifest file of the midea_ac component itself and was able to get it to load in HA. I’m running Core 2022.9.4

I had one other issue that may or may not be related which was that none of the modes were listed for my unit (heat, cool, heat_cool, etc). I assume this was particular to my unit, which is a DuctlessAire heat pump. midea-discover shows a model number of “00Q13”, which is not the “0xac” specified in this readme. Interestingly, I was able to manually add these modes in the component and it works great.

For example, in climate.py:

self._operation_list.append("heat")
self._operation_list.append("cool")
Read more comments on GitHub >

github_iconTop Results From Across the Web

core-2021.6.0 · Issue #64 · mac-zhou/midea-ac-py - GitHub
I get this error after updating: Platform error climate.midea_ac - Integration 'midea_ac' not found. Screen Shot 2021-06-03 at 6 04 20 PM ...
Read more >
Midea branded AC's with ESPhome (without cloud)
My board setup looks the same as @nvschilleman's boards, CN3 is 5-pin, connected to an adapter board that says 2.4G(WIFI) on it. Can...
Read more >
MSmartHome - Midea
Control smart devices from the convenience of your smartphone. Control and monitor the status of all your devices anytime, anywhere.
Read more >
Midea Air Conditioner - ESPHome
Instructions for setting up a Midea climate device. ... Example configuration entry # Disable logging over UART (required) logger: baud_rate: 0 # UART ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found