forked from joelwetzel/Hubitat-iPhone-Presence-Sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d6cbff
commit 59968f5
Showing
1 changed file
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,21 @@ | ||
# Hubitat-iPhone-Presence-Sensor | ||
# iPhone Presence Sensor for Hubitat | ||
A virtual presence sensor for Hubitat that checks if an iPhone is on the WiFi network. | ||
|
||
Note: iPhones can put their WiFi to sleep, so you should not use this as your only way of detecting presence. However, it can be used to augment other presence sensors. Interpret results this way: | ||
|
||
If this sensor shows "present", the iPhone is DEFINITELY present. | ||
If this sensor shows "not present", we don't know. | ||
|
||
## Installation | ||
1. Open your Hubitat web page | ||
2. Go to the "Drivers Code" page | ||
3. Click "+ New Driver" | ||
4. Paste in the contents of iPhoneWiFiPresenceSensor.groovy | ||
5. Click "Save" | ||
6. Go to the "Devices" page | ||
7. Click "+ Add Virtual Device" | ||
8. Set "Device Name" and "Device Network Id" to anything you like. Set "Type" to "iPhone Wifi Presence Sensor". | ||
9. Click "Save Device" | ||
10. On the device list, click the name of your new sensor | ||
11. Set "IP Address" to the local static IP address of the iPhone. | ||
12. Click "Save Preferences" |