A lightweight Python CLI tool to discover, inspect and control Meross smart plugs directly over your local network — without relying on the Meross Cloud.
MEROSS-TOOL is a command-line utility for communicating with Meross smart plugs through their local HTTP-based API.
It provides device discovery, hardware and firmware inspection, relay control and access to additional device capabilities.
Beyond device management, this project also explores the security characteristics of Meross IoT devices, particularly their local API implementation, authentication mechanisms and network exposure.
No external Python packages are required.
| Feature | Description |
|---|---|
| 🔍 Device Discovery | Automatically scan your local IPv4 subnet |
| 📡 Device Inspector | Retrieve hardware and firmware information |
| 🟢 Relay Control | Switch your smart plug ON or OFF |
| 🧩 API Discovery | Query supported API namespaces |
| 🌙 LED Control | Enable or disable the device status LED |
| 📊 Runtime Information | Retrieve available runtime and Wi-Fi information |
| 📄 JSON Output | Export device information in JSON format |
| ⚡ Multithreading | Scan multiple network hosts concurrently |
| 🔬 Security Research | Investigate local API security and authentication behavior |
- Python 3.9 or newer
- A Meross smart plug supporting the local HTTP API
- Computer and smart plug connected to the same reachable network
- Network access to the device on TCP port
80
Clone the repository:
git clone https://github.com/suuhm/MEROSS-TOOL.gitNavigate into the directory:
cd MEROSS-TOOLRun the tool:
python3 meross_tool.pyNo additional dependencies or package installations are necessary.
python3 meross_tool.pyAutomatically detect your local IPv4 /24 subnet:
python3 meross_tool.py --discoverSpecify a subnet manually:
python3 meross_tool.py --discover 192.168.178.0/24python3 meross_tool.py 192.168.178.50 --infoSwitch ON:
python3 meross_tool.py 192.168.178.50 --onSwitch OFF:
python3 meross_tool.py 192.168.178.50 --offDisable the physical status LED:
python3 meross_tool.py 192.168.178.50 --led-offEnable the physical status LED:
python3 meross_tool.py 192.168.178.50 --led-onpython3 meross_tool.py 192.168.178.50 --scan| Argument | Description |
|---|---|
-d, --discover |
Discover Meross devices |
-i, --info |
Display device information |
--on |
Switch relay ON |
--off |
Switch relay OFF |
-s, --scan |
Inspect capabilities and runtime |
--led-off |
Disable status LED |
--led-on |
Enable status LED |
-j, --json |
Output results as JSON |
-q, --quiet |
Suppress ASCII banner |
-h, --help |
Display help information |
MEROSS-TOOL communicates directly with Meross devices over the local network.
It sends JSON-formatted HTTP POST requests to:
http://DEVICE_IP/config
The communication uses Meross API namespaces, including:
Appliance.System.All
Appliance.Control.ToggleX
Appliance.System.Ability
Appliance.System.DNDMode
Appliance.System.Runtime
A typical request consists of two main components:
Header
messageIdmethodnamespacepayloadVersiontimestampsign
Payload
Contains the parameters required for the requested operation.
The API uses its own application-level message structure on top of HTTP.
Internet of Things (IoT) devices increasingly combine cloud connectivity, local network interfaces and third-party smart home integrations.
While these integrations improve interoperability, they also introduce additional attack surfaces.
A device may implement several communication mechanisms simultaneously. Consequently, the security of one integration does not automatically guarantee the security of another.
MEROSS-TOOL provides functionality to inspect the local API behavior of Meross smart plugs and investigate these interfaces in a controlled environment.
Research: Why It's So Easy to Hack Your Smart Home
Author: Martin Bock Institution: Hochschule der Medien Stuttgart Publication date: September 9, 2021
The research documents security weaknesses in a Meross MSS210 smart plug.
The investigation describes:
- An accessible local HTTP service on TCP port 80.
- A web-based administration interface.
- Exposure of sensitive configuration information.
- Communication through the
/configendpoint. - Retrieval of hardware, firmware and device information.
- Local relay manipulation through the
Appliance.Control.ToggleXnamespace.
The research demonstrates that weaknesses in a manufacturer's local API can undermine the security assumptions of otherwise secure smart home ecosystems.
Important: The tested device used hardware revision 4.0.0 and firmware 4.1.7. These findings must not automatically be generalized to every subsequent hardware and firmware revision.
Published: October 7, 2021 Classification: CWE-294 – Authentication Bypass by Capture-Replay
This vulnerability concerns Meross MSG100 garage door opener devices running firmware versions before 3.2.3.
The documented weakness allows replay of previously captured or similar messages. For example, an attacker may be able to replay a captured closing command as an opening command.
Important distinction: CVE-2021-35067 concerns the MSG100. It is not a CVE assigned to the MSS210.
It is included here as additional evidence of previously documented security problems in the Meross product ecosystem, not as proof that the MSS210 is affected by this specific CVE.
The local Meross API is particularly interesting from a security perspective.
The current MEROSS-TOOL implementation constructs requests using the following structure:
{
"header": {
"method": "GET",
"namespace": "Appliance.System.All",
"payloadVersion": 1,
"sign": "00000000000000000000000000000000"
},
"payload": {}
}The implementation uses a constant zero-filled signature value.
This behavior makes signature validation an important subject for further investigation.
The following security properties are relevant:
| Security Property | Research Question |
|---|---|
| Authentication | Does the device require authentication for local requests? |
| Authorization | Are operations restricted to authorized clients? |
| Signature Validation | Is the message signature actually verified? |
| Replay Protection | Are previously transmitted messages rejected? |
| Transport Security | Is local communication protected against interception? |
| Information Disclosure | What device information is exposed through the API? |
A successful response to a request containing an invalid signature would be an indication that the signature is not being enforced for that particular operation and firmware configuration.
Such a result should be documented separately for every tested device revision.
| Property | Observed Configuration |
|---|---|
| Manufacturer | Meross |
| Model | MSS210 |
| Hardware Revision | v7.0.0 |
| Firmware Version | 7.3.2 |
| Firmware Date | August 2023 |
| Interface | Local HTTP API |
| Endpoint | /config |
| Port | TCP 80 |
The device configuration above represents an individual test environment.
The primary objective is to determine whether security behavior documented in earlier MSS210 research can also be reproduced on newer hardware and firmware.
In particular:
- Determine whether local API requests require authentication.
- Examine how the device handles invalid signature values.
- Verify whether relay operations are subject to authorization checks.
- Investigate whether replay protection is implemented.
- Compare observed behavior with previously published research.
Research limitation: The 2021 MSS210 publication does not establish the security status of firmware 7.3.2. The newer hardware and firmware combination requires independent testing. No claim of an unpatched vulnerability should be made without reproducible evidence.
Security findings should be reported responsibly to the manufacturer before public disclosure.
Meross provides an official vulnerability disclosure process:
Meross Security Advisory Policy
According to its published policy:
- Reports should contain product, hardware and firmware details.
- Reproduction steps and technical evidence should be provided.
- Research should use the latest available firmware.
- Reports should be submitted in English.
- Meross does not operate a vulnerability bounty program.
- Researchers are asked to coordinate disclosure and allow 180 calendar days after acknowledgment before public disclosure.
Security research should be limited to devices owned by the researcher or systems for which explicit authorization exists.
-
Bock, M. (2021). Why It's So Easy to Hack Your Smart Home. Hochschule der Medien Stuttgart. https://blog.mi.hdm-stuttgart.de/index.php/2021/09/09/why-its-so-easy-to-hack-your-smart-home/
-
CVE-2021-35067. Meross MSG100 Capture-Replay Vulnerability. https://www.cve.org/CVERecord?id=CVE-2021-35067
-
Meross. Security Advisory Policy. https://www.meross.com/en-gc/security-advisory-policy
-
Meross. Security Advisory Submission Portal. https://www.meross.com/en-gc/support/security-advisory
- Not every Meross device supports all local API namespaces.
- Available functions depend on the individual device model and firmware.
- LED and runtime features may not be supported by every device.
- Device discovery only identifies devices responding to the expected local API.
- Automatic subnet detection assumes a
/24network. - Security research findings must be verified independently for each device revision.
Security Notice: This tool communicates over HTTP without transport encryption. Use it only on trusted networks and with devices you own or are authorized to manage.
MEROSS-TOOL is an independent research and development project. It is not affiliated with, endorsed by, or supported by Meross.