openclaw devices list

in the folder of : ~/.openclaw/devices$

run following can list when the devices were created.

python3 – << ‘EOF’
import json, time
with open(“/home/jameszbw/.openclaw/devices/paired.json”) as f:
data = json.load(f)

for dev_id, dev in data.items():
last = dev[“tokens”][“operator”][“lastUsedAtMs”]
created = dev[“createdAtMs”]
print(f”\nDevice: {dev_id}”)
print(f” clientId: {dev[‘clientId’]}”)
print(f” mode: {dev[‘clientMode’]}”)
print(f” platform: {dev[‘platform’]}”)
print(f” created: {time.ctime(created/1000)}”)
print(f” last used: {time.ctime(last/1000)}”)
EOF

if openclaw veriosn mismatch gateway verison, use this:

openclaw gateway install –force

Leave a Reply