|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: "Remember The Milk" |
| 4 | +description: "Instructions on how to use Remember The Milk with Home Assistant." |
| 5 | +date: 2017-10-10 10:10 |
| 6 | +sidebar: true |
| 7 | +comments: false |
| 8 | +sharing: true |
| 9 | +footer: true |
| 10 | +ha_category: Automation |
| 11 | +ha_release: 0.57 |
| 12 | +--- |
| 13 | + |
| 14 | +The `Remember The Milk` (RTM) component allows you to create tasks in [remember_the_milk](https://www.rememberthemilk.com) from Home Assistant. You can use this if you want Home Assistant to send you a task that you should not forget, e.g. water the plants. The component allows you to have several RTM accounts in parallel. |
| 15 | + |
| 16 | +# {% linkable_title Setup %} |
| 17 | + |
| 18 | +The setup consists of two steps: getting an API key and registering your account |
| 19 | + |
| 20 | +## {% linkable_title step 1: API key %} |
| 21 | + |
| 22 | +To be able to use this component, you need a Remember The Milk account and you need to apply for your own [API key](https://www.rememberthemilk.com/services/api/keys.rtm). With the API key you will also receive your personal `shared secret`. Both of them need to be stored in your Home Assistant configuration: |
| 23 | + |
| 24 | +```yaml |
| 25 | +# Example configuration.yaml entry |
| 26 | + |
| 27 | +remember_the_milk: |
| 28 | + your_rtm_account: |
| 29 | + api_key: <your secret api key goes here> |
| 30 | + shared_secret: <your secret shared secret goes here> |
| 31 | + |
| 32 | +``` |
| 33 | + |
| 34 | +Configuration variables: |
| 35 | +{% configuration %} |
| 36 | + account_name |
| 37 | + description: Name of the RTM account, as you can have serveral accounts in RTM. The name must be unique. |
| 38 | + required: true |
| 39 | + type: string |
| 40 | + api_key: |
| 41 | + description: Put the API key you've received in here. |
| 42 | + required: true |
| 43 | + type: string |
| 44 | + shared_secret: |
| 45 | + description: Put the shared secret you've received in here. |
| 46 | + required: true |
| 47 | + type: string |
| 48 | +{% endconfiguration %} |
| 49 | + |
| 50 | +## {% linkable_title step 2: registering your account %} |
| 51 | + |
| 52 | +After saving the configuration, you need to (re-)start Home Assistant. On the first start you will notice a new "Configuration" panel appearing on the Home Assistant page. After opening the configuration page, follow the link "Remember The Milk login". This will take you to a login page where you have to log in with your normal Rember The Milk credentials. This will authorize Home Assistant to access your Remember The Milk account. |
| 53 | + |
| 54 | +After that click on the "login completed" button. This will tell Home Assistant that you have completed the login process on the Remember The Milk page and Home Assistant should try to register with this account. |
| 55 | + |
| 56 | +If the registration was successful, the Configuration panel will disappear from your Home Assistant screen and a Remember The Milk panel should appear. This completes the setup process. |
| 57 | + |
| 58 | +In the background Home Assistant downloaded a "token" from the Remember The Milk server which is stored in the `remember_the_milk.conf` file locally. So you only need to register once. After that the token is used to authenticate with the server. |
| 59 | + |
| 60 | +# {% linkable_title Creating tasks %} |
| 61 | + |
| 62 | +This component offers a new service domain ```remember_the_milk``` with the service ```create_task```. You can call this service with the argument ```name``` to create a new task in your Remember The Milk account. You can call this service from your usual automations. |
| 63 | + |
| 64 | +The task creation supports the "smart syntax", so to create a task with the tag "from_hass" which is due today you can create a task with the name ```test task created in Home Assistant ^today #from_hass```. More info about the smart syntax is available on the [Remember The Milk documentation](https://www.rememberthemilk.com/help/answer/basics-smartadd-howdoiuse). |
| 65 | + |
| 66 | + |
| 67 | +# {% linkable_title Disclaimer %} |
| 68 | +This product uses the Remember The Milk API but is not endorsed or certified by Remember The Milk. |
0 commit comments