TABLE OF CONTENTS
- Adding the Home Assistant Block:
- Remote API Base URL:
- Long-Live Access Token:
- Selecting Items:
- Settings:
- Frequently Asked Questions:
- Helpful Articles:
With DAKboard Custom Screens you can now use Home Assistant (HA) to view and even interact with some of your devices. This article will show you how to add HA to your Custom Screen and show you how you can use it.
Adding the Home Assistant Block:
In a DAKboard Custom Screen, Click Add a Block and search for Home Assistant. See below:
You can also find this block in the section called Smart Home. Here you can add your Remote API Base URL and a Long-Live Access Token as in the steps below:
Remote API Base URL:
DAKboard will need a secure HTTPS method to access your Home Assistant instance API. We support instances using Nabu Casa remote access, or secured access configured by the administrator via domain/IP and valid certificate. Remote access options for Remote Assistant are discussed in detail in the below Home Assistant article:
https://www.home-assistant.io/docs/configuration/remote/
Once you have your URL, you may place it in the API Base URL Field:
Long-Live Access Token:
A Long-Live access token will authenticate DAKboard to your instance and is required for accessing the API in Home Assistant. The Access Token can be created on the profile page of your Home Assistant instance GUI. More details on the profile page are located in the below Home Assistant article:
https://www.home-assistant.io/docs/authentication/#your-account-profile
Once you have the token, you may place it in the Authorization Token field:
Selecting Items:
Once the API Base URL and Long-Live Access Token have been specified, all available items will display after pressing the Play button:
Available items can be enabled in the block by clicking the checkbox:
Settings:
With your Home Assistant Block, you have a few optional settings you can use with your Display. This can be seen on the Block editor page under the settings tab. See below:
These settings are as follows:
- Show Name: This option will show the name of the connected device as reported by the API
- Show Type: This option will show what kind of device is being reported by the API
- Allow Change of State: This option allows you to use the Touchscreen or connected USB Mouse to toggle the state of the connected device
Frequently Asked Questions:
Here are the most Frequently Asked Questions about Home Assistant with DAKboard:
What Devices Can Be Interacted with on a DAKboard Touchscreen Display?
Any device that is considered a Switch or a Light can be interacted with. We can allow you to change the state of these types of devices from On to Off and back.
Can I set My Thermostat From my DAKboard Display?
Not directly, however, with the Button / Link block and your Home Assistant Lovelace Dashboard, you can navigate to your HA dashboard, make your changes, and then navigate back to your DAKboard Screen. See our article How to use the Button / Link Block to learn how to set up this on your DAKboard Screen, then on your HA dashboard, set up the return button.
Helpful Articles:
Having trouble? See if these articles help.