diff --git a/.version b/.version index 111db30..8111d76 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.4.5.10rc1 \ No newline at end of file +0.4.6.0rc0 \ No newline at end of file diff --git a/README.md b/README.md index ef54f4f..b40c1a8 100644 --- a/README.md +++ b/README.md @@ -190,12 +190,18 @@ Anyway, feel free to contribute via donations!

## Changelog +#### 0.4.6.0rc0 +- Switched the login API to the new signIn path as old /Auth/login is being deprecated +- Improved CloudCreds to carry also API and MQTT endpoints +- Handled auto-retry in case of wrong endpoint being used for login +- Added mac-address attribute to BaseDevice class + +
+ Older #### 0.4.5.9 - Improve meross_sniffer utility: add support to collect messages spoofing the hardware device on meross cloud. - Allow string namespace value for execute_command within manager. -
- Older #### 0.4.5.7 - Fix regression introduced with the latest refactor: missing properties on SubDevices. diff --git a/meross_iot/http_api.py b/meross_iot/http_api.py index abbbded..0e321e5 100644 --- a/meross_iot/http_api.py +++ b/meross_iot/http_api.py @@ -232,6 +232,8 @@ async def async_login(cls, _LOGGER.error(f"Login API redirected to different region: {e.api_domain}. Login will be re-attempted") return await MerossHttpClient.async_login(email=email, password=password, creds_env_var_name=creds_env_var_name, api_base_url=e.api_domain,http_proxy=http_proxy,ua_header=ua_header,app_type=app_type,app_version=app_version,log_identifier=log_identifier,country_code=country_code,agree_to_terms=agree_to_terms,mfa_code=mfa_code,stats_counter=stats_counter,*args, **kwargs) + _LOGGER.info(f"Login successful against {api_base_url}") + creds = MerossCloudCreds( token=response_data["token"], key=response_data["key"],