2021-07-15 21:40:53 ERROR (MainThread) [homeassistant.components.climate] electrasmart: Error on device update! Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 175, in _post_with_sid_check return self._post(cmd, data, os_details, False) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 181, in _post return ElectraAPI.post(cmd, data, self._get_sid(), os_details, is_second_try) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 52, in post raise cls.RenewSidAndRetryException(j) electrasmart.client.ElectraAPI.RenewSidAndRetryException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 149, in renew_sid self.sid = get_shared_sid(self.imei, self.token) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 115, in get_shared_sid ElectraAPI.SID = generate_sid(imei, token) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 101, in generate_sid result = ElectraAPI.post( File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 52, in post raise cls.RenewSidAndRetryException(j) electrasmart.client.ElectraAPI.RenewSidAndRetryException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 432, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 601, in async_device_update await task File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/electrasmart/climate.py", line 309, in update self.ac.update_status() File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 157, in update_status self._status = self._fetch_status() File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 166, in _fetch_status r = self._post_with_sid_check( File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 177, in _post_with_sid_check self.renew_sid() File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 154, in renew_sid raise Exception(f"Failed to renew sid: {exc.res_desc}") Exception: Failed to renew sid: Intruder lockout
Hi,
I have a new issue now with the plugin
2021-07-15 21:40:53 ERROR (MainThread) [homeassistant.components.climate] electrasmart: Error on device update! Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 175, in _post_with_sid_check return self._post(cmd, data, os_details, False) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 181, in _post return ElectraAPI.post(cmd, data, self._get_sid(), os_details, is_second_try) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 52, in post raise cls.RenewSidAndRetryException(j) electrasmart.client.ElectraAPI.RenewSidAndRetryException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 149, in renew_sid self.sid = get_shared_sid(self.imei, self.token) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 115, in get_shared_sid ElectraAPI.SID = generate_sid(imei, token) File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 101, in generate_sid result = ElectraAPI.post( File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 52, in post raise cls.RenewSidAndRetryException(j) electrasmart.client.ElectraAPI.RenewSidAndRetryException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 432, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 601, in async_device_update await task File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/electrasmart/climate.py", line 309, in update self.ac.update_status() File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 157, in update_status self._status = self._fetch_status() File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 166, in _fetch_status r = self._post_with_sid_check( File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 177, in _post_with_sid_check self.renew_sid() File "/usr/local/lib/python3.9/site-packages/electrasmart/client.py", line 154, in renew_sid raise Exception(f"Failed to renew sid: {exc.res_desc}") Exception: Failed to renew sid: Intruder lockout