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

Automation for alarm not armed and I'm away - Envisalink with Honeywell alarm

$
0
0

Hi, I am using Envisalink with a Honeywell alarm and I’m trying to figure out an automation for the status of the alarm when I am away. In other words, if the alarm is not armed (either ready, not armed or fault, not armed) and I am away, notify me. I have the away part down, but I can’t figure out what to use for the alarm portion. Thanks.

1 post - 1 participant

Read full topic


Hacs responing unknown error

Leviton ZW15S status led not configured properly

$
0
0

For this new Leviton Decora switch, the “Configure” option (in the Z-Wave device configuration page) does not seem to work. Sure, I can use the button press method on the switch itself to disable the status LED. But why does the Configure option not work as it is supposed to to do this? It has no effect when I tried to use it to disable the status LED.

1 post - 1 participant

Read full topic

Integración SUN

$
0
0

Hello everyone,

I have the SUN integration installed and when I put it on an Entity type card, only the day/month/year is displayed and the time is hidden, which is what I really want to see - screenshot attached - how can I modify it to only show the time when it is sunrise/sunset?

Regards.

3 posts - 2 participants

Read full topic

Syncing thread credentials - Thread Channel Mask is missing from the dataset

$
0
0

Hi

I’m trying to setup more thread (and matter) devices at home.
So far I’ve successfully setup Eve water guard with homekit over thread.
But I’m currently trying to setup Eve energy but it fails, so I wanted to sync my thread credentials to my Android phone but I’m getting unknown error in the UI and the logs says the below text.
I’m using HA in docker and have installed openthread border router with skyconnect on the base Linux install.
If I run ot-ctl dataset active I can see it has an channel mask.

What should I do?

11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: java.lang.IllegalArgumentException: Thread Channel Mask is missing from the dataset
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at com.google.android.gms.threadnetwork.ThreadNetworkCredentials.zzb(com.google.android.gms:play-services-threadnetwork@@16.0.0:11)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at com.google.android.gms.threadnetwork.ThreadNetworkCredentials.(com.google.android.gms:play-services-threadnetwork@@16.0.0:9)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at com.google.android.gms.threadnetwork.ThreadNetworkCredentials.fromActiveOperationalDataset(com.google.android.gms:play-services-threadnetwork@@16.0.0:1)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at io.homeassistant.companion.android.thread.ThreadManagerImpl.isPreferredDatasetByDevice(ThreadManagerImpl.kt:241)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at io.homeassistant.companion.android.thread.ThreadManagerImpl.access$isPreferredDatasetByDevice(ThreadManagerImpl.kt:26)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at io.homeassistant.companion.android.thread.ThreadManagerImpl$isPreferredDatasetByDevice$1.invokeSuspend(Unknown Source:16)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at android.os.Handler.handleCallback(Handler.java:959)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at android.os.Handler.dispatchMessage(Handler.java:100)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at android.os.Looper.loopOnce(Looper.java:232)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at android.os.Looper.loop(Looper.java:317)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at android.app.ActivityThread.main(ActivityThread.java:8592)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at java.lang.reflect.Method.invoke(Native Method)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
11-25 21:09:20.851 25426 25426 E ThreadManagerImpl: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

1 post - 1 participant

Read full topic

Mobile App Notification Action Received but Automation not Firing

$
0
0

I am trying to get an actionable notification working. As a test, I have it turning off a light, but nothing is happening. I can see the mobile_app_notification_action event being received using developer tools and can also see the Wait for Trigger in my Automation being triggered in the UI. So it seems like HA is definitely receiving the action key but the light doesn’t turn off. I’ve verified that it works if I run just the light turn off action. Here is my code:

alias: Yoga Tuesdays
description: ""
triggers:
  - at: "08:30:00"
    trigger: time
conditions:
  - condition: time
    weekday:
      - tue
actions:
  - data:
      title: Yoga Time!
      message: Ready to get bendy?
      data:
        importance: high
        actions:
          - action: YES_YOGA
            title: Yoga!
        notification_icon: mdi:yoga
    action: notify.samson
  - wait_for_trigger:
      - trigger: event
        event_type: mobile_app_notification_action
        event_data:
          action: YES_YOGA
    enabled: true
    continue_on_timeout: true
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: light.living_room_double_plug_astronaut_light
mode: restart

Any idea what I’m missing?

1 post - 1 participant

Read full topic

Newbie - Adding Z-wave JS integration issue

$
0
0

I am very new to this and can’t seem to add the integration. I’m running HA on a NUC.

This is the sequence of events.

  1. Add integration, i get a window Enter the Z-Wave JS add-on configuration. The USB device path shows my Sonoff Zigbee 3.0 USB dongle. I select the USB, leave the key values as blank and click Submit.
  2. Another window, ‘The Z-Wave JS add-on is starting’ ‘Please wait while the Z-Wave JS add-on start completes. This may take some seconds’. A spinning circle appears for a few minutes, and then another window ’ Z-Wave, failed to start the Z-Wave JS addon’.

If i look at the addon after the above, the addon is there, but is not started.

If i start the addon and try adding the integration, i get a ‘Failed to Connect’ error.

The log has the following
Logger: homeassistant.components.zwave_js.config_flow
Source: components/zwave_js/config_flow.py:248
integration: Z-Wave (documentation, issues)
First occurred: 9:27:58 PM (1 occurrences)
Last logged: 9:27:58 PM

Failed to start Z-Wave JS add-on: timeout

What am i doing wrong, and what do i need to do to fix this?

1 post - 1 participant

Read full topic

SimpliSafe Integration not Working


Unable to add wyoming protocol service for wyoming-whisper:10300

$
0
0

Greetings,

I’m new to HA and have been super impressed by its capabilities and I’ve only scratched the surface but have hit a wall and could use some assistance, please.

Current Setup configured using YouTube’s NetworkChuck video guide.

HAOS - Core2024.11.3 - Supervisor2024.11.4 - Operating System13.2 - Frontend20241106.2 - Running on Raspberry Pi 5 8GB – HAOS image from Raspberry Pi imager.

Wyoming Satellite – running on Raspberry Pi 3B 1GB – ReSpeaker 2-Mics Pi Hat – Port 10700

Dell Latitude 7440 – Windows 11 OS – Running Ollama 3.2 – Port 11434
Wsl installed Ubuntu-22.04 running Wyoming-whisper – Port 10300

HAOS add-ons:
Assist Microphone
openWakeWord
Piper
Whisper

Everything is working as expected using Piper and Whisper on the Pi. I have also managed to offload the conversation agent to Ollama3.2 running on my Win 11 Dell laptop.

My issue is when I try to add a whisper protocol service for wyoming-whisper running on the Dell laptop in an Ubuntu-22.04 shell – Port 10300, I get the dreaded ‘Failed to Connect’. I enabled debugging on Wyoming protocol to see what’s up but cannot locate the logs specific to Wyoming protocol.

I am able to ssh to HA.

Things I’ve tried:

  • Calling another port (10310) when launching wyoming-whisper.
  • Same wyoming-whisper installation on another, less powerful, windows 11 laptop.
  • Although all systems are on the same vlan without restrictions, I created a firewall rule on my Unifi router to allow traffic on port 10300 to all hosts on the vlan.
  • Disabled windows firewall (on both laptops) but also created rules to allow traffic on port 10300, just in case Windows decided to re-enable the firewalls :frowning:

I suppose that I could just use whisper on the Pi but I’d like to leverage the laptop with twice the memory and faster processor for everything I can.

Thanks in advance for taking the time to read about my issues.

1 post - 1 participant

Read full topic

Decluttering card template icon variables - cannot pass mdi:

$
0
0

I have a set of decluttering button templates that I am using for a tablet view.

The fact that I can change icons with a variable is great. However, I have discovered that I can only pass the name of the icon and not the owner (eg mdi:).

An example is:

special_led_integrated_button_standard_template:
  card:
    type: custom:button-card
    name: "[[name]]"
    entity: "[[entity]]"
`    icon: mdi:[[icon]]`
    template: standard
    aspect_ratio: 1/1.2
    styles:
      card:
        - height: 58px
        - width: 53px
      name:
        - color: black
      icon:
        - color: "[[[ states['[[entity]]'].attributes['[[attribute]]']; ]]]"

For this button, I can pass the icon name and all works well.

                - type: custom:decluttering-card
                  template: special_led_integrated_button_standard_template
                  variables:
                    - entity: light.tv_backlight
                    - name: TV<br/>Backlit
                    - icon: led-strip-variant
                    - attribute: rgb_color

The issue I have is that I am now using other icon sets including my own set of bespoke icons.

With custom sets, these have different prefixes as the sets have their own name in js. For example, my own set are “mwi:” icons rather than the default “mdi:” set.

I thought I could change my decluttering card to have the icon variable defined as follows:

    icon: mdi:[[icon]]

Then i could pass the variable:

  - icon: mdi:led-strip-variant

This does not work. No icon is displayed on the button, even if I add quotes. This would mean that I would need copies of every decluttering template where I was using a different icon set and that part hard-coded for each… Any ideas if this can be circumvented? My thoughts are that it may need a template in the card that also accepts an [[icon_set]] variable and builds an icon name accordingly. However, I am not sure what code could work and whether there is a simpler way?

1 post - 1 participant

Read full topic

Automation: referencing a variable inside another variable (Error: TypeError: unhashable type: 'Wrapper')

$
0
0

I was trying to add a volume setting to my alexa notification service, and was trying to be cute and preserve the old volume of the echo i am calling and then set it back after the notification happens. I am having an issue with setting a variable that always seems to error out with:

Error: TypeError: unhashable type: 'Wrapper'

Here is the part of the script where it fails, specifically at calculating the previous_volume:

alias: HELPER - activate_alexa_actionable_notification
description: Used to call Alexa Actionable Notifications.  Sends message to Alexa
sequence:
  - alias: alexa actions variables
    variables:
      echo_device: "{{ alexa_device | default('media_player.living_room_echo') }}"
      suppress_ok: "{{ suppress_confirmation | default(false) }}"
      echo_volume: "{{ alert_volume | default(0.5) }}"
      previous_volume: |-
        {% if state_attr(echo_device, 'volume_level') is not none %}
          {% set previous_volume = state_attr( echo_device , 'volume_level') %}
        {% else %}
          {% set previous_volume = 0.4 %}
        {% endif %}  
        {{ previous_volume}}

any clues on why it is doing this?

1 post - 1 participant

Read full topic

RESTful notification - login error

$
0
0

I have scourged google trying to resolve the login error for the rest notification I receive.

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:136
integration: HTTP (documentation, issues)
First occurred: 14:45:58 (1 occurrences)
Last logged: 14:45:58

Login attempt or request with invalid authentication from HomeAssistant.wp.shawcable.net (192.168.1.116). Requested URL: ‘/api/services/shell_command/rest_notify’. (HomeAssistant/2024.11.3 httpx/0.27.2 Python/3.12)

Logger: homeassistant.components.rest.notify
Source: /usr/src/homeassistant/homeassistant/components/rest/notify.py:223
integration: RESTful (documentation, issues)
First occurred: 14:45:58 (1 occurrences)
Last logged: 14:45:58

Client error. Response 401: Unauthorized:
NoneType: None

The shell command works as it should. Home Assistant has the addon NGinx HA Proxy which uses the default config and is working properly. The rest notify is configured as:

HA config has for HTTP:
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
- 127.0.0.1
- ::1

The HA is a VM on Proxmox. Any suggestions/hints on how to resolve this is appreciated.

1 post - 1 participant

Read full topic

How can Home Assistant send Text Messages?

$
0
0

I am in the USA and my family uses Verizon Wireless.

I have looked at the documentation tab on homeassistant.IO and can’t really grasp notifications, can someone assist ? I would like to know how to make HA text or at the very least e-mail me or several people when something happens. Do I need some sort of an add on? Verizon wireless which WILL accept short SMS messages to “phone#”@vtext.com which is another way to get texts IF emails are only possible. The subject line would be the message.
For example if a sensor says it’s under 32degrees F to text 2-3 people OR if my Delivery Box which is a large waterproof container outside of my dogs fenced in area has been opened and closed. I have the sensors set up and working reliably now, just need to make use of it. Without notifications no one knows all of this information (and a lot more) unless you are staring at your dashboard on the phone every moment of the day.

1 post - 1 participant

Read full topic

Vera Integration - Continuing Error

$
0
0

I am currently receiving the following error - especially in automations. HA reports “HTTPConnectionPool(host=‘192.168.1.111’, port=3480): Read timed out. (read timeout=30)”. This is the proper IP for my Vera Plus, I don’t know what is causing the issue.

Is there a way to change the timeout period? Something seems to have changed with the integration.

Any help is appreciated.

2 posts - 2 participants

Read full topic

Notification from proximity entity

$
0
0

Hi,
I have an automation that takes data from the proximity sensor and I would like to associate its distance to the notification of the single entity. I can’t find the trigger to insert in the notification. I tried with {{ states(‘trigger.to_entity_id’) }} but it didn’t work.

I report the complete automation:

alias: notify distance
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.casa_composite_aaa_distanza
      - sensor.casa_composite_bbb_distanza
      - sensor.casa_composite_ccc_distanza
    for:
      hours: 0
      minutes: 0
      seconds: 15
    above: 950
  - trigger: numeric_state
    entity_id:
      - sensor.casa_composite_aaa_distanza
      - sensor.casa_composite_bbb_distanza
      - sensor.casa_composite_ccc_distanza
    for:
      hours: 0
      minutes: 0
      seconds: 15
    below: 950
conditions: []
actions:
  - data:
      message: |
        Ore {{ states('sensor.time') }} di {{ states('sensor.weekday') }} {{
        states('sensor.data_ita_custom') }}    
      title: |
        {% if trigger.event == "above" %}
          {{ trigger.to_state.name }} dista {{ ?????? }} da casa
        {% else %}
          {{ trigger.to_state.name }} sta rientrando a casa e dista {{ ??????? }}
        {% endif %}    
    action: notify.miotg 

Thanks in advance

1 post - 1 participant

Read full topic


Storing the duration of baby's nap times from one template sensor into a second template sensor

$
0
0

I have toggle switch that controls an input boolean helper. The idea is that when my baby starts napping, I manually toggle the switch and then it keeps track of a few things, so I don’t have to remember them. Namely:

  1. If baby is currently napping, how long is the nap so far, e.g. 30 minutes.
  2. Once the nap has finished, store the time of day of the wake up, e.g. 9.50am
  3. Also once the nap has finished, store the duration of this nap (I also want history available here in the logbook).

I have managed to get the first two of these working, but am struggling with 3):

template:
 - sensor:
    - name: "Baby Sleep State"
      state: >
          {%if is_state('input_boolean.baby_sleeping', 'on') %}
            Asleep
          {% else %}
            Awake
          {% endif %}
 - sensor:
    - name: "Baby Sleeping Duration Minutes"
      unit_of_measurement: minutes
      state: >
          {%if is_state('input_boolean.baby_sleeping', 'on') %}
            {{ ((now() - states.input_boolean.baby_sleeping.last_changed | as_datetime).total_seconds() /60 ) | round(0) | int }}
          {% else %}
            {{0}}
          {% endif %}
 - trigger:
   - id: wokeup
     platform: state
     entity_id: input_boolean.baby_sleeping
     to: "off"
   sensor:
   - name: "Last wake up time"
     unique_id: lastwakeuptime
     state: >
      {{ now().strftime('%-I:%M %p') }} 
     availability: >
      {{ trigger.id == 'wokeup' }}
 - trigger:
   - id: wokeup
     platform: state
     entity_id: input_boolean.baby_sleeping
     to: "off"
   sensor:
   - name: Last nap duration
     unique_id: lastnapduration
     unit_of_measurement: minutes
     state: >
      {{ states('sensor.baby_sleeping_duration_minutes') }} 
     availability: >
      {{ trigger.id == 'wokeup' }}

Can anyone help with where I might be going wrong?

I think the issue is that sensor.baby_sleeping_duration_minutes is going to zero before being stored in sensor.lastnapduration.

Note, that when I look at the logbook for sensor.lastnapduration, I want to be able to see the list of all the previous nap durations, e.g:
30 minutes
55 minutes
… etc

1 post - 1 participant

Read full topic

Trigger - If light turns on more than 5 times in 10 minutes

$
0
0

Would anyone know how to code the following trigger in an automation:

If light turns on more than 5 times in 10 minutes then do some action.

I’ve run into situations where a light will repeatedly turn on and off and I’ll have no idea until I physically discover it’s doing that. For example a light tied to a malfunctioning motion sensor that keeps detecting motion/no motion. Another example an outside camera floodlight that keeps detecting motion when the winds kick up. Any assistance is appreciated.

2 posts - 2 participants

Read full topic

Problems controlling Zooz switches with Z-Wave JS Integration

$
0
0

I am currently migrating all my z-wave devices from my old setup on a rpi4 to a new setup running in a proxmox vm. I decided to get a new 800 series zwave stick and I’m having some issues after including the devices. I added a zen27 switch to the new stick but I can’t control the light through home assistant, every time I toggle the device it does not change state and just toggles right back to where it currently is set. If I try to send commands through the zwave js ui it works just fine. So I believe the issue must be with the zwave js integration? Even more strangely I added a zen30 switch afterwards and I have the same problem controlling the light entity, yet the other switch entities associated with the zen30 work just fine. So it seems the problem is specifically with the light entity switch. Has anyone encountered this issue or know how I could go about troubleshooting it?

1 post - 1 participant

Read full topic

Dashboard editor not working correctly

$
0
0

Hi All,

I’ve noticed that over the past xx number of releases my dashboards have become basically uneditable from the UI. What I mean by this is that I can go in and choose the element to edit, such as a vertical stack, however it seems to pick up an item that is not even embedded in that vertical stack.

The image below shows how the dashboard renders.

If we just look at the left side column, it is made up with 2 horizontal stacks, one containing the image links, and the lower one which is divided into 3 vertical stacks contains all the lights, etc.

Looking at the second horizontal stack, you can see each of the 3 vertical stacks listed, however the first vertical stack only contains a single image which is part of the top row image links.

If I were to save at this point, the yaml for all the first column, being Front Porch down to the video stream will be replaced by the image.

However, switching to the visual editor shows the correct information as per below

Finally, going back to yaml view, it is now also correct.

This was always working however however as I don’t edit the dashboards on a regular basis I do not know at which version update the issue started.

Cheers,
Paul

2 posts - 2 participants

Read full topic

Developer tools Actions doesn't show targets (for some actions)

$
0
0

Hi folks!

On Developer Tools → Actions tab, when selecting a very common Action (light: Toggle), the Targets menu do not shows up:

If I go to YAML Mode and inform manually an entity_id, the light entity toggle (so HA has a light entity to work on):

But if another Action is selected the missing menu appears:

I’ve reloaded, rebooted, cleared browser’s cache, to no avail. Logs doesn’t show anything abnormal related to this issue.

The last resort is a fully HASS reinstall, but it would be a hassle, specially with the long term statistics.

I have a lot of Automations on Node-RED, and I think (sorry to relay on a personal thought) that Node-RED’s Call Service node do not work as expected (do not show a menu to choose a target entity) because Targets list do not show up (on HA). To ensure that my personal thought is somewhat correct, Node-RED’s Call service node behaves similar: it shows a menu to choose a input_boolean entity, but not a light entity.

Any clues?

Cheers!

3 posts - 3 participants

Read full topic

Viewing all 107601 articles
Browse latest View live


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