LlamaLab Automate


The llamalab_automate platform uses Googles Cloud Messaging Services to push messages from Home Assistant to your Android device running the LlamaLab Automate app. This can serve as an alternative to Tasker + AutoRemote.

Prerequisites

Go to https://llamalab.com/automate/cloud/ and create a new API key/secret.

Configuration

To use this notification platform in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
notify:
  - name: NOTIFIER_NAME
    platform: llamalab_automate
    api_key: YOUR_API_KEY
    to: YOUR_EMAIL_ADDRESS

Configuration Variables

name string (Optional, default: notify)

Setting the optional parameter name allows multiple notifiers to be created. The notifier will bind to the service notify.NOTIFIER_NAME.

api_key string Required

Enter the API key for Automate.

to string Required

Email address the Automate-Fiber is configured for.

device string (Optional)

Name of the target device to receive the messages.

Example Automation:

- service: notify.entity_id
      data:
        message: "This is the message"
        data:
          priority: Normal

Message delivery priority in the nested data section is optional (default value: Normal). Value “High” attempts to awaken the receiving device.

Receiving cloud messages in Automate:

  1. Add a new flow
  2. Insert block “Messaging -> Cloud message receive”
  3. Insert block “Interface -> Toast show”
  4. Connect OK from Flow beginning to IN of Cloud receive
  5. Connect OK from Cloud receive to Toast show
  6. Connect OK form Toast show to IN of Cloud receive
  7. Tap Cloud receive and select the email account as setup in your configuration
  8. Assign a variable name for the Payload
  9. Tap Toast show and set the message value to the variable you’ve specified

If you have multiple devices paired to one Google Mail account and want to control each instance of Automate individually, you can set the notifier to target a specific device. To determine your devices name, add a Cloud Message send block to your flow, tap it and scroll all the way to the bottom. Device names are case sensitive.