Comments (32)
@albertogeniola @Dodo1337
I do have a similar issue with my HA setup, but much worse. HA does not die, but it becomes completely useless (ios app can't connect, not able to connect using a browser) but sometimes some automation is activated (for example a motion sensor light on a bulb) - hence HA is still alive but reaaally slow.
This happen since a week or may be 2; I am running latest HA version, on a i7 NUC with ubuntu and hassio.
HA may run just for a few hours before slowing down, or sometimes for more than a day.
Today I have uninstalled meross integration as it may be the root cause of the problem (I am not 100% sure). Here is an extract of the log when HA slows down:
2020-01-22 15:15:12 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug10_entrada_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:15:22 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug13_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:15:32 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug11_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:15:42 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug12_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:15:59 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug11_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:16:09 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug10_entrada_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:16:19 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug12_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-01-22 15:16:29 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug13_power fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10
I do have several mss310 plugs on the setup.
I will update my post after running it without meross integration for at least a couple of days.
from meross-homeassistant.
Update: my HA platform has been stable since I disabled meross component. I will enable the integration again this evening and will keep you posted @Dodo1337 @albertogeniola
from meross-homeassistant.
Update: my HA platform has been stable since I disabled meross component. I will enable the integration again this evening and will keep you posted @Dodo1337 @albertogeniola
Exactly the same behavior here. I did it forth and back 3 times. And I could reproduce the issue every time. so without the integration - everything smooth. with it HA gets unusable after half a day latest.
from meross-homeassistant.
Update: last working release for me is 20191230.1
After this version, HA gets unusable after a few hours. Hope it will help.
from meross-homeassistant.
Hi guys,
I'm sorry you are experiencing this problem. It appears that both of you are using a MSS310, which supports electricity/consumption reading. May I suggest to try the same tests without MSS310 connected to HA (just to isolate the problem).
@ccorderod : I don't believe the problem could be tracked down to that version, as it is basically the same of the current (differences are only in the README).
from meross-homeassistant.
no problem :) we will find out why.
I will remove the MSS310's this evening and try again.
from meross-homeassistant.
I removed the MSS310's 13 hours ago and since then I have no errors or warnings popping up.
Seems to be isolated.
Best
Dominik
from meross-homeassistant.
Good morning. I am still running 20191230.1 without disabling any meroos device and the platform is still stable. @albertogeniola, are you sure you did not change anything in the code from there?My apologies but I have had no time to dig into the code.
Have both a great day.
from meross-homeassistant.
I have the same problem (HA hangs).
How can I temporarily disable Meross integration?
from meross-homeassistant.
I have the same problem (HA hangs).
How can I temporarily disable Meross integration?
Only removing the integration will help. So you don't need to delete the custom component - but either the config.yaml needs to be commented or you remove in the integrations menu.
from meross-homeassistant.
@GianCann or you may try to downgrade the component to 20191230.1 as I did. Looks stable for the time being :-).
from meross-homeassistant.
Let's try to summarize the diagnostic we are doing right here.
- @ccorderod has downgraded to 20191230.1
- @Dodo1337 is still using 20200109.5 but has removed MSS310
Both (correct me if I'm wrong) seem to run fine now; so the problem might be either within the code (I'd double check if I missed anything in the commits) or somehow linked to the implementation of the MSS310, which is the only one providing consumption reading (via get_electricity() ).
For better understand the problem, I'd ask you guys to report the HA version (@Dodo1337 has 0.104.3) and the FW/HW version of the MSS310 you are using.
Anyways, it looks like the problem is not linked to a specific version as 20191230.1 doesn't differ from
20200109.5 except for README and build.sh pipeline script (have a look at here). This makes me think the problem is related to MSS310 implementation.
from meross-homeassistant.
Update: my HA problem is not related to Meroas component. Sorry
I don't use MSS310 but MSS530H.
From yesterday, when I disable the component, my HA installation is very stable.
Running on Raspbian Buster, with this configuration:
arch | armv7l |
---|---|
dev | false |
docker | false |
hassio | false |
os_name | Linux |
python_version | 3.7.3 |
timezone | Europe/Rome |
version | 0.103.5 |
virtualenv | true |
This is manifest.json:
{
"domain": "meross_cloud",
"name": "Meross Cloud IoT",
"documentation": "https://www.home-assistant.io/components/meross_cloud",
"dependencies": ["persistent_notification"],
"codeowners": ["@albertogeniola"],
"requirements": ["meross_iot==0.3.2.5"],
"config_flow": true
}
I am unable to say whether the current stability is actually due to disabling the component.
Until yesterday, HA had an unusual CPU usage until it stopped responding.
Now, no more abnormal CPU usage
from meross-homeassistant.
Update - @albertogeniola @Dodo1337 @GianCann
The HA platform went unresponsive again today around 4:15pm. Log shows same records:
2020-02-04 16:13:29 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug10_entrada fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-02-04 16:13:34 INFO (Thread-3) [meross.connection] Disconnection detected. Reason: 1 2020-02-04 16:13:39 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug13 fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-02-04 16:13:49 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug11 fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10 2020-02-04 16:13:59 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.plug12 fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update await self.async_update() File "/config/custom_components/meross_cloud/sensor.py", line 42, in async_update sensor_info = self._device.get_electricity() File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 144, in get_electricity return self._get_electricity()['electricity'] File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 21, in _get_electricity return self.execute_command("GET", ELECTRICITY, {}) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 126, in execute_command return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout) File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 302, in execute_cmd raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout) meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10
Log also contains hundreds of those:
2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02-04 16:14:04 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140061435837584] Client exceeded max pending messages [2]: 512 2020-02
Then, all the https connections (internal and external) fail as well:
2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.sensor] Updating hydrawise sensor took longer than the scheduled update interval 0:00:30 2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.sensor] Updating aemet sensor took longer than the scheduled update interval 0:00:30 2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.sensor] Updating google_wifi sensor took longer than the scheduled update interval 0:00:30 2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv media_player took longer than the scheduled update interval 0:00:10 2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv_custom media_player took longer than the scheduled update interval 0:00:10 2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.media_player] Updating yamaha media_player took longer than the scheduled update interval 0:00:10 2020-02-04 16:14:05 WARNING (MainThread) [homeassistant.components.media_player] Updating yamaha_musiccast media_player took longer than the scheduled update interval 0:00:10
I am running HA 0.104.3 as hassio docker on top of Ubuntu 18.04.4 LTS.
Meross devices are: 4 mss310 2.0.0 - Firmware: 2.1.13 and 1 mss425f 2.0.0 - Firmware: 2.1.8
I am going to disable the component for a while (Wife Acceptance Factor - WAF - is below zero by now :().
from meross-homeassistant.
Hi, same problem here. Hang after few hours.
Hassio 0.105.0
Ubuntu 18.4.2
8 x mss310 fw 2.1.11
Thank you anyway for your work 😉
from meross-homeassistant.
Hi guys,
I've performed some changes in the latest version (just release). I'm still not 100% sure that the problem is solved, but I'd appreciate if you can test that version and report back to me if that's any better.
from meross-homeassistant.
Hi, thanks
I just installed the new version. I come back to you during the day to see if everything is OK.
from meross-homeassistant.
@albertogeniola the component has been working a few hours then this started to appear in the log:
2020-02-10 15:38:39 ERROR (SyncWorker_14) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f671d7a0290> 2020-02-10 15:38:49 ERROR (SyncWorker_18) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f671d7a0290>
All the meross sensors related to power are unavailable by now. No sign of latency on the platform.
from meross-homeassistant.
Hi @ccorderod ,
that is actually good. At least now the component does not make HA crash. I'm working on a fix for the root cause of problem (which seems to be a missing reconnection upon MQTT client connection drop). In the meantime, I'd really appreciate if you can test the component a little longer, just to make sure that it does not make HA crash/unresponsive if the connection is lost. Would you mind keeping it running in the "unconnected" state for a little longer?
from meross-homeassistant.
For me the latest version is now working fine. No latency and no big errors yet. :)
thx @albertogeniola
from meross-homeassistant.
Glad to hear that @Dodo1337 . Please note that there still is a problem when the connection to the MQTT server is lost. Please let me know when the errors start appearing.
from meross-homeassistant.
Alberto, I had to restart HA to mak some configuration changes a few minutes ago. I will let you know tmrw the status. Apologies.
from meross-homeassistant.
HI, same problem than @ccorderod PowerSensorWrapper
.
The error occured 13hour ago. I have not restarted HA. @albertogeniola If you want more informations...
from meross-homeassistant.
Also issues in my setup now.
HA still running smooth but meross not.
2020-02-10 23:45:31 ERROR (Thread-2) [meross.power_plugs] Unknown/Unsupported namespace/command: Appliance.Control.Upgrade 2020-02-10 23:45:32 ERROR (Thread-2) [meross.power_plugs] Unknown/Unsupported namespace/command: Appliance.Control.Upgrade 2020-02-10 23:45:41 ERROR (Thread-2) [meross.power_plugs] Unknown/Unsupported namespace/command: Appliance.Control.Upgrade 2020-02-10 23:45:44 ERROR (Thread-2) [meross.power_plugs] Unknown/Unsupported namespace/command: Appliance.Control.Upgrade 2020-02-10 23:46:00 WARNING (Thread-2) [meross.power_plugs] Report command is currently not handled.
2020-02-11 04:45:29 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merossplug1 is taking over 10 seconds 2020-02-11 04:45:29 ERROR (SyncWorker_14) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f45ea1ab4d0> 2020-02-11 04:45:59 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merossplug1 is taking over 10 seconds 2020-02-11 04:45:59 ERROR (SyncWorker_17) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f45ea1ab4d0> 2020-02-11 04:46:30 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merossplug1 is taking over 10 seconds 2020-02-11 04:46:30 ERROR (SyncWorker_2) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f45ea1ab4d0> 2020-02-11 04:47:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merossplug1 is taking over 10 seconds 2020-02-11 04:47:01 ERROR (SyncWorker_2) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f45ea1ab4d0> 2020-02-11 04:47:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merossplug1 is taking over 10 seconds 2020-02-11 04:47:32 ERROR (SyncWorker_5) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f45ea1ab4d0> 2020-02-11 04:48:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merossplug1 is taking over 10 seconds 2020-02-11 04:48:03 ERROR (SyncWorker_10) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper._fetch_power_status at 0x7f45ea1ab4d0> 2020-02-11 04:48:03 WARNING (SyncWorker_10) [custom_components.meross_cloud.common] Detected more than 5 connection errors. This means either the device is offline, or the MerossCloud cannot be reached or we are offline.
2020-02-11 09:02:33 ERROR (SyncWorker_3) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function OpenGarageCover.open_cover at 0x7f45ea2b2680>
from meross-homeassistant.
Hi guys,
the latest version should finally fix this hell. Would you please try it and let me know if that happens?
from meross-homeassistant.
@albertogeniola updated. Will keep you updated. Gracias Alberto :-).
from meross-homeassistant.
@albertogeniola thank you :) ! updated and I will let you know how it works out :)
from meross-homeassistant.
@albertogeniola thanks ! Updated.
from meross-homeassistant.
Closing. In case the problem persists, please reopen the issue or start a new one.
from meross-homeassistant.
till now all fine :)
from meross-homeassistant.
till now all fine :)
Glad to hear that!
from meross-homeassistant.
Hi @albertogeniola. Opening a new issue #51. No latency now, but power sensors fail and lot of side effects on other components.
from meross-homeassistant.
Related Issues (20)
- Setup failed for custom integration 'meross_cloud': Requirements for meross_cloud not found: ['meross_iot==0.4.6.0rc2']. HOT 1
- Internal LED control HOT 2
- mrs100 HOT 33
- Deprecation of HVAC_MODE_COOL --> Use HVACMode.COOL instead HOT 2
- Meross Cloud Credentials saved in plain text HOT 5
- Unable to install package meross_iot==0.4.6.1 HOT 4
- problem with the latest update HOT 6
- Problemas con actualización v1.2.13 HOT 2
- Cloud-connected entities become unavailable in the integration HOT 4
- Failure to add device, fixed by hack to regexp HOT 5
- Validation of translation placeholders for localized (it) string component.meross_lan.issues.cloud_token_expired.fix_flow.step.profile.description failed HOT 1
- "Closing" and "Opening" state feedback HOT 6
- Incorrect colour on light strip
- Crypto package not found HOT 3
- BUG: Duplicate "do_not_disturb" entities HOT 2
- Deprecated alias in use HomeAssistantType HOT 2
- Unable to set colour via Scene or Automation
- cover.toggle on an open garage goes to transient state opening, requiring me to toggle a 2nd time to actually close HOT 2
- ms200 smart hub with window sensor HOT 1
- Setup error tras ultima actualización HA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meross-homeassistant.