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

Save TTS to a file (or otherwise load the tts sound, then play something else, then play the tts sound immediately after)

$
0
0

I have a Node-RED flow for playing TTS notifications throughout my apartment. One of the things this flow does is play a chime immediately before calling the tts.cloud_say service. Unfortunately, it can take some time for the TTS sound to generate and download. Is there a way to wait until the TTS sound is loaded, then play something else, then play the TTS sound?

There is a Node-RED node that has the functionality I want, but it doesn’t integrate well with Home Assistant. I’d prefer a solution that involves the tts.cloud_say service, since that’s the best voice I’ve found so far.

1 post - 1 participant

Read full topic


Cannot connect to HA via local ip with Netgear R7000 please help or share your opinions

$
0
0

Does anyone have a Netgear Nighthawk R7000 router that is able to connect to their HA via http? I had no issues with my previous TP-Link router but this one doesn’t seem to want to NAT Loopback. I’ve done port forwarding, static ip and everything works well but I’m only able to connect via https://myduckdns.ord address. Here’s my yaml entry for connecting. Please let me know you thoughts or if anything looks wrong I’m my picture.

1 post - 1 participant

Read full topic

A hopefully easy automation trigger question

$
0
0

I would like to create an automation to turn on a device at the later of sunset or a fixed time. I created an automation with both of these as a trigger, but I am not sure that it will behave as desired. Can you please provide an example of that which should be done? Thanks.

1 post - 1 participant

Read full topic

Nabu Casa. connection "invalid response"

$
0
0

WARNING (MainThread) [hass_nabucasa.google_report_state] Unable to connect: 503, message=‘Invalid response status’, url=URL(‘wss://remotestate.nabucasa.com/v1’)

Got this error message AGAIN. Please, have a look at it. I PAY for this.
I got latest updates (2022.3.3)

1 post - 1 participant

Read full topic

Cannot delete tracked devices for person anymore

$
0
0

I recently tried to delete tracked devices for me users via the GUI, but after hitting update the devices are still there.

Is this a known bug or am I doing something wrong?

1 post - 1 participant

Read full topic

Strange sum in database

$
0
0

Hi guys,
I am again a bit struggling with database entries related to energy consumptions. Although state values seems to be ok (in statistics_short_term table, measuring kwh consumtion), sum column contains in rare cases not just variance in state column but addition of the whole state value to previous sum (i.e. doubleing the consumption), then it goes again fine and after some random time the same.
I assume that sum is generated automatically by HA, i.e. is it a bug? Shall I open it on github?

Below is an example of the output… I am running version 2022.2.9

id metadata_id created state sum
805072 29 2022-03-09 02:40:10.212482 13472.49 14062.169999999998
805158 29 2022-03-09 02:45:10.240479 13472.57 14062.249999999998
805244 29 2022-03-09 02:50:10.234776 13472.64 14062.319999999998
805330 29 2022-03-09 02:55:10.221820 13472.73 14062.409999999998
805416 29 2022-03-09 03:00:10.267149 13472.81 14062.489999999998
805502 29 2022-03-09 03:05:10.244628 13472.9 14062.579999999998
805588 29 2022-03-09 03:10:10.245962 13472.98 14062.659999999998
805674 29 2022-03-09 03:15:10.241821 13473.06 14062.739999999998
805760 29 2022-03-09 03:20:10.294412 13473.14 27535.92
805846 29 2022-03-09 03:25:10.231938 13473.22 27536.0
805932 29 2022-03-09 03:30:10.222656 13473.31 27536.09

1 post - 1 participant

Read full topic

Work with "Triggered by" in automations

$
0
0

How can i determine (in an automation) what triggered e.g. a Light to turn on?
In the Logbook i can see e.g. “turned on by userxyz/automationxyz”

If i could set up an automation “trigger: light1 turned on // condition: turned on = empty / turned on = not by userxyz/automationxyz” i could assume that its been turned on by the regular Wallswitch, and set it to 100% brightness.

I played around with Things like:

alias: _Test with Trigger IDs
trigger:
  - platform: state
    entity_id: light.color_temperature_light_5
condition: []
action:
  - service: notify.notify
    data:
      message: >
        EntityID: {{ trigger.entity_id }} Platform: {{ trigger.platform }}
        ContextID: {{ trigger.context_id }} ParentID: {{ trigger.parent_id }} 
mode: single

But couldnt identify helpful data.

How can i work with what/who triggered an event in automations?

2 posts - 2 participants

Read full topic

Picture-elements: dynamic positioning

$
0
0

Dear all,

I am trying position dynamically the sun on the image setting the top: and left: calculating them out of the azimuth and elevation.
But I am stuck with how to use a template for entering the top,left position.
I’ve tried few things but nothing worked

left: "{{ states('some_entity') | int }}"
left: "{{ '50%' }}"
left: {% '50%' %}
...

Any ideas on how it can be done?

1 post - 1 participant

Read full topic


Garage cover 2 pushes to open, 2 pushes to close

$
0
0

Hi there,

I have made my velbus integration in HA and I’m very pleased with it. Just one down side, is my garage door for the car. Now for the full cyclus of opening and closing the garage, I need 2 pushes to open and deactivate, and 2 pushes for closing and deactivate. And don’t know how to solve this.

In my config file I have this:

cover:
  - platform: template
    covers:
      garage_poort:
        device_class: garage
        friendly_name: "Garage poort"
        position_template: "{{ states('switch.garage_poort') }}"
        open_cover:
          - service: switch.toggle
            target:
              entity_id: switch.garage_poort
        close_cover:
          - service: switch.toggle
            target:
              entity_id: switch.garage_poort
        icon_template: >-
          {% if states('switch.garage_poort')|float > 0 %}
            mdi:garage-open
          {% else %}
            mdi:garage
          {% endif %}

But I stil needs to push 2 times for opening and deactivate the button and 2 pushes for closing and deactivate the button…

Can someone help me please?

Kind regards,
Vince

1 post - 1 participant

Read full topic

Zigbee sensors become randomly not available and they don't come back

$
0
0

Hi everybody!
I am Andrea and I write from Italy.
My setup is a RPi 3B+ with a Conbee II usb stick and several zigbee sensors (AQARA) for door and vibrations.

I configured them without particular issues, but since the first days I had a strange problem: randomly, the sensor which is more far from the usb gateway becomes not available. Because I thought about an interference with wifi network, I made several tentatives changing WIFI channels and zigbee ones, and deactivating 5Ghz network too. Lastly I changed the sensor thinking about a possible damage.
Since few days another sensor started to be “not available”, but I think that I am facing to a different problem from a simple interference, because I added a range extender by Ikea without any improvement of the situation.

Can you help me? What do I need to post to help you understand better my problem?

Another question: do you now any ZIGBEE sensor for outdoor? I wish to “protect” some external parts of my house.

Thanks in advance,
Andrea

1 post - 1 participant

Read full topic

Group of cameras not showing up?

$
0
0

Hello,

I created a group of my cameras :

group_binnencameras:
  name: group_binnencameras
  entities:
    - camera.fi9826p_living
    - camera.fi9826p_gang

I have this script :

alias: Bewegingsdetectie binnencamera's inschakelen
sequence:
  - service: camera.enable_motion_detection
    target:
      entity_id:
        - camera.fi9826p_living
        - camera.fi9826p_gang
    data: {}
mode: single

How can I now use this group (instead of the individual cameras), cause the group is not showing up on the UI ?

1 post - 1 participant

Read full topic

Checking if consecutive events from a vibration-sensor occured

$
0
0

Hi!

I have some automation running which tells me when to pull the trashbin to the road using a waste-integration and Alexa.

It tolds my daughter in the morning to place the bin at the road. And, as kids are thinking about anything but doing tasks told by their parents she forgot it most of the time :slight_smile:

So my idea is to place an Aqara vibration-sensor under the bin and register its vibrations as she pulls it to the road. If we dont have two consecutive vibration-events from the sensor, the bin is not on the road as it took around 45 seconds pulling it to the road. Then, I could tell Alexa to shout to my daughter again in the evening to pull that damn thing to the street.
My sensor resets its status every 30 seconds so this should work, but I don’t know how to measure the consecutive events in this given timeframe.

Zigbee-Connection should not be an issue as I have the whole driveway (70m) full of working Hue-Stuff.

Thanks and kind regards,
Jan

1 post - 1 participant

Read full topic

Wireguard no access to network

$
0
0

Hello,

when I try to connect with my iphone (mobile data, LTE) I haven’t any connection. I’m not able to use the home network (access to hassio or router) and also can’t open normal websites.

I opened the port 51820 in my router (IPv6 Host Exposure) and I use ipv6 on my hassio.

Here is my wireguard configuration (split tunnel):

peers:
  - name: iphone
    addresses:
      - 192.168.255.2
    allowed_ips: []
    client_allowed_ips:
      - 192.168.0.0/24
      - 2a02:908:233:xxx:5e06:733:xxxx:a837/64
      - 2a02:xxx:233:7f20::xxxx/128
      - fe80::af2:xxxx:c9cc:xxxx/64
server:
  addresses:
    - 192.168.255.1
  dns:
    - 8.8.8.8
    - 4.2.2.2
  host: hxxxxxxm.duckdns.org

Thank you for help!

1 post - 1 participant

Read full topic

Nginx Web Ui doesn't work

$
0
0

Hello,

I installed the nginx-plugin but I’m not able to open the Web UI.

I tested the three ipv6-addresses of my hassio (with and without https):
https://[2x02:xxx:233:7f20::xxxx]:81/
https://[fx80::xxx:3644:c9cc:xxxx]:81/
https://[2x02:xxx:233:7f20:5e06:733:xxxx:a837]:81/

Is there any issue with ipv6?

Thank you for help!

1 post - 1 participant

Read full topic

New sensors doesn't appear in influx DB

$
0
0

Hi all

I bought Frient Air Quality Sensor and implemented it via Deconz - RaspBee II.
The sensor also shows up in Homeassistant like all other Deconz devices:

I added it to the list of sensor that should be stores in InfluxDB.

image

The list already hat about 80 sensors and everything worked without any problems. But these 4 new sensors doesn’t appear in InfluxDB.

There is no “ppb” unit and also in temperature “C” I don’t find the temp-sensor.

Has anybody an idea what this could cause?

Thank you very much
Marco

1 post - 1 participant

Read full topic


2 unrelated questions on lovelace layout and motion detection

$
0
0

Q1: What happens if i assign a binary sensor to a group (say flood group) and then assign it to an area? Does it still show up in the overview dashboard as part of the flood group or will it be part of the Area section.

Q2: If i set a light to turn on via say the give app, then i use a automation to check if a motion detector in that same room hasn’t seen motion 1 minute turn off that same light, it won’t work.

Am i correct i thinking that for the automation to work and the motion detector to not see motion, it first has to detect motion ? (seems logical, but that would explain why it doesn’t work the way i expect it too).

1 post - 1 participant

Read full topic

Number of month as part of an entity

$
0
0

I created some input_numbers:

input_number:
  piek_afname_01:
    name: Piek afname januari
    min: 0
    max: 10.0
    step: 0.001
    mode: box
    unit_of_measurement: "kWh"
# also 02,03, ....
  piek_afname_12:
    name: Piek afname december
    min: 0
    max: 10.0
    step: 0.001
    mode: box
    unit_of_measurement: "kWh"

I have an automation

  - alias: Laatste piek
    mode: parallel
    trigger:
      - platform: state
        entity_id: sensor.fluvius_verbruik_energy_kwartier_gemiddelde
    condition:
      - condition: template
        value_template: >
# XX
          {{  states("sensor.fluvius_verbruik_energy_kwartier_gemiddelde") | float(0) > states("input_number.piek_afname_XX") | float(0)}}
    action:
      - service: input_number.set_value
        target:
          entity_id: input_number.piek_afname
        data:
            value: >
              {{ states("sensor.fluvius_verbruik_energy_kwartier_gemiddelde") | float(0)}}
      - service: input_number.set_value
        target:
          entity_id: 'input_number.piek_afname_{{ (as_timestamp(now()))|timestamp_custom("%m", true) }}'
        data:
          value: >
            {{ states("sensor.fluvius_verbruik_energy_kwartier_gemiddelde") | float(0)}}

The problem is that I don’t know how to write this exactly.
I want to replace XX with the month number like I use it in the second service: input_number.set_value : (as_timestamp(now()))|timestamp_custom("%m", true)
but I’m having problems with putting the symbols (like: {, (, …) in the correct place.

So, how do I write the line after “# XX” correctly ?

Thanks

1 post - 1 participant

Read full topic

Fibaro HC2 Configuration - HELP!

$
0
0

Hi there, i’m a complete noob to Home Assistant but am super impressed with the possibilities. My home is mainly using Fibaro modules managed by Fibaro Home Controller 2. I’ve followed the guide and included the Fibaro integration instructions and all the entities are available and can be controlled easily - thanks for the integration!

Now comes my issues, i have a whole bunch of scenes and virtual devices on my HC2 that i can’t seem to get to show up in HA. Also, i noticed that all my Fibaro modules are not showing up as devices so I can’t use the scene/script editors to create new scenes in HA (i’m not very good at coding so trying to avoid yaml if possible).

I’ve tried adding the Z Wave JS integration, but for the life of me can’t get it to point towards the Fibaro HC2 which is on a network IP and not via USB.

I’ve scoured the internet and the forums, and seen many people commenting that they are flawlesssly integrating HC2 to HA, can one of you kind souls please point me in the right direction?

Thank you in advance!

1 post - 1 participant

Read full topic

How to create a group

$
0
0

Im totally frustrated trying to create groups. Its not HA, its the lack of knowledge I have to edit and configure a configuration yaml file properly.
Im new with HA, I have a very simple configuration file and Im trying to create a new sensor group for my attic light.
I have 2 sensors, one downstairs and one upstairs, all I want to do is create a group where if both sensors stop detecting motion to turn off. I noticed the other day that if the first sensor detects motion and not the second sensor the light remained on all night.
This is my simple configuration file: see attached file

Configuration File screen shot

When I check the configuration I get : Configuration invalidCHECK CONFIGURATION

Integration error: Lights - Integration ‘Lights’ not found.

Im not using HACS, Im not using lovelace, nothing, very simple setup.
What am I doing wrong, what is missing.

Any help would be greatly appreciated, thanks

1 post - 1 participant

Read full topic

Glance card showing wrong state color for Climate

$
0
0

Hi guys, I have a glance cards with all my climate entities to control my thermostats. The problem is with “state_color”.
The thermostat icons are colored only when they are heating but not when they are idle (they already reached the temperature but will start again when the temperature goes down)
Is it possible to configure glance card to color the icons only when the thermostats are not ‘off’?
Thanks.

1 post - 1 participant

Read full topic

Viewing all 106065 articles
Browse latest View live


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