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

Sonoff Zigbee 3.0 USB Dongle

$
0
0

I’m having some trouble setting up the Sonoff Zigbee 3.0 USB Dongle
The device is correctly discovered in HA:
image


Then it asks for the configuration and the fields are automatically filled. Am I supposed to modify that?

After this, it fails every time:
image

Other than this, the integration works correctly. I was able to add my ZigBee sensor and read the temps.

2 posts - 2 participants

Read full topic


Script with alexa

$
0
0

I created a script but when i go to check config it just goes around in circles.
am i missing something?

alias: Curent Temperatures
sequence:
  - service: notify.alexa_media
    data_template:
      target: 
        "{{ states.sensor.last_alexa.state }}"
      data:
        type: tts
      message: >-
        "Main beddroom is,
        {{states('sensor.main_bedroom_temperature')}}c,         Bathroom is,        
        {{states('sensor.bathroom_temperature')}}c,         Computer room is,        
        {{states('sensor.computer_temperature')}}c,         Front room is,        
        {{states('sensor.front_temperature')}}c,         Outside is,        
        {{states('sensor.outside_temperature')}}c,         with a humidity of,
        {{states('sensor.outside_humidity')}}%"

1 post - 1 participant

Read full topic

How can I template both keys and values?

$
0
0

Is there a way to template both keys and values?

I’ve tried:

  actions: |-
      {%- for entity in room_entities -%}
      - action: 'autoroom_{{ entity }}'
        title: '{{ state_attr(entity, 'friendly_name') }}'
      {%- endfor %}

but it becomes

    actions: |-
      - action: 'autoroom_light.wohnzimmer_dimmer'
        title: 'Wohnzimmer Dimme

and it should become

    actions:
      - action: 'autoroom_light.wohnzimmer_dimmer'
        title: 'Wohnzimmer Dimme

Thanks!

1 post - 1 participant

Read full topic

Netdata integration - how to query for hosts streamed to a central netdata server?

$
0
0

As above, can the integration query child nodes via a central instance? I’m yet to find a working configuration

they can be accessed in the browser using netdata-server:19999/host/childhostname/api/v1/allmetrics?format=json

1 post - 1 participant

Read full topic

Not able to authenticate inside iFrame

$
0
0

I’ve made my code-server and ESPHome container accessible with a ssl reverse proxy (nginx). Now I’m trying to use these in panel_iframe with password auth enabled in both containers separate. But when submitting the password, the service (inside HA panel_iframe) just clear the password and I’m not able to log in. Any way to solve this?

Images of auth screen (click for more details)

1 post - 1 participant

Read full topic

ShellyforHASS + Shelly 2.5 shutter mode - Roller "restored:true", "unavailable"

$
0
0

HA running in docker (Synology), version 2021.12.9
HACS installed
ShellyforHASS 0.3.3 installed
Shelly 2.5 with firmware 20211207-072322/v1.11.7-sw25-rc1-gc615041 (beta [ECO Mode])
eclipse-mosquito in docker (anonymous, port 1883 published, no errors in logs)

Installed my first Shelly 2.5 for a shutter. Shelly works fine via Web panel and device shows up in HA, but some entities are not available. Particularly the cover.shelly(…) entity, that allows me to control the shutter.

Any hints?

Cheers,
anthonws.

1 post - 1 participant

Read full topic

Can not add Xiaomi vacuum / Retrying in background

$
0
0

Hallo,
each time i try to add my vacuum over the gui there is an error.

"Config entry 'Michael' for xiaomi_miio integration not ready yet; Retrying in background" but it is never getting ready.

How can I fix this?

Thanks in advance.

1 post - 1 participant

Read full topic

Frontend themes not working properly

$
0
0

Hello There!
I have this problem where I set up basic themes for my frontend in a fresh installation but themes are not shown in profile section.
I’ve tried different approaches (HACS frontend themes and such) but nothing worked.

I’ve added the default theme configuration of frontend (what i’ve found searching in the help documents of themes) in the config.yaml but it didnt worked either.
Here are pictures of the current configuration: Imgur: The magic of the Internet
Im sorry if this topic was answered, I’ve tried to find similar topics but didnt found anything specific to this problem.
Thanks in advance!

2 posts - 2 participants

Read full topic


Delay 3 secs not working in automation

Python_script - get entity_ids for device_id

$
0
0

Hi all,

how can I receive the entity_ids related to a specific device_id within python_script?
I have found a description how this is done within custom components (How I can get DeviceEntry by entity_id in python?) but this requires some import which is not possible within python_script.

I additionally found how this can be done within templates (Templating - Home Assistant), but still no option how the same as template: “device_entities(device_id)” is achieved within python_script.

Thanks for some enlightenment :slight_smile:

1 post - 1 participant

Read full topic

Home Assistant Core installation: safe backup procedure?

$
0
0

Hi all,

I have a Home Assistant Core installation (i.e. virtual python environment on Debian). I would like to create backups via cron cron jobs, and store to a path of my choice (this could be an external USB, a Dropbox path, NFS mount from other machine etc.)

My question is: is it safe to take a snapshot (for example using rsync of the contents in /home/homeassistant/.homeassistant?) I am worried about the SQLite data base files: do I need to shut down home-assistant or use some special script to create a consistent copy of those, or can I assume that a simple copy of the files to a different location will be sufficient?

More details:

  • at the moment, I am shutting down Home Assistant before I take the backup (all via cronjob), then start Home Assistant again (to be sure the data base files don’t change while I read them for the backup). This seems suboptimal. Also, the mobile clients seem to need restarting each time I have restarted the server.

  • I have search the forums for guidance on this topic. There is a description of how to upload backups to Dropbox here, and how to copy the files to a USB drive here.

    Both methods refer back to this script to do the actual copying. This looks like it is working very similar to rsync -auv, excluding some files. It appears not to do anything special with the data base files though.

    This would support the hypothesis that it is safe to take copies of the files in .homeassistant for backup purposes with shutting down the server?

Many thanks,

Hans

1 post - 1 participant

Read full topic

Add Xiaomi Vacuum STYTJ06ZHM

Access attribute of "from state"

$
0
0

Is there a way to access an attribute of the “from state” in an automation triggered by a state trigger?

I want to create a template condition that checks the current temperature attribute of my climate entity, but haven’t had any success with any of my iterations thus far.

I only want this automation to fire if the furnace has been on for 15 minutes and the temperature has not changed.

{{ state_attr(trigger.entity_id, 'current_temperature') <= state_attr(trigger.from_state, 'current_temperature')  }}

I also tried this to no avail (and quite a few other things methinks).

{{ state_attr('climate.downstairs', 'current_temperature') <= trigger.from_state.attributes.current_temperature  }}

2 posts - 2 participants

Read full topic

MQTT Log recorder

$
0
0

Hi,
I have a log mqtt topic where I address all MCU important events.
How to list on Lovelace Dashboard the events recevived (mqtt topics) with datetime and log message text ?
Thanks in advance

1 post - 1 participant

Read full topic

Messed up energy data with Tibber Pulse (HAN port)

$
0
0

Dear forum,

Although my Tibber Pulse is able to measure my power usage, something goes wrong when energy consumption is presented.

Clearly, there is power data from the meter available:

Yesterday, only energy data from the current date was displayed:

Today, same thing - yesterday’s data gone:

The monthly view even shows negative consumption, but I am not producing anything here:

Sensor data look okay to me:

Do you have any ideas on how to fix this problem?

Thanks,
Fumble

1 post - 1 participant

Read full topic


Limited zoom out for pictures to be included for AREAS

$
0
0

Just tried to include pictures for my AREAS. However, regardless of how I size the image prior to import, only the same maximum cropped area can be included. It seems that whilst you can mouse wheel zoom in an unlimited amount, there is a limit on the amount you can zoom out. That is, most of the picture I want to include is cropped out ---- the size of the pop-up window ( and hence maximum cropped area) for “ADD A PICTURE” changes size in proportion to the image size. I would hope you could zoom the image to totally fit within the maximum cropped area. Therefore currently no point in my including pictures.

2 posts - 2 participants

Read full topic

Initial setup of MQTT - newbie question

$
0
0

Hi,

So I am looking at MQTT Broker - Home Assistant

I am following this procedure to setup the addon and integration - addons/DOCS.md at ec0411cc573291e66b1b6e21199baaade876d4cf · home-assistant/addons · GitHub

So, I created this new user but where do I put these details ?

Is it under the Integration that is discovered, as that already has “homeassistant” and a password filled in when I click on Configure ? Do I replace username and password on the integration with this new user I created ?

Thanks!

1 post - 1 participant

Read full topic

History sensor problem

$
0
0

Hello, I have total energy sensor but I dont see the history of sensor…
This is the config of sensor I made

template:
  - sensor:
      - name: "צריכת חשמל נוכחית"
        unit_of_measurement: 'W'
        state_class: measurement
        device_class: power
        state: >
          "{{ ( states('sensor.shelly1pm_c45bbe6c4171_power')|float(0) + states('sensor.shelly1pm_d8bfc01a1512_power')|float(0) + states('sensor.shelly1pm_84cca8a824e8_power')|float(0) + states('sensor.shelly1pm_c45bbe6c4171_power')|float(0) + states('sensor.shelly1pm_98cdac1f5218_power')|float(0) + states('sensor.shelly1pm_e8db84d79a44_power')|float(0) + states('sensor.shelly1pm_98cdac1e2174_power')|float(0) + states('sensor.tasmota_energy_power')|float(0) + states('sensor.shelly1pm_e8db84d7a30e_power')|float(0) + states('sensor.tasmota_energy_power_3')|float(0) + states('sensor.shelly1pm_e8db84d79a44_power')|float(0) + states('sensor.tasmota_energy_power')|float(0) + states('sensor.sonoff_1000cab798_power')|float(0) + states('sensor.sonoff_1000cab589_power')|float(0) + states('sensor.tnvr_mqlkht_power')|float(0) + states('sensor.tasmota_energy_power_4')|float(0) )|round(0)|int(0) }}"

and that what I see
a


someone know what can be the problem?
thank you

1 post - 1 participant

Read full topic

Homematic wired integration

$
0
0

Hi there,

I just installed home assistant on synology. I am using Homematic wired and i am training to integrate it, but it doesn’t work.

Homematic runs on a separate raspberry pi3 with rasberrymatic (latest version).

Could you check my config and help me.

my configuration yaml:

homematic:
  interfaces:
    Funk:
      host: 192.168.136.91
      port: 2001
      resolvenames: json
      username: Admin
      password: ***
    Wired:
      host: 192.168.136.91
      port: 2000
      resolvenames: json
      username: Admin
      password: ***
    groups:
      host: 192.168.136.91
      port: 9292
      resolvenames: json
      username: Admin
      password: ***
      path: /groups
  hosts:
    ccu3:
      host: 192.168.136.91
      username: Admin
      password: ***

1 post - 1 participant

Read full topic

Weird errors in Log

$
0
0

I have these errors in the log:

but my configuration is very simple:

I’ve deleted all test scene and scripts

but when I open the YAML file I find:
image

There are multiple and only the last one appears to be correct. the others appear to be old.

Why they are still there?
I only created and deleted from the UI

Even If I go under entities and filter:

So questions are:

  1. why I get the errors in the log and how to fix them
  2. why the YAML are not aligned with the UI?

2 posts - 2 participants

Read full topic

Viewing all 106574 articles
Browse latest View live


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