π¦ ClawHub
Closeli Open Device status Query
by @closeli-open
Closeli Device Status Query API. Used to query the current status of specified devices and supports determining whether a device is online, offline, or sleep...
π‘ Examples
python3 check_status.py --device-ids "xxxxS_aabbccddeeff"
Query multiple devices (comma-separated):
python3 check_status.py --device-ids "xxxxS_aabbccddeeff,xxxxS_112233445566"
βοΈ Configuration
The script depends on httpx. If it is not installed, the script will prompt python3 -m pip install httpx.
π Tips & Best Practices
device_ids cannot be an empty array, otherwise error code 2001 is returneddevice_id is case-sensitive. The prefix MUST be lowercase xxxxS_, NOT uppercase XXXXS_. The script will auto-correct the case, but the agent SHOULD always pass the correct lowercase formatTERMINAL
clawhub install api-device-status