From 549190292171840115f58eb9a76f8c6f7226b973 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 10 Jul 2024 07:42:52 +0000 Subject: [PATCH] Update documentation --- api-reference/creds.html | 2 +- api-reference/http.html | 8 ++++---- searchindex.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api-reference/creds.html b/api-reference/creds.html index 43dd9d4..8bd2927 100644 --- a/api-reference/creds.html +++ b/api-reference/creds.html @@ -121,7 +121,7 @@

MerossCloudCredentials

-class meross_iot.model.credentials.MerossCloudCreds(token: str, key: str, user_id: str, user_email: str, issued_on: datetime | str, domain: str, mqtt_domain: str, mfa_lock_expire: int)
+class meross_iot.model.credentials.MerossCloudCreds(token: str, key: str, user_id: str, user_email: str, issued_on: datetime | str, domain: str, mqtt_domain: str)

Utility class that holds Meross Cloud credentials for a given user.

diff --git a/api-reference/http.html b/api-reference/http.html index dbbe919..05ab426 100644 --- a/api-reference/http.html +++ b/api-reference/http.html @@ -127,12 +127,12 @@

HTTP Client

-class meross_iot.http_api.MerossHttpClient(cloud_credentials: MerossCloudCreds, http_proxy: str | None = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = 'c0d4cebb50bda96a383af2251c8b418a5fa328-d33d-40be-a9d5-14d02aefc644')
+class meross_iot.http_api.MerossHttpClient(cloud_credentials: MerossCloudCreds, http_proxy: str | None = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = '221b9331f68cc670e918bd05efc9eb5453a080-a282-4e8a-8654-cbca658b7da6')

Utility class for dealing with Meross HTTP API. This class simplifies the usage of the Meross HTTP API providing login, logout and device listing API.

-async classmethod async_from_cloud_creds(creds: MerossCloudCreds, http_proxy: str | None = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = 'c0d4cebb50bda96a383af2251c8b418a5fa328-d33d-40be-a9d5-14d02aefc644', *args, **kwargs) MerossHttpClient
+async classmethod async_from_cloud_creds(creds: MerossCloudCreds, http_proxy: str | None = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = '221b9331f68cc670e918bd05efc9eb5453a080-a282-4e8a-8654-cbca658b7da6', *args, **kwargs) MerossHttpClient

Build a MerossIot API client using the provided cloud-credentials object. :param creds: CloudCredentials object to build the client from :param http_proxy: HTTP proxy to use. When none, no proxy will be used. Defaults to None. @@ -145,7 +145,7 @@

-async classmethod async_from_user_password(api_base_url: str, email: str, password: str, http_proxy: str = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = 'c0d4cebb50bda96a383af2251c8b418a5fa328-d33d-40be-a9d5-14d02aefc644', auto_retry_on_bad_domain: bool = True, mfa_code: string = None, *args, **kwargs) MerossHttpClient
+async classmethod async_from_user_password(api_base_url: str, email: str, password: str, http_proxy: str = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = '221b9331f68cc670e918bd05efc9eb5453a080-a282-4e8a-8654-cbca658b7da6', auto_retry_on_bad_domain: bool = True, mfa_code: string = None, *args, **kwargs) MerossHttpClient

Builds a MerossHttpClient using username/password combination. In any case, the login will generate a token, which might expire at any time.

@@ -209,7 +209,7 @@
-async classmethod async_login(api_base_url: str, email: str, password: str, creds_env_var_name: str = '__MEROSS_CREDS', http_proxy: str | None = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = 'c0d4cebb50bda96a383af2251c8b418a5fa328-d33d-40be-a9d5-14d02aefc644', country_code: str = 'us', agree_to_terms: int = 0, mfa_code: str | None = None, stats_counter: HttpStatsCounter | None = None, auto_retry_on_bad_domain: bool = True, *args, **kwargs) MerossCloudCreds
+async classmethod async_login(api_base_url: str, email: str, password: str, creds_env_var_name: str = '__MEROSS_CREDS', http_proxy: str | None = None, ua_header: str = 'MerossIOT/0.0.0', app_type: str = 'MerossIOT', app_version: str = '0.0.0', log_identifier: str = '221b9331f68cc670e918bd05efc9eb5453a080-a282-4e8a-8654-cbca658b7da6', country_code: str = 'us', agree_to_terms: int = 0, mfa_code: str | None = None, stats_counter: HttpStatsCounter | None = None, auto_retry_on_bad_domain: bool = True, *args, **kwargs) MerossCloudCreds

Performs the login against the Meross HTTP endpoint. This api returns a MerossCloudCreds object, which contains the API endpoint, the mqtt endpoint and the authorization token to use the various API/MQTT services. diff --git a/searchindex.js b/searchindex.js index 34fa2b2..ff0895f 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["advanced-topics", "api-reference/controller/device/base", "api-reference/controller/device/channel", "api-reference/controller/device/generic", "api-reference/controller/device/hub", "api-reference/controller/mixins/consumption", "api-reference/controller/mixins/cover", "api-reference/controller/mixins/diffuserlight", "api-reference/controller/mixins/diffuserspray", "api-reference/controller/mixins/dnd", "api-reference/controller/mixins/electricity", "api-reference/controller/mixins/hub", "api-reference/controller/mixins/light", "api-reference/controller/mixins/rollershutter", "api-reference/controller/mixins/runtime", "api-reference/controller/mixins/spray", "api-reference/controller/mixins/system", "api-reference/controller/mixins/thermostat", "api-reference/controller/mixins/toggle", "api-reference/controller/subdevice/sensor", "api-reference/controller/subdevice/valve", "api-reference/creds", "api-reference/http", "api-reference/index", "api-reference/manager", "common-gotchas", "index", "installation", "meross-protocol", "quick-start"], "filenames": ["advanced-topics.rst", "api-reference/controller/device/base.rst", "api-reference/controller/device/channel.rst", "api-reference/controller/device/generic.rst", "api-reference/controller/device/hub.rst", "api-reference/controller/mixins/consumption.rst", "api-reference/controller/mixins/cover.rst", "api-reference/controller/mixins/diffuserlight.rst", "api-reference/controller/mixins/diffuserspray.rst", "api-reference/controller/mixins/dnd.rst", "api-reference/controller/mixins/electricity.rst", "api-reference/controller/mixins/hub.rst", "api-reference/controller/mixins/light.rst", "api-reference/controller/mixins/rollershutter.rst", "api-reference/controller/mixins/runtime.rst", "api-reference/controller/mixins/spray.rst", "api-reference/controller/mixins/system.rst", "api-reference/controller/mixins/thermostat.rst", "api-reference/controller/mixins/toggle.rst", "api-reference/controller/subdevice/sensor.rst", "api-reference/controller/subdevice/valve.rst", "api-reference/creds.rst", "api-reference/http.rst", "api-reference/index.rst", "api-reference/manager.rst", "common-gotchas.rst", "index.rst", "installation.rst", "meross-protocol.rst", "quick-start.rst"], "titles": ["Advanced topics", "BaseDevice", "ChannelInfo", "GenericSubDevice", "HubDevice", "ConsumptionXMixin", "GarageOpenerMixin", "DiffuserLightMixin", "DiffuserSprayMixin", "DNDMixin", "ElectricityMixin", "HubMixn", "LightMixin", "RollerShutterMixin", "System`RuntimeMixin", "SprayMixin", "SystemAllMixin", "ThermostatMixin", "ToggleXMixin", "Ms100Sensor", "Mts100v3Valve", "MerossCloudCredentials", "HTTP Client", "API Reference", "MerossManager", "Common gotchas", "Welcome to MerossIot Library\u2019s documentation!", "Installation", "Meross Protocol Inspection", "Quick start"], "terms": {"The": [0, 6, 10, 13, 17, 22, 25, 26, 28, 29], "current": [0, 1, 3, 6, 7, 8, 10, 12, 13, 17, 21, 25, 29], "librari": [0, 1, 3, 22, 25, 27, 28, 29], "allow": [0, 1, 28, 29], "develop": [0, 1, 25, 26, 28, 29], "catch": 0, "react": [0, 1], "event": [0, 1, 25, 28], "occur": [0, 22, 25], "specif": [0, 1, 22, 28, 29], "basedevic": [0, 23, 26], "class": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 25, 29], "expos": [0, 1, 29], "register_push_notification_handler_coroutin": [0, 1], "method": [0, 1, 9, 10, 14, 22, 25, 28, 29], "which": [0, 6, 13, 22, 25, 26, 28, 29], "regist": [0, 1, 5, 29], "an": [0, 1, 12, 22, 25, 28], "async": [0, 1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 18, 22, 26, 29], "coroutin": [0, 1], "execut": [0, 1, 28], "when": [0, 1, 7, 9, 12, 17, 18, 22, 25, 29], "i": [0, 1, 6, 7, 9, 10, 12, 13, 17, 18, 22, 25, 26, 28, 29], "receiv": [0, 1, 25, 28], "signatur": [0, 1, 28, 29], "must": [0, 1, 12, 25, 28], "match": [0, 28], "follow": [0, 27, 28, 29], "omissi": 0, "def": [0, 29], "coro_nam": 0, "namespac": [0, 1, 28], "dict": [0, 1, 5, 14, 17], "device_internal_id": [0, 1], "str": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22], "todo": 0, "do": [0, 9, 22, 25, 28, 29], "someth": 0, "pass": [0, 17], "handler": [0, 1], "can": [0, 1, 12, 25, 27, 28, 29], "de": [0, 28], "via": [0, 1, 12, 28, 29], "unregister_push_notification_handler_coroutin": [0, 1], "take": [0, 1, 26], "input": [0, 28], "unregist": [0, 1], "similarli": 0, "possibl": [0, 22], "intercept": 0, "all": [0, 28, 29], "merossmanag": [0, 23, 25, 26, 29], "instanc": [0, 21, 22, 25], "thi": [0, 1, 3, 5, 7, 8, 9, 10, 12, 14, 18, 22, 25, 27, 28, 29], "done": [0, 22], "us": [0, 1, 3, 9, 12, 14, 22, 25, 28, 29], "definit": 0, "evt_coro": 0, "arg": [0, 1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 22], "kwarg": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 22], "failur": 0, "compli": 0, "given": [0, 6, 12, 13, 21, 22], "prevent": [0, 25], "from": [0, 5, 7, 8, 10, 12, 17, 21, 22, 25, 27, 28, 29], "Be": [0, 22], "sure": [0, 22, 25, 27], "stick": 0, "exact": [0, 29], "again": [0, 25, 29], "invok": [0, 1, 22, 25, 29], "For": [0, 25, 26, 29], "long": 0, "run": [0, 1, 25], "deamon": 0, "like": [0, 29], "script": [0, 25, 29], "you": [0, 1, 9, 10, 14, 22, 25, 26, 27, 29], "should": [0, 1, 9, 10, 22, 25, 26, 28, 29], "limit": [0, 1, 25, 26], "number": [0, 25, 29], "notificaiton": 0, "thei": [0, 29], "ar": [0, 1, 22, 25, 26, 28, 29], "more": [0, 22, 28, 29], "need": [0, 1, 6, 9, 13, 25, 29], "reli": [0, 10, 26, 29], "standard": 0, "python": [0, 25, 26, 27], "": [0, 1, 3, 10, 12, 18, 25, 29], "modul": [0, 26], "It": [0, 1, 3, 22, 25, 28, 29], "control": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 26], "verbos": 0, "modifi": 0, "sever": 0, "meross_iot": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 29], "level": 0, "shown": 0, "exampl": [0, 29], "import": [0, 26, 28, 29], "asyncio": [0, 25, 26, 29], "o": [0, 29], "http_api": [0, 22, 29], "merosshttpcli": [0, 22, 23, 25, 29], "manag": [0, 1, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 29], "meross_root_logg": 0, "getlogg": 0, "setlevel": 0, "warn": [0, 17, 25], "That": [0, 29], "code": [0, 22, 27, 29], "snippet": [0, 29], "rais": 0, "so": [0, 1, 10, 25, 26, 28, 29], "debug": 0, "info": [0, 7, 8, 10, 12, 14, 29], "messag": [0, 1, 9, 25, 28], "ani": [0, 1, 10, 22, 25, 26, 28], "longer": 0, "hold": [0, 21, 28], "keep": [0, 22, 25, 29], "track": [0, 29], "discov": [0, 25, 29], "sometim": 0, "might": [0, 1, 14, 22, 25, 26, 29], "dump": 0, "contain": [0, 7, 12, 14, 22], "reload": 0, "necessari": 0, "usag": [0, 22], "file": 0, "reduc": 0, "call": [0, 10, 22, 25, 29], "meross": [0, 1, 3, 14, 21, 22, 25, 26, 27, 29], "cloud": [0, 1, 21, 22, 25, 28], "avoid": [0, 9, 10, 25, 29], "discoveri": 0, "approach": [0, 25, 26], "explain": 0, "py": 0, "In": [0, 22, 25, 26, 28, 29], "particular": 0, "export": 0, "dump_device_registri": 0, "init": 0, "issu": [0, 9, 22, 27, 29], "http_client": [0, 29], "http_api_cli": [0, 29], "await": [0, 1, 25, 29], "async_init": [0, 29], "async_device_discoveri": [0, 29], "test": 0, "At": [0, 25, 28], "same": [0, 22], "time": [0, 14, 22, 25, 26, 28, 29], "load_devices_from_dump": 0, "load": 0, "we": [0, 22, 25, 28, 29], "don": 0, "t": [0, 28], "print": [0, 29], "continu": 0, "releas": [0, 25], "new": [0, 25, 28, 29], "smart": [0, 18, 29], "market": 0, "ha": [0, 1, 25, 28, 29], "been": [0, 1, 28, 29], "order": [0, 25, 28, 29], "automat": [0, 1, 25], "support": [0, 1, 12, 18, 29], "most": [0, 1, 25, 26, 28, 29], "basic": [0, 1, 3, 26, 28, 29], "function": [0, 1, 29], "howev": [0, 25, 28, 29], "also": [0, 28, 29], "featur": [0, 26], "mai": [0, 10, 25, 28], "aris": 0, "case": [0, 22, 25, 26, 28, 29], "collect": 0, "low": 0, "snif": [0, 28], "tool": 0, "meross_sniff": 0, "listen": [0, 25], "command": [0, 1, 6, 7, 8, 12, 13, 25, 26, 27, 29], "app": [0, 22, 25, 26], "send": [0, 6, 13, 22, 25, 28, 29], "its": [0, 3, 9, 28], "respons": [0, 22, 28, 29], "wai": [0, 25, 26], "one": [0, 7, 12, 22, 28, 29], "sniffer": 0, "exchang": 0, "pretti": 0, "easi": 0, "program": [0, 1, 26], "select": 0, "want": [0, 14, 26, 27], "start": [0, 25, 26, 28], "plai": [0, 29], "devid": 0, "onc": [0, 28, 29], "have": [0, 1, 7, 12, 26, 27, 28, 29], "interest": [0, 18], "wait": [0, 29], "bit": [0, 26, 29], "press": [0, 28, 29], "enter": 0, "stop": [0, 13, 29], "zip": 0, "folder": 0, "name": [0, 1, 2, 28, 29], "upload": 0, "github": [0, 27], "implement": [0, 18, 25, 29], "even": [0, 26, 28, 29], "though": 0, "util": [0, 21, 22], "design": 0, "gather": [0, 10, 14], "user": [0, 1, 21, 22, 25, 28, 29], "credenti": [0, 21, 22, 28], "make": [0, 25, 27, 28], "doe": [0, 25, 26, 28, 29], "sensit": 0, "over": [0, 1], "network": [0, 1, 26, 28], "reason": [0, 25, 26, 29], "alwai": [0, 25], "chang": [0, 1, 8, 14, 25, 26, 29], "your": [0, 1, 22, 25, 29], "password": [0, 22, 28, 29], "befor": [0, 25, 28, 29], "strongli": 0, "advis": 0, "creat": [0, 29], "ad": 0, "hoc": 0, "account": [0, 22, 25, 26, 28, 29], "matter": 0, "decid": 0, "dedic": 0, "remov": [0, 14, 25], "origin": 0, "add": [0, 14, 25], "perform": [0, 22, 25, 26, 28], "altern": 0, "ON": [0, 7, 12, 18], "onlin": [0, 1, 3, 29], "merosssnif": 0, "report": [0, 28, 29], "statu": [0, 1, 3, 6, 13, 18, 25, 29], "yet": 0, "merossiot": [0, 22, 27], "wa": [0, 26, 28], "gener": [0, 1, 7, 12, 22, 28, 29], "directori": 0, "where": [0, 10, 12, 28], "devic": [1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 14, 17, 18, 22, 25, 26], "device_uuid": [1, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 28], "A": [1, 28], "represent": 1, "character": 1, "some": [1, 3, 25, 26, 29], "inform": [1, 10, 14, 26, 28, 29], "defin": [1, 7], "type": [1, 22, 28, 29], "e": [1, 25, 29], "model": [1, 21, 29], "firmwar": [1, 28], "hardwar": [1, 26, 28], "version": [1, 22], "intern": [1, 3, 17], "identifi": [1, 3, 22, 28], "assign": 1, "async_upd": [1, 3, 25, 29], "none": [1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 22], "forc": [1, 29], "full": [1, 3, 22], "data": [1, 5, 10, 17, 22, 26, 29], "updat": [1, 3, 17, 25, 28, 29], "If": [1, 14, 22, 25, 26, 27, 28], "bandwidth": 1, "embed": 1, "try": [1, 28], "onli": [1, 7, 12, 27, 28, 29], "strictli": [1, 9], "paramet": [1, 5, 6, 7, 10, 12, 13, 17, 18, 22, 28], "upon": 1, "push": [1, 25, 26], "notif": [1, 25, 26], "mqtt": [1, 9, 22, 25, 26, 29], "return": [1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 21, 22], "properti": [1, 3, 14, 17, 22, 29], "channel": [1, 5, 6, 7, 8, 10, 12, 13, 17, 18, 29], "list": [1, 5, 22, 26], "channelinfo": [1, 23, 26], "multi": [1, 22], "master": 1, "switch": [1, 18, 26], "index": [1, 2, 7, 18, 26], "0": [1, 5, 6, 7, 8, 10, 12, 13, 17, 18, 22, 29], "decrypt": 1, "encrypted_message_byt": 1, "byte": 1, "war": 1, "param": [1, 6, 7, 8, 9, 13, 17, 21, 22], "default_command_timeout": 1, "repres": [1, 28], "default": [1, 6, 7, 10, 12, 13, 18, 22, 28], "timeout": [1, 3, 5, 7, 8, 9, 10, 12, 13, 14, 18], "appli": 1, "against": [1, 22, 25, 28], "usual": [1, 12, 25], "everi": [1, 25, 28], "overrid": 1, "appropri": 1, "argument": [1, 29], "preced": [1, 25], "encrypt": 1, "message_data_byt": 1, "base64": [1, 28], "string": [1, 21, 22, 28], "firmware_vers": 1, "unavail": 1, "unknown": [1, 28], "hardware_vers": 1, "revis": 1, "internal_id": [1, 3], "id": [1, 3, 28], "compos": [1, 3], "plu": [1, 3], "prefix": [1, 3, 28], "suffix": [1, 3], "is_encryption_key_set": 1, "bool": [1, 2, 6, 7, 12, 17, 18, 22], "whether": [1, 17], "kei": [1, 21, 28], "alreadi": 1, "set": [1, 7, 8, 9, 13, 22, 28, 29], "lookup_channel": 1, "channel_id_or_nam": 1, "int": [1, 2, 6, 7, 8, 12, 13, 17, 21, 22], "look": [1, 26, 29], "up": [1, 25, 28], "online_statu": [1, 3, 29], "onlinestatu": [1, 3, 29], "coro": 1, "callabl": 1, "get": [1, 3, 12, 29], "whenev": 1, "deliv": [1, 25], "state": [1, 7, 12, 17, 18, 25, 28, 29], "due": 1, "other": [1, 25, 28, 29], "oper": [1, 6, 7, 8, 12, 13, 18, 22, 29], "Its": 1, "set_encryption_kei": 1, "support_encrypt": 1, "true": [1, 6, 7, 12, 18, 22], "object": [1, 10, 14, 21, 22, 25], "previous": [1, 10, 21, 25], "uuid": [1, 22, 28, 29], "channel_typ": 2, "is_master_channel": 2, "fals": [2, 6, 7, 12, 18], "hubdevice_uuid": 3, "subdevice_id": 3, "async_get_battery_lif": 3, "float": [3, 5, 7, 8, 9, 10, 12, 13, 14, 17, 18], "batteryinfo": 3, "poll": [3, 9, 10, 14], "hub": [3, 11, 22], "batteri": 3, "perfom": 3, "attribut": [3, 10], "mixin": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 29], "consumpt": [5, 10, 29], "async_get_daily_power_consumpt": 5, "power": [5, 10, 29], "read": [5, 10, 26], "histor": 5, "garag": [6, 26], "async_clos": [6, 13, 29], "door": [6, 26], "close": [6, 13, 25, 29], "async_open": [6, 13, 29], "open": [6, 13, 26, 28], "get_is_open": [6, 29], "otherwis": [6, 7, 12], "diffuser_light": 7, "async_set_light_mod": 7, "onoff": [7, 12], "mode": [7, 8, 9, 12, 17, 28, 29], "diffuserlightmod": 7, "bright": [7, 12], "rgb": [7, 12, 29], "tupl": [7, 12], "light": [7, 12, 29], "configur": [7, 12, 13, 28, 29], "off": [7, 9, 12, 18, 29], "valu": [7, 10, 12, 14, 22, 28, 29], "100": [7, 12, 13], "three": [7, 12], "integ": [7, 12], "each": [7, 12, 25], "255": [7, 12, 29], "red": [7, 12], "green": [7, 12], "blue": [7, 12], "get_light_bright": 7, "led": [7, 9], "fetch": [7, 8, 25], "get_light_is_on": [7, 12], "bulb": [7, 12, 18, 26], "get_light_mod": 7, "get_light_rgb_color": 7, "8bit": [7, 12], "diffuser_sprai": 8, "async_set_spray_mod": 8, "diffuserspraymod": 8, "handl": [8, 25, 26, 29], "get_current_spray_mod": 8, "sprai": [8, 15], "dnd": 9, "systemdndmixin": [9, 23], "async_get_dnd_mod": 9, "dndmode": 9, "retriev": [9, 28, 29], "NOT": 9, "disturb": 9, "actual": [9, 25], "refresh": [9, 10], "cach": [9, 10, 14, 26, 29], "broker": [9, 25, 26, 28], "set_dnd_mod": 9, "enabl": [9, 12, 17, 22], "turn": [9, 12, 18, 29], "ambient": [9, 17, 29], "electr": [10, 29], "async_get_instant_metr": [10, 29], "powerinfo": 10, "instant": 10, "pleas": [10, 12, 26], "note": [10, 12, 14, 26, 28, 29], "voltag": [10, 29], "combin": [10, 22], "accur": 10, "refer": [10, 26, 29], "rather": [10, 29], "than": [10, 29], "calcul": [10, 28], "flood": 10, "often": 10, "instead": [10, 14, 22, 29], "offer": [10, 29], "get_last_sampl": 10, "sample_timestamp": 10, "recent": [10, 29], "enough": [10, 28], "metric": 10, "describ": 10, "measur": 10, "sens": [10, 29], "async_set_light_color": [12, 29], "lumin": [12, 29], "temperatur": [12, 17, 29], "color": [12, 29], "__onoff": 12, "ignor": 12, "toggl": [12, 18, 29], "togglex": [12, 18], "operations__": 12, "intens": 12, "least": 12, "msl120": [12, 29], "vari": [12, 14], "specifi": [12, 18], "get_color_temperatur": 12, "color_temperatur": 12, "get_lumin": 12, "get_rgb_color": [12, 29], "get_supports_lumin": 12, "tell": [12, 22, 28, 29], "capabl": [12, 29], "get_supports_rgb": [12, 29], "get_supports_temperatur": 12, "roller_shutt": 13, "rollershuttertimermixin": [13, 23], "roller": 13, "shutter": 13, "async_set_config": 13, "open_timer_second": 13, "close_timer_second": 13, "timer": 13, "min": [13, 29], "10": [13, 28], "max": [13, 29], "120": 13, "async_stop": 13, "get_posit": 13, "posit": 13, "1": [13, 22, 28, 29], "get_statu": 13, "rollershutterst": 13, "2": 13, "runtim": 14, "systemruntimemixin": [14, 23], "async_update_runtime_info": 14, "latest": [14, 27, 29], "could": [14, 25, 26], "futur": 14, "provid": [14, 22, 26, 28], "cached_system_runtime_info": 14, "fresh": 14, "consid": [14, 26], "update_runtime_info": 14, "system": [16, 23, 26], "thermostat": [17, 26], "thermostatmodemixin": [17, 23], "get_thermostat_st": 17, "thermostatst": [17, 23], "cool_temperature_celsiu": 17, "target": [17, 29], "cool": 17, "current_temperature_celsiu": 17, "eco_temperature_celsiu": 17, "eco": 17, "heat_temperature_celsiu": 17, "heat": [17, 29], "is_on": [17, 18, 29], "manual_temperature_celsiu": 17, "auto": [17, 22], "max_temperature_celsiu": 17, "maximum": 17, "settabl": 17, "min_temperature_celsiu": 17, "minimum": 17, "thermostatmod": 17, "target_temperature_celsiu": 17, "raw": 17, "dictionari": 17, "async_toggl": 18, "async_turn_off": [18, 29], "async_turn_on": [18, 29], "stat": [18, 22], "merosscloudcr": [21, 22, 23], "token": [21, 22, 25], "user_id": [21, 28], "user_email": 21, "issued_on": 21, "datetim": 21, "domain": [21, 22], "mqtt_domain": 21, "mfa_lock_expir": 21, "classmethod": [21, 22], "from_json": 21, "json_str": 21, "build": [21, 22, 26, 28], "serial": 21, "json": [21, 28], "to_json": 21, "cloud_credenti": 22, "http_proxi": 22, "ua_head": 22, "app_typ": 22, "app_vers": 22, "log_identifi": 22, "c0d4cebb50bda96a383af2251c8b418a5fa328": 22, "d33d": 22, "40be": 22, "a9d5": 22, "14d02aefc644": 22, "deal": 22, "api": [22, 25, 26, 28, 29], "simplifi": 22, "login": [22, 28], "logout": [22, 25, 29], "async_from_cloud_cr": 22, "cred": 22, "cloudcredenti": 22, "proxi": 22, "agent": 22, "header": [22, 28], "alongsid": [22, 29], "variou": 22, "request": [22, 25, 28], "discrimin": [22, 28], "log": [22, 25, 26, 28], "async_from_user_password": [22, 29], "api_base_url": [22, 29], "email": [22, 25, 29], "auto_retry_on_bad_domain": 22, "mfa_cod": 22, "usernam": [22, 28], "expir": 22, "base": 22, "endpoint": [22, 25, 29], "iotx": 22, "eu": 22, "com": [22, 27, 29], "ap": 22, "u": 22, "public": 22, "ip": [22, 28], "region": 22, "option": [22, 29], "retri": 22, "baddomain": 22, "except": 22, "factor": 22, "authent": 22, "async_invalidate_credenti": 22, "invalid": 22, "without": [22, 25, 28], "merosscloudcredenti": [22, 23, 26], "async_login": 22, "async_list_devic": 22, "httpdeviceinfo": 22, "ask": [22, 25, 28], "belong": 22, "async_list_hub_subdevic": 22, "hub_id": 22, "httpsubdeviceinfo": 22, "sub": 22, "associ": 22, "nativ": 22, "creds_env_var_nam": 22, "__meross_cr": 22, "country_cod": 22, "agree_to_term": 22, "stats_count": 22, "httpstatscount": 22, "author": [22, 28, 29], "servic": 22, "cautiou": 22, "too": [22, 25, 26, 29], "mani": [22, 25, 28], "refus": 22, "possibli": [22, 28], "store": 22, "across": 22, "session": 22, "url": 22, "indic": 22, "env": 22, "variabl": 22, "counter": 22, "experiment": 22, "countri": 22, "connect": [22, 25, 28, 29], "mean": 22, "agre": 22, "omit": [22, 28], "term": 22, "mfa": 22, "os": 22, "right": [22, 26], "initi": 22, "async_logout": [22, 29], "http": [23, 25, 26, 27, 28, 29], "client": [23, 26, 29], "consumptionxmixin": [23, 26, 29], "diffuserlightmixin": [23, 26], "diffuserspraymixin": [23, 26], "dndmixin": [23, 26], "electricitymixin": [23, 26, 29], "garageopenermixin": [23, 26, 29], "genericsubdevic": [23, 26], "hubmixn": [23, 26], "hubmts100mixin": [23, 26], "hubdevic": [23, 26], "lightmixin": [23, 26, 29], "rollershuttermixin": [23, 26], "runtimemixin": [23, 26], "ms100sensor": [23, 26, 29], "spraymixin": [23, 26], "systemallmixin": [23, 26], "systemonlinemixin": [23, 26], "thermostatmixin": [23, 26], "togglexmixin": [23, 26, 29], "togglemixin": [23, 26, 29], "mts100v3valv": [23, 26, 29], "There": [25, 28], "error": 25, "experienc": 25, "first": [25, 26, 28, 29], "section": [25, 28, 29], "enumer": 25, "ones": [25, 29], "ll": [25, 26], "runtimeerror": 25, "loop": [25, 29], "3": [25, 26, 27], "8": 25, "window": 25, "machin": 25, "caus": 25, "relat": 25, "proactoreventloop": 25, "To": [25, 28, 29], "solv": 25, "setup": [25, 29], "differ": [25, 28, 29], "line": 25, "top": 25, "set_event_loop_polici": [25, 29], "windowsselectoreventlooppolici": [25, 29], "wrong": 25, "pattern": [25, 26], "As": 25, "result": 25, "awar": 25, "how": [25, 26, 29], "asynchron": 25, "keyword": 25, "acquir": 25, "abus": 25, "end": 25, "hit": 25, "block": [25, 26], "12": 25, "24": 25, "hour": [25, 28], "reach": 25, "after": [25, 29], "work": [25, 26, 27, 29], "inconsist": 25, "align": 25, "access": [25, 28, 29], "complet": [25, 29], "moment": 25, "edg": 25, "becom": 25, "happen": [25, 28], "loos": 25, "someon": [25, 29], "els": [25, 29], "g": [25, 29], "disconnect": 25, "while": 25, "situat": 25, "internet": 25, "lost": 25, "restor": 25, "ban": [25, 26, 29], "secur": [25, 28], "team": 25, "suspend": 25, "autom": [25, 26], "address": [25, 28], "him": 25, "about": [25, 26, 28, 29], "immin": 25, "suspens": 25, "notic": 25, "contact": 25, "write": [25, 28, 29], "rate": [25, 26], "document": [25, 29], "properli": 25, "strategi": 25, "bought": 26, "piec": 26, "now": [26, 28], "stuff": 26, "well": [26, 29], "re": 26, "place": 26, "go": 26, "further": 26, "meant": 26, "hard": 26, "thing": [26, 29], "understand": 26, "built": 26, "mind": 26, "5": [26, 29], "probabl": 26, "task": 26, "leverag": 26, "traffic": [26, 28], "between": [26, 28, 29], "backend": 26, "did": 26, "offici": 26, "unoffici": 26, "unsupport": 26, "suitabl": 26, "product": 26, "warranti": 26, "explicitli": [26, 28], "fact": [26, 29], "soon": [26, 29], "peopl": 26, "introduc": 26, "lead": 26, "plan": 26, "3rd": 26, "parti": 26, "plugin": 26, "eg": 26, "domot": 26, "framework": 26, "let": [26, 29], "know": [26, 29], "instal": 26, "quick": 26, "sensor": 26, "common": [26, 28], "gotcha": [26, 29], "advanc": 26, "topic": [26, 28], "registri": 26, "sniff": 26, "protocol": 26, "inspect": 26, "pair": 26, "architectur": 26, "flow": 26, "search": [26, 29], "page": 26, "7": 27, "abov": [27, 28], "pipi": 27, "pip": 27, "iot": [27, 29], "upgrad": 27, "manual": [27, 29], "download": 27, "sourc": 27, "archiv": 27, "unzip": 27, "git": 27, "clone": 27, "albertogeniola": 27, "cd": 27, "r": [27, 29], "requir": 27, "txt": 27, "outcom": 28, "revers": 28, "engin": 28, "attempt": 28, "forbidden": 28, "copi": 28, "republish": 28, "explicit": 28, "consent": 28, "guarante": 28, "accuraci": 28, "valid": 28, "resum": 28, "put": 28, "button": [28, 29], "wifi": 28, "bind": 28, "plug": [28, 29], "itself": 28, "point": 28, "meross_": 28, "str1": 28, "_": 28, "str2": 28, "recogn": 28, "avail": [28, 29], "simpli": 28, "scan": 28, "filter": [28, 29], "ssid": 28, "second": 28, "phase": 28, "obtain": 28, "dhcp": 28, "gatewai": 28, "rout": 28, "two": 28, "separ": 28, "post": 28, "sequenc": 28, "host": 28, "plug_ip_address": 28, "path": 28, "config": 28, "content": 28, "applic": 28, "bodi": 28, "from_devic": 28, "messageid": 28, "message_id": 28, "timestamp": 28, "sign": 28, "applianc": 28, "triggersrc": 28, "android": 28, "target_device_uuid": 28, "payload": 28, "mqtt_host": 28, "port": 28, "mqtt_port": 28, "userid": 28, "instruct": 28, "carri": 28, "numer": 28, "treat": 28, "secret": 28, "aim": 28, "sent": 28, "won": 28, "still": 28, "anoth": 28, "step": 28, "local": 28, "base64_encoded_ssid": 28, "base64_encoded_password": 28, "sinc": 28, "liter": 28, "broadcast": 28, "neighborhood": 28, "seriou": 28, "flaw": 28, "domest": 28, "reboot": 28, "success": 28, "tri": 28, "macaddress": 28, "_md5": 28, "clientid": 28, "fmware": 28, "deviceuuid": 28, "mac": 28, "lower": 28, "form": 28, "xx": 28, "underscor": 28, "digit": 28, "md5": 28, "hex": 28, "digest": 28, "concaten": 28, "constant": 28, "lowercas": 28, "che": 28, "correctli": 28, "succe": 28, "portion": 28, "anyth": 28, "assum": 28, "tl": 28, "expect": 28, "ssl": 28, "seem": 28, "kind": 28, "server": 28, "certif": 28, "abl": [28, 29], "mss210": 28, "serv": 28, "untrust": 28, "ca": 28, "check": [28, 29], "hostnam": 28, "word": 28, "cn": 28, "simpl": 28, "dn": 28, "spoof": 28, "attack": 28, "malici": 28, "commun": 28, "aw": 28, "By": 28, "among": 28, "imag": 28, "4": 28, "subscrib": 28, "tropic": 28, "uniqu": 28, "pull": 28, "publish": 28, "physic": 28, "app_id": 28, "fast": 29, "find": 29, "recipi": 29, "straight": 29, "forward": 29, "immedi": 29, "hand": 29, "dirti": 29, "ok": 29, "demo": 29, "realli": 29, "entir": 29, "carefulli": 29, "taken": 29, "effort": 29, "why": 29, "would": 29, "environ": 29, "meross_email": 29, "your_meross_cloud_email": 29, "meross_password": 29, "your_meross_cloud_password": 29, "main": 29, "meross_devic": 29, "find_devic": 29, "them": 29, "ve": 29, "found": 29, "dev": 29, "f": 29, "__name__": 29, "__main__": 29, "nt": 29, "get_event_loop": 29, "run_until_complet": 29, "charg": 29, "respect": 29, "queri": 29, "see": 29, "frequent": 29, "trigger": 29, "alert": 29, "detail": 29, "mss310": 29, "device_typ": 29, "len": 29, "No": 29, "veri": 29, "goe": 29, "down": 29, "ture": 29, "sleep": 29, "either": 29, "both": 29, "togglexmixn": 29, "panoram": 29, "around": 29, "those": 29, "random": 29, "randint": 29, "enum": 29, "unfortun": 29, "current_color": 29, "randomli": 29, "chose": 29, "chosen": 29, "b": 29, "interfac": 29, "here": 29, "somehow": 29, "simul": 29, "monitor": 29, "mount": 29, "Such": 29, "empti": 29, "signal": 29, "motor": 29, "Then": 29, "mark": 29, "quit": 29, "quickli": 29, "magnet": 29, "proxim": 29, "danger": 29, "safe": 29, "own": 29, "risk": 29, "absolv": 29, "device_class": 29, "msg100": 29, "open_statu": 29, "uncom": 29, "equip": 29, "humid": 29, "readonli": 29, "themselv": 29, "proper": 29, "valv": 29, "actuat": 29, "contrari": 29, "show": 29, "instant_consumpt": 29, "core": 29, "ms100": 29, "ensur": 29, "temp": 29, "last_sampled_temperatur": 29, "last_sampled_humid": 29, "last_sampled_tim": 29, "sampl": 29, "isoformat": 29, "c": 29, "within": 29, "subdevic": 29, "mts100v3": 29, "on_off": 29, "async_get_temperatur": 29, "target_temperatur": 29, "is_heat": 29, "choos": 29, "new_temp": 29, "min_supported_temperatur": 29, "max_supported_temperatur": 29, "async_set_target_temperatur": 29}, "objects": {"meross_iot.controller.device": [[1, 0, 1, "", "BaseDevice"], [2, 0, 1, "", "ChannelInfo"], [3, 0, 1, "", "GenericSubDevice"], [4, 0, 1, "", "HubDevice"]], "meross_iot.controller.device.BaseDevice": [[1, 1, 1, "", "async_update"], [1, 2, 1, "", "channels"], [1, 1, 1, "", "decrypt"], [1, 2, 1, "", "default_command_timeout"], [1, 1, 1, "", "encrypt"], [1, 2, 1, "", "firmware_version"], [1, 2, 1, "", "hardware_version"], [1, 2, 1, "", "internal_id"], [1, 1, 1, "", "is_encryption_key_set"], [1, 1, 1, "", "lookup_channel"], [1, 2, 1, "", "name"], [1, 2, 1, "", "online_status"], [1, 1, 1, "", "register_push_notification_handler_coroutine"], [1, 1, 1, "", "set_encryption_key"], [1, 1, 1, "", "support_encryption"], [1, 2, 1, "", "type"], [1, 1, 1, "", "unregister_push_notification_handler_coroutine"], [1, 2, 1, "", "uuid"]], "meross_iot.controller.device.GenericSubDevice": [[3, 1, 1, "", "async_get_battery_life"], [3, 1, 1, "", "async_update"], [3, 2, 1, "", "internal_id"], [3, 2, 1, "", "online_status"]], "meross_iot.controller.mixins.consumption": [[5, 0, 1, "", "ConsumptionXMixin"]], "meross_iot.controller.mixins.consumption.ConsumptionXMixin": [[5, 1, 1, "", "async_get_daily_power_consumption"]], "meross_iot.controller.mixins.diffuser_light": [[7, 0, 1, "", "DiffuserLightMixin"]], "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin": [[7, 1, 1, "", "async_set_light_mode"], [7, 1, 1, "", "get_light_brightness"], [7, 1, 1, "", "get_light_is_on"], [7, 1, 1, "", "get_light_mode"], [7, 1, 1, "", "get_light_rgb_color"]], "meross_iot.controller.mixins.diffuser_spray": [[8, 0, 1, "", "DiffuserSprayMixin"]], "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin": [[8, 1, 1, "", "async_set_spray_mode"], [8, 1, 1, "", "get_current_spray_mode"]], "meross_iot.controller.mixins.dnd": [[9, 0, 1, "", "SystemDndMixin"]], "meross_iot.controller.mixins.dnd.SystemDndMixin": [[9, 1, 1, "", "async_get_dnd_mode"], [9, 1, 1, "", "set_dnd_mode"]], "meross_iot.controller.mixins.electricity": [[10, 0, 1, "", "ElectricityMixin"]], "meross_iot.controller.mixins.electricity.ElectricityMixin": [[10, 1, 1, "", "async_get_instant_metrics"], [10, 1, 1, "", "get_last_sample"]], "meross_iot.controller.mixins.garage": [[6, 0, 1, "", "GarageOpenerMixin"]], "meross_iot.controller.mixins.garage.GarageOpenerMixin": [[6, 1, 1, "", "async_close"], [6, 1, 1, "", "async_open"], [6, 1, 1, "", "get_is_open"]], "meross_iot.controller.mixins.hub": [[11, 0, 1, "", "HubMixn"], [11, 0, 1, "", "HubMts100Mixin"]], "meross_iot.controller.mixins.light": [[12, 0, 1, "", "LightMixin"]], "meross_iot.controller.mixins.light.LightMixin": [[12, 1, 1, "", "async_set_light_color"], [12, 1, 1, "", "get_color_temperature"], [12, 1, 1, "", "get_light_is_on"], [12, 1, 1, "", "get_luminance"], [12, 1, 1, "", "get_rgb_color"], [12, 1, 1, "", "get_supports_luminance"], [12, 1, 1, "", "get_supports_rgb"], [12, 1, 1, "", "get_supports_temperature"]], "meross_iot.controller.mixins.roller_shutter": [[13, 0, 1, "", "RollerShutterTimerMixin"]], "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin": [[13, 1, 1, "", "async_close"], [13, 1, 1, "", "async_open"], [13, 1, 1, "", "async_set_config"], [13, 1, 1, "", "async_stop"], [13, 1, 1, "", "get_position"], [13, 1, 1, "", "get_status"]], "meross_iot.controller.mixins.runtime": [[14, 0, 1, "", "SystemRuntimeMixin"]], "meross_iot.controller.mixins.runtime.SystemRuntimeMixin": [[14, 1, 1, "", "async_update_runtime_info"], [14, 2, 1, "", "cached_system_runtime_info"]], "meross_iot.controller.mixins.spray": [[15, 0, 1, "", "SprayMixin"]], "meross_iot.controller.mixins.system": [[16, 0, 1, "", "SystemAllMixin"], [16, 0, 1, "", "SystemOnlineMixin"]], "meross_iot.controller.mixins.thermostat": [[17, 0, 1, "", "ThermostatModeMixin"], [17, 0, 1, "", "ThermostatState"]], "meross_iot.controller.mixins.thermostat.ThermostatModeMixin": [[17, 1, 1, "", "get_thermostat_state"]], "meross_iot.controller.mixins.thermostat.ThermostatState": [[17, 2, 1, "", "cool_temperature_celsius"], [17, 2, 1, "", "current_temperature_celsius"], [17, 2, 1, "", "eco_temperature_celsius"], [17, 2, 1, "", "heat_temperature_celsius"], [17, 2, 1, "", "is_on"], [17, 2, 1, "", "manual_temperature_celsius"], [17, 2, 1, "", "max_temperature_celsius"], [17, 2, 1, "", "min_temperature_celsius"], [17, 2, 1, "", "mode"], [17, 2, 1, "", "target_temperature_celsius"], [17, 1, 1, "", "update"], [17, 2, 1, "", "warning"]], "meross_iot.controller.mixins.toggle": [[18, 0, 1, "", "ToggleMixin"], [18, 0, 1, "", "ToggleXMixin"]], "meross_iot.controller.mixins.toggle.ToggleXMixin": [[18, 1, 1, "", "async_toggle"], [18, 1, 1, "", "async_turn_off"], [18, 1, 1, "", "async_turn_on"], [18, 1, 1, "", "is_on"]], "meross_iot": [[22, 3, 0, "-", "http_api"]], "meross_iot.http_api": [[22, 0, 1, "", "MerossHttpClient"]], "meross_iot.http_api.MerossHttpClient": [[22, 1, 1, "", "async_from_cloud_creds"], [22, 1, 1, "", "async_from_user_password"], [22, 1, 1, "", "async_invalidate_credentials"], [22, 1, 1, "", "async_list_devices"], [22, 1, 1, "", "async_list_hub_subdevices"], [22, 1, 1, "", "async_login"], [22, 1, 1, "", "async_logout"], [22, 2, 1, "", "cloud_credentials"]], "meross_iot.model": [[21, 3, 0, "-", "credentials"]], "meross_iot.model.credentials": [[21, 0, 1, "", "MerossCloudCreds"]], "meross_iot.model.credentials.MerossCloudCreds": [[21, 1, 1, "", "from_json"], [21, 1, 1, "", "to_json"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:module"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "module", "Python module"]}, "titleterms": {"advanc": 0, "topic": 0, "push": [0, 28], "notif": [0, 28], "handl": 0, "log": 0, "cach": 0, "devic": [0, 28, 29], "registri": 0, "inform": 0, "sniff": 0, "data": 0, "basedevic": 1, "channelinfo": 2, "genericsubdevic": 3, "hubdevic": 4, "consumptionxmixin": 5, "garageopenermixin": 6, "diffuserlightmixin": 7, "diffuserspraymixin": 8, "dndmixin": 9, "electricitymixin": 10, "hubmixn": 11, "hubmts100mixin": 11, "lightmixin": 12, "rollershuttermixin": 13, "system": 14, "runtimemixin": 14, "spraymixin": 15, "systemallmixin": 16, "systemonlinemixin": 16, "thermostatmixin": 17, "togglexmixin": 18, "togglemixin": 18, "ms100sensor": 19, "mts100v3valv": 20, "merosscloudcredenti": 21, "http": 22, "client": [22, 28], "api": 23, "refer": 23, "merossmanag": 24, "common": 25, "gotcha": 25, "welcom": 26, "merossiot": 26, "librari": 26, "": 26, "document": 26, "befor": 26, "us": 26, "thi": 26, "tabl": 26, "Of": 26, "content": 26, "indic": 26, "instal": 27, "meross": 28, "protocol": 28, "inspect": 28, "pair": 28, "mqtt": 28, "architectur": 28, "flow": 28, "app": 28, "command": 28, "quick": 29, "start": 29, "list": 29, "control": 29, "switch": 29, "bulb": 29, "garag": 29, "door": 29, "open": 29, "read": 29, "sensor": 29, "thermostat": 29}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"Advanced topics": [[0, "advanced-topics"]], "Push notification handling": [[0, "push-notification-handling"]], "Logging": [[0, "logging"]], "Cache device registry information": [[0, "cache-device-registry-information"]], "Sniff device data": [[0, "sniff-device-data"]], "BaseDevice": [[1, "basedevice"]], "ChannelInfo": [[2, "channelinfo"]], "GenericSubDevice": [[3, "genericsubdevice"]], "HubDevice": [[4, "hubdevice"]], "ConsumptionXMixin": [[5, "consumptionxmixin"]], "GarageOpenerMixin": [[6, "garageopenermixin"]], "DiffuserLightMixin": [[7, "diffuserlightmixin"]], "DiffuserSprayMixin": [[8, "diffuserspraymixin"]], "DNDMixin": [[9, "dndmixin"]], "ElectricityMixin": [[10, "electricitymixin"]], "HubMixn": [[11, "hubmixn"]], "HubMts100Mixin": [[11, "hubmts100mixin"]], "LightMixin": [[12, "lightmixin"]], "RollerShutterMixin": [[13, "rollershuttermixin"]], "System`RuntimeMixin": [[14, "system-runtimemixin"]], "SprayMixin": [[15, "spraymixin"]], "SystemAllMixin": [[16, "systemallmixin"]], "SystemOnlineMixin": [[16, "systemonlinemixin"]], "ThermostatMixin": [[17, "thermostatmixin"]], "ToggleXMixin": [[18, "togglexmixin"]], "ToggleMixin": [[18, "togglemixin"]], "Ms100Sensor": [[19, "ms100sensor"]], "Mts100v3Valve": [[20, "mts100v3valve"]], "MerossCloudCredentials": [[21, "module-meross_iot.model.credentials"]], "HTTP Client": [[22, "module-meross_iot.http_api"]], "API Reference": [[23, "api-reference"]], "Api Reference": [[23, null]], "MerossManager": [[24, "merossmanager"]], "Common gotchas": [[25, "common-gotchas"]], "Welcome to MerossIot Library\u2019s documentation!": [[26, "welcome-to-merossiot-library-s-documentation"]], "Before using this library": [[26, "before-using-this-library"]], "Table Of Contents": [[26, "table-of-contents"]], "Table of Contents": [[26, null]], "Indices and tables": [[26, "indices-and-tables"]], "Installation": [[27, "installation"]], "Meross Protocol Inspection": [[28, "meross-protocol-inspection"]], "Client device pairing": [[28, "client-device-pairing"]], "Meross MQTT architecture": [[28, "meross-mqtt-architecture"]], "Flow: App commands": [[28, "flow-app-commands"]], "Flow: Push notifications": [[28, "flow-push-notifications"]], "Quick start": [[29, "quick-start"]], "Listing devices": [[29, "listing-devices"]], "Controlling switches": [[29, "controlling-switches"]], "Controlling bulbs": [[29, "controlling-bulbs"]], "Controlling garage door openers": [[29, "controlling-garage-door-openers"]], "Reading sensors": [[29, "reading-sensors"]], "Controlling Thermostat": [[29, "controlling-thermostat"]]}, "indexentries": {"basedevice (class in meross_iot.controller.device)": [[1, "meross_iot.controller.device.BaseDevice"]], "async_update() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.async_update"]], "channels (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.channels"]], "decrypt() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.decrypt"]], "default_command_timeout (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.default_command_timeout"]], "encrypt() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.encrypt"]], "firmware_version (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.firmware_version"]], "hardware_version (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.hardware_version"]], "internal_id (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.internal_id"]], "is_encryption_key_set() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.is_encryption_key_set"]], "lookup_channel() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.lookup_channel"]], "name (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.name"]], "online_status (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.online_status"]], "register_push_notification_handler_coroutine() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.register_push_notification_handler_coroutine"]], "set_encryption_key() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.set_encryption_key"]], "support_encryption() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.support_encryption"]], "type (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.type"]], "unregister_push_notification_handler_coroutine() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.unregister_push_notification_handler_coroutine"]], "uuid (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.uuid"]], "channelinfo (class in meross_iot.controller.device)": [[2, "meross_iot.controller.device.ChannelInfo"]], "genericsubdevice (class in meross_iot.controller.device)": [[3, "meross_iot.controller.device.GenericSubDevice"]], "async_get_battery_life() (meross_iot.controller.device.genericsubdevice method)": [[3, "meross_iot.controller.device.GenericSubDevice.async_get_battery_life"]], "async_update() (meross_iot.controller.device.genericsubdevice method)": [[3, "meross_iot.controller.device.GenericSubDevice.async_update"]], "internal_id (meross_iot.controller.device.genericsubdevice property)": [[3, "meross_iot.controller.device.GenericSubDevice.internal_id"]], "online_status (meross_iot.controller.device.genericsubdevice property)": [[3, "meross_iot.controller.device.GenericSubDevice.online_status"]], "hubdevice (class in meross_iot.controller.device)": [[4, "meross_iot.controller.device.HubDevice"]], "consumptionxmixin (class in meross_iot.controller.mixins.consumption)": [[5, "meross_iot.controller.mixins.consumption.ConsumptionXMixin"]], "async_get_daily_power_consumption() (meross_iot.controller.mixins.consumption.consumptionxmixin method)": [[5, "meross_iot.controller.mixins.consumption.ConsumptionXMixin.async_get_daily_power_consumption"]], "garageopenermixin (class in meross_iot.controller.mixins.garage)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin"]], "async_close() (meross_iot.controller.mixins.garage.garageopenermixin method)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin.async_close"]], "async_open() (meross_iot.controller.mixins.garage.garageopenermixin method)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin.async_open"]], "get_is_open() (meross_iot.controller.mixins.garage.garageopenermixin method)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin.get_is_open"]], "diffuserlightmixin (class in meross_iot.controller.mixins.diffuser_light)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin"]], "async_set_light_mode() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.async_set_light_mode"]], "get_light_brightness() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_brightness"]], "get_light_is_on() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_is_on"]], "get_light_mode() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_mode"]], "get_light_rgb_color() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_rgb_color"]], "diffuserspraymixin (class in meross_iot.controller.mixins.diffuser_spray)": [[8, "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin"]], "async_set_spray_mode() (meross_iot.controller.mixins.diffuser_spray.diffuserspraymixin method)": [[8, "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin.async_set_spray_mode"]], "get_current_spray_mode() (meross_iot.controller.mixins.diffuser_spray.diffuserspraymixin method)": [[8, "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin.get_current_spray_mode"]], "systemdndmixin (class in meross_iot.controller.mixins.dnd)": [[9, "meross_iot.controller.mixins.dnd.SystemDndMixin"]], "async_get_dnd_mode() (meross_iot.controller.mixins.dnd.systemdndmixin method)": [[9, "meross_iot.controller.mixins.dnd.SystemDndMixin.async_get_dnd_mode"]], "set_dnd_mode() (meross_iot.controller.mixins.dnd.systemdndmixin method)": [[9, "meross_iot.controller.mixins.dnd.SystemDndMixin.set_dnd_mode"]], "electricitymixin (class in meross_iot.controller.mixins.electricity)": [[10, "meross_iot.controller.mixins.electricity.ElectricityMixin"]], "async_get_instant_metrics() (meross_iot.controller.mixins.electricity.electricitymixin method)": [[10, "meross_iot.controller.mixins.electricity.ElectricityMixin.async_get_instant_metrics"]], "get_last_sample() (meross_iot.controller.mixins.electricity.electricitymixin method)": [[10, "meross_iot.controller.mixins.electricity.ElectricityMixin.get_last_sample"]], "hubmixn (class in meross_iot.controller.mixins.hub)": [[11, "meross_iot.controller.mixins.hub.HubMixn"]], "hubmts100mixin (class in meross_iot.controller.mixins.hub)": [[11, "meross_iot.controller.mixins.hub.HubMts100Mixin"]], "lightmixin (class in meross_iot.controller.mixins.light)": [[12, "meross_iot.controller.mixins.light.LightMixin"]], "async_set_light_color() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.async_set_light_color"]], "get_color_temperature() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_color_temperature"]], "get_light_is_on() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_light_is_on"]], "get_luminance() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_luminance"]], "get_rgb_color() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_rgb_color"]], "get_supports_luminance() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_supports_luminance"]], "get_supports_rgb() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_supports_rgb"]], "get_supports_temperature() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_supports_temperature"]], "rollershuttertimermixin (class in meross_iot.controller.mixins.roller_shutter)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin"]], "async_close() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_close"]], "async_open() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_open"]], "async_set_config() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_set_config"]], "async_stop() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_stop"]], "get_position() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.get_position"]], "get_status() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.get_status"]], "systemruntimemixin (class in meross_iot.controller.mixins.runtime)": [[14, "meross_iot.controller.mixins.runtime.SystemRuntimeMixin"]], "async_update_runtime_info() (meross_iot.controller.mixins.runtime.systemruntimemixin method)": [[14, "meross_iot.controller.mixins.runtime.SystemRuntimeMixin.async_update_runtime_info"]], "cached_system_runtime_info (meross_iot.controller.mixins.runtime.systemruntimemixin property)": [[14, "meross_iot.controller.mixins.runtime.SystemRuntimeMixin.cached_system_runtime_info"]], "spraymixin (class in meross_iot.controller.mixins.spray)": [[15, "meross_iot.controller.mixins.spray.SprayMixin"]], "systemallmixin (class in meross_iot.controller.mixins.system)": [[16, "meross_iot.controller.mixins.system.SystemAllMixin"]], "systemonlinemixin (class in meross_iot.controller.mixins.system)": [[16, "meross_iot.controller.mixins.system.SystemOnlineMixin"]], "thermostatmodemixin (class in meross_iot.controller.mixins.thermostat)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatModeMixin"]], "thermostatstate (class in meross_iot.controller.mixins.thermostat)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState"]], "cool_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.cool_temperature_celsius"]], "current_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.current_temperature_celsius"]], "eco_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.eco_temperature_celsius"]], "get_thermostat_state() (meross_iot.controller.mixins.thermostat.thermostatmodemixin method)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatModeMixin.get_thermostat_state"]], "heat_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.heat_temperature_celsius"]], "is_on (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.is_on"]], "manual_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.manual_temperature_celsius"]], "max_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.max_temperature_celsius"]], "min_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.min_temperature_celsius"]], "mode (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.mode"]], "target_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.target_temperature_celsius"]], "update() (meross_iot.controller.mixins.thermostat.thermostatstate method)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.update"]], "warning (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.warning"]], "togglemixin (class in meross_iot.controller.mixins.toggle)": [[18, "meross_iot.controller.mixins.toggle.ToggleMixin"]], "togglexmixin (class in meross_iot.controller.mixins.toggle)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin"]], "async_toggle() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.async_toggle"]], "async_turn_off() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.async_turn_off"]], "async_turn_on() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.async_turn_on"]], "is_on() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.is_on"]], "merosscloudcreds (class in meross_iot.model.credentials)": [[21, "meross_iot.model.credentials.MerossCloudCreds"]], "from_json() (meross_iot.model.credentials.merosscloudcreds class method)": [[21, "meross_iot.model.credentials.MerossCloudCreds.from_json"]], "meross_iot.model.credentials": [[21, "module-meross_iot.model.credentials"]], "module": [[21, "module-meross_iot.model.credentials"], [22, "module-meross_iot.http_api"]], "to_json() (meross_iot.model.credentials.merosscloudcreds method)": [[21, "meross_iot.model.credentials.MerossCloudCreds.to_json"]], "merosshttpclient (class in meross_iot.http_api)": [[22, "meross_iot.http_api.MerossHttpClient"]], "async_from_cloud_creds() (meross_iot.http_api.merosshttpclient class method)": [[22, "meross_iot.http_api.MerossHttpClient.async_from_cloud_creds"]], "async_from_user_password() (meross_iot.http_api.merosshttpclient class method)": [[22, "meross_iot.http_api.MerossHttpClient.async_from_user_password"]], "async_invalidate_credentials() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_invalidate_credentials"]], "async_list_devices() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_list_devices"]], "async_list_hub_subdevices() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_list_hub_subdevices"]], "async_login() (meross_iot.http_api.merosshttpclient class method)": [[22, "meross_iot.http_api.MerossHttpClient.async_login"]], "async_logout() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_logout"]], "cloud_credentials (meross_iot.http_api.merosshttpclient property)": [[22, "meross_iot.http_api.MerossHttpClient.cloud_credentials"]], "meross_iot.http_api": [[22, "module-meross_iot.http_api"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["advanced-topics", "api-reference/controller/device/base", "api-reference/controller/device/channel", "api-reference/controller/device/generic", "api-reference/controller/device/hub", "api-reference/controller/mixins/consumption", "api-reference/controller/mixins/cover", "api-reference/controller/mixins/diffuserlight", "api-reference/controller/mixins/diffuserspray", "api-reference/controller/mixins/dnd", "api-reference/controller/mixins/electricity", "api-reference/controller/mixins/hub", "api-reference/controller/mixins/light", "api-reference/controller/mixins/rollershutter", "api-reference/controller/mixins/runtime", "api-reference/controller/mixins/spray", "api-reference/controller/mixins/system", "api-reference/controller/mixins/thermostat", "api-reference/controller/mixins/toggle", "api-reference/controller/subdevice/sensor", "api-reference/controller/subdevice/valve", "api-reference/creds", "api-reference/http", "api-reference/index", "api-reference/manager", "common-gotchas", "index", "installation", "meross-protocol", "quick-start"], "filenames": ["advanced-topics.rst", "api-reference/controller/device/base.rst", "api-reference/controller/device/channel.rst", "api-reference/controller/device/generic.rst", "api-reference/controller/device/hub.rst", "api-reference/controller/mixins/consumption.rst", "api-reference/controller/mixins/cover.rst", "api-reference/controller/mixins/diffuserlight.rst", "api-reference/controller/mixins/diffuserspray.rst", "api-reference/controller/mixins/dnd.rst", "api-reference/controller/mixins/electricity.rst", "api-reference/controller/mixins/hub.rst", "api-reference/controller/mixins/light.rst", "api-reference/controller/mixins/rollershutter.rst", "api-reference/controller/mixins/runtime.rst", "api-reference/controller/mixins/spray.rst", "api-reference/controller/mixins/system.rst", "api-reference/controller/mixins/thermostat.rst", "api-reference/controller/mixins/toggle.rst", "api-reference/controller/subdevice/sensor.rst", "api-reference/controller/subdevice/valve.rst", "api-reference/creds.rst", "api-reference/http.rst", "api-reference/index.rst", "api-reference/manager.rst", "common-gotchas.rst", "index.rst", "installation.rst", "meross-protocol.rst", "quick-start.rst"], "titles": ["Advanced topics", "BaseDevice", "ChannelInfo", "GenericSubDevice", "HubDevice", "ConsumptionXMixin", "GarageOpenerMixin", "DiffuserLightMixin", "DiffuserSprayMixin", "DNDMixin", "ElectricityMixin", "HubMixn", "LightMixin", "RollerShutterMixin", "System`RuntimeMixin", "SprayMixin", "SystemAllMixin", "ThermostatMixin", "ToggleXMixin", "Ms100Sensor", "Mts100v3Valve", "MerossCloudCredentials", "HTTP Client", "API Reference", "MerossManager", "Common gotchas", "Welcome to MerossIot Library\u2019s documentation!", "Installation", "Meross Protocol Inspection", "Quick start"], "terms": {"The": [0, 6, 10, 13, 17, 22, 25, 26, 28, 29], "current": [0, 1, 3, 6, 7, 8, 10, 12, 13, 17, 21, 25, 29], "librari": [0, 1, 3, 22, 25, 27, 28, 29], "allow": [0, 1, 28, 29], "develop": [0, 1, 25, 26, 28, 29], "catch": 0, "react": [0, 1], "event": [0, 1, 25, 28], "occur": [0, 22, 25], "specif": [0, 1, 22, 28, 29], "basedevic": [0, 23, 26], "class": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 25, 29], "expos": [0, 1, 29], "register_push_notification_handler_coroutin": [0, 1], "method": [0, 1, 9, 10, 14, 22, 25, 28, 29], "which": [0, 6, 13, 22, 25, 26, 28, 29], "regist": [0, 1, 5, 29], "an": [0, 1, 12, 22, 25, 28], "async": [0, 1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 18, 22, 26, 29], "coroutin": [0, 1], "execut": [0, 1, 28], "when": [0, 1, 7, 9, 12, 17, 18, 22, 25, 29], "i": [0, 1, 6, 7, 9, 10, 12, 13, 17, 18, 22, 25, 26, 28, 29], "receiv": [0, 1, 25, 28], "signatur": [0, 1, 28, 29], "must": [0, 1, 12, 25, 28], "match": [0, 28], "follow": [0, 27, 28, 29], "omissi": 0, "def": [0, 29], "coro_nam": 0, "namespac": [0, 1, 28], "dict": [0, 1, 5, 14, 17], "device_internal_id": [0, 1], "str": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22], "todo": 0, "do": [0, 9, 22, 25, 28, 29], "someth": 0, "pass": [0, 17], "handler": [0, 1], "can": [0, 1, 12, 25, 27, 28, 29], "de": [0, 28], "via": [0, 1, 12, 28, 29], "unregister_push_notification_handler_coroutin": [0, 1], "take": [0, 1, 26], "input": [0, 28], "unregist": [0, 1], "similarli": 0, "possibl": [0, 22], "intercept": 0, "all": [0, 28, 29], "merossmanag": [0, 23, 25, 26, 29], "instanc": [0, 21, 22, 25], "thi": [0, 1, 3, 5, 7, 8, 9, 10, 12, 14, 18, 22, 25, 27, 28, 29], "done": [0, 22], "us": [0, 1, 3, 9, 12, 14, 22, 25, 28, 29], "definit": 0, "evt_coro": 0, "arg": [0, 1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 22], "kwarg": [0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 22], "failur": 0, "compli": 0, "given": [0, 6, 12, 13, 21, 22], "prevent": [0, 25], "from": [0, 5, 7, 8, 10, 12, 17, 21, 22, 25, 27, 28, 29], "Be": [0, 22], "sure": [0, 22, 25, 27], "stick": 0, "exact": [0, 29], "again": [0, 25, 29], "invok": [0, 1, 22, 25, 29], "For": [0, 25, 26, 29], "long": 0, "run": [0, 1, 25], "deamon": 0, "like": [0, 29], "script": [0, 25, 29], "you": [0, 1, 9, 10, 14, 22, 25, 26, 27, 29], "should": [0, 1, 9, 10, 22, 25, 26, 28, 29], "limit": [0, 1, 25, 26], "number": [0, 25, 29], "notificaiton": 0, "thei": [0, 29], "ar": [0, 1, 22, 25, 26, 28, 29], "more": [0, 22, 28, 29], "need": [0, 1, 6, 9, 13, 25, 29], "reli": [0, 10, 26, 29], "standard": 0, "python": [0, 25, 26, 27], "": [0, 1, 3, 10, 12, 18, 25, 29], "modul": [0, 26], "It": [0, 1, 3, 22, 25, 28, 29], "control": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 26], "verbos": 0, "modifi": 0, "sever": 0, "meross_iot": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 29], "level": 0, "shown": 0, "exampl": [0, 29], "import": [0, 26, 28, 29], "asyncio": [0, 25, 26, 29], "o": [0, 29], "http_api": [0, 22, 29], "merosshttpcli": [0, 22, 23, 25, 29], "manag": [0, 1, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 29], "meross_root_logg": 0, "getlogg": 0, "setlevel": 0, "warn": [0, 17, 25], "That": [0, 29], "code": [0, 22, 27, 29], "snippet": [0, 29], "rais": 0, "so": [0, 1, 10, 25, 26, 28, 29], "debug": 0, "info": [0, 7, 8, 10, 12, 14, 29], "messag": [0, 1, 9, 25, 28], "ani": [0, 1, 10, 22, 25, 26, 28], "longer": 0, "hold": [0, 21, 28], "keep": [0, 22, 25, 29], "track": [0, 29], "discov": [0, 25, 29], "sometim": 0, "might": [0, 1, 14, 22, 25, 26, 29], "dump": 0, "contain": [0, 7, 12, 14, 22], "reload": 0, "necessari": 0, "usag": [0, 22], "file": 0, "reduc": 0, "call": [0, 10, 22, 25, 29], "meross": [0, 1, 3, 14, 21, 22, 25, 26, 27, 29], "cloud": [0, 1, 21, 22, 25, 28], "avoid": [0, 9, 10, 25, 29], "discoveri": 0, "approach": [0, 25, 26], "explain": 0, "py": 0, "In": [0, 22, 25, 26, 28, 29], "particular": 0, "export": 0, "dump_device_registri": 0, "init": 0, "issu": [0, 9, 22, 27, 29], "http_client": [0, 29], "http_api_cli": [0, 29], "await": [0, 1, 25, 29], "async_init": [0, 29], "async_device_discoveri": [0, 29], "test": 0, "At": [0, 25, 28], "same": [0, 22], "time": [0, 14, 22, 25, 26, 28, 29], "load_devices_from_dump": 0, "load": 0, "we": [0, 22, 25, 28, 29], "don": 0, "t": [0, 28], "print": [0, 29], "continu": 0, "releas": [0, 25], "new": [0, 25, 28, 29], "smart": [0, 18, 29], "market": 0, "ha": [0, 1, 25, 28, 29], "been": [0, 1, 28, 29], "order": [0, 25, 28, 29], "automat": [0, 1, 25], "support": [0, 1, 12, 18, 29], "most": [0, 1, 25, 26, 28, 29], "basic": [0, 1, 3, 26, 28, 29], "function": [0, 1, 29], "howev": [0, 25, 28, 29], "also": [0, 28, 29], "featur": [0, 26], "mai": [0, 10, 25, 28], "aris": 0, "case": [0, 22, 25, 26, 28, 29], "collect": 0, "low": 0, "snif": [0, 28], "tool": 0, "meross_sniff": 0, "listen": [0, 25], "command": [0, 1, 6, 7, 8, 12, 13, 25, 26, 27, 29], "app": [0, 22, 25, 26], "send": [0, 6, 13, 22, 25, 28, 29], "its": [0, 3, 9, 28], "respons": [0, 22, 28, 29], "wai": [0, 25, 26], "one": [0, 7, 12, 22, 28, 29], "sniffer": 0, "exchang": 0, "pretti": 0, "easi": 0, "program": [0, 1, 26], "select": 0, "want": [0, 14, 26, 27], "start": [0, 25, 26, 28], "plai": [0, 29], "devid": 0, "onc": [0, 28, 29], "have": [0, 1, 7, 12, 26, 27, 28, 29], "interest": [0, 18], "wait": [0, 29], "bit": [0, 26, 29], "press": [0, 28, 29], "enter": 0, "stop": [0, 13, 29], "zip": 0, "folder": 0, "name": [0, 1, 2, 28, 29], "upload": 0, "github": [0, 27], "implement": [0, 18, 25, 29], "even": [0, 26, 28, 29], "though": 0, "util": [0, 21, 22], "design": 0, "gather": [0, 10, 14], "user": [0, 1, 21, 22, 25, 28, 29], "credenti": [0, 21, 22, 28], "make": [0, 25, 27, 28], "doe": [0, 25, 26, 28, 29], "sensit": 0, "over": [0, 1], "network": [0, 1, 26, 28], "reason": [0, 25, 26, 29], "alwai": [0, 25], "chang": [0, 1, 8, 14, 25, 26, 29], "your": [0, 1, 22, 25, 29], "password": [0, 22, 28, 29], "befor": [0, 25, 28, 29], "strongli": 0, "advis": 0, "creat": [0, 29], "ad": 0, "hoc": 0, "account": [0, 22, 25, 26, 28, 29], "matter": 0, "decid": 0, "dedic": 0, "remov": [0, 14, 25], "origin": 0, "add": [0, 14, 25], "perform": [0, 22, 25, 26, 28], "altern": 0, "ON": [0, 7, 12, 18], "onlin": [0, 1, 3, 29], "merosssnif": 0, "report": [0, 28, 29], "statu": [0, 1, 3, 6, 13, 18, 25, 29], "yet": 0, "merossiot": [0, 22, 27], "wa": [0, 26, 28], "gener": [0, 1, 7, 12, 22, 28, 29], "directori": 0, "where": [0, 10, 12, 28], "devic": [1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 14, 17, 18, 22, 25, 26], "device_uuid": [1, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 28], "A": [1, 28], "represent": 1, "character": 1, "some": [1, 3, 25, 26, 29], "inform": [1, 10, 14, 26, 28, 29], "defin": [1, 7], "type": [1, 22, 28, 29], "e": [1, 25, 29], "model": [1, 21, 29], "firmwar": [1, 28], "hardwar": [1, 26, 28], "version": [1, 22], "intern": [1, 3, 17], "identifi": [1, 3, 22, 28], "assign": 1, "async_upd": [1, 3, 25, 29], "none": [1, 2, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 22], "forc": [1, 29], "full": [1, 3, 22], "data": [1, 5, 10, 17, 22, 26, 29], "updat": [1, 3, 17, 25, 28, 29], "If": [1, 14, 22, 25, 26, 27, 28], "bandwidth": 1, "embed": 1, "try": [1, 28], "onli": [1, 7, 12, 27, 28, 29], "strictli": [1, 9], "paramet": [1, 5, 6, 7, 10, 12, 13, 17, 18, 22, 28], "upon": 1, "push": [1, 25, 26], "notif": [1, 25, 26], "mqtt": [1, 9, 22, 25, 26, 29], "return": [1, 3, 5, 6, 7, 8, 9, 10, 12, 13, 14, 17, 18, 21, 22], "properti": [1, 3, 14, 17, 22, 29], "channel": [1, 5, 6, 7, 8, 10, 12, 13, 17, 18, 29], "list": [1, 5, 22, 26], "channelinfo": [1, 23, 26], "multi": [1, 22], "master": 1, "switch": [1, 18, 26], "index": [1, 2, 7, 18, 26], "0": [1, 5, 6, 7, 8, 10, 12, 13, 17, 18, 22, 29], "decrypt": 1, "encrypted_message_byt": 1, "byte": 1, "war": 1, "param": [1, 6, 7, 8, 9, 13, 17, 21, 22], "default_command_timeout": 1, "repres": [1, 28], "default": [1, 6, 7, 10, 12, 13, 18, 22, 28], "timeout": [1, 3, 5, 7, 8, 9, 10, 12, 13, 14, 18], "appli": 1, "against": [1, 22, 25, 28], "usual": [1, 12, 25], "everi": [1, 25, 28], "overrid": 1, "appropri": 1, "argument": [1, 29], "preced": [1, 25], "encrypt": 1, "message_data_byt": 1, "base64": [1, 28], "string": [1, 21, 22, 28], "firmware_vers": 1, "unavail": 1, "unknown": [1, 28], "hardware_vers": 1, "revis": 1, "internal_id": [1, 3], "id": [1, 3, 28], "compos": [1, 3], "plu": [1, 3], "prefix": [1, 3, 28], "suffix": [1, 3], "is_encryption_key_set": 1, "bool": [1, 2, 6, 7, 12, 17, 18, 22], "whether": [1, 17], "kei": [1, 21, 28], "alreadi": 1, "set": [1, 7, 8, 9, 13, 22, 28, 29], "lookup_channel": 1, "channel_id_or_nam": 1, "int": [1, 2, 6, 7, 8, 12, 13, 17, 22], "look": [1, 26, 29], "up": [1, 25, 28], "online_statu": [1, 3, 29], "onlinestatu": [1, 3, 29], "coro": 1, "callabl": 1, "get": [1, 3, 12, 29], "whenev": 1, "deliv": [1, 25], "state": [1, 7, 12, 17, 18, 25, 28, 29], "due": 1, "other": [1, 25, 28, 29], "oper": [1, 6, 7, 8, 12, 13, 18, 22, 29], "Its": 1, "set_encryption_kei": 1, "support_encrypt": 1, "true": [1, 6, 7, 12, 18, 22], "object": [1, 10, 14, 21, 22, 25], "previous": [1, 10, 21, 25], "uuid": [1, 22, 28, 29], "channel_typ": 2, "is_master_channel": 2, "fals": [2, 6, 7, 12, 18], "hubdevice_uuid": 3, "subdevice_id": 3, "async_get_battery_lif": 3, "float": [3, 5, 7, 8, 9, 10, 12, 13, 14, 17, 18], "batteryinfo": 3, "poll": [3, 9, 10, 14], "hub": [3, 11, 22], "batteri": 3, "perfom": 3, "attribut": [3, 10], "mixin": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 29], "consumpt": [5, 10, 29], "async_get_daily_power_consumpt": 5, "power": [5, 10, 29], "read": [5, 10, 26], "histor": 5, "garag": [6, 26], "async_clos": [6, 13, 29], "door": [6, 26], "close": [6, 13, 25, 29], "async_open": [6, 13, 29], "open": [6, 13, 26, 28], "get_is_open": [6, 29], "otherwis": [6, 7, 12], "diffuser_light": 7, "async_set_light_mod": 7, "onoff": [7, 12], "mode": [7, 8, 9, 12, 17, 28, 29], "diffuserlightmod": 7, "bright": [7, 12], "rgb": [7, 12, 29], "tupl": [7, 12], "light": [7, 12, 29], "configur": [7, 12, 13, 28, 29], "off": [7, 9, 12, 18, 29], "valu": [7, 10, 12, 14, 22, 28, 29], "100": [7, 12, 13], "three": [7, 12], "integ": [7, 12], "each": [7, 12, 25], "255": [7, 12, 29], "red": [7, 12], "green": [7, 12], "blue": [7, 12], "get_light_bright": 7, "led": [7, 9], "fetch": [7, 8, 25], "get_light_is_on": [7, 12], "bulb": [7, 12, 18, 26], "get_light_mod": 7, "get_light_rgb_color": 7, "8bit": [7, 12], "diffuser_sprai": 8, "async_set_spray_mod": 8, "diffuserspraymod": 8, "handl": [8, 25, 26, 29], "get_current_spray_mod": 8, "sprai": [8, 15], "dnd": 9, "systemdndmixin": [9, 23], "async_get_dnd_mod": 9, "dndmode": 9, "retriev": [9, 28, 29], "NOT": 9, "disturb": 9, "actual": [9, 25], "refresh": [9, 10], "cach": [9, 10, 14, 26, 29], "broker": [9, 25, 26, 28], "set_dnd_mod": 9, "enabl": [9, 12, 17, 22], "turn": [9, 12, 18, 29], "ambient": [9, 17, 29], "electr": [10, 29], "async_get_instant_metr": [10, 29], "powerinfo": 10, "instant": 10, "pleas": [10, 12, 26], "note": [10, 12, 14, 26, 28, 29], "voltag": [10, 29], "combin": [10, 22], "accur": 10, "refer": [10, 26, 29], "rather": [10, 29], "than": [10, 29], "calcul": [10, 28], "flood": 10, "often": 10, "instead": [10, 14, 22, 29], "offer": [10, 29], "get_last_sampl": 10, "sample_timestamp": 10, "recent": [10, 29], "enough": [10, 28], "metric": 10, "describ": 10, "measur": 10, "sens": [10, 29], "async_set_light_color": [12, 29], "lumin": [12, 29], "temperatur": [12, 17, 29], "color": [12, 29], "__onoff": 12, "ignor": 12, "toggl": [12, 18, 29], "togglex": [12, 18], "operations__": 12, "intens": 12, "least": 12, "msl120": [12, 29], "vari": [12, 14], "specifi": [12, 18], "get_color_temperatur": 12, "color_temperatur": 12, "get_lumin": 12, "get_rgb_color": [12, 29], "get_supports_lumin": 12, "tell": [12, 22, 28, 29], "capabl": [12, 29], "get_supports_rgb": [12, 29], "get_supports_temperatur": 12, "roller_shutt": 13, "rollershuttertimermixin": [13, 23], "roller": 13, "shutter": 13, "async_set_config": 13, "open_timer_second": 13, "close_timer_second": 13, "timer": 13, "min": [13, 29], "10": [13, 28], "max": [13, 29], "120": 13, "async_stop": 13, "get_posit": 13, "posit": 13, "1": [13, 22, 28, 29], "get_statu": 13, "rollershutterst": 13, "2": 13, "runtim": 14, "systemruntimemixin": [14, 23], "async_update_runtime_info": 14, "latest": [14, 27, 29], "could": [14, 25, 26], "futur": 14, "provid": [14, 22, 26, 28], "cached_system_runtime_info": 14, "fresh": 14, "consid": [14, 26], "update_runtime_info": 14, "system": [16, 23, 26], "thermostat": [17, 26], "thermostatmodemixin": [17, 23], "get_thermostat_st": 17, "thermostatst": [17, 23], "cool_temperature_celsiu": 17, "target": [17, 29], "cool": 17, "current_temperature_celsiu": 17, "eco_temperature_celsiu": 17, "eco": 17, "heat_temperature_celsiu": 17, "heat": [17, 29], "is_on": [17, 18, 29], "manual_temperature_celsiu": 17, "auto": [17, 22], "max_temperature_celsiu": 17, "maximum": 17, "settabl": 17, "min_temperature_celsiu": 17, "minimum": 17, "thermostatmod": 17, "target_temperature_celsiu": 17, "raw": 17, "dictionari": 17, "async_toggl": 18, "async_turn_off": [18, 29], "async_turn_on": [18, 29], "stat": [18, 22], "merosscloudcr": [21, 22, 23], "token": [21, 22, 25], "user_id": [21, 28], "user_email": 21, "issued_on": 21, "datetim": 21, "domain": [21, 22], "mqtt_domain": 21, "classmethod": [21, 22], "from_json": 21, "json_str": 21, "build": [21, 22, 26, 28], "serial": 21, "json": [21, 28], "to_json": 21, "cloud_credenti": 22, "http_proxi": 22, "ua_head": 22, "app_typ": 22, "app_vers": 22, "log_identifi": 22, "221b9331f68cc670e918bd05efc9eb5453a080": 22, "a282": 22, "4e8a": 22, "8654": 22, "cbca658b7da6": 22, "deal": 22, "api": [22, 25, 26, 28, 29], "simplifi": 22, "login": [22, 28], "logout": [22, 25, 29], "async_from_cloud_cr": 22, "cred": 22, "cloudcredenti": 22, "proxi": 22, "agent": 22, "header": [22, 28], "alongsid": [22, 29], "variou": 22, "request": [22, 25, 28], "discrimin": [22, 28], "log": [22, 25, 26, 28], "async_from_user_password": [22, 29], "api_base_url": [22, 29], "email": [22, 25, 29], "auto_retry_on_bad_domain": 22, "mfa_cod": 22, "usernam": [22, 28], "expir": 22, "base": 22, "endpoint": [22, 25, 29], "iotx": 22, "eu": 22, "com": [22, 27, 29], "ap": 22, "u": 22, "public": 22, "ip": [22, 28], "region": 22, "option": [22, 29], "retri": 22, "baddomain": 22, "except": 22, "factor": 22, "authent": 22, "async_invalidate_credenti": 22, "invalid": 22, "without": [22, 25, 28], "merosscloudcredenti": [22, 23, 26], "async_login": 22, "async_list_devic": 22, "httpdeviceinfo": 22, "ask": [22, 25, 28], "belong": 22, "async_list_hub_subdevic": 22, "hub_id": 22, "httpsubdeviceinfo": 22, "sub": 22, "associ": 22, "nativ": 22, "creds_env_var_nam": 22, "__meross_cr": 22, "country_cod": 22, "agree_to_term": 22, "stats_count": 22, "httpstatscount": 22, "author": [22, 28, 29], "servic": 22, "cautiou": 22, "too": [22, 25, 26, 29], "mani": [22, 25, 28], "refus": 22, "possibli": [22, 28], "store": 22, "across": 22, "session": 22, "url": 22, "indic": 22, "env": 22, "variabl": 22, "counter": 22, "experiment": 22, "countri": 22, "connect": [22, 25, 28, 29], "mean": 22, "agre": 22, "omit": [22, 28], "term": 22, "mfa": 22, "os": 22, "right": [22, 26], "initi": 22, "async_logout": [22, 29], "http": [23, 25, 26, 27, 28, 29], "client": [23, 26, 29], "consumptionxmixin": [23, 26, 29], "diffuserlightmixin": [23, 26], "diffuserspraymixin": [23, 26], "dndmixin": [23, 26], "electricitymixin": [23, 26, 29], "garageopenermixin": [23, 26, 29], "genericsubdevic": [23, 26], "hubmixn": [23, 26], "hubmts100mixin": [23, 26], "hubdevic": [23, 26], "lightmixin": [23, 26, 29], "rollershuttermixin": [23, 26], "runtimemixin": [23, 26], "ms100sensor": [23, 26, 29], "spraymixin": [23, 26], "systemallmixin": [23, 26], "systemonlinemixin": [23, 26], "thermostatmixin": [23, 26], "togglexmixin": [23, 26, 29], "togglemixin": [23, 26, 29], "mts100v3valv": [23, 26, 29], "There": [25, 28], "error": 25, "experienc": 25, "first": [25, 26, 28, 29], "section": [25, 28, 29], "enumer": 25, "ones": [25, 29], "ll": [25, 26], "runtimeerror": 25, "loop": [25, 29], "3": [25, 26, 27], "8": 25, "window": 25, "machin": 25, "caus": 25, "relat": 25, "proactoreventloop": 25, "To": [25, 28, 29], "solv": 25, "setup": [25, 29], "differ": [25, 28, 29], "line": 25, "top": 25, "set_event_loop_polici": [25, 29], "windowsselectoreventlooppolici": [25, 29], "wrong": 25, "pattern": [25, 26], "As": 25, "result": 25, "awar": 25, "how": [25, 26, 29], "asynchron": 25, "keyword": 25, "acquir": 25, "abus": 25, "end": 25, "hit": 25, "block": [25, 26], "12": 25, "24": 25, "hour": [25, 28], "reach": 25, "after": [25, 29], "work": [25, 26, 27, 29], "inconsist": 25, "align": 25, "access": [25, 28, 29], "complet": [25, 29], "moment": 25, "edg": 25, "becom": 25, "happen": [25, 28], "loos": 25, "someon": [25, 29], "els": [25, 29], "g": [25, 29], "disconnect": 25, "while": 25, "situat": 25, "internet": 25, "lost": 25, "restor": 25, "ban": [25, 26, 29], "secur": [25, 28], "team": 25, "suspend": 25, "autom": [25, 26], "address": [25, 28], "him": 25, "about": [25, 26, 28, 29], "immin": 25, "suspens": 25, "notic": 25, "contact": 25, "write": [25, 28, 29], "rate": [25, 26], "document": [25, 29], "properli": 25, "strategi": 25, "bought": 26, "piec": 26, "now": [26, 28], "stuff": 26, "well": [26, 29], "re": 26, "place": 26, "go": 26, "further": 26, "meant": 26, "hard": 26, "thing": [26, 29], "understand": 26, "built": 26, "mind": 26, "5": [26, 29], "probabl": 26, "task": 26, "leverag": 26, "traffic": [26, 28], "between": [26, 28, 29], "backend": 26, "did": 26, "offici": 26, "unoffici": 26, "unsupport": 26, "suitabl": 26, "product": 26, "warranti": 26, "explicitli": [26, 28], "fact": [26, 29], "soon": [26, 29], "peopl": 26, "introduc": 26, "lead": 26, "plan": 26, "3rd": 26, "parti": 26, "plugin": 26, "eg": 26, "domot": 26, "framework": 26, "let": [26, 29], "know": [26, 29], "instal": 26, "quick": 26, "sensor": 26, "common": [26, 28], "gotcha": [26, 29], "advanc": 26, "topic": [26, 28], "registri": 26, "sniff": 26, "protocol": 26, "inspect": 26, "pair": 26, "architectur": 26, "flow": 26, "search": [26, 29], "page": 26, "7": 27, "abov": [27, 28], "pipi": 27, "pip": 27, "iot": [27, 29], "upgrad": 27, "manual": [27, 29], "download": 27, "sourc": 27, "archiv": 27, "unzip": 27, "git": 27, "clone": 27, "albertogeniola": 27, "cd": 27, "r": [27, 29], "requir": 27, "txt": 27, "outcom": 28, "revers": 28, "engin": 28, "attempt": 28, "forbidden": 28, "copi": 28, "republish": 28, "explicit": 28, "consent": 28, "guarante": 28, "accuraci": 28, "valid": 28, "resum": 28, "put": 28, "button": [28, 29], "wifi": 28, "bind": 28, "plug": [28, 29], "itself": 28, "point": 28, "meross_": 28, "str1": 28, "_": 28, "str2": 28, "recogn": 28, "avail": [28, 29], "simpli": 28, "scan": 28, "filter": [28, 29], "ssid": 28, "second": 28, "phase": 28, "obtain": 28, "dhcp": 28, "gatewai": 28, "rout": 28, "two": 28, "separ": 28, "post": 28, "sequenc": 28, "host": 28, "plug_ip_address": 28, "path": 28, "config": 28, "content": 28, "applic": 28, "bodi": 28, "from_devic": 28, "messageid": 28, "message_id": 28, "timestamp": 28, "sign": 28, "applianc": 28, "triggersrc": 28, "android": 28, "target_device_uuid": 28, "payload": 28, "mqtt_host": 28, "port": 28, "mqtt_port": 28, "userid": 28, "instruct": 28, "carri": 28, "numer": 28, "treat": 28, "secret": 28, "aim": 28, "sent": 28, "won": 28, "still": 28, "anoth": 28, "step": 28, "local": 28, "base64_encoded_ssid": 28, "base64_encoded_password": 28, "sinc": 28, "liter": 28, "broadcast": 28, "neighborhood": 28, "seriou": 28, "flaw": 28, "domest": 28, "reboot": 28, "success": 28, "tri": 28, "macaddress": 28, "_md5": 28, "clientid": 28, "fmware": 28, "deviceuuid": 28, "mac": 28, "lower": 28, "form": 28, "xx": 28, "underscor": 28, "digit": 28, "md5": 28, "hex": 28, "digest": 28, "concaten": 28, "constant": 28, "lowercas": 28, "che": 28, "correctli": 28, "succe": 28, "portion": 28, "anyth": 28, "assum": 28, "tl": 28, "expect": 28, "ssl": 28, "seem": 28, "kind": 28, "server": 28, "certif": 28, "abl": [28, 29], "mss210": 28, "serv": 28, "untrust": 28, "ca": 28, "check": [28, 29], "hostnam": 28, "word": 28, "cn": 28, "simpl": 28, "dn": 28, "spoof": 28, "attack": 28, "malici": 28, "commun": 28, "aw": 28, "By": 28, "among": 28, "imag": 28, "4": 28, "subscrib": 28, "tropic": 28, "uniqu": 28, "pull": 28, "publish": 28, "physic": 28, "app_id": 28, "fast": 29, "find": 29, "recipi": 29, "straight": 29, "forward": 29, "immedi": 29, "hand": 29, "dirti": 29, "ok": 29, "demo": 29, "realli": 29, "entir": 29, "carefulli": 29, "taken": 29, "effort": 29, "why": 29, "would": 29, "environ": 29, "meross_email": 29, "your_meross_cloud_email": 29, "meross_password": 29, "your_meross_cloud_password": 29, "main": 29, "meross_devic": 29, "find_devic": 29, "them": 29, "ve": 29, "found": 29, "dev": 29, "f": 29, "__name__": 29, "__main__": 29, "nt": 29, "get_event_loop": 29, "run_until_complet": 29, "charg": 29, "respect": 29, "queri": 29, "see": 29, "frequent": 29, "trigger": 29, "alert": 29, "detail": 29, "mss310": 29, "device_typ": 29, "len": 29, "No": 29, "veri": 29, "goe": 29, "down": 29, "ture": 29, "sleep": 29, "either": 29, "both": 29, "togglexmixn": 29, "panoram": 29, "around": 29, "those": 29, "random": 29, "randint": 29, "enum": 29, "unfortun": 29, "current_color": 29, "randomli": 29, "chose": 29, "chosen": 29, "b": 29, "interfac": 29, "here": 29, "somehow": 29, "simul": 29, "monitor": 29, "mount": 29, "Such": 29, "empti": 29, "signal": 29, "motor": 29, "Then": 29, "mark": 29, "quit": 29, "quickli": 29, "magnet": 29, "proxim": 29, "danger": 29, "safe": 29, "own": 29, "risk": 29, "absolv": 29, "device_class": 29, "msg100": 29, "open_statu": 29, "uncom": 29, "equip": 29, "humid": 29, "readonli": 29, "themselv": 29, "proper": 29, "valv": 29, "actuat": 29, "contrari": 29, "show": 29, "instant_consumpt": 29, "core": 29, "ms100": 29, "ensur": 29, "temp": 29, "last_sampled_temperatur": 29, "last_sampled_humid": 29, "last_sampled_tim": 29, "sampl": 29, "isoformat": 29, "c": 29, "within": 29, "subdevic": 29, "mts100v3": 29, "on_off": 29, "async_get_temperatur": 29, "target_temperatur": 29, "is_heat": 29, "choos": 29, "new_temp": 29, "min_supported_temperatur": 29, "max_supported_temperatur": 29, "async_set_target_temperatur": 29}, "objects": {"meross_iot.controller.device": [[1, 0, 1, "", "BaseDevice"], [2, 0, 1, "", "ChannelInfo"], [3, 0, 1, "", "GenericSubDevice"], [4, 0, 1, "", "HubDevice"]], "meross_iot.controller.device.BaseDevice": [[1, 1, 1, "", "async_update"], [1, 2, 1, "", "channels"], [1, 1, 1, "", "decrypt"], [1, 2, 1, "", "default_command_timeout"], [1, 1, 1, "", "encrypt"], [1, 2, 1, "", "firmware_version"], [1, 2, 1, "", "hardware_version"], [1, 2, 1, "", "internal_id"], [1, 1, 1, "", "is_encryption_key_set"], [1, 1, 1, "", "lookup_channel"], [1, 2, 1, "", "name"], [1, 2, 1, "", "online_status"], [1, 1, 1, "", "register_push_notification_handler_coroutine"], [1, 1, 1, "", "set_encryption_key"], [1, 1, 1, "", "support_encryption"], [1, 2, 1, "", "type"], [1, 1, 1, "", "unregister_push_notification_handler_coroutine"], [1, 2, 1, "", "uuid"]], "meross_iot.controller.device.GenericSubDevice": [[3, 1, 1, "", "async_get_battery_life"], [3, 1, 1, "", "async_update"], [3, 2, 1, "", "internal_id"], [3, 2, 1, "", "online_status"]], "meross_iot.controller.mixins.consumption": [[5, 0, 1, "", "ConsumptionXMixin"]], "meross_iot.controller.mixins.consumption.ConsumptionXMixin": [[5, 1, 1, "", "async_get_daily_power_consumption"]], "meross_iot.controller.mixins.diffuser_light": [[7, 0, 1, "", "DiffuserLightMixin"]], "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin": [[7, 1, 1, "", "async_set_light_mode"], [7, 1, 1, "", "get_light_brightness"], [7, 1, 1, "", "get_light_is_on"], [7, 1, 1, "", "get_light_mode"], [7, 1, 1, "", "get_light_rgb_color"]], "meross_iot.controller.mixins.diffuser_spray": [[8, 0, 1, "", "DiffuserSprayMixin"]], "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin": [[8, 1, 1, "", "async_set_spray_mode"], [8, 1, 1, "", "get_current_spray_mode"]], "meross_iot.controller.mixins.dnd": [[9, 0, 1, "", "SystemDndMixin"]], "meross_iot.controller.mixins.dnd.SystemDndMixin": [[9, 1, 1, "", "async_get_dnd_mode"], [9, 1, 1, "", "set_dnd_mode"]], "meross_iot.controller.mixins.electricity": [[10, 0, 1, "", "ElectricityMixin"]], "meross_iot.controller.mixins.electricity.ElectricityMixin": [[10, 1, 1, "", "async_get_instant_metrics"], [10, 1, 1, "", "get_last_sample"]], "meross_iot.controller.mixins.garage": [[6, 0, 1, "", "GarageOpenerMixin"]], "meross_iot.controller.mixins.garage.GarageOpenerMixin": [[6, 1, 1, "", "async_close"], [6, 1, 1, "", "async_open"], [6, 1, 1, "", "get_is_open"]], "meross_iot.controller.mixins.hub": [[11, 0, 1, "", "HubMixn"], [11, 0, 1, "", "HubMts100Mixin"]], "meross_iot.controller.mixins.light": [[12, 0, 1, "", "LightMixin"]], "meross_iot.controller.mixins.light.LightMixin": [[12, 1, 1, "", "async_set_light_color"], [12, 1, 1, "", "get_color_temperature"], [12, 1, 1, "", "get_light_is_on"], [12, 1, 1, "", "get_luminance"], [12, 1, 1, "", "get_rgb_color"], [12, 1, 1, "", "get_supports_luminance"], [12, 1, 1, "", "get_supports_rgb"], [12, 1, 1, "", "get_supports_temperature"]], "meross_iot.controller.mixins.roller_shutter": [[13, 0, 1, "", "RollerShutterTimerMixin"]], "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin": [[13, 1, 1, "", "async_close"], [13, 1, 1, "", "async_open"], [13, 1, 1, "", "async_set_config"], [13, 1, 1, "", "async_stop"], [13, 1, 1, "", "get_position"], [13, 1, 1, "", "get_status"]], "meross_iot.controller.mixins.runtime": [[14, 0, 1, "", "SystemRuntimeMixin"]], "meross_iot.controller.mixins.runtime.SystemRuntimeMixin": [[14, 1, 1, "", "async_update_runtime_info"], [14, 2, 1, "", "cached_system_runtime_info"]], "meross_iot.controller.mixins.spray": [[15, 0, 1, "", "SprayMixin"]], "meross_iot.controller.mixins.system": [[16, 0, 1, "", "SystemAllMixin"], [16, 0, 1, "", "SystemOnlineMixin"]], "meross_iot.controller.mixins.thermostat": [[17, 0, 1, "", "ThermostatModeMixin"], [17, 0, 1, "", "ThermostatState"]], "meross_iot.controller.mixins.thermostat.ThermostatModeMixin": [[17, 1, 1, "", "get_thermostat_state"]], "meross_iot.controller.mixins.thermostat.ThermostatState": [[17, 2, 1, "", "cool_temperature_celsius"], [17, 2, 1, "", "current_temperature_celsius"], [17, 2, 1, "", "eco_temperature_celsius"], [17, 2, 1, "", "heat_temperature_celsius"], [17, 2, 1, "", "is_on"], [17, 2, 1, "", "manual_temperature_celsius"], [17, 2, 1, "", "max_temperature_celsius"], [17, 2, 1, "", "min_temperature_celsius"], [17, 2, 1, "", "mode"], [17, 2, 1, "", "target_temperature_celsius"], [17, 1, 1, "", "update"], [17, 2, 1, "", "warning"]], "meross_iot.controller.mixins.toggle": [[18, 0, 1, "", "ToggleMixin"], [18, 0, 1, "", "ToggleXMixin"]], "meross_iot.controller.mixins.toggle.ToggleXMixin": [[18, 1, 1, "", "async_toggle"], [18, 1, 1, "", "async_turn_off"], [18, 1, 1, "", "async_turn_on"], [18, 1, 1, "", "is_on"]], "meross_iot": [[22, 3, 0, "-", "http_api"]], "meross_iot.http_api": [[22, 0, 1, "", "MerossHttpClient"]], "meross_iot.http_api.MerossHttpClient": [[22, 1, 1, "", "async_from_cloud_creds"], [22, 1, 1, "", "async_from_user_password"], [22, 1, 1, "", "async_invalidate_credentials"], [22, 1, 1, "", "async_list_devices"], [22, 1, 1, "", "async_list_hub_subdevices"], [22, 1, 1, "", "async_login"], [22, 1, 1, "", "async_logout"], [22, 2, 1, "", "cloud_credentials"]], "meross_iot.model": [[21, 3, 0, "-", "credentials"]], "meross_iot.model.credentials": [[21, 0, 1, "", "MerossCloudCreds"]], "meross_iot.model.credentials.MerossCloudCreds": [[21, 1, 1, "", "from_json"], [21, 1, 1, "", "to_json"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:property", "3": "py:module"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "property", "Python property"], "3": ["py", "module", "Python module"]}, "titleterms": {"advanc": 0, "topic": 0, "push": [0, 28], "notif": [0, 28], "handl": 0, "log": 0, "cach": 0, "devic": [0, 28, 29], "registri": 0, "inform": 0, "sniff": 0, "data": 0, "basedevic": 1, "channelinfo": 2, "genericsubdevic": 3, "hubdevic": 4, "consumptionxmixin": 5, "garageopenermixin": 6, "diffuserlightmixin": 7, "diffuserspraymixin": 8, "dndmixin": 9, "electricitymixin": 10, "hubmixn": 11, "hubmts100mixin": 11, "lightmixin": 12, "rollershuttermixin": 13, "system": 14, "runtimemixin": 14, "spraymixin": 15, "systemallmixin": 16, "systemonlinemixin": 16, "thermostatmixin": 17, "togglexmixin": 18, "togglemixin": 18, "ms100sensor": 19, "mts100v3valv": 20, "merosscloudcredenti": 21, "http": 22, "client": [22, 28], "api": 23, "refer": 23, "merossmanag": 24, "common": 25, "gotcha": 25, "welcom": 26, "merossiot": 26, "librari": 26, "": 26, "document": 26, "befor": 26, "us": 26, "thi": 26, "tabl": 26, "Of": 26, "content": 26, "indic": 26, "instal": 27, "meross": 28, "protocol": 28, "inspect": 28, "pair": 28, "mqtt": 28, "architectur": 28, "flow": 28, "app": 28, "command": 28, "quick": 29, "start": 29, "list": 29, "control": 29, "switch": 29, "bulb": 29, "garag": 29, "door": 29, "open": 29, "read": 29, "sensor": 29, "thermostat": 29}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"Advanced topics": [[0, "advanced-topics"]], "Push notification handling": [[0, "push-notification-handling"]], "Logging": [[0, "logging"]], "Cache device registry information": [[0, "cache-device-registry-information"]], "Sniff device data": [[0, "sniff-device-data"]], "BaseDevice": [[1, "basedevice"]], "ChannelInfo": [[2, "channelinfo"]], "GenericSubDevice": [[3, "genericsubdevice"]], "HubDevice": [[4, "hubdevice"]], "ConsumptionXMixin": [[5, "consumptionxmixin"]], "GarageOpenerMixin": [[6, "garageopenermixin"]], "DiffuserLightMixin": [[7, "diffuserlightmixin"]], "DiffuserSprayMixin": [[8, "diffuserspraymixin"]], "DNDMixin": [[9, "dndmixin"]], "ElectricityMixin": [[10, "electricitymixin"]], "HubMixn": [[11, "hubmixn"]], "HubMts100Mixin": [[11, "hubmts100mixin"]], "LightMixin": [[12, "lightmixin"]], "RollerShutterMixin": [[13, "rollershuttermixin"]], "System`RuntimeMixin": [[14, "system-runtimemixin"]], "SprayMixin": [[15, "spraymixin"]], "SystemAllMixin": [[16, "systemallmixin"]], "SystemOnlineMixin": [[16, "systemonlinemixin"]], "ThermostatMixin": [[17, "thermostatmixin"]], "ToggleXMixin": [[18, "togglexmixin"]], "ToggleMixin": [[18, "togglemixin"]], "Ms100Sensor": [[19, "ms100sensor"]], "Mts100v3Valve": [[20, "mts100v3valve"]], "MerossCloudCredentials": [[21, "module-meross_iot.model.credentials"]], "HTTP Client": [[22, "module-meross_iot.http_api"]], "API Reference": [[23, "api-reference"]], "Api Reference": [[23, null]], "MerossManager": [[24, "merossmanager"]], "Common gotchas": [[25, "common-gotchas"]], "Welcome to MerossIot Library\u2019s documentation!": [[26, "welcome-to-merossiot-library-s-documentation"]], "Before using this library": [[26, "before-using-this-library"]], "Table Of Contents": [[26, "table-of-contents"]], "Table of Contents": [[26, null]], "Indices and tables": [[26, "indices-and-tables"]], "Installation": [[27, "installation"]], "Meross Protocol Inspection": [[28, "meross-protocol-inspection"]], "Client device pairing": [[28, "client-device-pairing"]], "Meross MQTT architecture": [[28, "meross-mqtt-architecture"]], "Flow: App commands": [[28, "flow-app-commands"]], "Flow: Push notifications": [[28, "flow-push-notifications"]], "Quick start": [[29, "quick-start"]], "Listing devices": [[29, "listing-devices"]], "Controlling switches": [[29, "controlling-switches"]], "Controlling bulbs": [[29, "controlling-bulbs"]], "Controlling garage door openers": [[29, "controlling-garage-door-openers"]], "Reading sensors": [[29, "reading-sensors"]], "Controlling Thermostat": [[29, "controlling-thermostat"]]}, "indexentries": {"basedevice (class in meross_iot.controller.device)": [[1, "meross_iot.controller.device.BaseDevice"]], "async_update() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.async_update"]], "channels (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.channels"]], "decrypt() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.decrypt"]], "default_command_timeout (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.default_command_timeout"]], "encrypt() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.encrypt"]], "firmware_version (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.firmware_version"]], "hardware_version (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.hardware_version"]], "internal_id (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.internal_id"]], "is_encryption_key_set() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.is_encryption_key_set"]], "lookup_channel() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.lookup_channel"]], "name (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.name"]], "online_status (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.online_status"]], "register_push_notification_handler_coroutine() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.register_push_notification_handler_coroutine"]], "set_encryption_key() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.set_encryption_key"]], "support_encryption() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.support_encryption"]], "type (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.type"]], "unregister_push_notification_handler_coroutine() (meross_iot.controller.device.basedevice method)": [[1, "meross_iot.controller.device.BaseDevice.unregister_push_notification_handler_coroutine"]], "uuid (meross_iot.controller.device.basedevice property)": [[1, "meross_iot.controller.device.BaseDevice.uuid"]], "channelinfo (class in meross_iot.controller.device)": [[2, "meross_iot.controller.device.ChannelInfo"]], "genericsubdevice (class in meross_iot.controller.device)": [[3, "meross_iot.controller.device.GenericSubDevice"]], "async_get_battery_life() (meross_iot.controller.device.genericsubdevice method)": [[3, "meross_iot.controller.device.GenericSubDevice.async_get_battery_life"]], "async_update() (meross_iot.controller.device.genericsubdevice method)": [[3, "meross_iot.controller.device.GenericSubDevice.async_update"]], "internal_id (meross_iot.controller.device.genericsubdevice property)": [[3, "meross_iot.controller.device.GenericSubDevice.internal_id"]], "online_status (meross_iot.controller.device.genericsubdevice property)": [[3, "meross_iot.controller.device.GenericSubDevice.online_status"]], "hubdevice (class in meross_iot.controller.device)": [[4, "meross_iot.controller.device.HubDevice"]], "consumptionxmixin (class in meross_iot.controller.mixins.consumption)": [[5, "meross_iot.controller.mixins.consumption.ConsumptionXMixin"]], "async_get_daily_power_consumption() (meross_iot.controller.mixins.consumption.consumptionxmixin method)": [[5, "meross_iot.controller.mixins.consumption.ConsumptionXMixin.async_get_daily_power_consumption"]], "garageopenermixin (class in meross_iot.controller.mixins.garage)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin"]], "async_close() (meross_iot.controller.mixins.garage.garageopenermixin method)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin.async_close"]], "async_open() (meross_iot.controller.mixins.garage.garageopenermixin method)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin.async_open"]], "get_is_open() (meross_iot.controller.mixins.garage.garageopenermixin method)": [[6, "meross_iot.controller.mixins.garage.GarageOpenerMixin.get_is_open"]], "diffuserlightmixin (class in meross_iot.controller.mixins.diffuser_light)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin"]], "async_set_light_mode() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.async_set_light_mode"]], "get_light_brightness() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_brightness"]], "get_light_is_on() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_is_on"]], "get_light_mode() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_mode"]], "get_light_rgb_color() (meross_iot.controller.mixins.diffuser_light.diffuserlightmixin method)": [[7, "meross_iot.controller.mixins.diffuser_light.DiffuserLightMixin.get_light_rgb_color"]], "diffuserspraymixin (class in meross_iot.controller.mixins.diffuser_spray)": [[8, "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin"]], "async_set_spray_mode() (meross_iot.controller.mixins.diffuser_spray.diffuserspraymixin method)": [[8, "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin.async_set_spray_mode"]], "get_current_spray_mode() (meross_iot.controller.mixins.diffuser_spray.diffuserspraymixin method)": [[8, "meross_iot.controller.mixins.diffuser_spray.DiffuserSprayMixin.get_current_spray_mode"]], "systemdndmixin (class in meross_iot.controller.mixins.dnd)": [[9, "meross_iot.controller.mixins.dnd.SystemDndMixin"]], "async_get_dnd_mode() (meross_iot.controller.mixins.dnd.systemdndmixin method)": [[9, "meross_iot.controller.mixins.dnd.SystemDndMixin.async_get_dnd_mode"]], "set_dnd_mode() (meross_iot.controller.mixins.dnd.systemdndmixin method)": [[9, "meross_iot.controller.mixins.dnd.SystemDndMixin.set_dnd_mode"]], "electricitymixin (class in meross_iot.controller.mixins.electricity)": [[10, "meross_iot.controller.mixins.electricity.ElectricityMixin"]], "async_get_instant_metrics() (meross_iot.controller.mixins.electricity.electricitymixin method)": [[10, "meross_iot.controller.mixins.electricity.ElectricityMixin.async_get_instant_metrics"]], "get_last_sample() (meross_iot.controller.mixins.electricity.electricitymixin method)": [[10, "meross_iot.controller.mixins.electricity.ElectricityMixin.get_last_sample"]], "hubmixn (class in meross_iot.controller.mixins.hub)": [[11, "meross_iot.controller.mixins.hub.HubMixn"]], "hubmts100mixin (class in meross_iot.controller.mixins.hub)": [[11, "meross_iot.controller.mixins.hub.HubMts100Mixin"]], "lightmixin (class in meross_iot.controller.mixins.light)": [[12, "meross_iot.controller.mixins.light.LightMixin"]], "async_set_light_color() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.async_set_light_color"]], "get_color_temperature() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_color_temperature"]], "get_light_is_on() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_light_is_on"]], "get_luminance() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_luminance"]], "get_rgb_color() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_rgb_color"]], "get_supports_luminance() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_supports_luminance"]], "get_supports_rgb() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_supports_rgb"]], "get_supports_temperature() (meross_iot.controller.mixins.light.lightmixin method)": [[12, "meross_iot.controller.mixins.light.LightMixin.get_supports_temperature"]], "rollershuttertimermixin (class in meross_iot.controller.mixins.roller_shutter)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin"]], "async_close() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_close"]], "async_open() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_open"]], "async_set_config() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_set_config"]], "async_stop() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.async_stop"]], "get_position() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.get_position"]], "get_status() (meross_iot.controller.mixins.roller_shutter.rollershuttertimermixin method)": [[13, "meross_iot.controller.mixins.roller_shutter.RollerShutterTimerMixin.get_status"]], "systemruntimemixin (class in meross_iot.controller.mixins.runtime)": [[14, "meross_iot.controller.mixins.runtime.SystemRuntimeMixin"]], "async_update_runtime_info() (meross_iot.controller.mixins.runtime.systemruntimemixin method)": [[14, "meross_iot.controller.mixins.runtime.SystemRuntimeMixin.async_update_runtime_info"]], "cached_system_runtime_info (meross_iot.controller.mixins.runtime.systemruntimemixin property)": [[14, "meross_iot.controller.mixins.runtime.SystemRuntimeMixin.cached_system_runtime_info"]], "spraymixin (class in meross_iot.controller.mixins.spray)": [[15, "meross_iot.controller.mixins.spray.SprayMixin"]], "systemallmixin (class in meross_iot.controller.mixins.system)": [[16, "meross_iot.controller.mixins.system.SystemAllMixin"]], "systemonlinemixin (class in meross_iot.controller.mixins.system)": [[16, "meross_iot.controller.mixins.system.SystemOnlineMixin"]], "thermostatmodemixin (class in meross_iot.controller.mixins.thermostat)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatModeMixin"]], "thermostatstate (class in meross_iot.controller.mixins.thermostat)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState"]], "cool_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.cool_temperature_celsius"]], "current_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.current_temperature_celsius"]], "eco_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.eco_temperature_celsius"]], "get_thermostat_state() (meross_iot.controller.mixins.thermostat.thermostatmodemixin method)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatModeMixin.get_thermostat_state"]], "heat_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.heat_temperature_celsius"]], "is_on (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.is_on"]], "manual_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.manual_temperature_celsius"]], "max_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.max_temperature_celsius"]], "min_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.min_temperature_celsius"]], "mode (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.mode"]], "target_temperature_celsius (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.target_temperature_celsius"]], "update() (meross_iot.controller.mixins.thermostat.thermostatstate method)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.update"]], "warning (meross_iot.controller.mixins.thermostat.thermostatstate property)": [[17, "meross_iot.controller.mixins.thermostat.ThermostatState.warning"]], "togglemixin (class in meross_iot.controller.mixins.toggle)": [[18, "meross_iot.controller.mixins.toggle.ToggleMixin"]], "togglexmixin (class in meross_iot.controller.mixins.toggle)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin"]], "async_toggle() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.async_toggle"]], "async_turn_off() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.async_turn_off"]], "async_turn_on() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.async_turn_on"]], "is_on() (meross_iot.controller.mixins.toggle.togglexmixin method)": [[18, "meross_iot.controller.mixins.toggle.ToggleXMixin.is_on"]], "merosscloudcreds (class in meross_iot.model.credentials)": [[21, "meross_iot.model.credentials.MerossCloudCreds"]], "from_json() (meross_iot.model.credentials.merosscloudcreds class method)": [[21, "meross_iot.model.credentials.MerossCloudCreds.from_json"]], "meross_iot.model.credentials": [[21, "module-meross_iot.model.credentials"]], "module": [[21, "module-meross_iot.model.credentials"], [22, "module-meross_iot.http_api"]], "to_json() (meross_iot.model.credentials.merosscloudcreds method)": [[21, "meross_iot.model.credentials.MerossCloudCreds.to_json"]], "merosshttpclient (class in meross_iot.http_api)": [[22, "meross_iot.http_api.MerossHttpClient"]], "async_from_cloud_creds() (meross_iot.http_api.merosshttpclient class method)": [[22, "meross_iot.http_api.MerossHttpClient.async_from_cloud_creds"]], "async_from_user_password() (meross_iot.http_api.merosshttpclient class method)": [[22, "meross_iot.http_api.MerossHttpClient.async_from_user_password"]], "async_invalidate_credentials() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_invalidate_credentials"]], "async_list_devices() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_list_devices"]], "async_list_hub_subdevices() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_list_hub_subdevices"]], "async_login() (meross_iot.http_api.merosshttpclient class method)": [[22, "meross_iot.http_api.MerossHttpClient.async_login"]], "async_logout() (meross_iot.http_api.merosshttpclient method)": [[22, "meross_iot.http_api.MerossHttpClient.async_logout"]], "cloud_credentials (meross_iot.http_api.merosshttpclient property)": [[22, "meross_iot.http_api.MerossHttpClient.cloud_credentials"]], "meross_iot.http_api": [[22, "module-meross_iot.http_api"]]}}) \ No newline at end of file