New OH3 Binding - Midea Air Conditioning (LAN)

Hello Jacek and thank you for your time!
I reinstalled the binding. It starts ok and updating status.

2021-03-07 16:36:35.311 [TRACE] [ler.MideaACHandler$ConnectionManager] - Performing connection check for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at IP 192.168.1.130

2021-03-07 16:36:35.313 [TRACE] [ler.MideaACHandler$ConnectionManager] - Checking status of connection for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:36:35.319 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Connection check OK for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:36:35.321 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Requesting status update from mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:36:35.325 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Writing to mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130 bytes.length: 104, bytes: 5A5A011168002000000000000115020710242300DA370000000B00000000000000000000000000006B000A76E27EED2C3647E57D8602DF8B0F7FAFA7EC1FCCCEEAC76BBDD53E49D9D4280338B1AC9710C10EB8C5A0DBF3A4BA1814C2FEB281386E00D96227E200A8

2021-03-07 16:36:35.686 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Response received length: 104

2021-03-07 16:36:35.688 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Response bytes: 5A5A011168002080000000000000000000000000DA370000000B00000000000000000000010000000044708595C876105223FAC62D99FAF1EA260959B1BA7FA96C608C44489A3BD75DBCE2B330E31FA9E2CE62D076D307F5FEDF52CD33F0E25629C1DC8235C172ED

2021-03-07 16:36:35.691 [TRACE] [ng.mideaac.internal.handler.Response] - Bytes decoded and stripped without header: C00129657F7F003300000064440D00290000001E000000234D

2021-03-07 16:36:35.692 [TRACE] [ng.mideaac.internal.handler.Response] - PowerState: true

2021-03-07 16:36:35.694 [TRACE] [ng.mideaac.internal.handler.Response] - ImodeResume: false

2021-03-07 16:36:35.696 [TRACE] [ng.mideaac.internal.handler.Response] - TimerMode: false

2021-03-07 16:36:35.698 [TRACE] [ng.mideaac.internal.handler.Response] - ApplianceError: false

2021-03-07 16:36:35.699 [TRACE] [ng.mideaac.internal.handler.Response] - TargetTemperature: 25.0

2021-03-07 16:36:35.702 [TRACE] [ng.mideaac.internal.handler.Response] - OperationalMode: AUTO

2021-03-07 16:36:35.703 [TRACE] [ng.mideaac.internal.handler.Response] - FanSpeed: UNKNOWN

2021-03-07 16:36:35.705 [TRACE] [ng.mideaac.internal.handler.Response] - OnTimer: enabled: false

2021-03-07 16:36:35.707 [TRACE] [ng.mideaac.internal.handler.Response] - OffTimer: enabled: false

2021-03-07 16:36:35.709 [TRACE] [ng.mideaac.internal.handler.Response] - SwingMode: HORIZONTAL

2021-03-07 16:36:35.711 [TRACE] [ng.mideaac.internal.handler.Response] - CozySleep: 0

2021-03-07 16:36:35.713 [TRACE] [ng.mideaac.internal.handler.Response] - Save: false

2021-03-07 16:36:35.715 [TRACE] [ng.mideaac.internal.handler.Response] - LowFrequencyFan: false

2021-03-07 16:36:35.717 [TRACE] [ng.mideaac.internal.handler.Response] - SuperFan: false

2021-03-07 16:36:35.718 [TRACE] [ng.mideaac.internal.handler.Response] - FeelOwn: false

2021-03-07 16:36:35.720 [TRACE] [ng.mideaac.internal.handler.Response] - ChildSleepMode: false

2021-03-07 16:36:35.722 [TRACE] [ng.mideaac.internal.handler.Response] - ExchangeAir: false

2021-03-07 16:36:35.724 [TRACE] [ng.mideaac.internal.handler.Response] - DryClean: false

2021-03-07 16:36:35.725 [TRACE] [ng.mideaac.internal.handler.Response] - AuxHeat: false

2021-03-07 16:36:35.727 [TRACE] [ng.mideaac.internal.handler.Response] - EcoMode: false

2021-03-07 16:36:35.729 [TRACE] [ng.mideaac.internal.handler.Response] - CleanUp: false

2021-03-07 16:36:35.730 [TRACE] [ng.mideaac.internal.handler.Response] - TempUnit: false

2021-03-07 16:36:35.732 [TRACE] [ng.mideaac.internal.handler.Response] - SleepFunction: false

2021-03-07 16:36:35.734 [TRACE] [ng.mideaac.internal.handler.Response] - TurboMode: false

2021-03-07 16:36:35.736 [TRACE] [ng.mideaac.internal.handler.Response] - CatchCold: false

2021-03-07 16:36:35.737 [TRACE] [ng.mideaac.internal.handler.Response] - NightLight: false

2021-03-07 16:36:35.739 [TRACE] [ng.mideaac.internal.handler.Response] - PeakElec: false

2021-03-07 16:36:35.741 [TRACE] [ng.mideaac.internal.handler.Response] - NaturalFan: false

2021-03-07 16:36:35.743 [TRACE] [ng.mideaac.internal.handler.Response] - IndoorTemperature: 25.9

2021-03-07 16:36:35.745 [TRACE] [ng.mideaac.internal.handler.Response] - OutdoorTemperature: 9.0

2021-03-07 16:36:35.747 [TRACE] [ng.mideaac.internal.handler.Response] - Humidity: 13

But then, after few minutes warning shows and stops reporting.

2021-03-07 16:36:45.752 [TRACE] [ler.MideaACHandler$ConnectionManager] - Performing connection check for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at IP 192.168.1.130

2021-03-07 16:36:45.755 [TRACE] [ler.MideaACHandler$ConnectionManager] - Checking status of connection for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:36:45.757 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Connection check OK for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:36:45.759 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Requesting status update from mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:36:45.762 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Writing to mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130 bytes.length: 104, bytes: 5A5A011168002000000000000115020710242D00DA370000000B00000000000000000000000000006B000A76E27EED2C3647E57D8602DF8B0D913A99AC66BBC2C031875985FEA665A6BD5E96EA81A1E4D966D532E6557AEE06B0AF055C9D1214C27F82B5E7C202BF

2021-03-07 16:36:45.765 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Response received length: 176

2021-03-07 16:36:45.767 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Response bytes: 5A5A011158004400DE4901000000000000000000DA370000000B000000000000000000000300000033EA990CBC3A488F0BC352DD7544A352D841DE54A76FF90C8AEEF193574829990C0D4BC13B22C0D48E8FF1807D7312735A5A011158004400E04901000000000000000000DA370000000B000000000000000000000300000033EA990CBC3A488F0BC352DD7544A352D841DE54A76FF90C8AEEF193574829996AABDDC31AEC2777B319A86300ECAD00

2021-03-07 16:36:45.772 [WARN ] [g.mideaac.internal.security.Security] - AES decryption error: IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher

	at org.openhab.binding.mideaac.internal.handler.Response.<init>(Response.java:26) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.sendCommand(MideaACHandler.java:567) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.requestStatus(MideaACHandler.java:530) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.checkConnection(MideaACHandler.java:716) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.lambda$0(MideaACHandler.java:476) ~[?:?]

And if I change an item or command AC with remote , then binding also stops working, until restart…

2021-03-07 16:42:15.418 [TRACE] [ler.MideaACHandler$ConnectionManager] - Performing connection check for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at IP 192.168.1.130

2021-03-07 16:42:15.421 [TRACE] [ler.MideaACHandler$ConnectionManager] - Checking status of connection for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:42:15.423 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Connection check OK for mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:42:15.426 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Requesting status update from mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130

2021-03-07 16:42:15.430 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Writing to mideaac:ac:mideaac__192_168_1_130__12094627919834__net_ac_5c3b at 192.168.1.130 bytes.length: 104, bytes: 5A5A0111680020000000000001150207102A0F00DA370000000B00000000000000000000000000006B000A76E27EED2C3647E57D8602DF8BD8843C397DEAD052D9DAE3B48BF3B3B56CA53BB8C5A00C97CBBFA3FE254FFE833BCDD218D1653C31D695A0802ED8BD39

2021-03-07 16:42:15.433 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Response received length: 104

2021-03-07 16:42:15.435 [DEBUG] [ler.MideaACHandler$ConnectionManager] - Response bytes: 5A5A0111680044001A4A01000000000000000000DA370000000B0000000000000000000003000000C011F4DA888AB00E6E1D77ECBCBFAA022075387CC7B1151A7718B440E8B27B9A6E2A1E3EE1B0F21AAC9ACA31D68C46EE5ADF440028B1A0C03BA7B448174FA803

2021-03-07 16:42:15.438 [TRACE] [ng.mideaac.internal.handler.Response] - Bytes decoded and stripped without header: A05B20657F7F003300000000001E00000000000004B3

2021-03-07 16:42:15.439 [TRACE] [ng.mideaac.internal.handler.Response] - PowerState: true

2021-03-07 16:42:15.441 [TRACE] [ng.mideaac.internal.handler.Response] - ImodeResume: false

2021-03-07 16:42:15.443 [TRACE] [ng.mideaac.internal.handler.Response] - TimerMode: true

2021-03-07 16:42:15.445 [TRACE] [ng.mideaac.internal.handler.Response] - ApplianceError: false

2021-03-07 16:42:15.447 [TRACE] [ng.mideaac.internal.handler.Response] - TargetTemperature: 16.0

2021-03-07 16:42:15.448 [TRACE] [ng.mideaac.internal.handler.Response] - OperationalMode: AUTO

2021-03-07 16:42:15.450 [TRACE] [ng.mideaac.internal.handler.Response] - FanSpeed: UNKNOWN

2021-03-07 16:42:15.452 [TRACE] [ng.mideaac.internal.handler.Response] - OnTimer: enabled: false

2021-03-07 16:42:15.454 [TRACE] [ng.mideaac.internal.handler.Response] - OffTimer: enabled: false

2021-03-07 16:42:15.470 [TRACE] [ng.mideaac.internal.handler.Response] - SwingMode: HORIZONTAL

2021-03-07 16:42:15.474 [TRACE] [ng.mideaac.internal.handler.Response] - CozySleep: 0

2021-03-07 16:42:15.477 [TRACE] [ng.mideaac.internal.handler.Response] - Save: false

2021-03-07 16:42:15.481 [TRACE] [ng.mideaac.internal.handler.Response] - LowFrequencyFan: false

2021-03-07 16:42:15.483 [TRACE] [ng.mideaac.internal.handler.Response] - SuperFan: false

2021-03-07 16:42:15.485 [TRACE] [ng.mideaac.internal.handler.Response] - FeelOwn: false

2021-03-07 16:42:15.487 [TRACE] [ng.mideaac.internal.handler.Response] - ChildSleepMode: false

2021-03-07 16:42:15.489 [TRACE] [ng.mideaac.internal.handler.Response] - ExchangeAir: false

2021-03-07 16:42:15.491 [TRACE] [ng.mideaac.internal.handler.Response] - DryClean: false

2021-03-07 16:42:15.493 [TRACE] [ng.mideaac.internal.handler.Response] - AuxHeat: false

2021-03-07 16:42:15.495 [TRACE] [ng.mideaac.internal.handler.Response] - EcoMode: false

2021-03-07 16:42:15.496 [TRACE] [ng.mideaac.internal.handler.Response] - CleanUp: false

2021-03-07 16:42:15.498 [TRACE] [ng.mideaac.internal.handler.Response] - TempUnit: false

2021-03-07 16:42:15.500 [TRACE] [ng.mideaac.internal.handler.Response] - SleepFunction: false

2021-03-07 16:42:15.502 [TRACE] [ng.mideaac.internal.handler.Response] - TurboMode: false

2021-03-07 16:42:15.503 [TRACE] [ng.mideaac.internal.handler.Response] - CatchCold: false

2021-03-07 16:42:15.505 [TRACE] [ng.mideaac.internal.handler.Response] - NightLight: false

2021-03-07 16:42:15.507 [TRACE] [ng.mideaac.internal.handler.Response] - PeakElec: false

2021-03-07 16:42:15.509 [TRACE] [ng.mideaac.internal.handler.Response] - NaturalFan: false

2021-03-07 16:42:15.510 [TRACE] [ng.mideaac.internal.handler.Response] - IndoorTemperature: null

2021-03-07 16:42:15.512 [TRACE] [ng.mideaac.internal.handler.Response] - OutdoorTemperature: -25.0

2021-03-07 16:42:15.514 [TRACE] [ng.mideaac.internal.handler.Response] - Humidity: 30

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.processMessage(MideaACHandler.java:653) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.sendCommand(MideaACHandler.java:568) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.requestStatus(MideaACHandler.java:530) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.checkConnection(MideaACHandler.java:716) ~[?:?]

	at org.openhab.binding.mideaac.internal.handler.MideaACHandler$ConnectionManager.lambda$0(MideaACHandler.java:476) ~[?:?]

@Osmii,

Can you provide which version of device you have (“version” in Thing properties).

It is version 2!

@Osmii,

does any of return values corresponds to device state?

TargetTemperature: 16.0

OperationalMode: AUTO

FanSpeed: UNKNOWN

SwingMode: HORIZONTAL

OutdoorTemperature: -25.0

Response length from device seems to be correct, but data seems to be wrong (either decryption problem or different format).

Jacek

Maybe swing mode, other values not.

I have Version 3 of Midea.

I can only discovery my devices, when I add them, these devices show online/offline every few seconds. They don’t show any values, all are Null.

What is the problem?

Hi,

It seems that my binding is not working properly with device Version 3, see my comment Feb 12.

Just did some updates on my server, and seems that this binding is failing since?

bundle:restart 350
Error executing command: Error restarting bundles:
Unable to start bundle 350: Could not resolve module: org.openhab.binding.mideaac [350]
Unresolved requirement: Import-Package: org.apache.commons.lang; version=“[2.6.0,3.0.0)”

Hope a solution can be found, summer is coming. :wink:

Hello Jacek,

it would be a great thing if you could maybe help with updating your binding for the Midea V3 devices.
I’m happy to help you collect all the possible data you need for this, just tell me what you need and how to get the data.
I think you could help a lot of people here in the community with this.
I would be really, really grateful.

Regards
Dirk

Did anybody found a solution/workaround?
Seems there’s an issue with versions.

openhab> diag 353
openHAB Add-ons :: Bundles :: MideaAC Binding (353)
---------------------------------------------------
Status: Installed
Unsatisfied Requirements:
osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.commons.lang)(&(version>=2.6.0)(!(version>=3.0.0))))"
Declarative Services
1 Like

Tried this binding with our brand new kasai multi split ac which uses the midea protocol. But same error as the other guys here :frowning: I’m running openHAB 3.1 on build #2358. Any help would be appreciated on how to fix this error.

2021-06-04 16:38:20.123 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/openhab/addons/org.openhab.binding.mideaac-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mideaac [274]
  Unresolved requirement: Import-Package: org.apache.commons.lang; version="[2.6.0,3.0.0)"
	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

It probably is related to latest changes in openHAB itself. See Removal of dependency on 'org.apache.commons.*' · Issue #7722 · openhab/openhab-addons · GitHub for more information.

With the latest openHAB snapshot 3.1 build #2414 I get another similar exception :frowning:

2021-06-04 17:00:03.154 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/openhab/addons/org.openhab.binding.mideaac-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mideaac [235]
  Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"
	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

So I guess the binding code needs to be updated to work with the latest openHAB changes. I could have a look in the code but don’t know how the process of updating and building a new bundle looks like?

Is there a list of supporter air conditioning models? I wonder if COMFEE MSAF5-09HRDN8-QE SET WiFi is supported.

Hi,

Comfee, Dimstal and various other air conditioners are manufactured under these trade names by Midea.
Unfortunately, the NetHome WiFi module from firmware version 3 no longer works with this openHAB binding.
I have therefore taken a different path and have built with 2 components an MQTT capable interface, which now works absolutely reliable for several weeks.
The NetHome WiFi module is simply replaced by this small electronic circuit - done.
This makes you completely independent of the Midea Cloud.
The idea comes from the forum here and you can find it here.
If you want to rebuild the electronics you can ask me for the PCB layout (hole pattern).

Good luck
Dirk

1 Like

How can we help to make this binding work with oh 3?

I have OH 3.1.0.M1 and it works for me.

Probably there must be some metadata changed in build process, but I don’t know what exactly.

If somebody can advice me I can do it, rebuild and share.

Hi,

Have you seen the work done in GitHub - kueblc/midea-msmart at support-8370 and GitHub - WMP/midea-ac-py at support-8370 to add support for midea version 3? Would it be possible to use/reproduce it here? What would be the best way to go about it?

Thanks

1 Like

Regarding

Unresolved requirement: Import-Package: org.apache.commons.lang; version=“[2.6.0,3.0.0)”

please check newest release.

@JacekDob Thanks for your effort and the new binding version. Unfortunately with the latest openHAB snapshot 3.1 build #2414 I still get another similar exception :frowning:

2021-06-22 19:13:25.030 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/openhab/addons/org.openhab.binding.mideaac-3.1.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mideaac [279]
  Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440) ~[org.eclipse.osgi-3.16.200.jar:?]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [bundleFile:3.6.8]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) [bundleFile:3.6.8]

Beside that I am struggling with the stability of my wifi dongles :frowning: Does anyone also had/have problems with the EU-OSK103 wifi dongles being offline after some time and not coming online again? The only solution right now is to completely disconnect them from power and plug them in again. In my router I just see several connect and disconnect attempt before they went offline. But I have no clue what is going on.

Version 20210621

With OH 3.1.0
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mideaac [247]
Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

    at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) [org.eclipse.osgi-3.16.200.jar:?]

Wtih OH 3.2.0 Snap
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.mideaac [239]
Unresolved requirement: Import-Package: javax.measure; version="[1.0.0,2.0.0)"

    at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.16.200.jar:?]
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) [org.eclipse.osgi-3.16.200.jar:?]

This is expected because openHAB 3.1 updated a library responsible for handling of measurement units. PR must be updated against latest release in order to work.