【问题标题】:philps hue reachable attribute, how can I fix itphilips hue 无法访问的属性,我该如何解决
【发布时间】:2019-04-14 18:10:28
【问题描述】:

我做了一些可以控制灯泡的窗口应用程序。三个月左右就可以用了

但是其中一个 blubs 会产生问题。所以我试图找出问题所在。

这里是 xmlhttpRequest(我使用了 CLIP API 调试器)

usual blubs: (XMLHttpRequest) id:14

{"state": {

"on": true,

"bri": 254,

"hue": 34704,

"sat": 198,

"effect": "none",

"xy": [

0.3228,

0.3291

],

"ct": 167,

"alert": "none",

"colormode": "xy",

"mode": "homeautomation",

"reachable": true 

}



issue: id:11

{

"state": {

"on": true,

"bri": 254,

"hue": 0,

"sat": 254,

"effect": "none",

"xy": [

0.3227,

0.329

],

"ct": 153,

"alert": "none",

"colormode": "xy",

"mode": "homeautomation",

"reachable": false

},

如果有人知道这个问题,请告诉我 blubs 出了什么问题...

【问题讨论】:

  • 到底是什么问题?
  • 我无法控制名为 id:11 的特定灯。我认为这是因为可达属性。它应该设置为“true”。

标签: javascript philips-hue


【解决方案1】:

reachable 属性是一个只读属性(你不能设置它),它只是告诉你灯是可用的还是遥不可及的。 灯为un-reachable 的常见原因是它设置为关闭、超出范围或已死。 所以

  • 要么打开开关
  • 如果超出范围,请在桥和该灯之间添加另一盏灯(因为它们也可用作直通扩展)
  • 如果它死了,请更换它
  • 奖励:如果没有任何效果,请尝试将其删除并重新添加

【讨论】:

    猜你喜欢
    • 2015-07-01
    • 1970-01-01
    • 2020-02-02
    • 1970-01-01
    • 2021-09-28
    • 2019-05-10
    • 1970-01-01
    • 2018-03-24
    • 1970-01-01
    相关资源
    最近更新 更多