Depending on what operating system you guys are on, this trick may be
useful. It's for Linux and is very similar and, funny enough, I even
use the same name - "HomeIP". But it's for the computer and sends an
SMS to the phone if the IP changes. It may be useless to both of you,
but here goes...
I use ssh in scripts a lot and I write them to get the ip address from
a file instead of hard-coding it in the script. E.g., instead of
putting "ssh user at IP" (spelling it out so the group doesn't obscure
it like an email address), I put "ssh user at $(tail -n1 /sdcard/ip)"
in the script. Any time my home IP changes, I just have to put it in
that file, which I use Tasker for.
But first, on the computer I have this script run every few minutes.
You'll have to figure out a method to get the IP, I use lynx --dump
http://www.whatismyip.com/automation/xxxxxxxxx.asp, but I think that
is a unique number or I would post it. This uses nail as a mail
client, but would work with anything else you have set up.
#! /bin/sh
ip=$(your method to get the ip address)
if
grep -q $ip ipfile
then
echo
else
echo "HomeIP:" > ipfile
echo "$ip" >> ipfile
nail [my ATT SMS address] < ipfile
fi
So when it gets the IP, it compares it with the .ip file. If it's the
same, it does nothing. If it's changed, it writes the new IP to the
file then emails the file to the ATT SMS gateway address, (which is
PhomeNumber at
txt.att.net). It doesn't send as an attachment, it
sends the file contents as a body, so I get this SMS:
FRM: me at
gmail.com
MSG: HomeIP
[new ip]
Using Tasker to act when it sees my address in the SMS, it writes the
text from the SMS in the file /sdcard/ip if the text contains
"**HomeIP**"
I can post the Tasker part later, but it should be straight forward.