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

Question About Vera Integration With Door Sensors

$
0
0

@bigeazy000 wrote:

Hi All,

I’ll apologize first, as this may very well be a noob question. I’m new to HA and have been a long time Vera user. I’vie decided to move the automation piece to HA and let Vera handle the Z-Wave,ZigBee connections, which it’s doing a great job with.

The issue I have is that not all of my Vera devices display correctly in HA. Specifically, I have some ZigBee door sensors that display as “sliders” in HA. So, from the main UI I cant see any status. If I click on one of the sensors, I do see accurate values for “device armed” and “device tripped”. What do I need to do to see this status in HA from the overview page, without having to go and click on each device?

I think even having the icon turn colors based on tripped status could be sufficient. Thanks in advance for any help you can offer!

Posts: 1

Participants: 1

Read full topic


Entities not available

$
0
0

@c0rnflake wrote:

I’ve noticed recently that entities i’ve been using for quite some time now are “randomly” becoming unavailable.

I currently create some entities based on data from influxdb in my configutation.yaml, ie.

sensor:
  - platform: influxdb
    host: localhost
    username: !secret influxdb_username
    password: !secret influxdb_password
    queries:
    - name: Cost for last hour
      unit_of_measurement: '£'
      group_function: mean
      where: '"entity_id" = ''aeon_labs_zw095_home_energy_meter_gen5_power'' and time > now() - 1h'
      measurement: '"W"'
      field: value
      database: homeassistant
      value_template: >-
        {% set cost_for_last_hour = (((( value | int ) * 1 ) / 1000) * 0.1697 ) | round(2) %}
        {{ '%.2f' | format (cost_for_last_hour) }}

the zwave devices are always available on reboot, but the sensor.cost_for_last_hour randomly becomes unavailable when rebooting.

Currently running Home Assistant 0.111.0 & HassOS 4.10 via VM/Docker on unraid.

Any pointers to possible solutions would be appreciated :slight_smile:

Posts: 1

Participants: 1

Read full topic

Roof Heat Strip Automation help

$
0
0

@abreuma677 wrote:

HA rookie here again.

Q1: I’m working on an automation that turns roof heat strips on between 10 and 40 degrees F, and off when the temperature is outside that range. I’m using an input_boolean (snow on roof) to enable and disable the automation as a condition. I want to be able to change the boolean state to turn on and off the automation. I have this working, but if the current temperature is inside the range - between 10 and 40 degrees, the automation doesn’t appear to trigger until I go outside the range and come back. What I want - when the boolean gets turned on I want that automation to trigger and act if the temperature is already inside the range of the trigger. Is there a way to do that?

Q2: Since I’ll probably have more than one automation that uses these below and above temperature set points, I’d like to make them input_number values and use them in the automations. I’m using the automation GUI to create them and am not clear on how to replace my current values of 10 and 40 with input_number.roof_heat_strip_min_temperature and input_number.roof_heat_strip_max_temperature? I would love to see some examples.

Posts: 1

Participants: 1

Read full topic

Lutron Aurora can't bind to multiple bulbs or a group

$
0
0

@donkey wrote:

…though it’s entirely possible I just don’t know what I’m doing. I’ve tried with HA 0.110.6 and 0.111.0.

Here’s my (simple?) goal: use the switch to control a pair of Zigbee bulbs.

  1. I successfully added the switch to HA, no problem. I only see the power sensor, as others have reported. Don’t even see anything in the developer log if I listen for ‘zha_event’ and push the button, but maybe that’s ok?
  2. I can individually bind the aurora to one of the bulbs, but I can’t seem to individually bind the aurora with the other bulb. Button and the rotary knob appropriately will control that first bulb, but do nothing after I attempt to bind with the other bulb (after unbinding from the first). When the one bulb binds correctly, I’ll see the LED on the switch blink a few times. That has never happened with the second bulb, making me think it has never correctly bound to the other bulb.
  3. I’ve created a zha group with both bulbs in it, and then attempted to bind the group with the switch. Nothing happens. Never seen the blinking LED confirmation on the switch here, either.

I’ve factory reset the switch, removed it from HA and re-added it, to no avail.

Hardware: Lutron Aurora switch, HUSBZB-1, two of the EcoSmart dimmable bulbs from Home Depot.

Any suggestions before I toss the Aurora into a volcano? It would be a shame because it sure does look nice.

Posts: 1

Participants: 1

Read full topic

Weather Forecast Card not showing icon

$
0
0

@delta010 wrote:

I am using OpenWeatherMap with the Weather Forecast Card but it not showing the icon for a one particular weather state "Exceptional "

I read the documentation it says “Weather icons can be overwritten with your own personal images via a Theme” but it’s not working
please, someone, help me

weather icons: --weather-icon-exceptional: url("local/cloud.png")

Posts: 1

Participants: 1

Read full topic

Groups - Broken After Update

$
0
0

@TheOne007 wrote:

Good Day All,

After an update of HA I seem to be having an issue with my configuration file. I get a notification that tells me that groups could not be set up.

This is an issue as i’m sure most of you know. I have not changed anything on the config file or the groups file. Also, I have my groups file as its own file and in the config file i tell HA to “include Groups.yaml”. This has always worked until i did an update. Now it does not.

Screen Shot 2020-06-10 at 9.17.30 PM

here is the error in the log.

Based on this it looks like i need to change something in my groups.yaml file but im not sure. Maybe something about the view statement?

Does anyone know of similar issues and possibly how to fix them? I usually try to stay on top of updates but after this i’ll probably update every 3 months or so to avoid these potential issues in the future.

Thanks guys…

Posts: 3

Participants: 2

Read full topic

NabuCasa cameras in Alexa

$
0
0

@iav8524 wrote:

Is there something special I should be doing to get my cameras to show up in Alexa using the nabu casa integrations?

Posts: 1

Participants: 1

Read full topic

Synology security status sensor

$
0
0

@squirtbrnr wrote:

Can anyone explain what the security status binary sensor is? What sets it, what is it looking for? Any info would be appreciated.

Posts: 1

Participants: 1

Read full topic


Universal Devices ISY994 Programs in Home Assistant

$
0
0

@theonetruemorty wrote:

I’m new to Home Assistant and I am hoping that I have a simple problem that someone can help me solve. I have an ISY994i integrated with Home assistant (Home Assistant Core installed in a virtual environment on a RPi4). Everything is working great with the integration but I am just now realizing that when HA integrated with the ISY it didn’t pull in any Programs.

I have been searching for a couple hours trying to figure out what might be the issue, but I haven’t had any luck. I am also getting this error when HA starts up:

WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: retry #0
2020-06-11 07:12:03 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: retry #1
2020-06-11 07:12:04 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: retry #2
2020-06-11 07:12:05 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: retry #3
2020-06-11 07:12:06 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: retry #4
2020-06-11 07:12:07 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: retry #5
2020-06-11 07:12:07 ERROR (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/1 404: Failed after 5 retries
2020-06-11 07:12:07 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: retry #0
2020-06-11 07:12:09 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: retry #1
2020-06-11 07:12:10 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: retry #2
2020-06-11 07:12:11 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: retry #3
2020-06-11 07:12:12 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: retry #4
2020-06-11 07:12:13 WARNING (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: retry #5
2020-06-11 07:12:13 ERROR (SyncWorker_18) [homeassistant.components.isy994] Bad ISY Request: http://192.168.1.87:89/rest/vars/definitions/2 404: Failed after 5 retries

It could be unrelated but since everything is working perfectly on the ISY and HA integration, it seems like it could be likely that it could be an issue. Again, hoping someone can help me out.

Not sure what information would be most helpful here but here is my system information:

arch armv7l
dev false
docker false
hassio false
installation_type Home Assistant Core
os_name Linux
os_version 4.19.118-v7l+
python_version 3.7.3
version 0.111.0
virtualenv true

Any help would be greatly appreciated!!

Posts: 1

Participants: 1

Read full topic

Not updated in a while!

$
0
0

@Jacko wrote:

Hi guys,

Been very busy with work and fixing up my house and general family life that I’ve not touched HA for quite some time.

HassOS 1.11 - Available 4.10
HA Core 0.86.4 - Available 0.111.0

Configurator 2.0 - Available 5.0.0
Duck DNS 1.5 - Available 1.12.0
NodeRed 1.3.0 - Available 6.3.0

And so on!! :smile:

Most addons can’t be upgraded now due to OS being so out of date. My question is, what is the easiest, least time consuming, safest etc. way of upgrading to the latest release. I also have broken integrations such as Nest for my smoke alarms and thermostat which i would like to fix in the process.

I suspect you might say backup wipe and start over. If that’s the case, what’s the easiest way of doing that these days and if I’m going to do it, should i install onto something better than a Pi with an SD card. Perhaps something a little better is in order these days.

Looking forward to spending a bit of time on the setup over the next coming weeks and trying to get certain elements working again or working better than they did before.

Thanks

Posts: 1

Participants: 1

Read full topic

How to add a guard in this JS template

$
0
0

@Mariusthvdb wrote:

the new loading of HA 111, causes errors when an not yet initialized entity is used as source for a customization of another entity (6-700 lines of the identical error is a bit much )… I’ve managed to take out most of the culprits by adding a guard in the existence of the entity, but now ask you help in this particular template:

    sensor.windkracht:
      icon: mdi:weather-windy
      templates:
        icon_color: >
          var bft = entities['sensor.wind_bft'].state;
          var mapper = {'0':'lightblue',
                        '1':'paleturquoise',
                        '2':'aquamarine',
                        '3':'greenyellow',
                        '4':'lime',
                        '5':'mediumspringgreen',
                        '6':'yellowgreen',
                        '7':'navy',
                        '8':'gold',
                        '9':'orange',
                        '10':'tomato',
                        '11':'orangered'}
          return mapper[bft] ? mapper[bft] : 'crimson';

I would have thought the bottom line would guard against any non existing ‘bft’ but apparently that doesnt suffice, since this is what I see in the startup log:

2020-06-11 11:27:01 ERROR (MainThread) [frontend.js.latest.202006032] https://redacted/local/lovelace/resources/custom-ui/custom-ui.js?v=20200528-1:31:37215 TypeError: undefined is not an object (evaluating 'entities['sensor.wind_bft'].state')

would I need to change anything in the first line too?

like:

var bft = entities['sensor.wind_bft'].state if (entities['sensor.wind_bft']) else '0' ;

maybe?

Posts: 1

Participants: 1

Read full topic

Household appliance Samsung SmartThings question

$
0
0

@blademckain wrote:

Hello,
Has anyone integrated Samsung SmartThings household appliance (dishwasher, oven, washing machine) into the home assistant?
Is the SmartThings hub also required?
How do you rate the quality of appliances?

I am in doubt as to whether to buy Samsung SmartThings household appliances or Bosch Home connect

I ask for your advice

Posts: 1

Participants: 1

Read full topic

Not playing for X minutes

$
0
0

@gdeboos wrote:

Hi all,

I was hoping for some help with an automation.
I have the following condition working fine. But I want the minutes to work from an input_number.

What I have so far:

“TV and Music not playing for 20 minutes”

condition: not
conditions:
  - condition: state
    entity_id: media_player.lounge_tv
    state: 'playing'
    for:
      minutes: 20
  - condition: state
    entity_id: media_player.lounge_music
    state: 'playing'
    for:
      minutes: 20

I am assuming I need a template condition but I am a bit stuck.

Hopefully someone can point me in the right direction :slight_smile:

Posts: 1

Participants: 1

Read full topic

Custom Sensor with state icons

$
0
0

@Vinz87 wrote:

I made a custom sensor which outputs different text states: can I have it displayed as a badge with different icons based on its state, instead of displaying the state string?

Posts: 1

Participants: 1

Read full topic

Imap_email_content + value_template number in the body of the email

$
0
0

@b1mb4m wrote:

Hallo. I get a emails from ebanking that shows changes in a bank account.

I want to set up an imap sensor to track the email, but I want it to use the values in the email for sensor information so I can see it on a graph or card in the front end.
How would I go about that?
My current “half working” email sensor template come from tutorial example

but is parsing random numbers :slight_smile:

IMAP sensor config works:

# Example configuration.yaml entry
sensor:
  - platform: imap_email_content
    server: mail.myemail.cz
    port: 993
    username: user@myemail.cz
    password: somepassword
    folder: Inbox
    senders:
      - automat@fio.cz

Relevant part of email message look like

Date: Mon, 8 Jun 2020 08:18:04 +0200 (CEST)
From: automat@fio.cz
To: info@myemail.cz
Message-ID: 921120689.2352251.3591597084361.JavaMail.ums@sap1.private.fio.cz
Subject: Fio banka - prijem na konte
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-UMS-Id: 186437230

P=C5=99=C3=ADjem na kont=C4=9B: 80155454(1903540123)
=C4=8C=C3=A1stka: 190,00
VS: 877
Zpr=C3=A1va p=C5=99=C3=ADjemci: Pivo
Aktu=C3=A1ln=C3=AD z=C5=AFstatek: 4 386,86
Proti=C3=BA=C4=8Det: 3874103271/0100
SS:=20
KS: 0

Part of line what I’m traying parse to sensor is number after : in line

Aktu=C3=A1ln=C3=AD z=C5=AFstatek: 4 386,86

that mean

4 386,86

“Half working” template part look like:

  - platform: template
    sensors:
      fio_recent_min:
        friendly_name: Fio Min
        unit_of_measurement: Kč
        value_template: >
         {{ state_attr('sensor.info_ebank_cz','body') | regex_findall_index(find='(\d+\,?\d+)', index=6, ignorecase=False) }}
      fio_recent_max:
        friendly_name: Fio Max
        unit_of_measurement: Kč
        value_template: >
          {{ state_attr('sensor.info_ebank_cz','body') | regex_findall_index(find='(\d+\,?\d+)', index=7, ignorecase=False) }}

or tested template part solo

      fio_recent_difference:
        friendly_name: Fio Difference
        unit_of_measurement: Kč
        value_template: >
          {{ state_attr('sensor.info_ebank_cz','body') | regex_findall_index(find='(-?\d+\, ?\d+)', index=0, ignorecase=False) }}

without success :confused:

Thank you for help with value template

Posts: 1

Participants: 1

Read full topic


Using HA after shutdown - no internet access/working offline

$
0
0

@irmi29 wrote:

Hi all,
I am using HA for a while and absolutely love it.
I have one major issue which I cannot overcome – using HA with raspberry pi 3b+ or 4b offline.
I’m fully aware that HA must get access to valid NTP server for time sync with each startup.

I have followed these instruction

made CONFIG USB with timesyncd.conf file with the following:

[Time]
NTP=192.168.40.200
FallbackNTP=192.168.40.200

Put it in my raspberry during startup, no errors in the log, but after the first shutdown and reboot, if there’s no internet access the HA will not restart.

Since it’s crucial to have stable system even if there is internet loss, any idea how to configure it properly to restart even after Internet loss?

Thanks
Irmi

Posts: 1

Participants: 1

Read full topic

OpenGarage Issue

$
0
0

@mistrovly wrote:

Good morning guys,
I don’t know if anybody else reported or experienced some issue with “OpenGarage” so far. But since yesterday after upgrading to 0.111, my opengarage integration stopped working for me.

Posts: 1

Participants: 1

Read full topic

Using Homematic IP-smoke sensor-sirens for alarm purposes through Home Assistant

$
0
0

@ChrisNite wrote:

Hello fellow automators :slight_smile:
since about fours weeks now i’m deep diving into the topic of home automation and so far i’m very happy with the countless possibilities Home Assistant offers and was able to accomplish all the tasks i’m looking for.
Recently i’ve built an additional raspberrymatic-System (for Homematic IP Smoke Sensors) and sucessfully connected it to my Home Assistant instance. I then connected my first Homematic IP Smoke Sensor, which now can be seen in both in the Homematic Interface as well as two devices in Home Assistant (sensor and battery).
The status and connection are all there, but now i would like to use the alarm-function of the smoke sensor itself (which is controllable in Homematic such as for Intruder purposes) in Home Assistant as “notifiy”-configuration, when my water sensor is going off.
The documentation on the homematic ip-integration-site wasn’t able to help me out to understand, how to properly set up the notify-function-declaration, so i wanted to ask, if anyone were able to get this to working?
According to the site, one need to declare the “channels” and a “send command” to properly interact with Homematic-central and the devices, but i don’t know how i can find out all these information from the ccu3?
Any help is greatly appreciated.
Thanks in advance and best wishes
Chris

Posts: 1

Participants: 1

Read full topic

Help with value_template for Pollens Information

$
0
0

@Thomas.dmm wrote:

Hello I have a sensorwith this attributes

risks:
  - pollenName: Tilleul
    level: 0
  - pollenName: Ambroisies
    level: 0
  - pollenName: Olivier
    level: 0
  - pollenName: Plantain
    level: 0
  - pollenName: Noisetier
    level: 0
  - pollenName: Aulne
    level: 0
  - pollenName: Armoise
    level: 0
  - pollenName: Châtaignier
    level: 0
  - pollenName: Urticacées
    level: 1
  - pollenName: Oseille
    level: 0
  - pollenName: Graminées
    level: 4
  - pollenName: Chêne
    level: 0
  - pollenName: Platane
    level: 0
  - pollenName: Bouleau
    level: 0
  - pollenName: Charme
    level: 0
  - pollenName: Peuplier
    level: 0
  - pollenName: Frêne
    level: 0
  - pollenName: Saule
    level: 0
  - pollenName: Cyprès
    level: 0
friendly_name: Pollens

And I want to create a sensor with the level for exemple Tilleul
I try this but IIt doesn’t work
value_template: '{{ states.sensor.pollens.attributes["risks"]["pollenName: Tilleul"]["level"] }}'

result :
Error rendering template: UndefinedError: ‘list object’ has no attribute ‘pollenName: Tilleul’

I don’t understand how to with - and :

Thank for your help

Posts: 1

Participants: 1

Read full topic

Fixing Iris 3210-L Plug Miscategorization

$
0
0

@peng1can wrote:

There are a few hints of this in some other threads, but never any actual resolution. When paired through the ZHA automation, Iris SmartPlugs model 3210-L (second gen square ones, combination zigbee plug and z-wave repeater) are sometimes recognized as outlets and sometimes recognized as lights. It’s not random - some units are recognized and lights and others as plugs.

Based on past history with these devices, I’d guess it’s probably a matter of which firmware is on the plugs and either the older or newer firmware is being mis-recognized. All of my plugs are discovered as lights, but I know previous posters have had a mixed bag.

Is there any way I can a) change the device to be a switch manually (will renaming the entity from light.___ to switch.___ work or will it break things), and/or b) provide some diagnostics/logs to anyone to help ZHA discover these properly in the future?

Thanks!

Posts: 1

Participants: 1

Read full topic

Viewing all 96087 articles
Browse latest View live


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