Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Installs of iPhone-Presence-Sensor ? #6

Open
LarryB49 opened this issue Feb 5, 2021 · 0 comments
Open

Multiple Installs of iPhone-Presence-Sensor ? #6

LarryB49 opened this issue Feb 5, 2021 · 0 comments

Comments

@LarryB49
Copy link

LarryB49 commented Feb 5, 2021

Thanks for this iPhone-Presence-Sensor it has worked well for me.
Then I got thinking, I think it can have more uses.

I have an issue with some devices that they do not remember state after a power outage & restore. And I found quite a bit of discussion and suggestions around being aware of a power outage and then restoring the previous state. My location has frequent power outages so I have a ups on the Hubitat Hub and a backup generator for much of the house, so it is only some of the individual bulbs etc that have a porblem with power outage. Actually there are multiple issues as some bulbs are not on the generator, and if they are it is 30 seconds of outage before the generator backup power, and there is an extremely short break or surge when the generator switch goes back to mains power. So if the iPhone-Presense-Sensor can ping any device with an ip, and if the device fails ping and then returns, then power must have been out then restored. So if the state of the device was saved previously I assume it would not be hard with RM to recognize and replace the previous state. I am very new to this Hubitat stuff and do not understand much. But I tried to install iPhone-Presence-Sensor driver twice, even changing the name the second time, and could not get it to work set to a non phone ip device. Now I am thinking; is it using variables or something that need to be unique for each instance? Or what other reason, (besides I could easily have done something wrong), is there that it didnt work. Is there something unique about pinging a phone or can it check any device type with an ip? So far I had only tested with my phone (and it is great), but I am going to wish to add my wifes phone etc soon, so if there is something special I need to do to deal wih multiple devices I need to figure that out anyway. But I do think ability to test multiple an other types of devices could be very usefull. Maybe even Zwave and Zigbee devices if it could be that flexible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant