AWS Spend in Home-Assistant

As a Home Assistant fan, I’m used to having all kinds of metrics, data and integrations available on my Home Assistant platform for monitoring, automations and other useful things.

One thing missing was my actual AWS spend. I built this integration and published it so other people can use the data in their Home Assistant setup too.

Find the project on GitHub: hass-aws-cost ↗

Setup steps

  1. Choose a random string for your webhook URL and keep it somewhere safe.
  2. Create a Home Assistant number helper ↗.
  3. Import the blueprint from the GitHub repository.
  4. Create an automation from the blueprint, select the number helper and enter the webhook ID you chose.
  5. Copy config.example.json to config.dev.json and fill in your Home Assistant webhook URL.
  6. Make sure your AWS credentials are ready and tested with the AWS CLI.
  7. Deploy the code to your AWS account with sls deploy.
  8. Every morning at 8 AM, the current AWS cost is pushed to your Home Assistant helper.

The project source and deployment details are maintained in the GitHub repository ↗.

← Back to the blog