Questions tagged [home-assistant]

Home-Assistant is an open-source home automation platform that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts.

Official

The Home Assistant platform is defined by these main parts:

  • Home Assistant Core

    Home Assistant Core is a Python program, in simple words. It can be run on various operating systems and provide the ability to track, control, and automate your devices. When people talking about Home Assistant Core they usually refer to a standalone installation method that can be installed using a Virtual Environment or Docker. Home Assistant Core does not use the Home Assistant Supervisor.

  • Home Assistant

    Home Assistant is a combination of Home Assistant Core and tools which allows one to run it easily on a Raspberry Pi and other platforms without setting up an operating system first. Home Assistant is an all-in one-solution and has a management user interface that can be used from the Home Assistant frontend. This interface is not present in a Home Assistant Core setup.

  • Home Assistant Supervised (Previously Hass.io)

    Hass.io is a combination of Home Assistant, a small operating system based on resin.io, and the Hass.io Supervisor (see below).

  • Hass.io Supervisor

    The Hass.io Supervisor is a ‘bridge’ between Home Assistant and the operating system. It allows Home Assistant to do things like ‘get hardware information’, and ‘restart hardware’. It's also the program that manages the Home Assistant instance, taking care of installing and updating Home Assistant, add-ons, itself, and, if used, updating the HassOS operating system.

  • HassOS

    HassOS includes:

    • Home Assistant + Core
    • The Hass.io Supervisor
    • A small operating system based on resin.io Home Assistant OS, the Home Assistant Operating System, is an embedded, minimalistic, operating system designed to run the Home Assistant ecosystem on single board computers (like the Raspberry Pi) or Virtual Machines. The Home Assistant Supervisor can keep it up to date, removing the need for you to manage an operating system.

Usually, Hassio and HassOS are used as synonyms on the community forums, even though one includes the other.

These and more terms can be seen in the official Home Assistant Glossary.

Plugins and Integrations

Home Assistant comes with a few add-ons you can install The Home Assistant community is actively developing plugins, integrations, and cards to add more functionalities to Home Assistant.

  • Official Plugins

    Add-ons allow the user to extend the functionality around Home Assistant by installing additional applications.

    This can be running an application that Home Assistant can integrate with (like an MQTT broker) or share the configuration via Samba for easy editing from other computers. Add-ons can be configured via the Supervisor panel in Home Assistant.

    You install addons from the Supervisor panel in your Home Assistant frontend.

  • HACS

    HACS gives you a powerful UI to handle downloading community created add-ons. By using HACS, installing add-ons simplifies the process a lot compared to installing them directly.

  • Individual Addons

    Home Assistant also supports installing addons without any specific framework (unofficial add-ons that are not available through HACS)

Community

The Home Assistant community is very active and friendly. Feel free to join the discussion in the forums.

161 questions
1
vote
1 answer

How can make homeassistant's notify.send_email work?

With following python code ,i can send email in python3.11 console: import smtplib, ssl from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart def…
showkey
  • 482
  • 42
  • 140
  • 295
1
vote
1 answer

Arduino doesn't publish mqtt payload

I'm trying to make esp sensor with auto discovery to homeassistant: #include #include #include "HX710B.h" const int DOUT = 21; const int SCLK = 22; int prev = 0; int pa = 0; HX710B pressure_sensor; const char *WIFI_SSID…
Peter Asp
  • 39
  • 5
1
vote
1 answer

Multiple definitions error in custom ESPHome component

I'm trying to make a WiFi enabled egg-cooker. I have a working Arduino sketch and am now trying to port it to ESPHome so that it can interface with Home Assistant. ESPHome uses a yaml file (eggcooker.yaml) to generate a main.cpp file, and I can add…
Amanoo
  • 43
  • 1
  • 6
1
vote
0 answers

Python conflict between 2 libraries: requests.get() takes 1 positional argument but 2 were given

I'm using Home Assistant and I'm trying to fix this GitHub issue: https://github.com/home-assistant/core/issues/75739 In short, what happens is that 2 plugins (toshiba-ac and solaredge) conflict with each other. The error we get is requests.get()…
Bart
  • 769
  • 1
  • 5
  • 9
1
vote
1 answer

Modbus home assistant and python struct (little endian, big endian, negative values from uint16)

I have a question regarding to modbus settings. I have read the documentation carefully, tried to search some topics, but unfortunately I did not find an answer to my problem. I have a heat pump, which is able to communicate through modbus. In the…
tomdelahaba
  • 948
  • 3
  • 13
  • 26
1
vote
1 answer

Python web scraping script does not find element by css selector

I'm trying to get this web scraper to get current electricity price from this website, it's in finnish but it's right under "Hinta nyt". https://sahko.tk/ Here's my code: import requests from bs4 import BeautifulSoup url =…
Jho0
  • 13
  • 2
1
vote
0 answers

Zigbee Device, last communication time with the gateway

I've read around about the communication between battery powered Zigbee devices (sleepy end devices) and the gateway for example: https://www.qorvo.com/design-hub/blog/demystifying-polling-control-in-zigbee-networks So I get that the device call the…
lelmarir
  • 593
  • 2
  • 7
  • 24
1
vote
1 answer

Getting Self Signed Cert to work with Home Assistant in Docker

I am running HA in a docker container. I have created a wildcard self-signed cert that I use elsewhere within my homelab. But I cannot get it to work within HA. Here is how I created my cert using openSSL Create CA - Root Key openssl genrsa…
JStevens
  • 2,090
  • 1
  • 22
  • 26
1
vote
1 answer

Docker Container cannot access local network devices

I'm running a Home Assistant instance in a Docker container with an integration I'm working on connecting to a local device. My Python looks like this, which I've tested directly on my Windows machine, it runs and connects just fine if…
K20GH
  • 6,032
  • 20
  • 78
  • 118
1
vote
0 answers

Async component with socketio blocks initalization

I've implemented a custom component for Home Assistant, which opens the SocketIO stream and feed the event bus with it. Shorted version: async def async_setup(hass: HomeAssistant, config: dict): sio = AsyncClient() await sio.connect(...) …
majkrzak
  • 1,332
  • 3
  • 14
  • 30
1
vote
0 answers

Nginx Ingress not working on k3s running on Raspberry Pi

I have k3s installed on 4 Raspberry Pi's with traefik disabled. I'm trying to run Home assistant on it using Nginx Ingress controller, kubectl apply -f…
1
vote
1 answer

CURL command works in command prompt but not as batch file

I have read every other thread on this topic and none of them seem to illuminate what is happening. I am trying to send a CURL command to my Home Assistant instance by executing a batch file. C:\Windows\System32\curl.exe -X POST -H "Authorization:…
Broheim
  • 11
  • 1
1
vote
0 answers

Raspberry Pi 4 Bluetooth Weak Range

Context: I have a Raspberry Pi 4 sitting directly next to my iPhone. I have a bluetooth multisensor ~3 rooms away that I am able to connect to from my phone but I cannot reach it from my Raspberry Pi (verified via bluetoothctl) for home automation…
1
vote
2 answers

Jinja2 How to return one match in a for

I've little knowledge developing, I've spent days looking for a solution for this, doing tests and nothing. I have in Home Assistant, a rest sensor, who gives a JSON with unsorted data of all the gas stations in my area, this is part of it: { …
amibumping
  • 245
  • 1
  • 2
  • 13
1
vote
1 answer

How to execute a Python script that connects to a websocket on an external URL, in Home Assistant?

I am using Home Assistant and I would like to execute a Python script every 30 minutes. To do that I am using pyscript with the @time_trigger("cron(...)") annotation. However my script connects to a websocket (to an external URL, not the one of…
Romain Guidoux
  • 2,943
  • 4
  • 28
  • 48
1
2
3
10 11