Skip to content

kalliope-project/kalliope_neuron_tasker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tasker autoremote

Synopsis

Tasker is an application for Android which performs tasks (sets of actions) based on contexts (application, time, date, location, event, gesture) in user-defined profiles or in clickable or timer home screen widgets.

Tasker autoremote is a plugin for Tasker that allow the program to receive push message from the cloud as profile.

This is how it works:

  • Send an AutoRemote message from Kalliope
  • Setup an AutoRemote profile in Tasker to react to the message
  • Do whatever you like with that message!

The example usage is a "find my phone" task. You could send a "Where are you?" message to your phone, and have Tasker respond with a repetitive "I'm here! I'm here!" or play a music.

Installation

kalliope install --git-url https://github.com/kalliope-project/kalliope_neuron_tasker.git

Options

parameter required default choices comment
key yes API key. Can be found in your personal URL given by the app.
message yes Message to send to your phone
password no None Password you defined in your Tasker Autoremote App.

Return Values

None

Synapses example

Description of what the synapse will do

- name: "find-my-phone"
  signals:
    - order: "where is my phone"
  neurons:
    - say:
        message: "I'll make your phone ringing, sir"
    - tasker_autoremote:
        key: "MY_VERY_LONG_KEY"
        message: "lost"

Notes

How to create a find my phone task

This walk through will show you how to send a message to your phone so that even if it is set to silent, will play any music file at full volume so you can find your phone if you have lost it in the couch.

First, create a task, that you could call "start_ringing" that will perform:

  • Disable the silent mode
  • Set media volume to the maximum value
  • Play a local music

task play music

Then, create a new task with just one action:

  • Stop the music

task stop music

Create the input profile.

  • create a context of type Event > Plugin > Autoremote
  • Set the word you want
  • Attach the event to the task "start_ringing"

task stop music

Finally, create a event, to stop the music when we unlock the phone

  • create a context of type Event > Display > Display Unlocked
  • Attach the event to the stop that stop the music

task stop music

Exit Tasker with the exit menu to be sure all events and task have been saved.

Steps to get your personal Key:

Go to your personal URL After the page has finished loading look in your URL. It will look something like http://autoremotejoaomgcd.appspot.com/?key=MY_KEY Instead of MY_KEY, your key will be there. Copy your key with Control+C and paste it where needed with Control+V

License

Copyright (c) 2018. All rights reserved.

Kalliope is covered by the MIT license, a permissive free software license that lets you do anything you want with the source code, as long as you provide back attribution and "don't hold you liable". For the full license text see the LICENSE.md file.

About

Kalliope Neuron to manage Tasker app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages