Closed Yetangitu closed 1 year ago
You must give the device Internet permission. The v3 device needs to access the midea cloud to exchange keys.
Both devices - host and AC dongle - have internet connectivity so that is not the problem.
Something else is amiss though as the device only seems to work directly after it has been connected to the app. Once power to the device has been cut and reinstated it no longer works in the app either, this without any changes in the network configuration. I tested this MSmartHome and NetHome Plus with the same result. The dongle comes online as usual and its address is pingable but it is shown as "offline" in the apps.
There are a few things which may confound the issue:
This is the same issue as reported in a project derived from this one - midea-beautiful-air, https://github.com/nbogojevic/midea-beautiful-air/issues/21 - so what is stated there is valid here as well. A short recap:
I'm trying to get a heat pump with an EU-OSK103 dongle connected - it works in the app but I don't see why Xi needs to have control over my equipment - but have thus far not been able to do so due to token/key errors. The thing does retrieve token/key combinations but these do not seem to work. These errors occur both in this application as well as similar ones, e.g. the openHAB MideaAC binding. While I normally have all IoT devices living on their own network which is unable to reach out to the 'net I temporarily gave the OSK103 full access to see whether that made any difference but it did not work either. I also tested this on a newly created container with a single network interface on the IoT network and access to the 'net, the result was the same.
The layout is as follows:
As shown it tried to get a token/ke twice using both variants of the
udpid
encoding but neither combination works. The device does work with the MSmartHome (or whatever it is called now) app but I 'm not foolish enough to allow that kind of access to my own network to 'cloudy' service providers, see also my rant at the end of https://github.com/nbogojevic/midea-beautiful-air/issues/21 .Given that things work with the app I feel like it should be possible to make it work here as well. The problem seems (?) to lie in the token/key combination which for some reason does not work.