MCPcopy Index your code
hub / github.com/bytespider/Meross

github.com/bytespider/Meross @2.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.2 ↗ · + Follow
138 symbols 293 edges 51 files 2 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Meross utilities

Node.js Package

Tools to help configure the Meross devices to use private MQTT servers.

Requirements

NodeJS: ^21.0.0, ^20.10.0, ^18.20.0 NPM: ^10.0.0

Setup

TODO: Devices with WIFI pairing

Devices with Bluetooth pairing

Tools

Info

npx meross-info [options] <options>

Options:
  -V, --version           output the version number
  -a, --ip <ip>           Send command to device with this IP address (default: "10.10.10.1")
  -u, --user <user-id>    Integer id. Used by devices connected to the Meross Cloud
  -k, --key <shared-key>  Shared key for generating signatures (default: "")
  --include-wifi          List WIFI Access Points near the device
  --include-ability       List device ability list
  --include-time          List device time
  -v, --verbose           Show debugging messages
  -h, --help              display help for command

Setup

npx meross-setup [options] <options>

Options:
  -V, --version                        output the version number
  -a, --ip <ip>                        Send command to device with this IP address (default: "10.10.10.1")
  --wifi-ssid <wifi-ssid>              WIFI Access Point name
  --wifi-pass <wifi-pass>              WIFI Access Point password
  --wifi-encryption <wifi-encryption>  WIFI Access Point encryption (this can be found using meross info --include-wifi)
  --wifi-cipher <wifi-cipher>          WIFI Access Point cipher (this can be found using meross info --include-wifi)
  --wifi-bssid <wifi-bssid>            WIFI Access Point BSSID (each octet separated by a colon `:`)
  --wifi-channel <wifi-channel>        WIFI Access Point 2.5GHz channel number [1-13] (this can be found using meross info --include-wifi)
  --mqtt <mqtt-server>                 MQTT server address
  -u, --user <user-id>                 Integer id. Used by devices connected to the Meross Cloud (default: 0)
  -k, --key <shared-key>               Shared key for generating signatures (default: "")
  -t, --set-time                       Configure device time with time and timezone of current host
  -v, --verbose                        Show debugging messages (default: "")
  -h, --help                           display help for command

Core symbols most depended-on inside this repo

md5
called by 15
packages/lib/src/utils/md5.ts
computePresharedPrivateKey
called by 11
packages/lib/src/utils/computePresharedPrivateKey.ts
computeDevicePassword
called by 10
packages/lib/src/utils/computeDevicePassword.ts
sendMessage
called by 8
packages/lib/src/device.ts
progressFunctionWithMessage
called by 8
packages/cli/src/cli.ts
randomId
called by 7
packages/lib/src/utils/randomId.ts
protocolFromPort
called by 6
packages/lib/src/utils/protocolFromPort.ts
filterUndefined
called by 6
packages/lib/src/utils/filterUndefined.ts

Shape

Method 46
Function 44
Class 43
Enum 5

Languages

TypeScript100%

Modules by API surface

packages/lib/src/device.ts16 symbols
packages/lib/src/deviceManager.ts10 symbols
packages/cli/src/meross-setup.ts9 symbols
packages/lib/src/wifi.ts8 symbols
packages/lib/src/deviceManager.test.ts8 symbols
packages/lib/src/cloudCredentials.ts7 symbols
packages/lib/src/transport/transport.test.ts6 symbols
packages/lib/src/message/header.ts6 symbols
packages/lib/src/transport/transport.ts5 symbols
packages/lib/src/encryption.ts5 symbols
packages/cli/src/cli.ts5 symbols
packages/lib/src/utils/buffer.ts4 symbols

For agents

$ claude mcp add Meross \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact