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

HA Yellow: How to turn off ZigBee radio completely

$
0
0

Dear all,

I am having a hard time with the ZHA in HA Yellow (for details pls see HA Yellow + ZHA + Philips HUE Motion: Constantly loosing connection (unavailable) - #3 by bodomenke). For this reason I plan to move all ZigBee devices back to Philips HUE bridges.

My question
How to turn off the internal ZigBee radio of Home Assistant Yellow completely? I mean in such a way, that its hardware really doesn’t transmit & receives no signals anymore. I didn’t find an option in the HA Yellow GUI for this.

FYI: I am afraid of inferences, even if I deactivate the ZHA integration because the radio module itself could still be active if not turned off hardware-wise.

Thanks for any help
Bodo

1 post - 1 participant

Read full topic


Is there a way to send Matter Cluster commands from Home Assistant?

$
0
0

I previously made two blueprints to dim lights using a pico remote that sends a stop and stop dimming command through Zigbee. Z2M Pico Remote and ZHA pico remote.

I would like to make something similar for matter bulbs, but I haven’t been able to figure out a way to send cluster commands to matter devices. Is there a way to get this to work in Home Assistant? I didn’t find anything in the documentation or the actions to play around with.

It looks like the same cluster 0x0008 that I use for these other implementations should exist in the matter spec, which would make it technically possible to do a start/stop dim, but I’m not finding a way to send individual cluster commands.

Thank you!

1 post - 1 participant

Read full topic

Security: Unifi Integration making LAN less secure?

$
0
0

:blonde_man: Bit of background:
I am new to Home Assistant in 2025 (loving it so far), and relatively new to “proper” network management after finally taking the dive into Unifi in October 2024. I am, admittedly, quite proud of what I have learned and implemented so far, and the learning never ends. However, while proud of my progress, I have much to learn still; as a result, please pardon an oversight or ignorance in my question.

:computer: Current Setup:
HA installed on miniPC via HAOS on my IoT VLAN (along with all my IoT devices)
Pixel 8 running Android 15

I am currently looking at a more efficient way of home/away detection that doesn’t require location sensor on Companion App to be on all the time (I tried Wi-Fi connection sensor within the app, but it seems the entity does not update in a timely manner in the background unless I also have Background Location enabled as well).

I’m interested in the Unifi Integration that allows me to use connected clients as device tracker, and I am aware of the guides and setting it up. Instead my question lies in the security of adding such an integration; and I wonder if I am overthinking or simply wrong. For said integration, you require an admin account of read//write privilege (I opt for read-only); while unable to change anything, this account can read everything within your Unifi console (unmask VPN keys, SSH keys if you use, public IP address, etc). Therefore, if an IoT device on that VLAN becomes compromised, while contained within the IoT VLAN with firewall rules, it can now still access your unifi console with the read-only admin account via HomeAssistant.

Is this not a large security issue? We spend time locking down the IOT VLAN, including blocking access to the gateway itself (except for DNS requests on 53 and 443), but now via HA we open the front door into the unifi console?

Thank you for taking the time to read my post and help me further my understanding and knowledge :slight_smile:

9 posts - 4 participants

Read full topic

Whisper, Piper, and LLM on single computer sharing 2 GPUs?

$
0
0

I currently have Llama3 running on a server (lenovo p520) with a 12GB 3060. Works great with Home Assistant and is really responsive. Now that I have some Voice Assistant PEs I’m looking at accelerating and improving Whisper and Piper. So I’m considering adding a second 3060 to the server. Anyone know if it’s possible to segment the GPUs (1 for Llama3, 1/2 for Whisper, and 1/2 for Piper)? Home Assistant is running on a separate server.

1 post - 1 participant

Read full topic

Template returning only numbers sperated by a comma is always a list

$
0
0

Consider the case of trying to extract the longitude and latitude from a person or device tracker entity to feed an action which requires an input of the form x.xxx, y.yyy (for example the Waze travel time action). One might expect a simple template of the form:
{{state_attr("person.tom", "longitude")}}, {{state_attr("person.tom", "latitude")}}
would yield a string of the desired type. However, so long a nothing else is present, the result is always cast as a list (in this case of floats).

Ammending the template to force both the values to strings has no affect and the result is still a list of floats. As does:
{{state_attr("person.tom", "longitude") | string + ","}} {{state_attr("person.tom", "latitude") | string}}
and
{{((state_attr("person.tom", "longitude") | string), (state_attr("person.tom", "latitude")| string)) | join(",") }}

Am I missing something or is it impossible to return a string of two or more numbers seperated by a comma?

5 posts - 4 participants

Read full topic

Config removed from configuration.yaml? vlc_telnet

$
0
0

Hello! I recall sometime over last few years that some config will get moved from yaml over to the GUI.

I was using the VLC_Telnet integration, started out with config in configuration.yaml but now its not there. I need to change the ip/pass for the integration but cant find it in the gui for the life of me lol.

1 post - 1 participant

Read full topic

Home Assistant Voice PE Led ring

$
0
0

Hey there!

I am trying to achieve a pulsing effect on the Voice PE’s led ring while a specific timer is running. I have the following automation, but it doesn’t seem to work:

- id: cooking_timer_jarvis_ring
  alias: "Cooking timer Jarvis ring"
  description: "Cooking timer Jarvis ring"
  mode: single
  triggers:
    - trigger: state
      entity_id:
        - timer.cooking_timer
      to: active
  conditions: []
  actions:
    - action: light.turn_on
      metadata: {}
      data:
        transition: 5
      target:
        entity_id: light.jarvis_led_ring
    - action: light.turn_off
      metadata: {}
      data:
        transition: 5
      target:
        entity_id: light.jarvis_led_ring

Ps.: if possible, I do not want to touch the ESPhome configuration for the device.

Thanks in advance.

1 post - 1 participant

Read full topic

Assistance with the Command line integration with attributes

$
0
0

I’m attempting to use the command_line integration to create a entity with metadata attributes. Here’s what the response from the API looks like:

{ "metaData": { "album": "unknow", "title": "Radio Paradise", "subtitle": "Editors - The Weight of the World", "artist": "unknow", "albumArtURI": "http://cdn-albums.tunein.com/gn/101008JL6Wg.jpg", "sampleRate": "44100", "bitDepth": "32", "bitRate": "128", "trackId": "s13606" } }#

Here’s what I’ve been struggling with. Consider it a superset of frustration.

command_line:
  sensor:
    name: WiiM Ultra Track MetaData
    json_attributes_path: "$.*.metaData."
    command: 'curl -k "https://192.168.60.99/httpapi.asp?command=getMetaInfo"'
    value_template: "{{ value_json.metadata }}"
    json_attributes:
      - "album"
      - "title"
      - "subtitle"
      - "artist"
      - "albumArtURI"
      - "sampleRate"
      - "bitDepth"
      - "bitRate"
      - "trackId"
    scan_interval: 5

Thanks in advance

1 post - 1 participant

Read full topic


Camera stream on Google Nest hub whilst streaming music

$
0
0

I probably already know the answer to this, but thought i’d double check before forgetting about it!

I have 4xGoogle Nest Audio and 1xGoogle Nest Hub.
I’ve got it set so when someone rings my reolink doorbell, the camera stream is shown on the Google Nest Hub.

However, when i’m streaming music to all 5 devices via Youtube Music, if someone rings the doorbell, it shows the video, but stops the music. The music doesn’t continue when the camera has stopped showing.

I’ve tried using ChatGPT for a work around, such as showing a PiP dashboard card when the doorbell rings, but no joy.

Guessing it’s not possible to have the music pause and resume after the stream has finished?

1 post - 1 participant

Read full topic

Motion Lights - Automation Options

$
0
0

Hello, I’m trying to determine what options I have to control a specific light in my house.

I have a light in my house that can be turned on 1 of 2 ways.

  1. Simple - a light switch
  2. Slightly Complex - A motion detector, but this will only turn the light on if it’s already off, if it’s after sunset and if the TV is not turned on (or if it’s on but paused).

My question is how should I go about turning it off automatically. I do not want it to turn off automatically if it was manually turned on (by the switch). I only want it to turn off automatically if it was triggered by motion.

My thought is to use a template and base it off of the auto-on automation? I’ve attempted a template trigger like this:

trigger: template
value_template: "{{ state_attr('automation.hall_lights_on', 'last_triggered') }}"
for:
  hours: 0
  minutes: 0
  seconds: 45

Bur for some reason, that never triggers. My hope is that it would have turned the light off 45 seconds after the motion automation was triggered. Is there another way to go about this?

Edit:
I just had another thought of how to accomplish this. I’ll give it a try today, but please chime in on thoughts.

I could change the auto-on automation to be in “restart” mode instead of “single”. I’d then add an action after the “turn on the light” action that would wait 45 seconds, and then another action to turn it off.

So the outcome should be that whenever the light turns on, it will turn off 45 seconds later. But since it’s in restart mode, that 45 second timer would reset every time the motion is triggered.

1 post - 1 participant

Read full topic

Shelly Plus 1 randomly goes unavailable for some time, then, it goes back after some time

$
0
0

I bought a shelly plus 1 some time ago. After i set it up, connected it to my tp link, then to shelly cloud and HA. Then when i went to open the gate with the shelly, it was unavailable. This happened many times throughout the day. It also happens with my other shelly, but at different times, maybe different issues, but the shelly plus 1 is my priority. Here is the logs from HA

1 post - 1 participant

Read full topic

Hubitat C8 Pro vs local Zooz Stick?

$
0
0

Have a house where Lutron 430MHz stuff just isn’t cutting it - the solid concrete with tons of rebar and other metal construction are killing things and Caseta doesn’t allow more than one repeater. So I’m going back to Zwave and doing all 800 stuff.

In my move in a year ago I had flirted with the idea of Zwave by buying a Hubitat C8 Pro. Haven’t really used it yet and just set it up today; not the most easy setup but whatever. I also run HA on a mini PC dedicated (no VM).

My basic question is should I join the Zwave mesh to the Hubitat and integrate with HA over the wired LAN, or use a Zooz 800 stick directly on HA? Is there any advantage to running directly on HA, any speed improvements (looking to do around 75 devices to start, perhaps grow to around 90-100)? I like how Hubitat draws the network map of your mesh so you can see when hops are needed, but the “using yet another box” thing has me thinking that just doing it locally to the HA mini pc might be better.

Any recommendations?

1 post - 1 participant

Read full topic

Could not load the configuration stream: 500 Internal Server Error Server got itself in trouble

$
0
0

Hi, I’m trying to set up an automation at home and tried installing Tuya Smart IR, but I keep getting this error. This error happens with almost anything I try to install using HACS. Does anyone know how I can fix it? I’ve searched everywhere and can’t find a solution. I appreciate any help in advance!

1 post - 1 participant

Read full topic

Entity state from past, timestamp from another entity

$
0
0

I would like to have my humidy sensors state from past, lets say 10min before exhaust fan turned on, so that i could refer to that value and shutdown exhaust fan when humidy is returned to “normal”.

I can get timestamp with this {{ states.switch.waveshare_rele_6.last_changed }}
This is sensor that i would like to get value from that timestamp sensor.bthome_sensor_51c5_humidity

I read about using SQL database, and i got so far that i get value from that sensor, but how i can get that -10 minutes??

  - name: Suihkun kosteus ennen poistoa
    query: >
        SELECT
          states.state
        FROM
          states
          INNER JOIN states_meta ON
            states.metadata_id = states_meta.metadata_id
        WHERE
          states_meta.entity_id = 'sensor.bthome_sensor_51c5_humidity'
          AND last_updated_ts <= strftime('states.switch.waveshare_rele_6.last_changed - timedelta(minutes=5)')
        ORDER BY
          last_updated_ts DESC
        LIMIT
          1;
    column: "state"

But this does not work, i get latest value instead of from that timestamp
How should i change my query??

1 post - 1 participant

Read full topic

Install PXE server on Home assistant

$
0
0

Hi all does anyone know if its possible , and if it is how to install a PXE server on Home assistant something like iVentoy would be good or failing that a tftp server
TIA Gazza

1 post - 1 participant

Read full topic


Show the "For" time status in a dashboard when an automation is running

$
0
0

If I have a “for” time period in an automation is there any way to make where it is in this time period? For instance This automation

requires a condition to be true for 1 hour before the action is taken. Is there anything I can add to show on a dashboard where it is in this 1 hour “countdown” at the moment?

Thanks in advance guys.

1 post - 1 participant

Read full topic

Set Initial value for entity

$
0
0

I have a balcony power plant that has been running for several days. So far, I have tracked the total generated energy using the inverter integration in the Energy Dashboard. However, this value is only updated every five minutes, the same as the current power output.

Now, I want to use a smart plug to measure the energy production, but it naturally starts from zero. The entity from the standard integration has already recorded a few kWh. Is it possible to set this value as an initial value for the entity of the smart plug?

The smart Plug ist working via zigbee2mqtt

Thx
Dan

1 post - 1 participant

Read full topic

Backups don't seem to backup all of config

$
0
0

I noticed Common tasks - installation independent - Home Assistant mentions that the config directory is backed up … this doesn’t seem to be the case.

For example I have /config/openhasp/ directory (to support openhasp) and this isn’t included in the backup.

To test the backup I -

  • Trigged an automated backup
  • Downloaded the tar file
  • Used borgify-ha-backup.py to decrypt to x.tar
  • tar -xvf x.tar
  • tar -xvf homeassistant.tar

The extracted data directory contained only some files for the original config directory.

1 post - 1 participant

Read full topic

How to force the set of input_text on home assistant?

$
0
0

The following scene:

id: "1739972483567"
name: power ventilador
entities:
  text.ir_escritorio_3v_branco_ir_code_to_send:
    mode: text
    min: 0
    max: 255
    pattern: null
    assumed_state: true
    friendly_name: ir escritório Ir code to send
    state: CTUjQBE1AnoGNQLgFwFAI+AXA+AXAeBMPwIGNQI=
icon: mdi:power
metadata: {}

sets the infrared code to send over mqtt to a tuya zigbee device. However, if the code is the same, it wont send the command.

To test this hypothesis, I made one scene that sends the power command and another that clear it. If I run then in sequence, one after another, it always works. However if I have to click the same scene twice it wont run, because it ignores the non change I made.

1 post - 1 participant

Read full topic

Zigbee2mqtt: devices offline / failed to ping

$
0
0

Hello,
since today a lot of my zigbee devices are offline. i can not use my bulps and switches anymore. and i am not able to do the network map. It says “failed to ping” or “Error: ZCL command 0x001788010389984b/11 genOnOff.on({}”. I run the actual zigbee2mqtt version. I tryed other versions, I restarted a couple of time I even new installed zigbee2mqtt with new configuratoin.yaml. but it did not work. I could not find any help… also chatgpt did not help… someone facing the same issue?

1 post - 1 participant

Read full topic

Viewing all 108449 articles
Browse latest View live


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