Install
openclaw skills install merossControl Meross cloud plugs via local CLI commands. Use for discovery, state checks, and switch on/off actions.
openclaw skills install merossUse local node dist/cli.js only.
Do not use plugin APIs.
Do not invent device mappings.
MEROSS_EMAIL and MEROSS_PASSWORD before cloud commands.MEROSS_REGION is optional.npm install && npm run build.devices.json or other files.deviceId first.devices.json.switch capability is valid.devices.json in skill root.node dist/cli.js setup-once '{}'
setup-once rewrites device set to normalized entries:
deviceId=plug_<normalized_uuid>channel=0capabilities=["switch"]node dist/cli.js <command> '<json-input>'
Supported commands:
list-devicesget-stateset-devicediscover-cloud-devicessetup-onceCore patterns:
node dist/cli.js list-devices '{}'
node dist/cli.js get-state '{"deviceId":"plug_abc"}'
node dist/cli.js set-device '{"deviceId":"plug_abc","capability":"switch","value":"on"}'
node dist/cli.js set-device '{"deviceId":"plug_abc","capability":"switch","value":"off"}'
node dist/cli.js discover-cloud-devices '{}'
node dist/cli.js setup-once '{}'
For delayed switch commands, create one-shot OpenClaw at jobs that execute the same set-device payload at an absolute user-timezone timestamp.
stdoutstderr, non-zero exitDEVICE_NOT_FOUND, DEVICE_OFFLINE, AUTH_FAILED, MEROSS_API_ERROR, INVALID_INPUT, REGISTRY_ERROR, AMBIGUOUS_DEVICE, INTERNAL_ERROR