ISY-994i Series INSTEON:Networking:Network Resources:Twitter

From Universal Devices, Inc. Wiki

Sign up for an IFTTT account https://ifttt.com/join)

Connect the Maker channel (https://ifttt.com/maker), and note the key (refered to as {key} later)

Connect the Twitter channel (https://ifttt.com/twitter)

Create recipe:

If 'This' (Maker Channel / Receive a web request) Event Name: tweet That: Twitter Post a tweet Tweet Text: Template:Value1

Make sure 'Notify me when recipe runs' is unchecked - unless you want that.


ON ISY: Create network resource:

HTTPS POST maker.ifttt.com 443 https://maker.ifttt.com/trigger/tweet/with/key/{ifttt_key} (Do NOT check 'Encode URL) Timeout: 1000

Body (option 1 - set content type to 'application/x-www-form-urlencoded' and Mode to 'C Escaped'): value1=test tweet

Body (option 2 - set content type to 'application/json' and Mode to 'RAW text'): {"value1":"test tweet json"}

To send a device state (with 4.3.3 and later, or 5.x)

{"value1":"Device: ${sys.node.AB CD EF 1.ST.raw}"} or {"value1":"Device: ${sys.node.AB CD EF 1.ST}"}