北京聚英电子有限公司聚英云平台设备控制技能,支持通过 JYDAM、jydam、juyingiot、jycloud、聚英云、北京聚英电子有限公司 等关键词搜索,提供设备添加说明、API_Token 获取说明、设备列表查询、状态读取与设备控制能力。
本技能用于连接 北京聚英电子有限公司 的 聚英云平台 设备,并执行以下操作:
为了方便用户搜索和发现本技能,以下关键词均应能命中本技能:
本技能需要用户提供一个外置参数:
API_TokenAPI_Token 是用户在 聚英云平台 中获取的个人接口访问凭证。
规则:
API_TokenAPI_TokenAPI_Token,先提示用户提供Authorization: <API_Token>
每个用户添加该能力时,必须填写自己独立的 API_Token。
在使用本技能前,用户需要先在 聚英云平台 完成设备接入,并准备接口访问凭证。
建议说明如下:
API_Token。API_Token 作为外置参数填写。如果用户尚未在聚英云平台添加设备,或尚未获取自己的 API_Token,则无法正常使用本技能。
https://openapi.iot02.com/api/v1
unid: 设备唯一 IDio: 通道号通道编号补充说明:
io 从 0 开始编号,即第 1 路通道对应 0io 使用从 1 开始的编号标识,即第 1 路通道传 1Method: GET
Path:
/equip-read/all-equip-state
Headers:
Authorization: <API_Token>Method: GET
Path:
/equip-read/equip-state?unid={unid}
Headers:
Authorization: <API_Token>Method: POST
Path:
/equip-opr/equip-read
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"opr": "do",
"regstart": 0,
"regnum": 10
}
调用该接口后,等待约 1 秒,再重新读取设备状态。
Method: POST
Path:
/equip-opr/equip-open
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"io": 1
}
Method: POST
Path:
/equip-opr/equip-close
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"io": 1
}
unid 时,先获取设备列表并匹配目标设备。API_Token 可能无效、已过期或没有对应权限。unid 或设备名称。本技能用於連接 北京聚英電子有限公司 的 聚英雲平台 設備,並執行以下操作:
為了方便使用者搜尋和發現本技能,以下關鍵詞均應能命中本技能:
本技能需要使用者提供一個外部參數:
API_TokenAPI_Token 是使用者在 聚英雲平台 中取得的個人介面存取憑證。
規則:
API_TokenAPI_TokenAPI_Token,先提示使用者提供Authorization: <API_Token>
每位使用者新增此能力時,必須填寫自己獨立的 API_Token。
在使用本技能前,使用者需要先在 聚英雲平台 完成設備接入,並準備介面存取憑證。
建議說明如下:
API_Token。API_Token 作為外部參數填寫。如果使用者尚未在聚英雲平台新增設備,或尚未取得自己的 API_Token,則無法正常使用本技能。
https://openapi.iot02.com/api/v1
unid: 設備唯一 IDio: 通道號通道編號補充說明:
io 從 0 開始編號,即第 1 路通道對應 0io 使用從 1 開始的編號標識,即第 1 路通道傳 1Method: GET
Path:
/equip-read/all-equip-state
Headers:
Authorization: <API_Token>Method: GET
Path:
/equip-read/equip-state?unid={unid}
Headers:
Authorization: <API_Token>Method: POST
Path:
/equip-opr/equip-read
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"opr": "do",
"regstart": 0,
"regnum": 10
}
呼叫此介面後,等待約 1 秒,再重新讀取設備狀態。
Method: POST
Path:
/equip-opr/equip-open
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"io": 1
}
Method: POST
Path:
/equip-opr/equip-close
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"io": 1
}
unid 時,先取得設備列表並比對目標設備。API_Token 可能無效、已過期或沒有對應權限。unid 或設備名稱。This skill is used to connect devices on the Juying Cloud Platform operated by Beijing Juying Electronics Co., Ltd., and perform the following actions:
To improve discoverability, the following search terms should all match this skill:
This skill requires one user-provided external parameter:
API_TokenAPI_Token is the user's own API credential obtained from the Juying Cloud Platform.
Rules:
API_TokenAPI_TokenAPI_Token is missing, ask the user to provide it firstAuthorization: <API_Token>
Each user must provide their own API_Token when adding this skill.
Before using this skill, the user should first complete device onboarding on the Juying Cloud Platform and prepare an API credential.
Suggested guidance:
API_Token from the Juying Cloud Platform.API_Token as an external parameter.If the user has not added devices on the platform, or has not obtained their own API_Token, the skill cannot be used properly.
https://openapi.iot02.com/api/v1
unid: unique device IDio: channel numberAdditional channel numbering note:
io is 0-based, so channel 1 corresponds to 0io is 1-based, so channel 1 should be sent as 1Method: GET
Path:
/equip-read/all-equip-state
Headers:
Authorization: <API_Token>Method: GET
Path:
/equip-read/equip-state?unid={unid}
Headers:
Authorization: <API_Token>Method: POST
Path:
/equip-opr/equip-read
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"opr": "do",
"regstart": 0,
"regnum": 10
}
After calling this endpoint, wait about 1 second, then read the device state again.
Method: POST
Path:
/equip-opr/equip-open
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"io": 1
}
Method: POST
Path:
/equip-opr/equip-close
Headers:
Authorization: <API_Token>Content-Type: application/jsonJSON body:
{
"unid": "<device_unid>",
"io": 1
}
unid, first list devices and match the correct target.API_Token may be invalid, expired, or missing permission.unid or device name could not be matched.ZIP package — ready to use