Quantcast
Channel: Configuration - Home Assistant Community
Viewing all 109372 articles
Browse latest View live

Browser-GUI disconnects

$
0
0

I am running HA now in a Hyper-V VM (moved there from a Green HA) and after some testing around (running it on different hosts to check for voice-reaction times) I find myself with a very slow frontend, disconnects of Browser-sessions and general poor performance of the front-end. COnnecting to the debug log also takes ages…
Everything is up2date.
Where can I start to troubleshoot? Hyper-V shows no problems…

1 post - 1 participant

Read full topic


Problem with : repeat for each

$
0
0

Hello everyone,

Is it possible to use a repear for each in a repeat for each.
See below:

actions:
  - repeat:
      for_each:
        - min
        - max
      sequence:
        - repeat:
            for_each: |
              {% set Lijst = states 
                               |selectattr('domain', '==', 'input_number') 
                               |selectattr('entity_id', 'search', 'vandaag') 
                               |selectattr('entity_id', 'search', repeat.item) 
                               |map(attribute='entity_id')  
                               |list
                               %}
              {{Lijst}}
            sequence:
              - data:
                  value: >
                    {% if states('sensor.' +
                    repeat.item.split('.')[1].split('_')[-5:-3]|join('_')+
                    '_nu_temp')|float <
                             states('input_number.' + repeat.item.split('.')[1].split('_')[-5:-3]|join('_') + '_vandaag_' + repeat.item + '_temp')|float %}
                           {{states('sensor.' + repeat.item.split('.')[1].split('_')[-5:-3]|join('_')+ '_nu_temp')|float}}
                       {% else %}
                           {{states('input_number.' + repeat.item.split('.')[1].split('_')[-5:-3]|join('_') + '_vandaag_' + repeat.item + '_temp')|float}}
                       {% endif %}             
                target:
                  entity_id: >
                    input_number.{{repeat.item.split('.')[1].split('_')[-5:-3]|join('_')}}_vandaag_{{repeat.item}}_temp
                action: input_number.set_value

But this does not work.

If this is possible, how do I do this.

3 posts - 2 participants

Read full topic

Z2M some devices added, others not seen

$
0
0

Hi,

I bought some IKEA sensors, 1 was fine but 2 wouldnt connect; the Vallhorn and Parasoll which wouldn’t connect under ZHA. I read that folks have had more success with Z2M which i installed.

However, 4 of my 6 Aqara E1 blind motors connected (not the other 2) and all IKEA sensors wont connect either.

I did a backup and can roll back to the previous working state under ZHA, before i do, can i ask whether i am missing something?

To clarify, Z2M definitely says Permit All, I changed the channel from 11 to 25, i have placed all of the devices into pairing mode - they simply don’t show up. The IKEA devices i put into pairing mode almost touching the Zigbee dongle - no dice.

Interestingly the 4 blind motors that connected - none of them were put into pairing mode, they just connected.

Any thoughts?

1 post - 1 participant

Read full topic

Hide card in grid

$
0
0

I am using the UI in the grid card. My question is pretty simple it seems if you use the visibility the whole grid dissapears. Is it not possible to do this at the each card level?

1 post - 1 participant

Read full topic

Litter box air freshener project automation configuration

$
0
0

Hello, I was hoping for a little guidance on which direction i should go to configure this better. I did search but was not able to find something that helped me. I have two zigbee motion sensors. Each one mounted above a litter box. I currently have it set so that if motion is not detected for 1 minute, it will fire the air fresheners. It does work, but i keep trying to improve it and can’t get it to do what I want. Right now, the sensors work independently. If one cat triggers both motion detectors, it will fire the fresheners twice. It’s easy to see how this happens. Ideally, I want it to be so that once motion is detected by either sensor and then subsequently not detected for 1 minute it will fire. If motion is detected by either sensor in the 1-minute waiting period, it will reset the timer. Goal is to have it not fire while a cat is in there. My coding knowledge is very limited so please dont be afraid to say that I will just have to live with it as it is if it is going to require much coding. I really appreciate all of you who have made and support this wonderful application. Thank you.

1 post - 1 participant

Read full topic

Add additional values to an attribute

$
0
0

An entity has several attributes under profile:

Now I would like to add an additional, 6th value, f.ex. "2025-05-10 05:00:00": 1.20 via an automation (finally there should be an input form with a button, whitch triggers an automation, where the values (time and amount) should be added to this attribute). Is there a solution for that?

1 post - 1 participant

Read full topic

Creating scenes not working properly?

$
0
0

I think I might be thinking about scenes incorrectly. I’ve been using HA since 2018, but I’ve never used scenes. I went to create one in the Settings —> [Automations / Scripts / Scenes / Blueprints] area, but I must be doing something wrong because after I click save, and the save button goes away, the name up in the upper left corner doesn’t change from “New Scene” to the one I’ve specified, and it doesn’t appear in the list after I come back into that view.

The scene I’m trying to create is the simplest one I could think of, just to start. I’ve copied the YAML out so I can easily paste it in again, because this has happened half a dozen times already, where it has just gone away after I’ve saved it. My only goal for this initial scene is to have an automation turn on when the scene is activated. The automation brings up the lights when the movie is paused and dims them when playback starts, but that’s really irrelevant to this scene.

After clicking save, I see the scene I just created in the scenes.yaml file, but it doesn’t show up in the GUI ever, even after a restart and hard-refreshing the browser. I don’t get an entity for this scene at all. Maybe something is broken for me? I’ve just updated to the latest 2025.5.1.

- id: "1746885065496"
  name: Movie Time
  entities:
    automation.kitchen_lights_on_movie_play_pause:
      state: "on"
  icon: mdi:video-vintage
  metadata:
    automation.kitchen_lights_on_movie_play_pause:
      entity_only: true

Like I said, I just feel like I’m thinking about something incorrectly, or just doing something completely wrong. are there any good scene tutorials? Some of the ones I’ve seen have said they’re simpler than scripts, and so far, for me, this is not the case :expressionless:

1 post - 1 participant

Read full topic

Voice Assistant PE Help

$
0
0

I am new to the voice assistant portion of home assistant and I could use some help in getting it to watch/pull up Roku Apps on a TV. I ordered a couple of them. One for me for testing and one for my mother in law. I have set up her house to help her with her day to day, Lights, Pill reminders, etc. She is loosing her vision and it can be hard for her to use her remote from time to time so I am trying to improve her media portion of her life. It would be nice for her to just say Hey Jarvis watch netflix and have it pull it up on the screen. I can get automations to work but I can’t get voice pe to recognize them. Any help would be appreciated.

alias: Watch Hulu
description: “”
triggers:

  • trigger: conversation
    command:
    • Watch Hulu
      conditions:
      actions:
  • action: media_player.turn_on
    metadata: {}
    data: {}
    target:
    entity_id:
    - media_player.samsung_7_series_75
    - media_player.roku_family_room
    - media_player.yamaha_receiver_family_room
  • delay:
    hours: 0
    minutes: 0
    seconds: 5
    milliseconds: 0
  • action: media_player.select_source
    metadata: {}
    data:
    source: Hulu
    target:
    entity_id: media_player.roku_family_room
    mode: single

2 posts - 2 participants

Read full topic


Send attachments with Google Mail integrations

$
0
0

Hello,

I have the following integration

The email is sent but the attachments are not.

The image path is correct because the same image is sent via push notification correctly.

Below is my setup

action: notify.homeassistant_xxx_gmail_com
metadata: {}
data:
  title: Allarme!
  message: In allegato lo snapshot ed il video
  target: xxx.xxx@gmail.com
  data:
    attachment:
      - /media/local/camera_baby_monitor_snapshot.jpg
      - /media/local/camera.baby_monitor_sub.mp4

Thank you

2 posts - 2 participants

Read full topic

Unable to access URL in windows PC

$
0
0

I have installed HA in a windows PC via virtual environment but I’m not able to access the HA URL …can someone please guide me!!

1 post - 1 participant

Read full topic

PE and Vosk, poor text recognition

$
0
0

I’m using Vosk locally for a while via HA App and phone Assistant with no big issues.
It correctly gets speech transcribed most of the time.

Unfortunately, PE seems not to like it, as 90% of the time “it’s sorry” that it can’t understand :slight_smile:

I’ve checked the audio in the pipeline and it’s very noisy compared to the phone one (tested from the same distance) and I would have expected to have at least the same quality (maybe the audio saved is not yet “processed” by PE?)

Surprisingly, PE worked okay via HA cloud, but I want to keep it local, and the response time using Vosk is okay for me.

I’ve searched and found something about the noisy audio but not much other information

1 post - 1 participant

Read full topic

Z-wave JS update triggers smoke/CO alerts

$
0
0

I have two of the ZCOMBO First Alert smoke/CO detectors. When I update Z-wave JS, they both generate alerts when the update is complete.

Is there any way to prevent this behavior?

1 post - 1 participant

Read full topic

Cloudflare Tunnel Configuration

$
0
0

I have (2) domain names for small websites. I created a tunnel to access both of them and they work great.
Now I am trying to use it to access HA. However, I get the following error.


[13:27:11] INFO: Checking add-on config…

[13:27:11] INFO: Checking for existing certificate…

[13:27:11] INFO: Existing certificate found

[13:27:11] INFO: Checking for existing tunnel…

[13:27:11] NOTICE: No tunnel file found

[13:27:11] INFO: Creating new tunnel…

failed to create tunnel: Create Tunnel API call failed: tunnel with name already exists

[13:27:11] FATAL: Failed to create tunnel.

Please check the Cloudflare Zero Trust Dashboard for an existing tunnel with the name GK_Tunnel and delete it:

Visit https://one.dash.cloudflare.com, then click on Access / Tunnels

s6-rc: warning: unable to start service init-cloudflared-config: command exited 1


I can’t or don’t want to delete my tunnel because there are users accessing it.

Any suggestions what to do next?

1 post - 1 participant

Read full topic

Centering an Entity label in a mushroom card without HACS

$
0
0

Dear community :wink:

I would like to center labels inside mushroom cards showing each an entity.
I imaging this can be done without technical odisseys even without HACS.

Any idea how to do that?

e.g. in the following YAML centering the name ?

type: tile
entity: input_button.pulsante_plancia_scene
features_position: bottom
vertical: false
tap_action:
action: navigate
navigation_path: /dashboard-scene
grid_options:
columns: full
name: SCENE
hide_state: true

1 post - 1 participant

Read full topic

Using the official WeatherFlow integration

$
0
0

Back in March, I replaced the HACS WeatherFlow integration with the new built-in integration. In so doing, I broke the one automation that uses the integration. I only just found out because the automation is for controlling my irrigation system, and the irrigation system was off all winter. The problem is that I cannot find states equivalent to weatherflow_is_raining (whether or not it is raining now) and weatherflow_precipitation_yesterday (the amount of precipitation yesterday). Do these states have equivalents in WeatherflowCloud (or Weatherflow)?

In my frustration, I figured that I would return to the HACS version, which I presume is the one called “WeatherFlow Forecast and Sensor integration for Home Assistant”. I follow the directions provided, but I always get “Unknown error occurred”. Is this version supposed to work still?

1 post - 1 participant

Read full topic


DuckDNS blocked in Tesla cars?

$
0
0

For a year or so I had HA working in the Tesla browser via a DuckDNS hostname, but for the last couple of weeks nothing is happening in the browser when trying to load the site. The main DuckDNS page is not showing either. However, if I switch to wifi it works fine. Also, HA works fine via my mobile phone on 4G.
So, I assume Tesla for some reason has started blocking out DuckDNS…? Anyone else who have seen this? Any workarounds?

2 posts - 2 participants

Read full topic

Android TV / Onn 4k device Volume Control?

$
0
0

I recently picked up an Onn 4k device and have added that into my HA setup. I then followed and basically copy the remote code round here into a card, and everything works very well, except I can’t control the volume.

I even noticed when I look at the device integration, the icons are their for the volume, but can’t get them to work. Does anyone have volume control with an Onn 4k device?

Thanks,
PT

1 post - 1 participant

Read full topic

Template trigger not firing (blueprint)

$
0
0

Hi everyone,
I’m trying to set up a blueprint automation for some lights. As part of it, I want to trigger every time the lights are toggled. I ask for the lights in the input section and then I have:


mode: single
trigger_variables:
  trigger_source: "other" 
  lights_target: !input the_lights
  light_entities: >
    {% set entities = lights_target.entity_id if lights_target.entity_id is defined else [] %}
    {{ entities }}
trigger:
  - id: toggled_outside
    platform: template
    value_template: >
      {% set lights = variables.light_entities %}
      {% set changed_entity = trigger.to_state.entity_id %}
      {{ changed_entity in lights and (trigger.to_state.state == 'on' or trigger.to_state.state == 'off') }}

This is how the variable looks like:


lights_target:
  entity_id:
    - light.all_lights_hall_lights
light_entities:
  - light.all_lights_hall_lights

At the moment, this isn´t throwing any errors but when I toggle the light the automation won´t trigger. Does anyone have any ideas?
Thanks in advance.

1 post - 1 participant

Read full topic

Ledvance in HA

$
0
0

Hi,
Im trying to integrate my Ledvance lights into HA. I’ve seen the thread from 2022 that involves python. This feels to advanced for me as I’m still pretty much a newbie to this. Has somebody come up with another simpler solution?

Thank you

1 post - 1 participant

Read full topic

Broken config file, home assistnat doesn;t load any hassio add ons

$
0
0

I’ve tried uninstalling a add-on from home assistant and now no add-ons are working, they don’t even show on my home assistant instance anymore. I can’t see the back up option in settings neither, so I can’t upload a back-up. How can i fix this?

this is my config 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

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24

ffmpeg:

fan:
  - platform: template
    fans:
      central_ventilation:
        friendly_name: "Central Ventilation"
        value_template: "{{ states('light.at_ventilation_dimmer_controller') }}"
        percentage_template: "{{ (states('light.at_ventilation_dimmer_controller'), 'brightness')/255*100 }}"
        preset_mode_template: >
          {% if is_state('fan.percentage_fan', 'on') %}
            {% if state_attr('fan.percentage_fan', 'percentage') == 100  %}
              max
            {% elif state_attr('fan.percentage_fan', 'percentage') == 75 %}
              high
            {% elif state_attr('fan.percentage_fan', 'percentage') == 50 %}
              medium
            {% elif state_attr('fan.percentage_fan', 'percentage') == 30 %}
              night
            {% else %}
              away
            {% endif %}
          {% else %}
            off
          {% endif %}
        turn_on:
          action: script.fan_on
        turn_off:
          action: script.fan_off
        set_percentage:
          action: script.fans_set_speed
          data:
            percentage: "{{ percentage }}"
        set_preset_mode:
          - action: fan.set_percentage
            target:
              entity_id: fan.percentage_fan
            data:
              percentage: >-
                {% if preset_mode == 'high' %}
                  100
                {% elif preset_mode == 'high' %}
                  75
                {% elif preset_mode == 'medium' %}
                  50
                {% elif preset_mode == 'night' %}
                  30
                {% elif preset_mode == 'away' %}
                  20
                {% else %}
                  0
                {% endif %}
        speed_count: 5
        preset_modes:
          - "away"
          - "night"
          - "medium"
          - "high"
          - "max"

1 post - 1 participant

Read full topic

Viewing all 109372 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>