|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: "LlamaLab Automate" |
| 4 | +description: "Instructions how to add user notifications to Home Assistant." |
| 5 | +date: 2016-08-21 13:00 |
| 6 | +sidebar: true |
| 7 | +comments: false |
| 8 | +sharing: true |
| 9 | +footer: true |
| 10 | +logo: llamalab_automate.png |
| 11 | +ha_category: Notifications |
| 12 | +ha_release: 0.27 |
| 13 | +--- |
| 14 | + |
| 15 | + |
| 16 | +The llamalab_automate platform uses Googles Cloud Messaging Services to push messages from Home Assistant to your Android device running the LlamaLab [Automate](https://llamalab.com/automate/) app. This can serve as an alternative to Tasker + AutoRemote. |
| 17 | + |
| 18 | +To add Automate to your installation, add the following to your `configuration.yaml` file: |
| 19 | + |
| 20 | +```yaml |
| 21 | +# Example configuration.yaml entry |
| 22 | +notify: |
| 23 | + name: NOTIFIER_NAME |
| 24 | + platform: llamalab_automate |
| 25 | + api_key: ABCDEFGHJKLMNOPQRSTUVXYZ |
| 26 | + to: example@gmail.com |
| 27 | +``` |
| 28 | +
|
| 29 | +Configuration variables: |
| 30 | +
|
| 31 | +- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`. |
| 32 | +- **api_key** (*Required*): Enter the API key for Automate. Go to [https://llamalab.com/automate/cloud/](https://llamalab.com/automate/cloud/) and create a new API key / secret. |
| 33 | +- **to** (*Required*): E-Mail address the Automate-Fiber is configured for. |
| 34 | +- **device** (*Optional*): Name of the target device to receive the messages. |
| 35 | + |
| 36 | +Receiving cloud messages in Automate: |
| 37 | + |
| 38 | +1. Add a new flow |
| 39 | +2. Insert block "Messaging -> Cloud message receive" |
| 40 | +3. Insert block "Interface -> Toast show" |
| 41 | +4. Connect OK from Flow beginning to IN of Cloud receive |
| 42 | +5. Connect OK from Cloud receive to Toast show |
| 43 | +6. Connect OK form Toast show to IN of Cloud receive |
| 44 | +7. Tap Cloud receive and select the E-Mail account as setup in your configuration |
| 45 | +8. Assign a variable name for the Payload |
| 46 | +9. Tap Toast show and set the message value to the variable you've specified |
| 47 | + |
| 48 | +If you have multiple devices paired to one GMail 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. |
0 commit comments