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

Trigger automation every 5 minutes while a sensor is open

$
0
0

I have a sensor on my freezer door because my kids have left it open in the past and I am wondering if there is a way to have an automation trigger every 5 minutes (or so) until the door is marked closed.

Basically, I would like to use the ios notify feature to keep pinging my phone until I can get the freezer door closed.

1 post - 1 participant

Read full topic


Change automatically generaged Lovelace card?

$
0
0

I’m using the automatically generated Lovelace view and so far it’s been great but I would like to make some SMALL changes to which card the entity is using for display without switching to a fully self configured lovelace view.

Specifically, I have a senor that is showing in a small circle at the top of the page but the senor is a lot of text (it’s the forecast sensor from Environment Canada). I would prefer to have that displayed in a difference fashion so I can actually read all of the text. Is there a way to configure which card the sensor is using without moving fully away from the automatically generated frontend?

I was looking under the customize section and it seems I can specify “custom_ui_state_card” but I’m not sure how to use it or whether it will do what I want nor would I know what the card would be called…

1 post - 1 participant

Read full topic

HACS Lovelace fold-entity-row (configuration problem)

$
0
0

Hi All

During the setup of:

And I have successfully installed HACS and selected this lovelace
image
But I keep having this error:
image

The Lovelace fold-entity-row is working fine?
And I have manually added it here:

So what is wrong?

1 post - 1 participant

Read full topic

Automation not loading, but it activates the trigger

$
0
0

HI
My 1st automation for testing when the sensor is from off to on , to switch to on one light switch.
but it’s not doing nothing…
i don’t know why…
can someone help me please?

my yaml is
"

  • id: ‘1592327763973’
    alias: Teste WC
    description: Testar PIR
    trigger:
    • entity_id: binary_sensor.pir_hall
      from: ‘off’
      platform: state
      to: ‘on’
      condition: []
      action:
    • data: {}
      entity_id: switch.sonoff_1000bcb030_2
      service: switch.turn_on
      initial_state: true
      "

1 post - 1 participant

Read full topic

How do I add a custom mdi icon?

$
0
0

I’m currently putting my solar heating system on my Lovelace dashboard, and all is going well, except I can’t figure out how to use my own custom icon. So far I’ve used the “entity picture” option in https://github.com/custom-cards/button-card and put my png in the WWW folder, and my custom image does show, but being an image I can’t make its colour change based on state, so I need to make it an icon. And I also don’t want to have to create a different png for all the different colours required, that will get out of hand once I start really customising my dashboard.

Here’s the current png showing my solar tube collector, all boring and black and unable to change colour :pensive:

solar

So over to you guys: how do I add my own icon to Home Assistant?

1 post - 1 participant

Read full topic

What is wrong with entities customization

$
0
0

I wanted to showrten very long names given by Netatmo integration to entities so I wen to customize.yaml and addes several entires like these (here is the example for humidity sensors, but case applies to many more):

    sensor.netatmo_pogodynka_ogrod_humidity:
      friendly_name: Garden Humidity
    sensor.netatmo_pogodynka_parter_humidity:
      friendly_name: Living Room Humidity
    sensor.netatmo_pogodynka_sypialnia_humidity:
      friendly_name: Bedroom Humidity
    sensor.netatmo_pogodynka_tv_room_humidity:
      friendly_name: TV Room Humidity

Customization seems to work, sort of… When I go to Developers Tolools -> State I can see new friendly names assigned:

Now, the tricky part is that not all of these new names are reflected in history graph:

As you can see only the very first one (Garden Humidity) is using a new name, all others are using system assigned, original names. Same case for other entities from Netatmo integration… ~50% of them are using customized friendly names, while the others the original one. How to get tthis fixed?

1 post - 1 participant

Read full topic

Customise color and icon for state_badges, entities, etc. based on state/value

$
0
0

Greetings!

I’m fairly new to Home Assistant, and at this stage I have Googled myself blue and would appreciate some direct help.
Is there a simple way to change icon, icon color, text color, state_badge color etc. based on the state or sensor value using vanilla Lovelace?

This code is working for a picture elements card, but is extremely verbose:

elements:
    elements:
      - entity: input_select.upstairs_temp_mode
        icon: 'mdi:weather-sunny'
        style:
          '--paper-item-icon-color': green
          left: 42%
          top: 77%
          transform: 'scale(2,2)'
        tap_action:
          action: toggle
        type: state-icon
    type: conditional
  - conditions:
      - entity: input_select.upstairs_temp_mode
        state: Night
    elements:
      - entity: input_select.upstairs_temp_mode
        icon: 'mdi:power-sleep'
        style:
          '--paper-item-icon-color': blue
          left: 42%
          top: 77%
          transform: 'scale(2,2)'
        tap_action:
          action: toggle
        type: state-icon
    type: conditional
  - conditions:
      - entity: input_select.upstairs_temp_mode
        state: Away
    elements:
      - entity: input_select.upstairs_temp_mode
        icon: 'mdi:arrow-expand-left'
        style:
          '--paper-item-icon-color': black
          left: 42%
          top: 77%
          transform: 'scale(2,2)'
        tap_action:
          action: toggle
        type: state-icon
    type: conditional
image: /local/house_top_floor.png
type: picture-elements

Background for specially interested:
I have spent too many hours now trying to get this to work without any add-ons. Surely, color and icon customisation must be part of the base package? After X hours I caved and installed Custom-UI only to find out an hour later that it is no longer maintained. https://github.com/andrey-git/home-assistant-custom-ui/issues/184

Help is greatly appreciated.

I have seen a lot of similar issues, but some of them are outdated and some recommend using deprecated add-ons. Seems like Custom-UI could have fulfilled my needs if supported.


I have numerous links, but limited as a new user.

2 posts - 2 participants

Read full topic

Component `intent:` is needed (but undocumented in home-assistant docs) with Rhasspy

$
0
0

I was learning and trying to set up a Rhasspy architecture with Home Assistant as the intent backend. I ended up looking into the documentation on intent_script and added the intent_script in my configuration.yaml.

However, after a while, I realized that Rhasspy documentation told me to add an intent: in order to… activate the intent component (?) along the intent_script (?).

I can confirm that my setup (Hass.IO 0.111.3 with Rhasspy 2.5) only works when I explicitly add that intent: line in the configuration.yaml. However, I was looking into the home-assistant documentation and I could not find that option anywhere.

Have I missed something? Or is that indeed an… undocumented integration? Deprecated? Lost on an update? Given that Rhasspy has it correctly documented, it’s no big problem. But I was double-checking everything (because, in the end, I had a bug elsewhere) and realized that inconsistency.

1 post - 1 participant

Read full topic


Carrier Air Conditioner Wifi Controller

$
0
0

Hi,

I just bought a wifi controller for my Carrier Air Conditioner systems in my house. The air conditioners work fine with google home, but I wanted to know if there is maybe a configuration on how to integrate the air conditioner into Home Assistant. My end goal is to have all our air conditioners in our house on the Homekit app through Home Assistant.

If anyone can help me it will be really appreciated.

1 post - 1 participant

Read full topic

How to force sequance instead of parallel when multiple items ats triggered

$
0
0

Hi

there where some changes latetely on the google assistant component, so when you say like, turn all lights, all lights are fired in parallel, and not in sequence anymore like before
i have a TCP controller, so all my lights are turning on/off with TCP commands, and it doesnt like multiple sockets coming in
so i am looking for an alternative, maybe i can add some delay or something when multiple items are fired?


this is an example of my template light, basicly it just sends a shell command with some attriubutes, every light has an unique module/id
- platform: template
  lights:
    light1:
      friendly_name: "Light 1"
      turn_on:
        - service: shell_command.dobiss
          data_template:
            module: 41
            id: 04
            power: 01
      turn_off:
        - service: shell_command.dobiss
          data_template:
            module: 41
            id: 04
            power: 00

1 post - 1 participant

Read full topic

Integrate multiple spotify accounts

$
0
0

Hello; I need to integrate more than one spotify account. Does anyone know how I have to do?
With one account it works fine but when I want to integrate the second one it gives me the following INVALID_CLIENT error: Invalid client

1 post - 1 participant

Read full topic

AEON Labs ZW088 Key Fob Gen5

$
0
0

HI, I’m fairly new to home assistant. I’m on version 0.109.6 on raspberry. So far I’ve been able to achieve all the home automation that I needed (lights, switches, alarm system, gate control etc) with different integrations (MQTT, ESPhome etc) and devices. I’m now struggling to get zwave to work. I think I correctly added the AEON Labs ZW090 Z-Stick Gen5 EU (Node:1 Complete) controller.
I purchased as a first zwave device a 4 buttons key-fob that I believe I properly added as a node: AEON Labs ZW088 Key Fob Gen5 (Node:3 Complete). I was expecting to see 4 entities showing, but I now understand that zwave doesn’t work the same way as other devices. Can somebody point me to the right direction in understanding how use the zwave key-fob with the automation? Sorry for the broad question, but I didn’t know how to address this more specifically.

1 post - 1 participant

Read full topic

Sync Alexa Command With Custom Harmony Card

$
0
0

A while back I set up the custom harmony card and it works great for the most part. We use the Fire TV Recast and find it easier to say “Alexa Watch channel 8” or using the Fire TV remote to turn the TV on. Is there a way for the states on my Lovelace card to sync with my harmony card? I’d like to make a channel change via lovelace after it is turned on with voice or the alexa remote.

1 post - 1 participant

Read full topic

How to use "unavailable" as a trigger/status

$
0
0

So I thought I had stumbled onto an easy tv status fix using a chromecast device, but can’t seem to figure it out.

For my main TV I found the specific IR code to turn OFF the tv only. So when I run my “good bye” routine, if the tv is off it stays off, if it is on, it turns off. Exactly what I want.

I use a 2nd smaller TV, call it my monitor. That is where I have my cam live feeds and sometime stream to it via a chromecast. There is no dedicated OFF IR code, so same code turns tv on and tv off. But home assistant only knows the correct state if I use HA to turn on and off the tv.

I didn’t plan to integrate chromecast onto HA, but it found it itself, and with one or two clicks it integrated. I noticed when tv is off, chromecast is unavailable (it pulls the 5v from the USB from the TV). When TV is on, chromecast has a status of on or off.

When trying to set up automation, I am able to pull it up as a device and use the “status” to trigger an event, but the only status I have access to are on or off.

I am trying to set up an automation or script, that when the chromecast is “unavailable”, it would set the monitor status to “off” (chromecast is only available when monitor is on), and well when chromecast is available, for the monitor status to be “on”, even though the chromecast itself might be “off”, but “available/connected”

Is it possible? Pretty sure it logs the time the chromecast is “unavailable”, so there should be a way to access that to trigger an event no?

2 posts - 2 participants

Read full topic

Hass -> Hassio: MySensors no longer works

$
0
0

I’m running Ubuntu 18.04.

I was running the docker version of Home Assistant prior to this, and had to manually share my devices. Mainly TTYACM0 for MySensors to monitor my home security sensors.

I recently switched to “Hassio” which I guess now is just “Supervised Docker Hass”.

Here’s the thing. According to the supervisor panel, it says that I can see TTYACM0. But now MySensors is not working and is throwing a bunch of errors:

“Gateway /dev/ttyACM0 not ready after 15.0 secs so continuing with setup”
“Node 0 is unknown”
“Node 0 is unknown, will not add child 11”

I have the arduino present() itself every 300 seconds so it doesn’t seem to be a matter of improper initialization.

Does the device lack the appropriate permissions? I noticed some of them were missing on that particular device.

1 post - 1 participant

Read full topic


Lovelace cars for showing room temp, humidity with option for switches to control lights?

$
0
0

I’m looking for a good Lovelace care for show room information from a multi sensor: temp, motion, humidity as well as option to add button/switches to control lights or smart switches in that room (eg a room heater in my kid’s room is connected to a wemo Switch).

I know I can create separate cards for this but it’s super inefficient space wise especially on mobile. Logically all that info should be on a single card.

Any suggestions?

1 post - 1 participant

Read full topic

Yeelight bedside lamp not showing up after upgrade to 0.111

$
0
0

I have a Mijia Bedside Lamp 2 which is addressed with the Yeelight component. This worked fine until up to 0.110 with the following snippet

yeelight:
  devices:
    192.168.12.26:
      name: Bedside Lamp

After the upgrade this device is not available anymore in Home Assistant. The log file has no errors, so this is hard to debug. I did not made a single change at the lamp itself, LAN control mode is still enabled and so on.

What can i do?

1 post - 1 participant

Read full topic

HA integration with Google Assistant

$
0
0

Hi!

Sorry for noob question. I am using Nabu Casa account and trying to integrate these things together for handling some things with voice (with phone). Now I am seeing my devices and entities at google assistant but for example if I am trying to say “turn off kitchen light” -> it only shows me google search results - not doing correct action…

What am I missing?

Haven’t done any manual configuration (like instructions at https://www.nabucasa.com/config/google_assistant/ says because I have Nabu Casa account).

1 post - 1 participant

Read full topic

Lovelace - Read Only Tab

$
0
0

I have been tinkering for a while, but I can’t seem to find if it’s possible or not. I have a certain tab in my lovelace UI, where I can for example turn my automations on and off. I would like other users to see this tab, but not edit it. Is this possible with “stock” Home Assistant, or are there any integrations for this?

Thanks in advance!

3 posts - 2 participants

Read full topic

Terarium - Picture Elements

$
0
0

Hello.

first I apologize for the bad English.
I’m a beginner with Hass and please help.
It will be a toy for you.
I have several pictures of the terrarium and I would like them to be displayed according to the condition of the sensor. I can’t write it according to the instructions.
Figure 1 - When daylight is on and night light is off and heating is off ((switch.denni_light - on) and (switch.night_light - off) and (switch.topeni - off))
Figure 2 - When daylight is on and night light is off and heating is on ((switch.denni_light - on) and (switch.night_light - off) and (switch.topeni - on))
Figure 3 - When daylight is on and night light is off and heating is off and Tropical Rain is on ((switch.denni_light - on) and (switch.night_light - off) and (switch.topeni -off) and (switch.destovani - on) ) a (switch.th_meter - on) a (switch.thlevel - off))
Figure 4 - When daylight is on and night light is off and heating is on and Tropical Rain is on ((switch.denni_light - on) and (switch.night_light - off) and (switch.topeni - on) and (switch.destovani - on) ) a (switch.th_meter - on) a (switch.thlevel - off))
Figure 5 - When daylight off and night light on and heating off ((switch.denni_light - off) and (switch.night_light - on) and (switch.topeni - off))
Figure 6 - When daylight off and night light on and heating on ((switch.denni_light - off) and (switch.night_light - on) and (switch.topeni - on))

I’ve been trying with the Picture Elements Card for several hours now and I’m not succeeding.

Thank you for your help.

2 posts - 2 participants

Read full topic

Viewing all 108462 articles
Browse latest View live


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