[TUTORIAL] Using Tasker / KLWP together with Homey

Send commands from Homey to Tasker

Previous tutorials where about sending information from your Android phone to Homey. This tutorial describes how you can send information from Homey to Tasker (the other way around). You can use this to do stuff on your phone based on triggers on Homey.

Prerequisites

  • A working Homey
  • The HTTP app installed on Homey
  • An Android smartphone with Tasker installed
  • An app called AutoRemote (paid app which is a part of the incredibable AutoApps suite) installed which enables an extra plugin in Tasker

Install and setup AutoRemote

AutoRemote enables you to send message and notification to your smartphone from external sources. Install it from the Play Store and have a look here to send your first test message to confirm the app has been set up correctly and your smartphone can receive the external message. After visiting your personal URL (which can be found on the homepage of the AutoRemote app) all you need to do is enter a message and click the send button. Check the log in the AutoRemote app to confirm your message has been received.

Create a Homey flow that triggers a message

If you have confirmed you can receive messages you can set up a flow in Homey. Make a test flow with some kind of voice trigger. Use the HTTP Get card of the HTTP app action card and paste in the URL which you can copy from your personal message page where you have send the test message. At the very end of that URL is the actual message you will be sending to the phone. Make it descriptive as this will be the trigger within Tasker to do stuff on your phone. Once you have saved the flow you can test it by testing/running the Homey flow and check the AutoRemote log if the messages are still received.

Configure Tasker

Once you have confirmed you can send message from Homey to your smartphone it’s time to setup Tasker. AutoRemote comes with a Tasker plugin. Create a new Tasker profile and select: Event > Plugin > AutoRemote > Autoremote as trigger for this Tasker profile. In the configuration for the trigger all you need to edit is the “Message Filter”. This is where you need to enter the exact message you are sending from Homey (which is at the end of the URL in the HTTP Get action card). You have now set the trigger in Tasker which listens to incoming messages from Homey and you can define your Tasker actions for this profile.

The possibilities for using AutoRemote to send information from Homey to your Android smartphone are endless. In a following tutorial I will show you how to create a dashboard on your phone homescreen using AutoRemote to send info to your smartphone and KLWP to show this on your home screen.

2 Likes