56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
---
|
|
title: Home Assistant
|
|
description:
|
|
published: true
|
|
date: 2025-02-16T22:24:33.688Z
|
|
tags:
|
|
editor: markdown
|
|
dateCreated: 2025-01-21T18:45:04.906Z
|
|
---
|
|
|
|
# Home Assistant
|
|
The home assistant instance is running on a raspberry pi 3B.
|
|
Link : http://homeassistant.local:8123/
|
|
|
|
## YAML configuration
|
|
The configuration.yaml file:
|
|
```
|
|
|
|
# Loads default set of integrations. Do not remove.
|
|
default_config:
|
|
|
|
# Load frontend themes from the themes folder
|
|
frontend:
|
|
themes: !include_dir_merge_named themes
|
|
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
|
|
# Mopidy addon for hass.io
|
|
media_player:
|
|
- platform: mpd
|
|
host: 127.0.0.1
|
|
port: 6600
|
|
|
|
mqtt:
|
|
sensor:
|
|
- name: "Temperature Sensor"
|
|
state_topic: "home/sensor/temperature"
|
|
unit_of_measurement: "°C"
|
|
```
|
|
|
|
## Temperatue and Humidity sensor
|
|
An SHT30 temperature and humidity sensor is connected on the I2C buss on the raspberry.
|
|
|
|
Bought from elektrokit [link](https://www.electrokit.com/temperatursensor-sht30)
|
|
|
|
### Wiring configuration on raspberry:
|
|
|
|
| | |
|
|
| -------- | ------- |
|
|
| 3.3V (red) | X |
|
|
| SDA (purple) | X |
|
|
| SCL (green) | X |
|
|
| x | X |
|
|
| GND (black) | X | |