mac-zhou / midea-ac-py

Home Assistant Custom Integration for Midea Group(Hualing, Senville, Klimaire, AirCon, Century, Pridiom, Thermocore, Comfee, Toshiba, Carrier, Goodman, Friedrich, Samsung, Kenmore, Trane, Lennox, LG and much more) Air Conditioners via LAN.
MIT License
519 stars 101 forks source link

Support for Direct LAN Serial Communication #193

Open bfranske opened 1 year ago

bfranske commented 1 year ago

Describe the solution you'd like (描述需求) I have replaced the Midea WiFi dongle with my own ESP8266 which acts as a serial bridge. I would like the midea-ac-py software to support serial communication with the Midea unit without any of the stuff needed for the Midea dongle (no ID/key/token). Instead you only need to know the IP and port number to the serial bridge. This type of thing exists for node.js in https://github.com/reneklootwijk/node-mideahvac/ as the "serialbridge" communication method.

mill1000 commented 1 year ago

Why not use ESPHome instead? A Midea component already exists and is likely compatible with your dongle.

bfranske commented 1 year ago

Because it's overly complex for what I want to do?

mill1000 commented 1 year ago

It's really not. It's a few lines of YAML to configure, build it, flash it and add the node to HA. Easy.

I've got a config laying around I can post later today,

bfranske commented 1 year ago

I mean the architecture is overly complex creating custom firmware per device, etc. It's just not my preferred design architecture. Also, I want the ability to read and write to the unit from outside of HA too.

mill1000 commented 1 year ago

I mean the architecture is overly complex creating custom firmware per device, etc.

More complex than writing your own firmware? 🙄

This project midea-ac-py is a Home Assistant integration. Your request would be better suited for the underlying library midea-msmart that handles the communication.