Skip to content
Home Assistant plugin for Tasker
Java Shell
Branch: master
Clone or download
Pull request Compare This branch is 33 commits ahead of twofortyfouram:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HomeAssistantTaskerPlugin Allow 'http' base URL Jan 6, 2020
gradle/wrapper Play Store release changes Jul 8, 2019
tools
.gitignore Play Store release changes Jul 8, 2019
LICENSE Fixed Licence/Copyright attributions Jun 20, 2019
README.md Update README.md Jul 8, 2019
build.gradle Use Google Maven repo May 19, 2017
circle.yml Build tools 25.0.3 May 27, 2017
feature_graphic.png
gradle.properties Version bump Jan 6, 2020
gradlew Gradle 3.3 Feb 18, 2017
gradlew.bat Gradle 3.3 Feb 18, 2017
logo.png Render Template Action and new icon Jun 23, 2019
settings.gradle Rename project Jun 10, 2019
web_hi_res_512.png Updated app and plugin icons Jun 23, 2019

README.md

Home Assistant Plug-In for Tasker

This is a Tasker plug-in to allow calling services on and getting entity states from a Home Assistant installation.

Get it on Google Play

Requirements

Usage

PLEASE NOTE: If your device is on Android 6.0 or higher, you should disable Battery Optimization for this plugin (and Tasker) - otherwise you may find that it doesn't work properly!

Add A Server

  • Generate a Long-Lived Access Token in Home Assistant.
  • Create a new Task in Tasker.
  • Add an Action: 'Plugin' > 'Home Assistant Plug-In for Tasker' to the Task.
  • Tap the edit button by 'Configuration'.
  • Tap the '+' button near the top right to add a new Home Assistant server.
  • Enter the details for your Home Assistant server. The Base URL must include the protocol, and not a trailing backslash (eg: https://my.home-assistant.com).
  • Test the server, then click 'Save'.

Call A Service

  • Create a new Task in Tasker.
  • Add the Action 'Plugin' > 'Home Assistant Plug-In for Tasker' > 'Call Service' to the Task.
  • Select a Server, or add a new one as above.
  • Select a Service, and optionally enter Service Data in JSON format.
  • Test the Service call, then click 'Save'.

Get An Entity's State

  • Create a new Task in Tasker.
  • Add the Action 'Plugin' > 'Home Assistant Plug-In for Tasker' > 'Get State' to the Task.
  • Select a Server, or add a new one as above.
  • Select an Entity.
  • Enter a Tasker variable name, including the leading %.
  • Click 'Save'.
  • Make sure to set a timeout - this tells the action to await a result, otherwise the task continues instantly and the variable will not be populated!

Variables

Variables are supported in the following fields:

  • 'Call Service' > 'Service'
  • 'Call Service' > 'Service Data'
  • 'Get State' > 'Entity ID'

Remember to always include the leading %

To Do

  • Actions
  • Tasker Variables
You can’t perform that action at this time.