Closed Borty97 closed 1 year ago
What is the output when running with the -d
option? e.g. midea-discover -d
or midea-discover -d -i HOST_IP
What brand & model of devices do you have? Better yet, can you confirm the model of the WiFi dongle?
DEBUG: asyncio: Using selector: EpollSelector
DEBUG: msmart.scanner: Broadcast message sent: 1
DEBUG: msmart.scanner: Socket timeout
In both scripts.
I use the Carrier WiFi Kit: https://gruporp.es/3333-kit-wifi-carrier-aire-acondicionado-split-pared-serie-gold.html
Has the device been added to the network via the manufacturer's app (MSmartHome, NetHome Plus, etc)?
What is the network configuration of your docker container (e.g. host, bridged, etc)? Are HA and the device on the same subnet?
Would you be comfortable running Wireshark to check the network traffic? That would let us determine if the broadcast isn't going out, or if we're failing to receive the response.
Has the device been added to the network via the manufacturer's app (MSmartHome, NetHome Plus, etc)? Yes, first with NetHome Plus and after with MSmartHome (when I realised it didn't work). What is the network configuration of your docker container (e.g. host, bridged, etc)? Are HA and the device on the same subnet? Host. Maybe they are in differents subnets (HA is connected via LAN) and the A/C via the IoT Wi-Fi that my router has (https://www.tp-link.com/es/home-networking/wifi-router/archer-c6/).
Would you be comfortable running Wireshark to check the network traffic? That would let us determine if the broadcast isn't going out, or if we're failing to receive the response. I will look about this software. I never used it before
Host. Maybe they are in differents subnets (HA is connected via LAN) and the A/C via the IoT Wi-Fi that my router has (https://www.tp-link.com/es/home-networking/wifi-router/archer-c6/).
Host is good. Ah that's interesting. Perhaps it is isolating the device from your main network. I found this in some release notes for the C6.
Can you ping the IP from the HA system?
I had my SynologyNAS isolated... Thanks
Anyway, now I have this error:
Finally I used the https://github.com/georgezhao2010/midea_ac_lan Midea AC LAN integration. It works perfect
Cool. That extension is a good option, I also have a fork with the above bug fixed and other improvements.
https://github.com/mill1000/midea-ac-py https://github.com/mill1000/midea-msmart
After installing
midea-discover
and usingmidea-discover -a YOUR_ACCOUNT -p YOUR_PASSWORD
to login and get the climate ID it shows this error: There is no way to get information, even setting-i HOST_IP
Versions (版本信息)
v0.2.3