Skip to main content
Home Assistant
By the end of this section, you will have knowledge about the following topics:
  • Home Assistant smart home system installation on the T3 Gemstone O1 development board
  • Connecting sensors using the Deneyap Kart and providing home automation to develop smart home applications with this project

1. Introduction

Today, controlling home automation data and securing smart devices is more important than ever. You might want to manage your lighting, security cameras, smart plugs, and sensors in a centralized system without depending on major cloud providers like Amazon, Google, Xiaomi, or Tuya. To do this, you need to host your own smart home server on your own device and control your devices over your local network. However, running such a hub in your home brings technical challenges: enabling communication between devices from different brands, providing secure remote access from outside the world, and keeping the system continuously operational. These problems are often solved with complex configurations and high-cost hardware. The T3 Gemstone O1 development board, with its Home Assistant integration, provides an easy, cost-effective, and secure solution to these problems.

2. Home Assistant Installation

Home Assistant is an open-source smart home and automation platform. It offers features such as monitoring sensor data, controlling lights, plugs, and other devices, creating automated scenarios, and providing mobile access—all in a single system.
The Home Assistant installation only works on Debian images. Images of other distributions such as Ubuntu are not supported, because the Home Assistant Supervisor service does not work properly on them. Therefore, make sure you select a Debian image when writing the image to the board, as explained in the Select the operating system to install on the board section.
After establishing a terminal connection to the T3 Gemstone O1 development board, start the Docker installation with the following command:
After the Docker installation is complete, you can install Home Assistant.
After the installation is complete, you need to reboot the development board so that the Home Assistant services can start properly.
After the board restarts, it may take 5-10 minutes for the Supervisor to download and start all services, depending on your internet speed. You can monitor the status with the following command:
When you see that the hassio_supervisor and homeassistant services are in the Up (Running) state on the screen, you can access the interface from your browser: http://gemstone.local:8123 or http://<your-gemstone-ip-address>:8123 To access from outside your home, you can use the Tailscale network for which an installation guide is available, and securely connect to your system via your Tailscale IP address (http://<tailscale-ip>:8123).

3. Accessing the Home Assistant Interface and Initial Setup

Once the system services are active, when you first access the interface via your browser at http://gemstone.local:8123 or http://<your-gemstone-ip-address>:8123, Home Assistant will greet you with a setup wizard. At this stage, you can create your administrator account and complete the basic configuration of your smart home. You can easily complete the interface setup by following the images below:
If you encounter an error connecting to the interface, you can resolve it by changing https:// in the address bar to http://.
Preparing Screen

Home Assistant Preparing Screen

When you enter the address, you will see the Home Assistant preparing screen. The screen displays an estimated time.
Welcome Screen

Home Assistant Welcome Screen

If you are setting up for the first time, you can proceed with the setup from the Create my smart home section. If you have installed before and have backups, you can proceed with the options at the bottom.
User Creation

Home Assistant User Creation Screen

After entering your name, username, and password, click the Create Account button to create your account.
Home Location

Home Assistant Home Location Selection Screen

You can select the location of your device, i.e., your Home Location.
Data Sharing

Home Assistant Data Sharing Selection Screen

You need to give your consent for Home Assistant to use your data. You can continue with these settings enabled or disabled.
Main Screen

Home Assistant Main Screen

Congratulations! You have successfully completed the setup steps and are now on the Home Assistant main screen. You can now freely configure the hub of your smart home on the T3 Gemstone O1 and start managing your devices.

4. Sensor Integration with Deneyap Kart

This section covers the steps for connecting a motion sensor to the Deneyap Kart 1A V2 development board and integrating this sensor into the Home Assistant platform.

4.1 Installing ESPHome in Home Assistant

Home Assistant Main Screen

Home Assistant Main Screen

After opening the menu on the left side, click on the Settings option.
Home Assistant Settings Section

Home Assistant Settings Section

From the opened menu, select the Add-ons option.
Home Assistant Add-ons Section

Home Assistant Settings Section

Click the “Install Add-on” button located in the bottom right corner.
Home Assistant Add-on Store

Home Assistant Add-on Store

Type “esphome” in the search field in the opened menu.
Home Assistant Add-on Store Search Result

Home Assistant Add-on Store Search Result

Click on the ESPHome option displayed in the search results.
Home Assistant ESPHome

Home Assistant ESPHome

In the opened menu, click on the Install option and wait for the installation to complete.
Home Assistant ESPHome After Installation

Home Assistant ESPHome After Installation

After the installation is complete, click on the Start button in the displayed menu.
Home Assistant ESPHome After Installation

Home Assistant ESPHome After Installation

Click on the “Open Web UI” button.
ESPHome Welcome Screen

ESPHome Welcome Screen

4.2 Configuring ESPHome for Deneyap Kart

In the opened menu, click on the “Create Device” option.
ESPHome New Device Addition Screen

ESPHome New Device Addition Screen

Click the “Create new project” button to continue.
ESPHome Device Configuration Screen

ESPHome Device Configuration Screen

On the opened page, search according to the MCU model you will use.
ESPHome Device Configuration Screen

ESPHome Device Configuration Screen

At this step, select the appropriate model.
ESPHome Device Type Selection Screen

ESPHome Device Type Selection Screen

At this step, you need to assign a name to the board.
ESPHome Completing Device Configuration

ESPHome Completing Device Configuration

At this step, enter your modem’s SSID and password in the “Network Name” and “Password” fields.
Then, copy the pin definitions made in this section to the bottom of the YAML file.
Adding Sensor to ESPHome YAML File

Adding Sensor to ESPHome YAML File

Since a motion sensor will be connected in this example, paste the following definitions at the bottom of the YAML file as shown above.
The motion sensor is connected to the D4 pin (GPIO42). If you connected it to a different pin, you need to update the number field accordingly. For the required pin assignments, you can refer to the Deneyap Kart Pin Guide page.
Click the “Install” button in the bottom right corner. This step completes the configuration.

4.3 Uploading Software to Deneyap Kart for ESPHome

ESPHome Software Upload Options

ESPHome Software Upload Options

First, connect the Deneyap Kart to any USB port of your T3 Gemstone O1 development board. Various upload options will be displayed in the opened menu, but for the initial upload, you should select “Plug into the computer running ESPHome Device Builder”. For subsequent uploads, you can perform wireless uploads.
ESPHome Software Upload

ESPHome Software Upload

In the Port selection section, select the appropriate option from the list. If multiple ports are visible, the port that disappears and reappears when you unplug and replug the Deneyap Kart is the correct port.
ESPHome Software Upload Log Screen

ESPHome Software Upload Log Screen

Start the upload process. The first upload may take some time, so patience is recommended.
ESPHome Software Upload Log Screen

ESPHome Software Upload Log Screen

After the upload is complete, go to the ESPHome main screen and click on the “Logs” section. In the opened menu, the “Wirelessly” option is now available.
Adding ESPHome Device

Adding ESPHome Device

On Home Assistant, go to Settings > Devices & Services > Add Integration and click the “Add” button on the ESPHome device found there.
Adding ESPHome Device

Adding ESPHome Device

At this stage, click the Send button that appears.
Adding ESPHome Device

Adding ESPHome Device

At this step, give the board a name for Home Assistant. Then click the Skip and Finish button to continue.
ESPHome Devices

ESPHome Devices

Click on the “1 device” option under ESPHome.
ESPHome Device Details

ESPHome Device Details

Congratulations! A motion sensor has been successfully integrated into the Home Assistant platform. The status of the added sensor can be viewed in real-time.

5. Frequently Asked Questions

I get an “Unsupported System” warning after installation, why?
This warning may appear when using an operating system other than Home Assistant OS or when there are other manually running services on the system (such as Nextcloud or Tailscale). It is not an obstacle to the stable operation of the smart home system; it is only for informational purposes.
When will the Add-on store appear?
If you access the interface immediately after installation, the Add-ons menu may not be visible. The “Settings -> Add-ons” tab will automatically become active after the system completes the necessary configurations in the background (usually within 5-10 minutes).