Skip to content

插件获取定时列表 #1691

Description

@sikaiven

是否为新品(必填)
新品

关联的产品model
leshow.heater.bs3

项目ID(必填)
/

用户ID(必填)
/

企业名称(必填)
乐秀

环境(必填)

  • 电脑操作系统:[eg.Windows/Mac OS/Linux]
  • 手机系统:[eg.Android 8.1/iOS 11.0]
  • iOS14.6
  • SDK分支: [eg.master/10000/...]
  • 10054
  • 相关模块:[eg.Host/Service/Account]
  • Service

现象(必填)
Device.getDeviceWifi().callMethod('scene/list', { "api_version":0, "did":Device.did, "dids":Device.dids, "filter":"",
"format":"", "has_authed":true, "has_setting":true, "identify":"", "name":"",
"pd_ids":null, "st_id":8, "support_second":false, "uid":Device.uid}).then((json) => {
alert('=='+JSON.stringify(json));
});

Device.getDeviceWifi().callMethod('miIO.xget', ["x.timer.*"]).then((json) => {
alert('=='+JSON.stringify(json));
});
这两个方法调用报错。

Device.loadTimerScenes().then((sceneArr) => {})
这个方法获取到的是空的数据。

期望(必填)
获取到在插件上设置的定时列表。

f35d0453558a980cd98bdea10f4cfd1
a7b55938c9729c4dfa0728c47a72ed8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions