在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:estruyf/homebridge-presence-switch-msgraph开源软件地址:https://github.com/estruyf/homebridge-presence-switch-msgraph开源编程语言:TypeScript 98.9%开源软件介绍:Presence switch connected to Microsoft GraphMore information for now can be found here: https://www.eliostruyf.com/diy-building-busy-light-show-microsoft-teams-presence/.
Custom activityAs of version Supported activities are: If you want to add for instance a {
...,
"statusColors": {
...,
"InACall": {
"red": 255,
"green": 0,
"blue": 0
}
}
}
ConfigThe {
"accessory": "presence-switch",
"name": "Presence Indicator",
"appId": "707e1e80-fd26-46dd-bdd1-6d8e1a585eea",
"interval": 1,
"setColorApi": "http://127.0.0.1:5000/api/switch",
"offApi": "http://127.0.0.1:5000/api/off",
"onApi": "http://127.0.0.1:5000/api/on",
"startTime": "8:30",
"endTime": "18:00",
"weekend": false,
"statusColors": {
"available": {
"red": 0,
"green": 144,
"blue": 0
},
"away": {
"red": 255,
"green": 191,
"blue": 0
},
"busy": {
"red": 179,
"green": 0,
"blue": 0
},
"donotdisturb": {
"red": 149,
"green": 0,
"blue": 0
},
"<activity>": {
"red": 255,
"green": 0,
"blue": 0
}
},
"lightType": "",
"debug": true
} Since version
These switches can be used in {
"accessory": "presence-switch",
"name": "Presence Indicator",
"appId": "707e1e80-fd26-46dd-bdd1-6d8e1a585eea",
"interval": 1,
"startTime": "8:30",
"endTime": "18:00",
"weekend": false,
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论