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

Creating entities for multiple devices

$
0
0

I am going through my first steps in Home Assistant, please don’t kill me if this is trivial and has been asked a thousand times before - I probably didn’t know how to phrase my question.

I wrote a simple sensor definition to make up for the unusable current readings on my NOUS plugs:

sensor:
  - platform: template
    sensors:
      dose_02_ladegerate_wz_current_calculated:
        friendly_name: "D02WZ Ladegeräte Berechneter Strom"
        unit_of_measurement: "A"

        value_template: '{{ (states("sensor.dose_02_ladegerate_wz_power") |float  /  ( (0.001 |float + states("sensor.dose_02_ladegerate_wz_voltage") |float) ) ) | round(3) }}'
        icon_template: "{{ 'mdi:current-ac' }}"

I do own 12 of these plugs - will I have to copy/paste this snippet 12 times with updated entity-names? Or is there a way to add this to the device definition so it gets created for every single device automatically i.e.

class myNOUSplug inherits from NOUSplug

or something like that?

1 post - 1 participant

Read full topic


Is Nabu Casa Connection Down?

$
0
0

I am having problems connecting remotely today. Is Nabu Casa not connecting for others as well?

3 posts - 3 participants

Read full topic

IKEA FYRTUR has no entities

$
0
0

I moved from Hubitat to HA in the winter. Now it’s time to re-install the IKEA blinds in the “glass room” for the summer. Sounds like I’m the only one that had that problem and I can’t find out anything on this problem.

I have 12 Ikea Fyrtur blinds. I just started to install them. The first three worked ok after a few tries to bind. I first tried to bing via a zigbee switch I have nearby but that didn’t work. I have to bring the blinds near the ZIGBEE dongle (Sonoff Zigbee 3.0 USB Dongle Plus), then, after they are binded I move them to the final place. Hope the zigbee rebuild itself after a while.

But the main problem is the fourth one I tried to bind. It does bind but without any entity (Yes it is enabled). I redid the binding several time and it’s always the same thing.

The normal one is:

I do not have MQTT thing that most people have (and I dont know what it is), but since I have some that works and some that dont, I figure I dont need that MQTT things. The problem that most people have is the percentage of opening. I really dont need that at all. I’m only sending OPEN and CLOSE commands.

Anyone knows how I can make them all working? And mainly why some works and some dont?

1 post - 1 participant

Read full topic

Zigbee2mqtt unsupported device TS0504B

$
0
0

Hi,

I added a led controller via zigbee2mqtt. It got recognised as TS0504B but it is unsupported. In the device list on zigbee2mqtt.io this device is mentioned in the supported list Tuya TS0504B control via MQTT | Zigbee2MQTT

@Koenkk has this device been added recently and is the homeassistant addon of zigbee2mqtt not updated yet?

Or do I have to add this device manually?

I tried following the instructions under “support new devices” on zigbee2mqtt.io. But I got stuck because in the home assistant addon I dont have the option to generate an external definition. Or am I missing something?

Hope someone can help me out, cheers!

5 posts - 3 participants

Read full topic

ISO Feedback on RGB Genie devices... 12 zones of LED RGBW Lighting

$
0
0

Looking for general feedback from actual users of both Zigbee and Zwave devices from RGB Genie.

I’m planning control 12 different lighting zones and not sold on DMX which looks more complex and I have no experience with it.

thanks for the help / info!

1 post - 1 participant

Read full topic

ESP32-CAM shenanigans

$
0
0

I currently have 3 esp-32cams running in HA with no issues. They installed–pretty much–without issue (as soon as I figured out the correct USB cable to use). I am now trying to add another camera and am having a helluva time getting them to work. I have tried 2 different cables and 2 different cams and no luck. I’ve tried installing them using esphome builder, the esp web ui and also plugging them directly into my HA box. In each case, the PC can connect to the cam and install the yaml onto it but when I reboot it does not connect to the wifi. I copied all of the wifi info from a known-good yaml. Most of the time after the initial install, I get the “Improv Wi-Fi serial not detetced” message. I’ve never had SO MANY issues with installing these…any idea what to try next?

1 post - 1 participant

Read full topic

Use 2 sensors to define a variable

$
0
0

I’m not sure how to do this, hence my question.
I have 2 open/closed sensors in my parcel mailbox
sensor.pakket_bezorgd_sensor and sensor.pakket_gepakt_sensor

When a parcel is delivered, the first sensor is triggered
When I open the parcel mailbox to empty it, the second sensor is triggered.

I want HA to show if there is still a package in the mailbox
So the variable should show package present when first sensor is triggered
And variable should show no package when second sensor is triggered.

Any suggestions?

1 post - 1 participant

Read full topic

GIEX Dual Water Timer Valve GX-03ZG where is Quirk?

$
0
0

I bought a GIEX Dual Water Timer Valve GX-03ZG and don’t know how to find the relevant zigpy.quirks.v2.CustomDeviceV2 file on Github.

If I look at zha-device-handlers/zhaquirks/tuya at dev · zigpy/zha-device-handlers · GitHub then I can’t find any Valves there. But as this quirk is provided by ZHA I’m looking ev. in the wrong place.
I guess this valve is not yet fully supported by ZHA, because the single valves from GieX that I have are showing all the parameters, but the Dual Valve only some of them. Any help is welcome ev. I can create a custom quirk for the dual valve version.

1 post - 1 participant

Read full topic


Help with setting up automation to send a notification when the freezer temperature goes above -18 degrees

$
0
0

I’m trying to create an automation for kitchen freezer.
There is a temperature sensor in it and I would like to get an notification in my iPhone when the temperature goes above -18 degrees.

Below is the code I created and it is not working. The sensor works, but no notification is sent.

Hope somebody can help, because I’m sure many must have this kind of automation.

alias: pakastimen lämpiäminen
description: Hälyttää jos pakastimen lämpötila nousee yli -18 asteen.
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.pakastimen_lampotilasensori_temperature
    above: -18
    value_template: "  "
conditions: []
actions:
  - action: notify.mobile_app_iphone_marko
    data:
      message: The freezer is getting warmer. Do something, man!
      title: The freezer alert
mode: singlealias: pakastimen lämpiäminen
description: Hälyttää jos pakastimen lämpötila nousee yli -18 asteen.
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.pakastimen_lampotilasensori_temperature
    above: -18
    value_template: "  "
conditions: []
actions:
  - action: notify.mobile_app_iphone_marko
    data:
      message: The freezer is getting warmer. Do something, man!
      title: The freezer alert
mode: single

2 posts - 2 participants

Read full topic

HA Mobile doesn't connect without internet connection

$
0
0

I have a Google Pixel phone and I have HA mobile installed. when I am outside my local WiFi network I can connect to my HA just fine, if I a am out and about also working fine. My External setting is my Nabu Casa link. I have my local IP setup to work when local. The problem is is that when I have no internet at home and I am on the local network I cannot connect. I was under the impression that if I was connected to the local network I would connect locally but that isn’t the case is it? My router is an OPNsense. What is the fix for this? Hairlin routing on the OPNsense? Some other settings for the Mobile app?

Thanks

1 post - 1 participant

Read full topic

Use voice assistant to start 3rd party music service

$
0
0

I really like the idea of having my own voice assistant, but the kids mostly use it for playing music and audiobooks which are coming from Apple Music or some other service. Are there any plans to integrate 3rd party music services.

Greets

Stephan

1 post - 1 participant

Read full topic

External hard drive connection

$
0
0

Hello,

I recently installed Haos bare metal on a NUC. I’m completing my installation with Frigate integration.
I installed a camera and I want to record the videos to an external hard drive, but I can’t.
Is it possible to move the Frigate recordings to the external hard drive?
Thanxs

1 post - 1 participant

Read full topic

Cover controlled via ZHA reports always "Open"

$
0
0

Hi everyone,
I have 4 blinds in my home operated by Vimar Zigbee switches, integrated into Home Assistant via ZHA.
After a recent update, all of them are now always reported as “open”, even when they’re fully closed (0% position). Additionally, the UI no longer allows sending a “close” command when they’re at 0%, assuming they’re already fully open.

I suspect the issue is related to tilt support — the switches technically expose tilt capability, but my blinds do not support tilt mechanically. I’ve already tried disabling it by setting supported_features: 15 for each cover in configuration.yaml, but Home Assistant still seems to use the current_tilt_position attribute to determine the state.

I’m not sure what exactly changed to trigger this behavior, but it wasn’t an issue before.

Is there a way to fully ignore the tilt values without having to create template covers for each blind just to control up/down movement?

1 post - 1 participant

Read full topic

Combine the State of Several Sensors for Power Meter is loosing resolution

$
0
0

So I have two load centers, each with a 2-pole Aeotec Home Energy Meter.
I can display the real time power of each panel and I have set the reporting interval to 30 seconds. I then added a helper “Settings → Devices & Services → Helpers” and selected “Combine the State of Several Sensors”, selected the two power entities and choose “Sum”. The summed power displays, but only updates every hour.

Does anyone know how to get the sum to happen a the same interval as the meters?

I have attached the Dashboard meters and the config.



1 post - 1 participant

Read full topic

Thread Preferred Network

$
0
0

I am trying to make my GL-S20 OTBR my one and only Thread Border Router for HA. I have the Thread integration installed and it sees the GL-S20. On my IOS companion App I try to make that my Preferred Network via “Send credentials to Home Assistant” in the integration. It fails saying Error: No preferred network found. Is there a way for me to make this the Preferred Network without already having a Preferred Network?

1 post - 1 participant

Read full topic


Voice PE - changed pre announce sound but it is cutting off the audio

$
0
0

Good Morning (UTC +10),
I am playing with a couple of PE’s I brought (end result is to replace all the very old google units around the house), I am setting up “Hey Jarvis” for a mate but to keep our houses different I want to go Cortana as my wake word (that is next on the hit list). What i wanted to do is change the pre announce sound to “Master Chief”, i have the recording as a high quality flac (26kb) and 770ms long (i know its long but hey).

1 post - 1 participant

Read full topic

Climate target temp visibility in areas - Dwain Dashboard v3

$
0
0

Hello,
I use dwain dashboard entegration. my problem is that I use various climate entities. Here I do not have any problems with some of my devices. But I have problems with some. I guess the target temperature I marked in the Area section is visible or not according to the hvac_action value.

In the climate devices I have problems with, when I set a value below the ambient temperature, it disappears from the display. But when I turn it off, the target temperature appears again. I also shared the table about the values ​​of my climate devices. Probably, there is a confusion because the hvac_action value is off when I turn it off.

If it is according to the hvac_action value as I think, how can I fix this?

Isn’t it supposed to be like this? My target temperature should be visible when the device is heating, Am I thinking wrong? What should I do about this? How can it be fixed? I ask for your help.


github -climate 1

1 post - 1 participant

Read full topic

Backups Failing to save to NAS

$
0
0

I am using the backups feature and trying to save full backups to my TrueNas Scale via NFS. The .tar file writes to my NAS but the size is 0kb. The backup file should be around 1.5 GB (thats what saves locally). I have posted the log files below. I have confirmed the firewall is open. Any idea on what might be going on here?

2025-04-15 16:16:54.170 ERROR (MainThread) [supervisor.backups.manager] Backup 50057ded error
Traceback (most recent call last):
File “/usr/src/supervisor/supervisor/backups/manager.py”, line 509, in _do_backup
async with backup.create():
~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/contextlib.py”, line 221, in aexit
await anext(self.gen)
File “/usr/src/supervisor/supervisor/backups/backup.py”, line 513, in create
size_bytes = await self.sys_run_in_executor(_close_outer_tarfile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/concurrent/futures/thread.py”, line 59, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/supervisor/supervisor/backups/backup.py”, line 506, in _close_outer_tarfile
outer_secure_tarfile.close()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/securetar/init.py”, line 245, in close
self._tar.close()
~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/tarfile.py”, line 2031, in close
self.fileobj.close()
~~~~~~~~~~~~~~~~~~^^
OSError: [Errno 5] I/O error

1 post - 1 participant

Read full topic

HA internal "reverse proxy" card

$
0
0

I have a couple of pages that I would like to integrate as a card in my dashboards, for example TeslaMate, nagios etc.

The problem is these pages are internal. HA itself has access (via IP level ACLs and/or HTTP basic auth) but none of the clients that connect to it. So I can’t use the normal iframe (“Webpage card”). I am looking for a card/extension that does the HTTP requests directly from HA and displays the content in a card.

Does something like this exist?

1 post - 1 participant

Read full topic

Voice Assistant Preview Edition media player freezes after TTS

$
0
0

I created an automation to vocally remind me to turn off the security alarm, if I’ve not already, when I change my wakeup lighting scene.

alias: Verbal Reminder to Turn off Alarm When Wakeup Scene Activates
description: ""
triggers:
  - entity_id:
      - scene.wakeup
    to: null
    trigger: state
conditions:
  - condition: not
    conditions:
      - condition: state
        entity_id: alarm_control_panel.panel
        state: disarmed
actions:
  - action: tts.speak
    metadata: {}
    data:
      cache: true
      media_player_entity_id: media_player.home_assistant_voice_090c31_media_player
      message: Don't forget to turn off the alarm.
    target:
      entity_id: tts.home_assistant_cloud
mode: single

It works as expected, except that the media player continues to play, instead of reverting to idle. The result is that the Voice Assistant remain unresponsive after the automation is completed. The only fix is to unplug/plug-back-in the device.

What am I doing wrong? Thanks.

1 post - 1 participant

Read full topic

Viewing all 108197 articles
Browse latest View live


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