在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:paolotremadio/homebridge-automation-presence开源软件地址:https://github.com/paolotremadio/homebridge-automation-presence开源编程语言:JavaScript 100.0%开源软件介绍:Automation - PresenceWhy this pluginHomeKit does a brilliant job detecting when someone is home but it only works with iOS devices. If you have a guest, you must invite him/her to the Home app (assuming he/she has an iPhone). HomeKit can tell you if someone is home but can't tell you which room is occupied. This plugin:
What is a zone?This plugin lets you create one or more "zones". A zone can be a room (e.g. You give a "zone" the semantic you like. Some example of zones:
What are triggers?For every zone you can define a list of triggers. When one or more triggers are On, the zone is On. For example, let's assume you have a zone Living room. Here's the triggers you could have to detect presence:
About using non-iPhones to track people presenceYou can use Bluetooth to track who's home. For example, you could track personal devices like phones, smart watches, headphones / earphones or fitness trackers. You could also buy some cheap "iTag" devices or Tile trackers to attach to the dog, your keys, the keys you give to your guests, etc. You can detect if a Bluetooth device is at home by using my homebridge-automation-bluetooth-presence plugin. ConfigExample config.json: {
"accessory": "AutomationPresence",
"name": "Home Presence",
"masterPresenceOffDelay": 600,
"zones": [
{
"name": "Zone 1 name",
"triggers": [
{
"name": "Trigger 1 name"
},
{
"name": "Trigger 2 name"
},
{
"name": "Trigger 3 name"
},
{
"name": "..."
}
]
},
{
"name": "Zone 2 name",
"triggers": [
{
"name": "Trigger 1 name"
},
{
"name": "..."
}
]
},
{
"name": "...",
"triggers": [
{
"name": "..."
}
]
}
]
} This accessory will create a switch for every Trigger and a motion sensor for every Zone, including a Turning On one or more switches will turn on the Zone they belong to. If one of more Zone is on, the Master switch is On. Turning on all the switches will turn off the master zone after the Configuration options
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论