Registry / communication / meross-iot

meross-iot

JSON →
library0.4.10.4pypypiunverified

A simple Python library to control Meross smart devices, including smart plugs (MSS110, MSS210, MSS310, MSS310H, MSS425E power strip) and other devices with limited functionality. Current version 0.4.10.4, requires Python >=3.8. Released approximately monthly.

pip install meross-iot
INSTALL
IMPORT
SIG · MEROSS-IOT
M
meross-iot
communicationpythonv0.4.10.4
Install
6.1s avg
Import
Disk
49MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.10.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 47.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.1s · import 0.000s · 51MB
49MB installed
● package 49MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MerossDeviceDescriptor
from meross_iot import MerossDeviceDescriptor
from meross_iot.model.device import MerossDeviceDescriptor

Initialize client, fetch device list.

import asyncio from meross_iot.cloud.client import MerossCloudClient from meross_iot.model.http import HttpApiConfig async def main(): email = os.environ.get('MEROSS_EMAIL', '') password = os.environ.get('MEROSS_PASSWORD', '') client = MerossCloudClient(http=HttpApiConfig(email=email, password=password)) await client.async_http_init() devices = await client.async_get_device_list() for d in devices: print(d.name, d.uuid) await client.async_http_deinit() if __name__ == '__main__': asyncio.run(main())
Debug
Known issues
gotchaasyncio event loop must be explicitly managed; calling async methods without running the loop will raise RuntimeError.
fix
Wrap all async calls in asyncio.run() or run inside a running event loop.
affects: all
breakingMajor API restructuring between 0.3.x and 0.4.x; many classes and imports changed. Old code using MerossClient from meross_iot.client will break.
fix
Use MerossCloudClient from meross_iot.cloud.client and HttpApiConfig for credentials.
affects: >=0.4.0
gotchaDevice control requires calling async_http_init() before any API call; forgetting leads to 'HTTP not initialized' errors.
fix
Always await client.async_http_init() before listing devices or sending commands.
affects: all
Upgrade
Version history
0.4.10.4latest on PyPI · released Jan 22, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
meross-iot — pip install meross-iot · libregistry