Closed kris2k2 closed 2 years ago
Gonna separate out my replies into different topics.
The WiFi and TCP/IP stack on the WiFi interface definitely has some issues. For a lot of people (including myself), on occasion the units are reachable from some parts of the network (some hosts) but not others. Power cycling the unit (circuit breaker :( ) or the WiFi AP it's connected to clears it up; for me at least, so does waiting.
It is, however, pretty impressive that the whole indoor unit (including the adapter) draws only a couple of watts when idle. So we're dealing with some not-very-capable hardware and I'm glad it works as well as it does. I think it's unlikely to actually be running any recognizable OS; it's just a microcontroller with about as much capability as an Arduino.
The more common issue people see, though, is simply WiFi signal strength or interference. That's why I added the WiFi RSSI attribute. My 3 units are currently at -49, -57, and -39 dB and generally work great. I suspect the timeouts you see on a connected socket are WiFi quality related.
Re: your failure to set up after a reinstall, please see the IP Addresses section of the README. Having to enter your IP addresses is a symptom of the indoor unit not being synced to KumoCloud; we discovered this method of forcing a sync after having implemented entering IPs as a workaround.
And for your last comment: No, the pykumo library uses KumoCloud web service only to find the units and gain access (credentials). All status and control communication is local; there is no fallback to the cloud.
Closing some old tickets. This one is more of a support-type issue, not a problem with the integration itself.
There seems to be a bug in the connection handling with the Kumo controller, that causes the port-80 HTTP interface on the controller to slow down, and eventually become un responsive to any HTTP commands.
I've noticed the degradation come in two symptoms:
As a result, while my controller is confirmed behaving like symptom-2 today (I used netcat to confirm, and also the Kumo mobile app to confirm that the split still responds to commands from Kumo Cloud), in the debug process, I decided to clean-up my Kumo installation from HASS, reboot, re-install, and rebind using the UI.
What I got was:
Error setting up entry kristopher@lalletti.ca for kumo Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 339, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/kumo/init.py", line 97, in async_setup_entry pykumos = await hass.async_add_executor_job(account.make_pykumos, timeouts, True) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.9/site-packages/pykumo/py_kumo_cloud_account.py", line 237, in make_pykumos pk.update_status() File "/usr/local/lib/python3.9/site-packages/pykumo/py_kumo.py", line 36, in update_status response = self._request(query) File "/usr/local/lib/python3.9/site-packages/pykumo/py_kumo_base.py", line 67, in _request url = "http://" + self._address + "/api" TypeError: can only concatenate str (not "NoneType") to str`
What I get from this is that we may be looking at a couple of bugs from this experience:
Beyond that, amazing work for this project! I'm going to try to reach-out to the Mitsubishi Kumo cloud product team to see what we can do about bug-1, if there's anything I can do to help on the other points, let me know.