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 got a 2gig CT100 with z-wave.
So as any self respecting geek would do. As soon as I got it hooked up, I tied it in to my home automation system.
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
https://community.openhab.org/t/find-my-iphone-from-my-nest/5663
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
1 when
2 Item HVAC_CoolSetPoint changed to 69
3 then
4 sendHttpGetRequest("http://xx.xx.xx.xx/findmyiphone/?phone=jason")
5 sendCommand(HVAC_CoolSetPoint, 75)
6 end
Simple description. Set the thermostat to 69.. hehe hehe 69…. {giggle}
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.
Comments