Midea/Inventor (and other brand) Air Condition API

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by LouiS22 »

By any chance are you from Hungary?
halacs
Posts: 5
Joined: Sunday 01 October 2017 11:02
Target OS: -
Domoticz version:
Location: Hungary
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by halacs »

hehe, yes :) I'm also from Budapest, Hungary.
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Stanleyk »

somebody managed midea and domoticz please ?
expart
Posts: 1
Joined: Saturday 17 February 2018 7:21
Target OS: Linux
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by expart »

Hey, any progress on that? Only missing piece in my project.. :(
NeoAcheron
Posts: 3
Joined: Sunday 05 November 2017 22:03
Target OS: -
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by NeoAcheron »

@halacs I'm hoping that you are still watching this thread, because I want to try replicate your findings and try figuring out what is done here: http://veillard.com/embedded/midea.html

Seems like this guy had a UART sniffer on the physical dongle, and if your assumption of the Android -> Cloud -> AC data stream is correct, that link might help.

I can also assist wherever possible, I have experiance in Java and embedded hardware, I'm also looking to hook my Midea based WiFi AC into a home automation system.
BarryT
Posts: 358
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by BarryT »

Also following this topic!
I have 2 airco units, with the same dongle.

1) Qlima
2) Cooper & Hunter

Hope to see a way to let it work with domoticz!
Raspberry / ESP Boards / Relais / Milight / Hue / OTGW / P1 / Xiaomi / RFXCom / RFLink / ZWave / Conbee II / Z2M / MQTT / A lot of scripts and many more..
Software: Linux, Android and Windows
kbenni1
Posts: 3
Joined: Sunday 03 June 2018 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by kbenni1 »

Hello,

did you saw the api for midea?
https://openapi-global.midea.com/

its used for amazon echo so maybe it can be used also for domoticz.

im not a developer so can somebody have a look on it?

Benji
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by LouiS22 »

kbenni1 wrote: Sunday 03 June 2018 22:15 Hello,

did you saw the api for midea?
https://openapi-global.midea.com/

its used for amazon echo so maybe it can be used also for domoticz.

im not a developer so can somebody have a look on it?

Benji
404 for me
kbenni1
Posts: 3
Joined: Sunday 03 June 2018 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by kbenni1 »

my bad, Amazon Echo was forwarding me to this page and i was able to login with my midea credentials,

then check:
https://github.com/midea-sdk-org/android-sdk
http://iot.midea.com/android/index.html ... tener.html
https://github.com/midea-sdk-org/ios-sdk
https://github.com/midea-sdk/midea-sdk.github.io

and the skill for Amazon echo
https://www.amazon.com/dp/B077WFCD8B

so it should have some api
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by LouiS22 »

kbenni1 wrote: Tuesday 05 June 2018 12:50 my bad, Amazon Echo was forwarding me to this page and i was able to login with my midea credentials,

then check:
https://github.com/midea-sdk-org/android-sdk
http://iot.midea.com/android/index.html ... tener.html
https://github.com/midea-sdk-org/ios-sdk
https://github.com/midea-sdk/midea-sdk.github.io

and the skill for Amazon echo
https://www.amazon.com/dp/B077WFCD8B

so it should have some api
Yeah, I googled yesterday and found the very same github ones :)

Thanks!
kbenni1
Posts: 3
Joined: Sunday 03 June 2018 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by kbenni1 »

are you going to implement it? if you want a help, contact me and maybe i can help
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Stanleyk »

any news about midea AC ?
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by LouiS22 »

Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Stanleyk »

@LouiS22
new version 0.0.3, have you try implement ?
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by LouiS22 »

Stanleyk wrote: Thursday 29 November 2018 10:16 @LouiS22
new version 0.0.3, have you try implement ?
I've purchased a Harmony Hub and planning to control the AC via that.
Stanleyk
Posts: 23
Joined: Tuesday 05 September 2017 1:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Stanleyk »

I have echo dot and that midea plugin not work
NeoAcheron
Posts: 3
Joined: Sunday 05 November 2017 22:03
Target OS: -
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by NeoAcheron »

Hi Everyone,

So after months of struggling with the Ruby app, that uses the online API that is hosted on an Amazon server somewhere, I have decided that I'm putting in the effort to get this working as a plugin for my own use.

I have managed to use the Ruby code and the decompiled APK to reverse engineer a working Python library. My intention was to make the library abstract enough to be usable on its own, and with minimal effort I created a Home Assistant climate platform plugin. I don't know enough about Domoticz, but I have learnt a lot from this forum, hence my post here today.

Just to make it clear, I'm not intending to ever make my library support Domoticz myself, but I will accept pull requests that can enhance the library in order to use it with Domoticz, and will happily host it along side the Home Assistant version.

You can find the code and the instructions here: https://github.com/NeoAcheron/midea-ac-py

The library is also available on PyPi, and is simply called "midea".

I would like to thank everyone in this forum for the technical guidance and posting their findings in order to make this possible!

Happy hacking!
Joost996me
Posts: 18
Joined: Sunday 12 February 2017 15:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Joost996me »

Trying to reactivate this discussion regarding incorporating AC in Domoticz. I have three units (Qlima WiFi) using NetHome Plus. Trying to find out if someone was able to use this function in Domoticz. Any help is appreciated!
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Alain »

I'm interested too, as I have 4 Qlima units, of which three have the wifi module.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Midea/Inventor (and other brand) Air Condition API

Post by Alain »

I have been messing around for days, trying to integrate different plugins, combinations of versions, modifying the Daikin one, etc but I can't get anything to work. Either Domoticz doesn't see them and they don't show up in the hardware list, or I'm getting errors in all sorts.

There are lots of these units out there and I can hardly imagine that there is not a soul that doesn't want to control their airco from Domoticz.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest