Why isn’t IFTTT Working?

If IFTTT doesn’t seem to be talking to LANNouncer, there are several steps to try.

Verify LANNouncer Is Listening

LANNouncer has to be running and able to respond to commands, for IFTTT to be able to send them.  Select either WAN or GCN in Communications.  And test LANNouncer using your web browser or curl.

IFTTT cannot reach your private subnet

In English, are you asking the remote IFTTT server to send a request to a private IP?  Anything starting with 192.168 or 10.*.*.* or 172.*.*.* is a private address; it’s inside your apartment or house. Outside you have a different IP Address. You can use whatsmyip.org to find out what, but unless you open port forwarding, that won’t help you other than to verify you have a problem.  (Although you do need that IP address later.)

Port Forwarding

To open the port via Port Forwarding, you’ll have to use your router manual.  But let’s say whatsmyip.org tells you your address is 123.45.67.89. You would set a port forwarding rule in your router to say:

From: IP: 123.45.67.89 Port: 1035
To: 192.168.1.157 Port: 1035

And then update the IFTTT rule to send to the IP address 123.45.67.89, still 1035.
That would let this work.

Or, alternatively, you can use…

Cloud Messaging

If you read the LANNouncer IFTTT Page1, you will see that it sends to http://lannouncer.keybounce.com:1036. That happens to be a server I run. You then tell the Android client to listen via either GCN or WAN, and the message can get to you from IFTTT. I suggest GCN for now. IFTTT will send to the LANNouncer server, which will send to Google, which will send to your Android device.

Or…

Don’t Use IFTTT – Use Home Automation

The whole point of all this is that SmartHome can, under extremely rare conditions, reliably perform Home Automation. While you can be forgiven for believing, based on both personal experience and these fora, that SmartHome is really a system for curing low blood pressure among home automation hobbyists, there are at least three cases, verified even, of it actually triggering automation inside a home.

In this case, you can write a tiny bit of Groovy code or you can use Big Talker or another enunciator program to send that same Speak command directly from your hub to the Android device.

To do this:

  • Install Big Talker
  • “Configure Events”
  • “Contact” (because you’re after a contact sensor for the door)
  • ==”Contact Sensors” = “Side Door”
  • == “Say this” “Side door is open”
  • (You could also get a chime with “Say This” == “@#ALARM=CHIME”