meross-homeassistant: ERROR (SyncWorker_7) [meross.connection] The underlying mqtt client is not connected after 0.110.4 Update
The following error happens on all my meross devices after I updated to 0.110.4
2020-05-31 09:04:21 ERROR (SyncWorker_7) [meross.connection] The underlying mqtt client is not connected.
2020-05-31 09:04:21 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.garden_lights 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 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
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/switch.py", line 44, in update
self._device.get_status(force_status_refresh=True)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/devices/power_plugs.py", line 134, 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 88, in _get_status_impl
data = self.get_sys_data()['all']
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 119, in get_sys_data
return self.execute_command("GET", ALL, {}, online_check=False)
File "/usr/local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 116, 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 275, in execute_cmd
raise ConnectionError()
ConnectionError
Once I restart HA it works for a little while then the errors keep coming up
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (2 by maintainers)
Hi, yes it is. I’m currently working on the low level python library this plugin is based on: once done, then I will move to refactor this plugin. Just be patient and stay tuned!