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

Button to navigate into Media Browser subfolders

$
0
0

Hi there.
I got a question if it is possible to set a button, which will navigate directly to specified subfolder in Media Browser.

My simple button now is:

type: button
tap_action:
  action: navigate
  navigation_path: media-browser/local/local/cameras/recordings

but this will only redirect me into Media Browser root folder.

1 post - 1 participant

Read full topic


Getting alerts when in Do not Disturb on iOS

$
0
0

Hi everyone,

I have been trying out multiple ways to do notifications, especially so that they go thru while my iPhone/iPad is on a ‘Focus’ i.e. DND, Sleep, Working etc.

I know that I can get notifications thru as critical notifications and that works fine. However I am looking for a way to also get ‘Alerts’ thru which they don’t by default.

I setup the alert below and it generally works. I added a notifier group with my iPhone and the same settings that allow a normal notification to become a critical notification, in hopes that this would work here too. Unfortunately it does not. The check tells me that my config is fine but after restart the alert will not run (it was running before fine as normal alert).

# Alert
alert:
  test_alert:
    name: Test Alert
    message: Door is opened
    done_message: Door is closed
    entity_id: binary_sensor.door
    state: "on"
    repeat: 1
    can_acknowledge: true
    skip_first: false
    notifiers:
      - my_iphone_critical

# Notify
notify:
  - name: my_iphone_critical
    platform: group
    services:
      - service: mobile_app_iphone
        data:
          push:
            sound:
                name: "default"
                critical: 1
                volume: 1.0

Anyone has any idea how to fix this?

Thanks!

1 post - 1 participant

Read full topic

Automation daily at 11 pm

$
0
0

Hi, I’m new to home assistant and automation.

I’m trying to use Hyundai integration to check if the car locked or not, if not then lock it.

I have two issues:
1- it won’t run every day
2- looks the condition using cached data as even when it’s locked it run the action.

Below is my configuration created by gui

alias: lock Palisade
description: ‘’
trigger:

  • platform: time
    at: ‘23:00:00’
    condition:
  • condition: device
    device_id: xxxxxx
    domain: lock
    entity_id: lock.2020_palisade_door_lock
    type: is_unlocked
    action:
  • service: tts.google_translate_say
    data:
    entity_id: media_player.google_speaker
    message: Palisade doors unlocked
  • device_id: xxxxxxxx
    domain: lock
    entity_id: lock.2020_palisade_door_lock
    type: lock
    mode: single

1 post - 1 participant

Read full topic

Different actions depending on Conditions

$
0
0

Just wondering if there’s any way to set an automation to run a certain action depending on the contentions.
For example I have a Morning, Afternoon, Evening and Nightlight setting for each room and a button to turn them on in the room, also the Living Room comes on automatically when we get home.
This means I have to have a different automation for each button for morning, afternoon, evening and night and then another load for when we get home.
What I what to do is basically say:
If I push the button in the living room OR come home
THEN IF it’s morning activate the Living Room Morning scene
ELSE IF it’s afternoon activate the Living Room Afternoon scene
ELSE IF it’s evening activate the Living Room Evening scene
ELSE If it’s nighttime activate the Living Room Night Scene.

I’ve setup an input select to define what I want Morning, Afternoon, Evening and Night to be.
I don’t want them triggering just by time as I have other scenes (such as a movie scene) that I will activate sometimes.

I’d be greatful for any help becasue I’m going to have a never ending list of automations at this rate and figured I must be going about this the wrong way.

2 posts - 2 participants

Read full topic

ZHA - Aqara wall switch H1 EU, how to use decoupled mode(like a wireless switch)

$
0
0

Hello !

I have an Aqara wall swich H1 EU(lumi.switch.l2aeu1) and I can use it with ZHA to switch on or off the bulb.
But I don’t find any ways to active the decoupled mode that permit controlling remotely any device, like a double press to close the curtain for example, I don’t want to cut the power at all.

It works well with aquara app and hub, but can’t find any documentation about this for ZHA.

On Zigbee2MQTT documentation here, I can’t see that Operation_mode permit to choose to use the normal mode(cut the power when switch off) or the decoupled mode(just fire event when clicks). And I see they also have an action trigger that allows to know if it is a single click, double click…

Does someone have some insight or has succeeded in using decoupled mode ?

Thanks in advance for your help !

1 post - 1 participant

Read full topic

Amazon Echo - Volume Change Beep Bypass

$
0
0

Long time reader, first time poster so hopefully I’ve put this in the right place.

I’m currently writing some automations/scripts using Amazon Echo devices. I’m wondering if anyone has found a work around to them making a ‘beep’ when setting the volume using media_player.volume_set service.

I’ve tried muting using media_player.volume_mute just prior and just after setting the volume with media_player.volume_set, but this doesn’t have the desired effect.

I’ve had a look in the Amazon forums as well and also not come up with anything so I’m thinking it’s probably something I’ll have to live with. But I thought it was worth asking the question on here to see if someone had come up with a solution.

1 post - 1 participant

Read full topic

Automation of datetime to KNX bus

$
0
0

Hi.

I am struggling with automation and sending datetime to my KNX bus. It looks like HA want send datetime when I setup an automation.

This is working fine in configuration.yaml:

knx:
  expose:
    type: 'datetime'
    address: '3/0/0'

But when i try to do this with an automation, it says that datetime is not a valid option for type:. Like this in automation.yaml:

alias: Send date and time to knx bus
description: Send date and time to knx bus
trigger:
  - platform: time_pattern
    seconds: /10  # set to 10 seconds for testing
condition: []
action:
  - service: knx.exposure_register
    data:
      address: 3/0/0
      type: datetime # does not like this line.
      entity_id: automation.Send date and time to knx bus
mode: single

Have tried everything.
Here is the message from tracing:

Stopped because an error was encountered at 10 January 2022, 01:52:42 (runtime: 0.01 seconds)

not a valid value for dictionary value @ data[‘type’]

Hermod

1 post - 1 participant

Read full topic

Fibaro FGFS101 Flood sensors

$
0
0

Hello,

I have 3 FGFS101 flood sensors with firmware 26.26. I had these integrated on my prior ozw integration without issues. They reported 3 values, a flood sensor, tamper sensor and temperature. I recently upgrated to the new zwavejs integration with the zwavejs2mqtt control page.

on my zwavejs2mqtt control panel i am seeing multiple sensors, including the temperature but on the zwave integration entities the temperature seems to drop to unavailable. it was previously working with updated temps every 5 minutes on the ozw network.

not sure why, but im wondering is this an openzwave vs zwavejs difference causing the drop of the temp readings? any way to recover the temperature readings?

thanks

1 post - 1 participant

Read full topic


Light Brightness Mirroring

$
0
0

I use Lutron Caseta integration. I would like to use the brightness attribute from Lutron and and have a Tasmota light follow the brightness. I currently have the Tasmota light turning on to a set brightness though Node Red. I can’t figure out how to do this through Node Red or a config template. Any help would be appreciated.

1 post - 1 participant

Read full topic

Z-Wave Device Missing Paramaters

$
0
0

I’ve done some searching, but I can’t find a clear answer on how to resolve this. I have a dozen super common GE EmBrighten Z-Wave switches. #46203 is the specific one I am looking at. The device database is missing several of the parameters for the switch. How can I add these?

1 post - 1 participant

Read full topic

Automation Works but need to add another condition

$
0
0

Good evening community! I have an automation that works as the following:

-Back door opens
-Condition: Sunset-Sunrise
-Action: Turn on back yard lights.
-Wait 10 minutes
-Turn off back yard lights.

I need to add another trigger where if the backdoor is held open (not shut) then the timer of 10 minutes doesn’t start. I want to check door shutting start the timer.

alias: Backyard Lights Automated
description: ''
trigger:
  - type: opened
    platform: device
    device_id: 04717ebbfb7e350942847dee1941a219
    entity_id: binary_sensor.back_door
    domain: binary_sensor
condition:
  - condition: or
    conditions:
      - condition: sun
        after: sunset
      - condition: sun
        before: sunrise
action:
  - type: turn_on
    device_id: 0140600cc9e91b544f8a2f284677c50d
    entity_id: switch.backyard_lights
    domain: switch
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - type: turn_off
    device_id: 0140600cc9e91b544f8a2f284677c50d
    entity_id: switch.backyard_lights
    domain: switch
mode: single

type or paste code here

Any ideas here?

Thank you!

2 posts - 2 participants

Read full topic

Use scene with different behavior depending on the sun/time of day

$
0
0

Hi,

I have a movie scene that turns all the light around the living room, and puts the TV into movie mode.
I also want to close the living room covers but only if it’s during the day. how can I accomplish this using a scene? (I don’t want an automation that choses between scenes I just want to manually activate the scene)

1 post - 1 participant

Read full topic

Sensor Template help please!

$
0
0

Hi all,

I’m trying to make my first template sensor and I keep getting errors, not sure what my issue is after reading through the template documentation. Trying out the code in the template section of the developer tools it seems to work, but every time I put it in my config file I get an error (error text below the code)

template:
  - sensor:
    - name: "Minutes until next alarm on Pixel 6"
      state: "{{((as_timestamp(states('sensor.pixel_6_next_alarm')) - as_timestamp(now()))/60)|int}}"

  - sensor:
    - name: "Average upstairs temp"
      state: >
      {% set bedroom = states('sensor.lumi_lumi_weather_temperature') | float %}
      {% set office = states('sensor.office_temperature') | float %}
      
      {{((bedroom + office) / 2) | round(1, default=0) }}

And this is the error that I keep getting from HA:

  • Invalid config for [template]: extra keys not allowed @ data[‘state’]. Got “{{((as_timestamp(states(‘sensor.pixel_6_next_alarm’)) - as_timestamp(now()))/60)|int}}” required key not provided @ data[‘sensor’][0][‘state’]. Got None. (See /config/configuration.yaml, line 24).
  • Invalid config for [template]: extra keys not allowed @ data[‘state’]. Got “{% set bedroom = states(‘sensor.lumi_lumi_weather_temperature’) | float %} {% set office = states(‘sensor.office_temperature’) | float %}\n{{((bedroom + office) / 2) | round(1, default=0) }}\n” required key not provided @ data[‘sensor’][0][‘state’]. Got None. (See /config/configuration.yaml, line 29).

Any help would be greatly appreciated!!

1 post - 1 participant

Read full topic

Template of nested attributes compared to timestamp

$
0
0

Setup:

An entity of ‘person.name’ has an attribute of ‘source’
The value of ‘source’ is the name of a ‘device_tracker_XYZ’ entity
The entity ‘device_tracker_XYZ’ has an attribute of ‘last_seen’

I’m trying to create a template that will compare the last_seen value to current date/time with the only given knowledge of ‘person.name’.

I’m completely at a loss here.

1 post - 1 participant

Read full topic

Using wall switch

$
0
0

I am trying to understand how to use a “wall switch” in HS. It is a GoControl WA00Z-1. The instructions say to "Put your controller in ASSOCIATION mode with Group 2 or Group 3. I have not found any way to do this in HS. The device shows up only as battery condition entities. Nothing that looks like an on/off device.

1 post - 1 participant

Read full topic


HACS installed via script, but not vissible in addons/integrations list

$
0
0

Hi guys,

i have an issue, that hacs is not visible in addons/integrations.
I was able to install it via SSH, and files with all the folders structure are there.
Tried restart both: HA os and Raspberry itself. Nothing helped. Tried couple of browsers (for sure cleared caches), but still nothing.

Running on Raspberry Pi 4b, HA OS 7.1.
Tried on Virtual machine as well.
Tried with older versions, still the same…

Any ideas what else could I try? :frowning:

Without hacs I do not see any further possibilities using HA at all.

Thank you in advance.

2 posts - 2 participants

Read full topic

Error automation

$
0
0

I get an error while trying to add this automation:

- id: '164179246736942'
  alias: 'Hue light on gradually with alarm'
  hide_entity: False
  trigger:
  - platform: template
    value_template: '{{ states.sensor.time.state == states.sensor.alarm_clock_time_long.state }}'
    condition:
      condition: state
      entity_id: input_boolean.alarm_clock_status
      state: 'on'
    action:
      service: script.wake_up

Invalid config for [automation]: required key not provided @ data[‘action’]. Got None. (See /config/configuration.yaml, line 52).

THIS IS WHAT I HAVE IN LINE 52:
group: !include groups.yaml

and this:
The ‘hide_entity’ option near /config/automations.yaml:1426 is deprecated, please remove it from your configuration

2 posts - 2 participants

Read full topic

Login fails after using Nginx Proxy Manager add-on

$
0
0

Hi guys,

I just installed the Nginx Proxy Manager add-on and configured everything. I also successfully retrieved an SSL certificate by Let’s Encrypt.
When I’m now trying to access my HA frontend (on a PC), my login fails with a notification on my other devices, that a Login attempt failed (I’m in an VPN with that iPhone):
image

My entered username and password are correct. The problem occurs after entering my OTP (2FA with Google Authenticator); “Neu anfangen” means “Start again”:
image

My configuration is as follows:
Router
Forwarding
Port 80 ext to 80 int
Port 443 ext to 443 int

Nginx Proxy Manager Add-on

configuration.yaml
image

Can anyone please tell me why I can’t login anymore?

1 post - 1 participant

Read full topic

How accurate has Waze Travel time been for you?

$
0
0

I only use it for how long it will take my wife to drive from home to work - a route she takes everyday and we know roughly how long it takes just on experience alone. I thought the integration would come in handy as delays due to traffic and/or accidents tend to occur mostly around this time of year. From the very start, Waze added 20 minutes on top of her usual journey, so we assumed that there must’ve been an accident or traffic jam that day, but it seems to just regularly add 20 minutes to her regular travel time somehow.

I’ve been playing around with the icloud3 integration which uses waze as well, but they have a waze_realtime option that shows a far more accurate representation of the time it takes to get to and from the location. The waze phone app also aligns more with the icloud3 representation which suggests that the waze travel time integration is either using a different route or non-realtime data (or both).

I do live in an area where there isn’t an abundance of waze users, so I am wondering if that plays a bit of a role as well, so I’m curious to know how accurate this integration has been for the rest of the community and if there was an option to switch to real-time data as well because I cannot seem to find that in the documentation so far.

1 post - 1 participant

Read full topic

Envisalink 4 and DSC Alarm - Cannot Disarm in Lovelace

$
0
0

Hi folks,

I have a DSC Power Series Alarm, with an Envisalink card plugged into it. All works great apart from one item. In lovelace, I cannot disarm the alarm. It allows me to arm the alarm for home or away modes, but the button to disarm does not do anything.

Below is my configuration.yaml

envisalink:
  host: 
  panel_type: DSC
  user_name: !secret envisalink-username
  password: !secret envisalink-pwd
  keepalive_interval: 60
  code: !secret envisalink-code
  timeout: 10
  evl_version: 4
  zones: 

and below is my lovelace configuration for the alarm panel

entity: alarm_control_panel.home_alarm
show_keypad: true
states:
  - arm_home
  - arm_away
type: alarm-panel

Even though show_keypad is set to true, i think because I have given the integration a code to use with the alarm, it does not show the keypad.

Any ideas?

1 post - 1 participant

Read full topic

Viewing all 106647 articles
Browse latest View live


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