[TEAM] - Nowel 🎄

Hello everyone,

Introducing Nowel, a team composed of the 3 following persons:

  • Corentin Mors
  • Cyril Leclerc
  • Eléonore Carpentier

Our goal is to manage IoT home devices with HashiCorp products.
For that, we integrated HashiCorp products with Home Assistant:

  • A vault extension for Home Assistant that will allow anyone to easily deploy vault and store users’ home secrets.

  • A terraform provider for Home Assistant that is controlling the connected devices such as TV, lights and speakers.

On top of that, we built a terraform module using the provider and the vault extension to setup your home with a holiday theme: Christmas, Halloween, summer or Easter.

For this Christmas, we went to a red ambiance, with a fireplace displayed on TV and Mariah Carey’s song on the speakers, all of this, managed by our favourite HashiCorp terraform module :slight_smile: :

Stay tuned, video and repositories are coming in the next days :slight_smile:

8 Likes

That is cool! What kind of secrets do you plan to store in Vault?

Hello there,

Here is the video showing our realisation for this event :

*(the microphone didn’t catch correctly the google-home sound so please make sure your audio is high enough to be able to hear it during demo)

What have you built?

A terraform provider and a vault extension for Home Assistant.

Also we made a terraform module with presets for creating different holidays ambiances in your home.

Why have you built it?

Firstly, we wanted to learn how to write terraform providers, as we are using terraform in our daily job we thought it could be a nice introduction to start building custom providers.

Secondly, we all like to hack our home devices and connect every objects. So having a local vault to store our secrets and controling different scenes and devices with terraform was our go to.

It’s our first time coding with Golang too so any advice will be appreciated :slight_smile:

What is cool about it?

This project can be reused by anyone to easily control home IoTs via code and automate devices/ambiances. You need to have a Home Assistant instance running (installed on a Raspberry Pi for example) and some lights and media players connected to it.

For now, the terraform provider is compatible with media players (speaker or TV) and lights but we will continue maintaining it and adding more devices types.

The vault extension is also useful to quickly deploy a home-vault and start storing any secrets you need. For example, we store the API bearer token that is needed by the homeassistant terraform provider. A different usage could be to store some ssh keys that you want to share between your local computers.

Where to try it?

6 Likes