Code Monkey home page Code Monkey logo

Comments (40)

Fulch avatar Fulch commented on July 18, 2024 1

Hi Alberto

Installed: 20200223.1

Installed, rebooted HA and life is good not an error in site! Well done and thank you once again.

from meross-homeassistant.

ccorderod avatar ccorderod commented on July 18, 2024 1

@albertogeniola, rev 20200223.2 of the component has been running with no issues for 3 days now in my setup. Thank you very much for your hard work spooting the glitch :-).

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Hi @ccorderod ,
What do you mean other components fail?
What's the wifi signal strength of the power sensor?
When the power sensor fails, can you trigger the corresponding switch on or off?

from meross-homeassistant.

ccorderod avatar ccorderod commented on July 18, 2024

Hi @albertogeniola,
When meross starts to log errors, there are a bunch of other components logging errors as well (NetAtmo for example). It seems as if the ssl and/or websocket stack gets corrupted and every component relaying on this/thos stack/s fail as well.
Wifi signal: I do have a google mesh covering all the house; signal strength is excellent across the board :-) ... but I do have also 3 zigbee networks (I have a bunch of sensors deployed and had to split those on 3 networks). Some of those may collide with wifi, but afaik zigbee will take the hit, not the wifi.
Switch sensors appear to be available in HA, but I haven't tested if toggling them will produce a on/off on meross device.

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Hi @albertogeniola,
Have just found your component and installed the latest release, only have 2 Meross devices (MSS310) to test with.
Running Home Assistant 0.105.5 in Docker on Ubuntu 19.10.

When first installed all was well until I needed to restart HA to add a new sensor, after which I got these log errors. Toggling either switch does not operate the corresponding device but the Meross Android app still can see and operate both devices ok.
Have tried several HA restarts but the outcome is still the same.

2020-02-21 22:25:22 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.
2020-02-21 22:25:22 ERROR (SyncWorker_15) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7fc48770e290>
2020-02-21 22:25:32 ERROR (SyncWorker_15) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7fc48770e290>
2020-02-21 22:25:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bedroom_plug is taking over 10 seconds
2020-02-21 22:25:53 ERROR (SyncWorker_5) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7fc48770fcb0>
2020-02-21 22:26:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merros_lounge is taking over 10 seconds
2020-02-21 22:26:03 ERROR (SyncWorker_10) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7fc48770fcb0>
2020-02-21 22:26:24 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merros_lounge is taking over 10 seconds
2020-02-21 22:26:24 ERROR (SyncWorker_3) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7fc48770fcb0>
2020-02-21 22:26:34 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bedroom_plug is taking over 10 seconds
2020-02-21 22:26:34 ERROR (SyncWorker_7) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7fc48770fcb0>
2020-02-21 22:26:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.merros_lounge is taking over 10 seconds
2020-02-21 22:26:55 ERROR (SyncWorker_4) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7fc48770fcb0>
2020-02-21 22:27:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.bedroom_plug is taking over 10 seconds
2020-02-21 22:27:05 ERROR (SyncWorker_13) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7fc48770fcb0>

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Hi,
Which version of the component did you install? Did you install it via HACS or manually?

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Hi,
It was the most recent release 20200220.1, installed via HACS. Have also tried going back to the last 2 releases but still got the same errors.
I had both switch and power sensors displayed in Lovelace and working fine for several hours but after a reboot the problem started. Also hardware involved is an i5 NUC with ssd which has been running HA for several months with no issues.

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

I am still trying to spot the problem, but I'm under the impression this is sort of related to some race condition with the MSS310 sensor implementation.

Would you mind testing the same component you have installed but disabling the MSS310 Power Sensor entity? To do so, follow the instructions below:
Configuration menu -> Devices -> Select the MSS310 you have (in case you have both, repeat the steps for each one) -> From Entities, disable the sensor.mss310 entity.
Then, reboot Homeassistant and check if the problem still occurs.

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

OK just disabled both sensors for power and rebooted, this is still using the latest component release.
Logs now show as:

2020-02-22 11:05:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for wiser which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 11:05:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 11:05:15 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 11:05:24 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for huesensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.setup] Setup of person is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.weather] Setup of weather platform met is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform trend is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform wiser is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform adguard is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform tplink is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform wiser is taking over 10 seconds.
2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.cover] Setup of cover platform meross_cloud is taking over 10 seconds.
2020-02-22 11:05:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 424, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 588, in state
return STATE_ON if self.is_on else STATE_OFF
File "/config/custom_components/meross_cloud/switch.py", line 77, in is_on
return self._device.get_channel_status(self._channel_id)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 154, in get_channel_status
return self.get_status(c)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 132, in get_status
self._state = self._get_status_impl()
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 93, in _get_status_impl
data = self.get_sys_data()['all']
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 129, in get_sys_data
return self.execute_command("GET", ALL, {})
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-22 11:05:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 424, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
state = self.state
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 588, in state
return STATE_ON if self.is_on else STATE_OFF
File "/config/custom_components/meross_cloud/switch.py", line 77, in is_on
return self._device.get_channel_status(self._channel_id)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 154, in get_channel_status
return self.get_status(c)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 132, in get_status
self._state = self._get_status_impl()
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 93, in _get_status_impl
data = self.get_sys_data()['all']
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 129, in get_sys_data
return self.execute_command("GET", ALL, {})
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-22 11:05:57 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.0.82
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.config_entries] Config entry for hue not ready yet. Retrying in 5 seconds.
2020-02-22 11:05:57 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned
2020-02-22 11:05:57 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 15 minutes
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform deconz is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.cover] Setup of cover platform deconz is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.scene] Setup of scene platform deconz is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform deconz is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform deconz is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.setup] Setup of zeroconf is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform meross_cloud is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform adguard is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.light] Setup of light platform meross_cloud is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.light] Setup of light platform tplink is taking over 10 seconds.
2020-02-22 11:05:57 WARNING (MainThread) [homeassistant.components.light] Setup of light platform deconz is taking over 10 seconds.
2020-02-22 11:05:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up meross_cloud platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 159, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/meross_cloud/sensor.py", line 131, in async_setup_entry
elif plug.supports_consumption_reading():
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 162, in supports_consumption_reading
return CONSUMPTIONX in self.get_abilities()
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 134, in get_abilities
self._abilities = self.execute_command("GET", ABILITY, {})['ability']
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

The only way I have found to make both switch and sensor work ok is to follow this sequence.

Install component using HACS. DO NOT REBOOT. Now go through the integration entering user and password from the UI. Can now add both sensors and switch to Lovelace and all is good until a reboot is performed when all the errors occur again!

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Given that the custom component still has problems, in your case I guess there is something strange with your setup. Since couple of versions ago, the meross_cloud platform should not take more than a few seconds before becoming "ready". On my Raspberry PI 3, I don't get that error. It should not affect an Intel NUC which is way more powerful than my PI.

The following log line should not appear:

2020-02-22 11:05:47 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.

So, in order to be 100% sure that HomeAssistant is using the latest component, I've just released a new version of the library that prints, at startup, the library version being used. Would you mind update the custom component, reboot HA and post again the logs?

image

In case that version does not show up, force HACS repo update:
image

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Installed: 20200222.2
This is with the power sensors still disabled but your latest component release installed. Quite a difference in the logs this time!
Just going to re-enable the power sensors and then reboot HA again

2020-02-22 12:38:44 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:38:44 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:38:44 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for wiser which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:38:52 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for huesensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:39:45 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Let us know!

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Result of power sensors being enabled. Anything else I can do to help?

2020-02-22 12:54:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for meross_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:54:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:54:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for wiser which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:54:48 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for huesensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-02-22 12:55:02 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.
2020-02-22 12:55:02 ERROR (SyncWorker_4) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7f122fd36950>
2020-02-22 12:55:12 ERROR (SyncWorker_4) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7f122fd36950>
2020-02-22 12:55:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_bedroom_plug is taking over 10 seconds
2020-02-22 12:55:33 ERROR (SyncWorker_16) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f122f88b170>
2020-02-22 12:55:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_lounge_plug is taking over 10 seconds
2020-02-22 12:55:43 ERROR (SyncWorker_0) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f122f88b170>
2020-02-22 12:56:04 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_lounge_plug is taking over 10 seconds
2020-02-22 12:56:04 ERROR (SyncWorker_19) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f122f88b170>
2020-02-22 12:56:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_bedroom_plug is taking over 10 seconds
2020-02-22 12:56:14 ERROR (SyncWorker_6) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f122f88b170>
2020-02-22 12:56:35 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_lounge_plug is taking over 10 seconds
2020-02-22 12:56:35 ERROR (SyncWorker_5) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f122f88b170>
2020-02-22 12:56:45 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_bedroom_plug is taking over 10 seconds
2020-02-22 12:56:45 ERROR (SyncWorker_0) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f122f88b170>

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

This is now a repeatable pattern. Disable sensors and reboot HA, log is good as are the switch entities.
Enable sensors and reboot HA, log entries are as above and neither switch or sensor are usable.

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Hi @Fulch ,

I've just released a new version (20200222.4), which might increase stability of power sensor+mss310. I am not 100% sure it will work, yet. Would you mind testing it and let us know how does it work on the NUC?

Don't forget to re-enable the power sensors.

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

@albertogeniola
Installed: 20200222.4

Hi Alberto
I appreciate this type of issue is very hard to track down so thank you for being so tenacious!

Have just re-enabled the power sensors after installing this latest release and rebooted HA, No errors in log and sensors are showing real time data!

I have written some simple automations based on power usage which I will test tomorrow and let you know how it goes.

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Hi @albertogeniola

Good news, it looks like you have solved this issue. I have been running automations based on power sensor data all day without any problem. Have also rebooted HA in excess of 10 times throughout the day just to test and have not had a single error about switch platform meross_cloud in the log on startup.

As far as I am concerned I would consider this issue closed but I will leave that up to you.
Thank you very much!!!

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Glad to hear that. The latest version 20200223 also introduced minor improvements. Before closing this issue, would you please update to this one and let me know if is it working?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

Hey, just got again the error:

A timeout exception occurred while executing function <function ValveEntityWrapper.update at 0x71be3228>

Additionally I got the error:
Detected more than 5 connection erros. This means either the device is offline or the MerossCloud cannot be reached or we are offline.

Meross cloud is working fine, all my devices do have a strong connection to the access point and my internet connection is also without downtime since 3am (daily reboot).

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Hi @maltemosler ,
after you got the error, are you able to drive other devices? What about the Valve? Are you able to command it?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

mss425e is not controllable anymore over home assistant while the meross app works fine. The valve is not gaining data so it doesn't show the current state and I can't control it. Honestly all meross devices don't work.

After rebooting everything works fine.

My IP changes every day at 3am could this be the cause for that? The error occured after the reboot/IP change

I investigate a bit more tomorrow and update you if I find something

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

What do you mean your IP changes? Does the connection drop? If so, can you identify the a log like "connection dropped"?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

Yeah at 3am my connection drops for like 1 minute and the isp provides me a new public ip but after checking the logs this morning I am sure this is not the reason for the errors. At 00:00:25 where the first error occured I was still awake and programmed stuff so this can't be the fault of a connection drop.

Again nothing was controllable (this morning 07:30) per HA and the valves doesn't show temps and their state hope this log helps you

2020-02-25 00:00:25 WARNING (Thread-2) [meross.api] Failed request to API. Response was: {'apiStatus': 1402, 'sysStatus': 0, 'data': None, 'info': 'Mysql excution timeout', 'timeStamp': '2020-02-25 07:00:25'}
2020-02-25 00:15:41 ERROR (Thread-3) [meross.hub] Unknown/Unsupported namespace/command: Appliance.Hub.Mts100.ScheduleB
2020-02-25 00:18:01 ERROR (Thread-3) [meross.hub] Unknown/Unsupported namespace/command: Appliance.Hub.Mts100.ScheduleB
2020-02-25 01:25:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.kuchen_heizung is taking over 10 seconds

2020-02-25 02:17:48 WARNING (Thread-3) [custom_components.meross_cloud.common] Detected MerossCloud connection drop.Scheduling connection retry in 10.0 seconds.
2020-02-25 02:17:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.steckdosenleiste_lowboard_main_switch is taking over 10 seconds
2020-02-25 02:17:58 ERROR (SyncWorker_19) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7200c390> 
2020-02-25 02:17:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.badezimmer_heizung is taking over 10 seconds
2020-02-25 02:17:58 ERROR (Thread-6) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling
2020-02-25 02:18:08 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.steckdosenleiste_lowboard_always_on_1 is taking over 10 seconds
2020-02-25 02:18:08 ERROR (SyncWorker_4) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7200c390> 
2020-02-25 02:18:18 ERROR (SyncWorker_14) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function ValveEntityWrapper.update at 0x71bdaf18> 
2020-02-25 02:18:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.steckdosenleiste_lowboard_always_on_3 is taking over 10 seconds

2020-02-25 02:20:00 ERROR (Thread-18) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling
2020-02-25 02:20:20 ERROR (Thread-20) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling
2020-02-25 02:20:41 ERROR (Thread-22) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling

2020-02-25 04:24:48 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.wohnzimmer_heizung is taking over 10 seconds
2020-02-25 04:25:18 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.lager_raum_heizung is taking over 10 seconds
2020-02-25 04:25:39 WARNING (MainThread) [homeassistant.components.climate] Updating meross_cloud climate took longer than the scheduled update interval 0:01:00

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Well, it seems the connection to the Meross Cloud MQTT broker dropped at 2020-02-25 02:17:48.
Then, the module tries to reconnect persistently every 20 seconds (Connection to MerossCloud failed. Rescheduling). However it seems that it stops (no more log after 02:20:41) about that...

Do you have any other logs about connection drop?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

Sorry, i didn't posted the whole log cause it is over 2000 lines. According to fritz.box I got at 3:07 the new ip and my other raspi had no connection drop until 3:04 and it was at 3:07 again online.

here is the full log:
https://pastebin.com/cg6BMDQh

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Sorry, i didn't posted the whole log cause it is over 2000 lines. According to fritz.box I got at 3:07 the new ip and my other raspi had no connection drop until 3:04 and it was at 3:07 again online.

here is the full log:
https://pastebin.com/cg6BMDQh

Are you running version 20200223.2?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

Yeah, I installed it manually with custom components and now I double checked it, its 1:1 the same code like in git

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Hi @albertogeniola
Installed: 20200223.2

All was going well with my 2 x mss310 unti I updated HA to 0.106.0 today, after reboot of HA these errors started again. The log below is with both plugs enabled.

2020-02-27 22:20:06 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.
2020-02-27 22:20:06 ERROR (SyncWorker_9) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7f08659b7830>
2020-02-27 22:20:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.meross_bedroom_plug is taking over 10 seconds
2020-02-27 22:20:37 ERROR (SyncWorker_1) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7f08659c5680>

The log below is from having the lounge_plug disabled (both switch and power sensor).

2020-02-27 22:55:38 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.
2020-02-27 22:55:38 ERROR (SyncWorker_5) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7f8af7c52cb0>

This results in the bedroom_plug switch and power sensor being created and working ok and no further errors appear in the log. It seems the errors occur when the entities for the second plug need to be created.

The HA update also caused a "race condition" problem with the deCONZ integration, causing some sensors not to be created on HA startup on supposedly 'slower hardware'.

home-assistant/core@e695bb5

I'm happy to test and report back if it helps?

from meross-homeassistant.

Fulch avatar Fulch commented on July 18, 2024

Hi @albertogeniola

Have just removed integration, uninstalled component and rebooted HA. Re-installed component (20200223.2) , did the integration again followed by HA reboot and I now have NO errors in log with both plugs installed and reporting power values correctly!

I did notice yesterday that the Meross Android app reported scheduled server maintenance was occurring, maybe this was the cause of my problem and not the HA update to 0.106.1?

from meross-homeassistant.

ccorderod avatar ccorderod commented on July 18, 2024

Hi @albertogeniola I am running latest rev of the component, but there is still something wrong with it:
2020-03-07 08:04:07 ERROR (Thread-12559) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:04:27 ERROR (Thread-12562) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:04:48 ERROR (Thread-12564) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:05:08 ERROR (Thread-12566) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:05:28 ERROR (Thread-12568) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:05:49 ERROR (Thread-12570) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:05:49 ERROR (SyncWorker_15) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7efd88fec290> 2020-03-07 08:06:10 ERROR (Thread-12572) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:06:30 ERROR (Thread-12574) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:06:51 ERROR (Thread-12576) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:07:11 ERROR (Thread-12578) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:07:31 ERROR (Thread-12580) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:07:51 ERROR (Thread-12582) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:08:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627196236368] Client exceeded max pending messages [2]: 512 2020-03-07 08:08:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627196236368] Client exceeded max pending messages [2]: 512 2020-03-07 08:08:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627196236368] Client exceeded max pending messages [2]: 512 2020-03-07 08:08:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627196236368] Client exceeded max pending messages [2]: 512 2020-03-07 08:08:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627196236368] Client exceeded max pending messages [2]: 512 2020-03-07 08:08:12 ERROR (Thread-12584) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:08:33 ERROR (Thread-12586) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:08:54 ERROR (Thread-12588) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:09:14 ERROR (Thread-12590) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:09:34 ERROR (Thread-12592) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:09:55 ERROR (Thread-12594) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:10:15 ERROR (Thread-12596) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:10:36 ERROR (Thread-12598) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:10:56 ERROR (Thread-12600) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:11:16 ERROR (Thread-12602) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:11:37 ERROR (Thread-12604) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:11:57 ERROR (Thread-12606) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:12:17 ERROR (Thread-12611) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:12:37 ERROR (Thread-12614) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:12:57 ERROR (Thread-12616) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:13:18 ERROR (Thread-12618) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:13:18 ERROR (SyncWorker_16) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7efd8068f8c0> 2020-03-07 08:13:38 ERROR (Thread-12620) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:13:58 ERROR (Thread-12622) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:14:18 ERROR (Thread-12624) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:14:39 ERROR (Thread-12626) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:14:59 ERROR (Thread-12628) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:15:20 ERROR (Thread-12630) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:15:40 ERROR (Thread-12632) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:16:00 ERROR (Thread-12634) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:16:20 ERROR (Thread-12636) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:16:42 ERROR (Thread-12638) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:17:02 ERROR (Thread-12640) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:17:22 ERROR (SyncWorker_8) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7efd8068f8c0> 2020-03-07 08:17:22 ERROR (Thread-12642) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:17:43 ERROR (Thread-12644) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:18:03 ERROR (Thread-12646) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:18:23 ERROR (Thread-12648) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:18:44 ERROR (Thread-12650) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:19:04 ERROR (Thread-12652) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:19:25 ERROR (Thread-12654) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:19:46 ERROR (Thread-12656) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:20:07 ERROR (Thread-12661) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:20:27 ERROR (Thread-12664) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:20:47 ERROR (Thread-12666) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:21:07 ERROR (Thread-12668) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:21:27 ERROR (Thread-12670) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:21:47 ERROR (Thread-12672) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:22:08 ERROR (Thread-12674) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:22:29 ERROR (Thread-12676) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:22:49 ERROR (Thread-12678) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:23:10 ERROR (Thread-12680) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:23:30 ERROR (Thread-12682) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:23:50 ERROR (Thread-12684) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:24:11 ERROR (Thread-12686) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:24:32 ERROR (Thread-12688) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:24:52 ERROR (Thread-12690) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:25:12 ERROR (Thread-12692) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:25:33 ERROR (Thread-12694) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:25:53 ERROR (Thread-12696) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:26:13 ERROR (Thread-12698) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:26:34 ERROR (Thread-12700) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:26:54 ERROR (Thread-12702) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:27:15 ERROR (Thread-12704) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:27:35 ERROR (Thread-12706) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:27:56 ERROR (Thread-12708) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:27:56 ERROR (SyncWorker_18) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7efd88fec290> 2020-03-07 08:28:16 ERROR (Thread-12713) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:28:36 ERROR (Thread-12716) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:28:56 ERROR (Thread-12718) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:29:16 ERROR (Thread-12720) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:29:36 ERROR (Thread-12722) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:29:57 ERROR (Thread-12724) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:30:17 ERROR (SyncWorker_0) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7efd8068f8c0> 2020-03-07 08:30:17 ERROR (Thread-12726) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:30:17 ERROR (SyncWorker_5) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7efd88fec290> 2020-03-07 08:30:37 ERROR (Thread-12728) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:30:57 ERROR (Thread-12730) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:31:17 ERROR (Thread-12732) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:31:38 ERROR (Thread-12734) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:31:59 ERROR (Thread-12736) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:32:19 ERROR (Thread-12738) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:32:39 ERROR (Thread-12740) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:32:59 ERROR (Thread-12742) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:32:59 ERROR (SyncWorker_17) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7efd88fec290> 2020-03-07 08:33:19 ERROR (Thread-12744) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:33:40 ERROR (Thread-12746) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:34:01 ERROR (Thread-12748) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:34:22 ERROR (Thread-12750) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:34:42 ERROR (Thread-12752) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:35:03 ERROR (Thread-12785) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:35:24 ERROR (Thread-12851) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:35:45 ERROR (Thread-12853) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:36:05 ERROR (Thread-12857) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:36:27 ERROR (Thread-12861) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:36:47 ERROR (Thread-12863) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:36:47 ERROR (SyncWorker_2) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7efd88fec290> 2020-03-07 08:37:07 ERROR (Thread-12865) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:37:27 ERROR (Thread-12867) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:37:48 ERROR (Thread-12869) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:38:08 ERROR (Thread-12871) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:38:29 ERROR (Thread-12873) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:38:49 ERROR (Thread-12875) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:39:09 ERROR (Thread-12877) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:39:30 ERROR (Thread-12879) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:39:50 ERROR (Thread-12881) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:40:10 ERROR (Thread-12883) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:40:31 ERROR (Thread-12885) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:40:51 ERROR (Thread-12887) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:41:11 ERROR (Thread-12889) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:41:32 ERROR (Thread-12891) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:41:53 ERROR (Thread-12893) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:42:13 ERROR (Thread-12895) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:42:33 ERROR (Thread-12897) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:42:54 ERROR (Thread-12899) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:43:15 ERROR (Thread-12901) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:43:15 ERROR (SyncWorker_6) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x7efd88fec290> 2020-03-07 08:43:36 ERROR (Thread-12903) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:43:56 ERROR (Thread-12905) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:44:16 ERROR (Thread-12910) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:44:36 ERROR (Thread-12913) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:44:57 ERROR (Thread-12915) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:45:18 ERROR (Thread-12917) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:45:39 ERROR (Thread-12919) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:45:59 ERROR (Thread-12921) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:46:19 ERROR (Thread-12923) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:46:40 ERROR (Thread-12925) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:47:01 ERROR (Thread-12927) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:47:21 ERROR (Thread-12929) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:47:42 ERROR (Thread-12931) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:48:02 ERROR (Thread-12933) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:48:23 ERROR (Thread-12935) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:48:43 ERROR (Thread-12937) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:49:04 ERROR (Thread-12939) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:49:25 ERROR (Thread-12941) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:49:45 ERROR (Thread-12943) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:50:06 ERROR (Thread-12945) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:50:26 ERROR (Thread-12947) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:50:47 ERROR (Thread-12949) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:51:08 ERROR (Thread-12951) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:51:28 ERROR (Thread-12953) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:51:49 ERROR (Thread-12955) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:52:09 ERROR (Thread-12960) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:52:29 ERROR (Thread-12963) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:52:49 ERROR (Thread-12965) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:53:10 ERROR (Thread-12967) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:53:30 ERROR (Thread-12969) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:53:50 ERROR (Thread-12971) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:54:10 ERROR (Thread-12973) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:54:30 ERROR (SyncWorker_3) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7efd8068f8c0> 2020-03-07 08:54:30 ERROR (Thread-12975) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:54:51 ERROR (Thread-12977) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:55:11 ERROR (Thread-12979) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:55:31 ERROR (Thread-12981) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:55:51 ERROR (Thread-12983) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:56:12 ERROR (Thread-12985) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:56:33 ERROR (Thread-12987) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:56:53 ERROR (Thread-12989) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:57:13 ERROR (Thread-12991) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:57:33 ERROR (Thread-12993) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:57:53 ERROR (Thread-12995) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:58:14 ERROR (Thread-12997) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:58:35 ERROR (Thread-12999) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:58:55 ERROR (Thread-13001) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:59:15 ERROR (Thread-13003) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:59:35 ERROR (Thread-13005) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 08:59:55 ERROR (Thread-13007) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:00:16 ERROR (Thread-13012) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:00:36 ERROR (Thread-13015) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:00:57 ERROR (Thread-13017) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:01:18 ERROR (Thread-13019) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:01:38 ERROR (Thread-13021) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:01:58 ERROR (Thread-13023) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:02:19 ERROR (Thread-13025) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:02:39 ERROR (Thread-13027) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:02:59 ERROR (Thread-13029) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:03:20 ERROR (Thread-13031) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:03:41 ERROR (Thread-13033) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:04:02 ERROR (Thread-13035) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:04:22 ERROR (Thread-13037) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:04:22 ERROR (MainThread) [homeassistant.components.hue.light] Error fetching group data: 2020-03-07 09:04:42 ERROR (Thread-13039) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:05:02 ERROR (Thread-13041) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:05:22 ERROR (Thread-13043) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:05:44 ERROR (Thread-13045) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:06:04 ERROR (Thread-13047) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:06:25 ERROR (Thread-13049) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:06:45 ERROR (Thread-13051) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:07:07 ERROR (Thread-13053) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:07:27 ERROR (Thread-13055) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:07:47 ERROR (Thread-13057) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:08:07 ERROR (Thread-13062) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:08:27 ERROR (Thread-13065) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:08:47 ERROR (Thread-13067) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:09:08 ERROR (Thread-13069) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:09:28 ERROR (Thread-13071) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:09:48 ERROR (Thread-13073) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:10:08 ERROR (Thread-13075) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:10:28 ERROR (Thread-13077) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:10:50 ERROR (Thread-13079) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:11:10 ERROR (Thread-13081) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:11:30 ERROR (SyncWorker_17) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7efd8068f8c0> 2020-03-07 09:11:30 ERROR (Thread-13083) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:11:50 ERROR (Thread-13085) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:11:53 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627212537616] Client exceeded max pending messages [2]: 512 2020-03-07 09:11:53 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627212537616] Client exceeded max pending messages [2]: 512 2020-03-07 09:11:53 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627212537616] Client exceeded max pending messages [2]: 512 2020-03-07 09:11:53 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627212537616] Client exceeded max pending messages [2]: 512 2020-03-07 09:11:53 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139627212537616] Client exceeded max pending messages [2]: 512 2020-03-07 09:12:11 ERROR (Thread-13087) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:12:31 ERROR (Thread-13089) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:12:51 ERROR (Thread-13091) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:13:11 ERROR (Thread-13093) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:13:31 ERROR (Thread-13095) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:13:52 ERROR (Thread-13097) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:14:12 ERROR (Thread-13099) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:14:32 ERROR (Thread-13101) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:14:52 ERROR (Thread-13103) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:15:13 ERROR (Thread-13105) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:15:33 ERROR (Thread-13107) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:15:54 ERROR (Thread-13109) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:16:14 ERROR (Thread-13114) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:16:34 ERROR (Thread-13117) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:16:55 ERROR (Thread-13119) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:17:15 ERROR (Thread-13121) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:17:35 ERROR (Thread-13123) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:17:56 ERROR (Thread-13125) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:18:16 ERROR (Thread-13127) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:18:37 ERROR (Thread-13129) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:18:58 ERROR (Thread-13131) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:19:19 ERROR (Thread-13133) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:19:40 ERROR (Thread-13135) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:20:00 ERROR (Thread-13137) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:20:20 ERROR (Thread-13139) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:20:41 ERROR (Thread-13141) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:21:01 ERROR (Thread-13143) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:21:21 ERROR (Thread-13145) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:21:43 ERROR (Thread-13147) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:22:03 ERROR (Thread-13149) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:22:23 ERROR (Thread-13151) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:22:43 ERROR (Thread-13153) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:23:04 ERROR (Thread-13155) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:23:24 ERROR (Thread-13157) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:23:45 ERROR (Thread-13159) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:24:05 ERROR (Thread-13163) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:24:26 ERROR (Thread-13167) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:24:46 ERROR (Thread-13169) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:25:07 ERROR (Thread-13171) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:25:28 ERROR (Thread-13173) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:25:48 ERROR (Thread-13175) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:26:09 ERROR (Thread-13177) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:26:29 ERROR (Thread-13179) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:26:49 ERROR (Thread-13181) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:27:09 ERROR (Thread-13183) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:27:29 ERROR (Thread-13185) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:27:49 ERROR (Thread-13187) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:28:10 ERROR (Thread-13189) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:28:31 ERROR (Thread-13191) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:28:51 ERROR (Thread-13193) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:29:11 ERROR (Thread-13195) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:29:31 ERROR (Thread-13197) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:29:51 ERROR (Thread-13199) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:30:12 ERROR (Thread-13201) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:30:32 ERROR (Thread-13203) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:30:53 ERROR (Thread-13205) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:31:13 ERROR (Thread-13207) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:31:33 ERROR (SyncWorker_15) [custom_components.meross_cloud.common] A timeout exception occurred while executing function <function PowerSensorWrapper.update at 0x7efd8068f8c0> 2020-03-07 09:31:34 ERROR (Thread-13209) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:31:54 ERROR (Thread-13211) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:32:14 ERROR (Thread-13216) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:32:35 ERROR (Thread-13219) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:32:55 ERROR (Thread-13221) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:33:15 ERROR (Thread-13223) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:33:35 ERROR (Thread-13225) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:33:55 ERROR (Thread-13227) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:34:16 ERROR (Thread-13229) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:34:36 ERROR (Thread-13231) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:34:56 ERROR (Thread-13233) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:35:17 ERROR (Thread-13235) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:35:37 ERROR (Thread-13237) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:35:58 ERROR (Thread-13239) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:36:18 ERROR (Thread-13241) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling 2020-03-07 09:36:38 ERROR (Thread-13243) [custom_components.meross_cloud.common] Connection to MerossCloud failed. Rescheduling

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

I found a bug that might be the cause of this behavior. Would you please update to the latest release of this component and test it again?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

After updating to the newest version I get other errors - and again I can't controll anything until I reboot home assistant:

Logger: custom_components.meross_cloud.common
First occured: 3:18:18 AM (2066 occurences)
Last logged: 2:47:22 PM

Connection to MerossCloud failed. Rescheduling
Logger: custom_components.meross_cloud.common
First occured: 3:18:38 AM (2065 occurences)
Last logged: 2:47:22 PM

Connection to MerossCloud failed.
Traceback (most recent call last):
  File "/config/custom_components/meross_cloud/common.py", line 172, in __retry_connection
    self._manager.stop()
  File "/usr/local/lib/python3.7/site-packages/meross_iot/manager.py", line 60, in stop
    self._cloud_client.close()
  File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 156, in close
    self.connection_status.wait_for_status(ClientStatus.CONNECTION_DROPPED)
  File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/connection.py", line 70, in wait_for_status
    (expected_status, self._status))
meross_iot.cloud.exceptions.StatusTimeoutException.StatusTimeoutException: Error while waiting for status ClientStatus.CONNECTION_DROPPED. Last status is: ClientStatus.SUBSCRIBED
Logger: homeassistant.components.climate
Integration: Climate (documentation, issues)
First occured: 3:19:39 AM (452 occurences)
Last logged: 2:46:49 PM

Updating meross_cloud climate took longer than the scheduled update interval 0:01:00

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Oh damn, my bad. I forgot to release the updates I've done on the low-level library. I apologize.

Would you please try again with the version I've just released (20200308.1)? Your feedback would be very appreciated.

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

I still get the error but today was the first night where it was still working after waking up! Appreciate your work! :) 👍 🥇

It seems to occure every ~30 minutes

Logger: custom_components.meross_cloud.common
First occured: March 9, 2020, 8:18:25 PM (101 occurences)
Last logged: 2:07:26 PM

A timeout exception occurred while executing function <function SwitchEntityWrapper.update at 0x6dcf5a98>

https://pastebin.com/is7ZeXMw

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Hi @maltemosler ,
I see errors are still occurring even though more raraly(this is somehow expected for the Thermostat Valve as I still need to optimize something). Question is: are the rest of the devices working after an error occurs? Or you still need to reboot HA after the error occurs?

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

@ccorderod , can you perform the same test to double check?

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

I didn't reboot HA since 2 days and so far everything is still working! <3 👍

from meross-homeassistant.

deemonrider avatar deemonrider commented on July 18, 2024

Tonight it died after 4 days of working :/ Needed to reboot

https://pastebin.com/kynjKa0y

from meross-homeassistant.

Biliskn3r avatar Biliskn3r commented on July 18, 2024

Hello. Was using Meross fine until 4am last night (all my thermostats lost connection so the graph stopped from that time onwards). Have uninstalled, reboot, reinstalled etc. but no go. I saw in HACS it was updated today 9 hours ago (I installed this component manually) so went the route of uninstall reboot then reinstall via HACs but still same issue; any ideas? Happy to send logs and troubleshoot etc. Thanks for your work btw, been very happy with my meross thermostats and HA integration :)

(this immediately appears when setting up integration - meross cloud hasn't started blocking this has it? gut feel is the authentication is failing (but my android app works OK))

2020-04-08 18:39:08 ERROR (MainThread) [homeassistant.components.climate] Error while setting up meross_cloud platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/meross_cloud/climate.py", line 348, in async_setup_entry
thermostat_devices = await hass.async_add_executor_job(sync_logic)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/meross_cloud/climate.py", line 342, in sync_logic
w = ValveEntityWrapper(device=valve)
File "/config/custom_components/meross_cloud/climate.py", line 43, in init
super().init(device)
File "/config/custom_components/meross_cloud/common.py", line 93, in init
self._is_online = self._device.online
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/subdevices/generic.py", line 45, in online
self._sync_status()
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/subdevices/generic.py", line 57, in _sync_status
res = self._hub.execute_command('GET', status_token, payload)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 143, 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 315, 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

from meross-homeassistant.

albertogeniola avatar albertogeniola commented on July 18, 2024

Hi all,

I think the latest version of this plugin should finally mitigate this issue. Would you please give it a try and report back if that's working as expected?

from meross-homeassistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.