iwown device gnss tracker

v1.0.0

识别智能设备二维码并查询定位位置。触发场景:用户发送包含设备二维码的图片、查询设备定位、识别设备二维码获取位置、根据IMEI查询设备最后定位。

0· 68·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for scow/gnss-tracker.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "iwown device gnss tracker" (scow/gnss-tracker) from ClawHub.
Skill page: https://clawhub.ai/scow/gnss-tracker
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install gnss-tracker

ClawHub CLI

Package manager switcher

npx clawhub@latest install gnss-tracker
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name/description match the included script: query_gnss.py queries an iwown.com GNSS endpoint by IMEI. However SKILL.md recommends using zbarimg to decode QR codes but the skill does not declare that binary as a requirement; that is a mismatch (missing declared dependency).
Instruction Scope
Instructions are narrowly scoped: decode QR to extract dev_info.imei, call the GNSS API, return formatted result. They do not ask the agent to read unrelated files or credentials. Important: the runtime will send IMEI (a persistent device identifier) to an external API (search.iwown.com), which is expected for the purpose but privacy-sensitive and worth explicit user consent.
Install Mechanism
No install spec and only a small Python script are included. No downloads, package installs, or extraction from arbitrary URLs are present.
Credentials
The skill requests no environment variables or credentials, which is proportionate. However, it does transmit IMEI values externally (to search.iwown.com). Even though no secret credentials are required, sending device identifiers is privacy-sensitive and should be considered before use.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent privileges, nor does it modify other skills or system-wide configuration.
Assessment
Before installing or using: (1) Confirm you want to send device IMEIs to https://search.iwown.com and verify that domain/address is legitimate for your devices; this leaks device identifiers to an external service. (2) Ensure the runtime has a QR decoder (SKILL.md mentions zbarimg) — the skill does not declare this dependency. (3) Obtain consent from device owners before querying locations and consider legal/privacy implications. (4) If you prefer not to contact an external API, decode QR and handle location lookup via an approved service or offline tools. (5) Run the script in an isolated environment if you need to inspect responses or test behavior.

Like a lobster shell, security has layers — review code before you run it.

latestvk97135ma8xq9w3p5bnrp739me184wfwe
68downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

GNSS 设备定位查询 Skill

功能

识别智能设备二维码,提取IMEI号,查询设备最后一次定位位置。

触发条件

当用户发送包含设备二维码的图片,或者明确要求查询设备定位时触发。

使用流程

  1. 识别二维码:如果用户提供了图片,使用 zbarimg 识别二维码内容
  2. 提取IMEI:从二维码的 dev_info.imei 字段提取设备IMEI号
  3. 查询定位:调用 API 获取定位信息
  4. 返回结果:格式化返回定位地址和时间,没有数据则提示查不到记录

核心脚本

使用 scripts/query_gnss.py 完成查询:

import sys
import json
import requests

def query_location(imei):
    url = f"https://search.iwown.com/hpmservice/ai/vendor/gnss/latest?deviceid={imei}"
    try:
        response = requests.get(url, timeout=10)
        response.raise_for_status()
        data = response.json()
        
        if data.get("ReturnCode") != 0:
            return None, None, None
            
        record_time = data["Data"]["record_time"]
        address = data["Data"]["address"]
        return record_time, address, data["Data"]
    except Exception as e:
        print(f"查询失败: {e}", file=sys.stderr)
        return None, None, None

if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("用法: python query_gnss.py <imei>")
        sys.exit(1)
    
    imei = sys.argv[1]
    record_time, address, raw_data = query_location(imei)
    
    if address:
        print(json.dumps({
            "status": "success",
            "record_time": record_time,
            "address": address,
            "raw": raw_data
        }, ensure_ascii=False))
    else:
        print(json.dumps({
            "status": "error",
            "message": "查不到定位记录"
        }, ensure_ascii=False))

结果返回格式

定位成功: 设备最后定位位置:广东省深圳市南山区南山街道自贸大街香江金融中心 定位时间:2026-03-11 14:52:12

定位失败: 查不到该设备的定位记录

Comments

Loading comments...