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
0
votes
1 answer

Home Assistant Template Sensor: "this" is undefined -- why?

I'm trying to use self-referencing templates in Home Assistant, because I want to make a reusable way to add an AQI calculation to every air sensor I have in my house (which have recently multiplied since IKEA made one that integrates really well…
USSJoin
  • 1
  • 3
0
votes
0 answers

Flask web server running inside a Docker container not reachable via Ingress reverse proxy in Homeassistant

How can I correctly configure a Flask web server to run inside a Docker container in Homeassistant using gunicorn and nginx as reverse proxy, to show and edit content from a SQLite database? I am currently developing a Homeassistant addon that…
0
votes
1 answer

How to properly use await with pyscript?

Here is my simplified pyscript - async def auth(brand): async with aiohttp.ClientSession() as session: async with session.post(url_auth) as resp: ... return auth_token_b64 @service def get_counters(address_id): …
LA_
  • 19,823
  • 58
  • 172
  • 308
0
votes
1 answer

Custom Lovelace Card Visual Editor not showing up

I am trying to create a custom Lovelace card with a visual editor, but the visual editor is not showing up as expected. The card is named "HANFC Card" and is designed to control DLNA devices with NFC tags. I've added the necessary code to define the…
pauel
  • 908
  • 10
  • 26
0
votes
0 answers

Integration Error in Home Assistant - "Integration 'user_access_control' not found"

I'm looking for some help with building a custom component for user access control in Home Assistant. Currently, the existing user login system in Home Assistant only allows users to be activated or deactivated via the UI with clicks. However, I…
binfile
  • 21
  • 5
0
votes
0 answers

I can not open portainer web page in chromium browser on Raspberry Pi OS , getting an error

My goal is to get home assistant running on my Pi 4B. in a container in docker. I am following instructions at https://www.stewright.me/2022/01/tutori ... container/ im getting stuck on the step of trying to get my web browser (chromium) to open the…
0
votes
0 answers

Template a JSON in Home Assistant

Under: Home Assistant > Developer Tools > Templates, given a JSON I want to to edit a value and add a new key/value pair. {% set temp = {'a': '1', 'b': 2} %} {{ temp }} Print: {'a': '1', 'b': 2} I have no idea how to add a key/value pair,…
Baro
  • 5,300
  • 2
  • 17
  • 39
0
votes
0 answers

HomeAssistant API request from micropython not working

I have an input_number configured in HomeAssistant like this in the configuration.yalm: # Loads default set of integrations. Do not remove. default_config: # Load frontend themes from the themes folder frontend: themes: !include_dir_merge_named…
Alexgar
  • 21
  • 3
0
votes
1 answer

Home Assistant: solar production graph not working

I have today added the FusionSolar integration through HACS so I can monitor my solar panel production in HA. Under Settings > Dashboards > Energy under solar panels I've added the sensor for today's production. However, when I go to the Energy…
vdvaxel
  • 667
  • 1
  • 14
  • 41
0
votes
0 answers

Syntax Coloring for Studio Code Server YAML file type in Home Assistant Add-on not working?

My understanding is the editor add-on should be configured by default for YAML syntax, but mine shows no coloring. How do I enable colored syntax? I tried other plugins such as Prettier but no effect. I've Googled as well but no luck. Thanks.
0
votes
1 answer

undefined reference in ESPHome custom 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. Here's a link to the code:…
Amanoo
  • 43
  • 1
  • 6
0
votes
0 answers

How to store variables in an HA automation?

Since I’m new to HA and also Jinja2 my thoughts on the following issue are based on how I would realise it with PHP. I’d like to built an automation that controls an rgb bulb that reminds me on an open window after several timers have passed. Due to…
John
  • 261
  • 2
  • 6
  • 16
0
votes
0 answers

Github Action Workflow to automatically create tags from versions

I'm trying to setup a Github Workflow that does a couple of things, but I'm not sure if there's a popular action that already does this. I had a look but couldn't see anything too obvious Action 1 What I'd like this action to do is validate that a…
K20GH
  • 6,032
  • 20
  • 78
  • 118
0
votes
0 answers

Error 401 (Unauthorized) RestAPI-Home Assistant with js

Tried the API example listed on Home Assistant, it worked with the Token and I can sucsessfully get the header. When trying to use fetch on js I can only get 401 (Unauthorized). Im trying to access the RestAPI of Home Assistant via JavaScript on…
0
votes
0 answers

Error collect2: error: ld returned 1 exit status in ESPhome on RP pico w

I'm having an issue with configuring the BME280 sensor. It keeps giving me the following error: collect2: error: ld returned 1 exit status. I really don't know what's wrong with it. esphome: name: raspberry-pi-pico-w--2 friendly_name: Raspberry…