Skip to content

HASPone Blueprints for Home Assistant

aderusha edited this page Mar 3, 2021 · 5 revisions

With Home Assistant configured for MQTT, and your HASPone device connected to MQTT, you are now ready to start deploying Home Assistant Blueprints to your HASP!

  1. The first blueprint we need to deploy (and the only blueprint you are required to deploy) is the HASP Core Functionality blueprint. Click the icon below to begin this process. If this is your first time using my.home-assistant.io, you'll be prompted to setup your web browser for your local Home Assistant installation. Click "PREVIEW BLUEPRINT" to see an overview of the blueprint you are about to import, and then click "IMPORT BLUEPRINT" to make it available in your Home Assistant installation.

Import the HASP Core Functionality blueprint

  1. In your Blueprints dashboard, find the "HASP Core functionality" blueprint and click "CREATE AUTOMATION"
  2. Edit the "Name" to include the name you assigned to your HASP device for easy organization later. For example, if you named your HASP "kitchen", edit the name to read "Kitchen HASP Core functionality"
  3. Under "HASP Device", click the drop-down selection list and select the name of your HASP device.
  4. You'll find a lot of options to play with here, but for the moment let's just click the blue "SAVE" button on the bottom-right.
  5. Click "RUN ACTIONS" at the top-right to execute this blueprint. You should see your HASP device being configured, restarting, and then showing a page with empty buttons.
  6. You should see a notification alert in the bottom-left of your Home Assistant web view. Click Notifications and you should find one labeled "(your device name) Lovelace Card". In this notification, you'll find some YAML code than can be used to create a Lovelace card for this device. Copy the YAML, add a manual card to your Lovelace configuration, and paste in this code.

With that out of the way, now it's time to customize your HASP! In the HASPone Blueprint Exchange you'll find a collection of blueprints to import. You can think of this as an "app store" for HASP. The HASPone project includes 11 pages, each with its own arrangement of buttons and sliders. Each of these controls can have one (or more) blueprints assigned to them.

Let's try an example to see how this works!

  1. Click the icon below to import a blueprint which displays a clock with a clock icon to the left:

Import the HASP Display Clock with Icon blueprint

  1. Just as before, open your Blueprints dashboard, find the "HASP p[x].b[y] displays a clock with a clock icon" blueprint and click "CREATE AUTOMATION"
  2. Under "HASP Device", click the drop-down selection list and select the name of your HASP device.
  3. Below you'll find an option to select the desired page and button. The default of "page 1" and "button 4" should work well for us right now.
  4. At the top, edit the "Name" field to include the name you assigned to your HASP device, and modify the "p[x].b[y]" part to indicate the page and button you select. For example, "kitchen HASP p[1].b[4] displays a clock with a clock icon". We're doing this so that you can easily find the automation that is assigned to "p[1].b[4]" later. You don't have to do this, but once you get a lot of blueprints deployed you'll wish you had 😃
  5. Click "SAVE" to save your new automation, then "RUN ACTIONS" to have the clock displayed on your HASP.

That's it! Repeat as desired for each blueprint you may want to use. Each blueprint will only need to be imported to your Home Assistant installation once, after it has been imported you can create additional automations from that blueprint and assign them to as many buttons as you like.