Ok, we have all done it. Where the hell is my phone? Where’s the ipad? Home alone trying to find it and you have no way of calling it because, well, no land line.
A week or so ago I finally replaced my Jurassic period thermostat with something a little newer. I know, weird right. I do all this stuff and I had a thermostat that was 1 step above this
So I have basic items configured, mainly so I can see the temps ect. But there is another thing we can do with this. Got the idea from the thread
If you look you will see I have contributed and written a simple php service for finding an iphone 🙂
Here is the github for that simple php service https://github.com/brunkj/FindMyIphonePHPService
So I have my PHP service setup. I have my home automation system. I have my z-wave thermostat. I have rythm. I have style.. $%^& what’s wrong with me…..
So I created a simple rule
rule "Find iPhone via thermostat" when Item HVAC_CoolSetPoint changed to 69 then sendHttpGetRequest("http://xx.xx.xx.xx/findmyiphone/?phone=jason") sendCommand(HVAC_CoolSetPoint, 75) end
Ok, I’m better. Set to 69. Openhab sees it’s now set to 69, realizes that’s way out of character and runs the rule “Find iPhone via thermostat” which sends the call to my php service, then sets the temp back to our standard 75.
I am implementing 1 additional rule for 68 degrees for the wife’s phone.