I wrote this flow to send me a push message (could be twitter, email, etc) if my home IP address changes.
My ISP issues dynamic IP addresses, so occasionally my broadband would encounter a problem, and a new IP address would be issued which triggers an alert, giving me the new IP address where I can access my home network (I must get a domain!!).
It can also give an indication of router/line problems, if the IP address changes too frequently.
The flow needs little explanation, it obtains your current public IP address via http://bot.whatismyipaddress.com/ but there are other services available - http://echoip.com/ and http://ipecho.net/plain and passes the result through a 'switch' node programmed only to accept data in the format of a IP address - regex validity check (thanks Nick). The IP address is then compared to the previous recorded IP address, and if they differ - then an alert is raised, otherwise the flow ends.
Hi,
I upgraded to a new node-red version and this flow stopped working. Can anyone help how to fix it.