Remember The Milk


The Remember The Milk (RTM) component allows you to create tasks in remember_the_milk 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.

Setup

The setup consists of two steps: getting an API key and registering your account

Step 1: API key

To be able to use this component, you need a Remember The Milk account and you need to apply for your own API key. With the API key you will also receive your personal shared secret. Both of them need to be stored in your Home Assistant configuration:

# Example configuration.yaml entry

remember_the_milk:
  - name: your_rtm_account
    api_key: <your secret api key goes here>
    shared_secret: <your secret shared secret goes here>

Configuration variables:

Configuration Variables

name

(string)(Required)Name of the RTM account, as you can have serveral accounts in RTM. The name must be unique.

api_key

(string)(Required)Put the API key you’ve received in here.

shared_secret

(string)(Required)Put the shared secret you’ve received in here.

Step 2: registering your account

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.

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.

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.

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.

Creating tasks

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.

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.

Disclaimer

This product uses the Remember The Milk API but is not endorsed or certified by Remember The Milk.