Find my Sh*T!!! – The lost iphone saga

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

old_honeywell_t87

So I got a 2gig CT100 with z-wave.
61cUaIUZOLL._SL1024_

 

 

55553046So 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


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

 

Simple description.  Set the thermostat to 69.. hehe hehe 69….  {giggle} 61832143

 

 

 

 

 

 

 

 

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.