Using Twilio to control Indigo?

User avatar
FlyingDiver
Posts: 7283
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Using Twilio to control Indigo?

Post by FlyingDiver »

I know the old Google Voice SMS plugin had some capability for responding to commands sent via SMS. Did anyone use those features? What would you need added to the Twilio plugin to get the same results?

I was thinking about this after I wrote the HTTPd plugin for IFTTT. That plugin provides the capability to set global variable values. Requires triggers on any change in those variables to actually do something, but that's not too hard to do. You can sort of do the same thing with the current Twilio plugin, but looking at changes in the received message states. But then parsing those states into specific variables and values would require some work.

I'm open to suggestions.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
fawcettr
Posts: 2
Joined: Thu Oct 17, 2013 7:27 pm

Re: Using Twilio to control Indigo?

Post by fawcettr »

I used Google Voice SMS to respond to several commands sent to the Indigo account.
Help, returned all commands it understood
Gate, opened my driveway gate and returned conformation
Latch, latched open gate and returned conformation
Arm/disarm, changed security status and returned conformation
Status, returned security status of each zone and inside temperature

This was all pretty simple, I stored the received message in a variable, change to that variable triggered a program to take action, including resetting variable to null. I also used variable to store my status. If I was in USA, I send SMS, if not then just email. I could also add guest status for receiving conformation.

I've been out of country for a few months, but when I return home I'm hoping your Twilio plugin will replace the non-functioning Google solution.
User avatar
FlyingDiver
Posts: 7283
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Using Twilio to control Indigo?

Post by FlyingDiver »

OK, so you should be able to port your existing triggers and scripts to Twilio pretty easily. If you have problems, let me know. Also be sure to read the forum post about Immediate Notifications, which eliminates the polling delay before receiving the sms message.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
whmoorejr
Posts: 763
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: Using Twilio to control Indigo?

Post by whmoorejr »

FlyingDiver wrote:eliminates the polling delay


Yeah, it's pretty fast. I though it wasn't working when I first started testing it (watching the variable list for a change while sending twilio a text). Once I opened the log file, I could see the (ping -> true) and (trigger -> false) happening before my phone finished making the message sent noise.
Bill
My Plugin: My People
Post Reply

Return to “Twilio”