Skip to main content

Home Assistant Integration

pir

Integrate the Wio Tracker 1110 Dev Board into Home Assistant for real-time tracking and live environmental analysis. Wio Tracker 1110 Dev Board is a user-friendly, LoRa-based tracking development platform, you can use the dev board to develop more custom features, making your home environment more intelligent and responsive.

Get Started

In this tutorial we use Home Assistant Green as the Home Assistant host, you can use any Home Assistant host with a Supervisor. Check the Installation for more details.

Device Configuration

Before we begin, make sure you have read the User Guide of the Wio Tracker 1110 Dev Board, and select the platform to SenseCAP.

pir

Home Assistant Configuration

Navigate to your Home Assistant web interface.

To unlock the full potential of Home Assistant and gain access to advanced features, it's recomended to enable the Advanced mode in the user interface.

Click on your profile, and enable the Advanced mode.

pir

Install Add-ons

Go to Settings > Add-ons.

pir

Under the Official add-ons section, you will find the File editor and Advanced SSH & Web Terminal add-on.

pir

It's recommended to enable Show in sidebar so you can find it more easily.

pir

Install HACS

Home Assistant Community Store gives you a powerful UI to handle downloads of all your custom needs.

Open your terminal and navigate to the config directory:

cd /config

Download and run the HACS installation script:

wget -q -O - https://install.hacs.xyz | bash -

pir

After the installation script has finished, restart Home Assistant to apply the changes.

Go to Settings > System > Restart.

pir

Navigate to Settings -> Devices & Services.

pir

Click on ADD INTEGRATION to add a new integration.

pir

Search HACS and click on it.

pir

Only the last item (experimental features) are optional, you need to accept everything above that before you can setup HACS.

pir

Follow the instructions to authorize Home Assistant to access your GitHub account. This will typically involve entering a verification code provided by GitHub to confirm your identity.

HACS uses a device OAuth flow for authentication against the GitHub API.

pir

Install SenseCraft plugin

Navigate to HACS, click on the icon in the upper right corner, and choose Custom repositories.

pir

Copy the Repositorie:

Repository:

https://github.com/Seeed-Solution/SenseCraft-HomeAssistant.git

Category: Integration

Click on Add. The repository is now added to your HACS, and you can also find the SenseCraft integration in the list under Integrations.

pir

Navigate to the SenseCraft integration and click DOWNLOAD.

pir

We have successfully completed the installation of the SenseCraft plugin now.

Add Devices

Navigate to Settings -> Devices & Services -> SenseCraft, click on ADD DEVICE.

pir

Select Add devices using SenseCraft Account(账号集成) .

pir

Log in with your SenseCAP Mate APP account, and select global version.

pir

Then all your devices in your account will be listed, select the one that you want to connect, and then click SUBMIT.

pir

Once the connection is successful, you will see the device and entity displayed.

pir

Click on the device, you will see all the data uploarded, click ADD TO DASHBOARD

pir

Add Map Card

Before we add the map card, we need to add a location entity first.

Open the File Editor and navigate to configuration.yaml file, add the following code:

template:
- sensor:
- name: "Device Location"
state: >
{{ states('sensor.latitude') }},{{ states('sensor.longitude') }}
attributes:
latitude: "{{ states('sensor.latitude') }}"
longitude: "{{ states('sensor.longitude') }}"

pir

tip

name can be customized, and the states should be same with the entity id of your device.

You can check the entity id on Settings -> Devices and Services -> Entities

pir

Click ADD CARD on the dashboard.

pir

Choose the Map card.

pir

Copy the code into the CODE EDITOR and click SAVE.

type: map
entities:
- entity: sensor.device_location

pir

tip

The Entity should be same with your entity id, You can check the entity id on Settings -> Devices and Services -> Entities

pir

You can check the live location on the map now.

pir

All data of the Dev Board can be viewed in the dashboard.

pir

Loading Comments...