AdapterRequests icon indicating copy to clipboard operation
AdapterRequests copied to clipboard

Carrier und Midea Lokal

Open stilicrafter opened this issue 7 months ago • 10 comments

Hello Together. Currently, Carrier devices can only be controled by cloud. I saw, that HomeAssistent has a local Version and i want to port that.

See https://github.com/stilicrafter/midea-Carrier-ac-local-IOBroker

What kind of device or service would you like to see an adapter for? Add name and company of the device, including links to the device and any additional information[...] Carrier midea and white labeld Heatpumps

Is the device connected to the internet or only available on a local network?

Currently only internet Version, i do it local

Is an official App or Website available? If yes, please add links https://github.com/georgezhao2010/midea_ac_lan

Is an official API including documentation available? If yes, please add links and information[...]

Are other libraries for an integration available? Ideally in JavaScript/npm, but also other programming languages are interesting, add links please

Is this device already integrated in other Smart Home systems? Add links please Home Assistent

Additional context Add any other context or screenshots about the feature request here. If the topic was discussed on the ioBroker forum, please include the link too.

After you create the issue, please vote for yourself in the first post of the issue using the "+1"/"Thumbs up" button

stilicrafter avatar Jun 01 '25 11:06 stilicrafter

and i want to port that.

Please confirm that you are working at an adapter. Or do request that someone tries to port / implement a local connection?

mcm1957 avatar Jun 01 '25 18:06 mcm1957

@mcm1957 I am currently trying, however this would be my first own adapter. So ill see, if ill get it to work

stilicrafter avatar Jun 01 '25 20:06 stilicrafter

Thanks just noticed at telegram

Thanks for your wotk.

mcm1957 avatar Jun 02 '25 06:06 mcm1957

@mcm1957 It is to complex for me, to convert the Python code from the HomeAssistent Carriera / Midea plugin for IOBroker. Maybe someone else want to develop it. Ill devinitive could support testing and then also maybe help with bugfixes. Sorry.

stilicrafter avatar Sep 17 '25 09:09 stilicrafter

No reason to say sorry. Thanks for your feedback. And be ensured I could not moigrate python to javascript too.

mcm1957 avatar Sep 17 '25 10:09 mcm1957

@stilicrafter is there any official documentation available for this product or how the connections are handled ? Its not clear for me (in first view) if we talk about en "difficult" Serial connection by USB etc or just exposing an JSON API.

I very limited in my time but having a couple of API related adapters which i'm currently simplifying by a generic model to read/write API data into iobroker with just a module. If this is JSON-Rest api related we maybe can reused that already handling like 90-95% of all code needed....

If you want/willing to learn i'm also more than happy to guide a little, transferring python (backport) can be quite complex sometimes its much easier to just start based on functionality and proper API documentation

DutchmanNL avatar Sep 17 '25 10:09 DutchmanNL

@DutchmanNL Hi, for local control (prefered way) there is no official api (as far as i know)

It is also no simpel REST. For initial Setup, you need to ask the device for a Key (i think it is AES or something similar)

See this py from HA. https://github.com/georgezhao2010/midea_ac_lan/blob/master/custom_components/midea_ac_lan/midea/core/security.py I would allready be happy to have aircon working, however, if this adapter works for aircon, i also think that the other devices from them like Air Purifiers etc. could be simple be added, as they as fan, humidifiers etc, are all in this folder. https://github.com/georgezhao2010/midea_ac_lan/tree/master/custom_components/midea_ac_lan

stilicrafter avatar Sep 18 '25 05:09 stilicrafter

Bevore i forget: Save the Keys in a Variable per device. @DutchmanNL

stilicrafter avatar Sep 18 '25 05:09 stilicrafter

@stilicrafter Honestly, this looks like a quite interesting but also complex project :) But my current available time does not allow to commit on :/

DutchmanNL avatar Sep 18 '25 17:09 DutchmanNL

@DutchmanNL If you have one day time, let me know.

We might also look together :)

stilicrafter avatar Oct 09 '25 18:10 stilicrafter