Using "iMessage" to control XTension

Thomas Arman tarman at me.com
Wed Sep 30 15:24:19 EDT 2015


Here is a little something I whipped up. Do this on your XTension Mac.

Step 1 - Open Messages Preferences and find the Script folder by:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.tiff
Type: image/tiff
Size: 116504 bytes
Desc: not available
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20150930/ad664b1b/attachment.tiff>
-------------- next part --------------


Step 2: Copy this script into the folder  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Control Extension.applescript
Type: application/octet-stream
Size: 3069 bytes
Desc: not available
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20150930/ad664b1b/attachment.obj>
-------------- next part --------------

Step 3: Select it like indicated by the ?Checked? file above:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 29812 bytes
Desc: not available
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20150930/ad664b1b/attachment-0001.tiff>
-------------- next part --------------


To use it:  Send an iMessage from another Mac or an iPhone to the account on the XTension Mac using this syntax:

TellXT turnon <the unit name without quotes>

It works with only ?turnon? and ?turnoff? as quickly coded.
[tellXT or TellXT .. iPhone kept capitalizing it on me.)
Exactly ONE space between the tokens.  Your unit name is as it appears in XTension.

Seems fairly stable, but has not been heavily tested.

I can control my loft fan like this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-3.tiff
Type: image/tiff
Size: 21140 bytes
Desc: not available
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20150930/ad664b1b/attachment-0002.tiff>
-------------- next part --------------


Tom


More information about the XTensionList mailing list