我正在使用 node-hue-api 来控制我的色调系统。根据亮度,我会自动调用不同的场景。这一切都很好。
但是,当我在飞利浦的 iOS 应用程序中更改场景时(例如,因为我添加了一个飞利浦转到我的场景),我的列表中有一个具有不同 ID 但名称相同的新场景。实际上我不知道如何识别,哪个场景是最新使用它的场景。有没有人提示如何解决这个问题?
{ id: '197bac2ca-on-0',
name: 'Computer Arbeit ',
lights: [ '2', '3', '4', '5', '6', '7', '8', '9', '10' ],
active: true }
{ id: '15ecdb18b-on-0',
name: 'Computer Arbeit ',
lights: [ '2', '3', '4', '5', '6', '7', '8' ],
active: true }
{ id: '389a393d6-on-0',
name: 'Computer Arbeit ',
lights: [ '2', '3', '4', '5', '6', '7', '8' ],
active: true }