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

Z Wave lock shows wrong status

$
0
0

@rumrunner12 wrote:

I am having a heck of a time getting my kwikset 910 smart lock (zwave) to show the correct lock/unlock status. The wink app says the door is locked and it physically is, but HA says it isn’t. My template config is listed below. What am I missing. Also the entity id is lock.front_door it doesn’t say binary or sensor like most do. does this look correct? Is there a way to configure this through UI Customizations.

  - platform: template
    sensors:
    lock_invert:
    value_template: >-
          {{ is_state('lock.front_door', 'unlocked') }}
          friendly_name: front door
          device_class: lock

Posts: 2

Participants: 1

Read full topic


Ilumin (Inovelli) LZW42 RGB Bulb

$
0
0

@Civrock wrote:

Does anyone happen to have a configuration xml for the Ilumin LZW42 RGB Bulb by Inovelli or perhaps a generic profile for an RGB bulb?

I went through the process of copying the config files for their LZW31 dimmer switch which worked great but it seems that they have completely moved past creating config files for open z-wave 1.4…

I was considering creating my own based off their smartthings config file but the RGB bulbs are a little more complex than the dimmers and I don’t have the time to try and hamfist it as this is not an area I am super experienced with.

Posts: 7

Participants: 2

Read full topic

Home Assistant Cloud (Nabu Casa) - Does it only allow one connection at a time?

$
0
0

@AustinTurner wrote:

So that everyone in the family can use Home Assistant when away from home (Arm/Disarm Alarm, turn off lights we left on, view cameras, etc), I set up an additional Home Assistant App using Nabu Casa’s Remote Access URL on everyone’s phone.

A few days after setting it up, we all went out to eat. We all decided to look at our phone’s to check on the dogs, and just try out using Home Assistant away from home. Once one person was logged in, everyone else would just be stuck infinitely loading. Once the first person closed the app and gave it a minute, someone else would be able to log in, but then everyone else was stuck infinitely loading. Once we got home, I did some more testing. Even just being logged in on the computer using the Nabu Casa URL denied access from me trying to view it on my phone, and vice versa. (The local client works fine, 192.168.x.xxx).

So I have confirmed that only one device is allowed access at a time. Is this intended behavior? If so, is there anything I’m able to do to change it and allow more than one person on at a time? It’ll be a rare chance that more than one person in the family is trying to view it remotely at a time. But for when that rare chance happens, it would be nice for everyone to have access if it is possible.

Any input and thoughts on the matter would be appreciated. Thanks in advanced.

Posts: 7

Participants: 4

Read full topic

Timer entity name in automation

$
0
0

@Unthred wrote:

Hi guys all I need to complete my heating boost automations is the name of the timer that has just finished. So 2 questions if I may.

  1. how do I get the name of it (automation to follow)
  2. are the properties of these objects documented anywhere so I dont have to keep asking?

the string I am trying to create is input_boolean.boost_[room name]_heating and the room name will come from the time just finished.

Thanks loads

- id: 'Heating: Turn Off When Boost Timer is Finished'
  alias: 'Heating: Turn Off When Boost Timer is Finished'
  description: ''
  trigger:
  - event_data:
      entity_id: timer.vestibule_boost_timer
    event_type: timer.finished
    platform: event
  - event_data:
      entity_id: timer.livingroom_boost_timer
    event_type: timer.finished
    platform: event
  - event_data:
      entity_id: timer.office_boost_timer
    event_type: timer.finished
    platform: event
  - event_data:
      entity_id: timer.kitchen_boost_timer
    event_type: timer.finished
    platform: event
  - event_data:
      entity_id: timer.bathroom_boost_timer
    event_type: timer.finished
    platform: event
  - event_data:
      entity_id: timer.katrin_boost_timer
    event_type: timer.finished
    platform: event
  - event_data:
      entity_id: timer.bedroom_boost_timer
    event_type: timer.finished
    platform: event
  condition: []
  action:
  - data_template:
      entity_id: input_boolean.boost_{{trigger.name.split('_')[0].split('.')[1]}}_heating
    service: input_boolean.turn_off

Posts: 3

Participants: 2

Read full topic

Mini-graph-card isn't displaying nothing

$
0
0

@bend10 wrote:

Hi,

Noob here.

i have installed the “mini-graph-card” using all the optional methods (HACS, from CLI, Manual, etc…)
i have added the module to the “lovelace-ui” and i don’t get “red error messages” about it.

no matter what i do i don’t see any graph. i have tried to add manually several options from the Github Documentation but useless. nothing is displayed.

i get the following message on the “Show Code Editor”:

“No visual editor available for: custom:mini-graph-card”.

any ideas what i am missing?

i have followed these resources:


thanks

Posts: 5

Participants: 3

Read full topic

Changing colour for light group

$
0
0

@cuwie wrote:

Hi all,

currently I’m fumbling around with stack cards in lovelace and had quite some success (for my needs) up to now, I’m running Hass on a Pi with an HA version 0.104.2.

The first row shows the 3 separate light units in my living room whereas the first of them is actually a group of three tradfri lights. The other two are single tradfri lights. When I click on one of singles the colour of the icon changes to resemble the on-state. The icon for the group on the first button does not change when clicked (the light itself turns on or off).
How can I add the colour change for this first icon? Do I have to change the code in the stack card? Or do I need to customise something there? Please see the code for the stack card:

type: vertical-stack
cards:
  - cards:
      - entity: group.wohnzimmercl
        name: Couch Licht
        type: entity-button
        icon: 'mdi:floor-lamp'
      - entity: light.stern
        type: entity-button
        icon: 'mdi:star'
      - entity: light.couch_lesen
        type: entity-button
        icon: 'mdi:desk-lamp'
    type: horizontal-stack
  - cards:
      - entity: light.leselampe_bett
        name: Julia Lesen
        type: entity-button
        icon: 'mdi:desk-lamp'
      - entity: switch.wlan_steckdose01
        name: Julia LED
        type: entity-button
        icon: 'mdi:led-strip-variant'
    type: horizontal-stack

Thanks for any hint!

Carsten

Posts: 3

Participants: 3

Read full topic

Xiaomi Gateway files PSM

$
0
0

@hmargera wrote:

I am facing the lack of psm-set and psm-get commands on the Xiaomi gateway (DGNWG05LM FW: 3.4.6_132)
This prevents me to open port 9998 as explained here
Could anybody send me the psm-set and psm-get command files and any related files if any?
This would let me try to go further.
You could send them to psm-files@yopmail.com.

Thanks in advance.

Posts: 1

Participants: 1

Read full topic

Changing logger level based on input_boolean?

$
0
0

@Vinz87 wrote:

I was thinking about the possibility to switch the logger level from info to debug for a certain component based on an input_boolean in the front-end.
Basically I would need to dynamically change the line in configuration.yaml from custom_component: info to custom_component: debug. Is it possible?

Posts: 2

Participants: 2

Read full topic


Rest API and Service Call

$
0
0

@puzuwe wrote:

Example configuration.yaml entry

rest_command:
my_request:
url: https://ifmcaretest.co.uk/php-api-v2/api/3-users.php/
method: POST
payload: ‘{“req”: “{{ status }}”,“sensor_name”: “{{ emoji }}”}’

and in the service
{
“status”:“createSensor”,
“emoji”:“test3”
}

But when I call the api there is no insert into the external database as required. Please what could be wrong with this. This is my first rest call.

Posts: 2

Participants: 2

Read full topic

Configuration error when using Elelabs Zigbee Raspberry Pi Shield in a docker container

$
0
0

@jtnn60 wrote:

I decided it was time for a spring clean, so out with the SmartThings hub and in with a ZigBee controller from Elelabs. I also decided to perform a fresh install on my Raspberry Pi 4 Model B.

I installed Hass.IO using the install notes from here: https://github.com/home-assistant/hassio-installer.

However, no matter what I have tried, I cannot get the new Hass.IO instance to communicate with the Elelabs Zigbee controller. Reading the install instructions on https://elelabs.com/products/elelabs-zigbee-shield.html
and in particular the instructions in their PDF:
https://elelabs.com/wp-content/uploads/2019/12/ELR022_UG_21_HomeAssistant.pdf
I see I need to allow the docker container to connect to the /dev/ttyAMA0 device.

I tried stopping the Home Assistant container with

docker stop xxxxx

only to find that the container was running again a few seconds later. This had me baffled. Some posts on this community implied that it was due to the docker --restart flag.

Looking at the Home Assistant install script, https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh I can see that the Home Assistant Supervisor process is installed as a service. So I guessed that this is what keeps restarting the Home Assistant container.

I fixed this using the command:

systemctl stop hassio-supervisor.service

The following web page mentions how to expose devices to

So I took a snapshot of my container using:

docker commit homeassistant home-assistant-all-but-zigbee

I then renamed the original container so I could replace it and the supervisor service would work with it correctly:

docker container rename homeassistant homeassistant_old	

I then ran up my new instance of Hass.IO using:

docker run --init -d --name="homeassistant" -v /config:/config \
    -e "TZ=Europe/London" \
	--device /dev/ttyAMA0:/dev/ttyAMA0 \
	--privileged \
	--net=host home-assistant-all-but-zigbee

However, the problem persists. Note that the user running the docker container is pi (as far as I know) and pi is a member of dialout group. Permissions on that device as follows.

crw-rw---- 1 root dialout 204, 64 Jan 20 23:46 /dev/ttyAMA0

Note that Hass.IO shows the serial device /dev/ttyAMA0 in the hardware list.

This is the log from Home Assistant:

2020-01-20 23:46:16 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2020-01-20 23:46:16 DEBUG (bellows.thread_0) [bellows.uart] Resetting ASH
2020-01-20 23:46:16 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'1ac038bc7e'
2020-01-20 23:46:21 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry /dev/ttyAMA0 for zha
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 215, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 103, in async_setup_entry
    await zha_gateway.async_initialize()
  File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 124, in async_initialize
    await self.application_controller.startup(auto_form=True)
  File "/usr/local/lib/python3.7/site-packages/bellows/zigbee/application.py", line 135, in startup
    await self.initialize()
  File "/usr/local/lib/python3.7/site-packages/bellows/zigbee/application.py", line 72, in initialize
    await e.reset()
  File "/usr/local/lib/python3.7/site-packages/bellows/ezsp.py", line 57, in reset
    await self._gw.reset()
  File "/usr/local/lib/python3.7/site-packages/bellows/uart.py", line 222, in reset
    return await asyncio.wait_for(self._reset_future, timeout=RESET_TIMEOUT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
2020-01-20 23:47:57 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2892257104] Received invalid command: zha/devices
2020-01-20 23:48:13 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2892257104] Received invalid command: zha/devices/permit

Posts: 1

Participants: 1

Read full topic

Hassbian is there an easier way to configure

$
0
0

@oldsap wrote:

i have Hassbian installed on my linux laptop. no docker. is there an easier way to configure my yaml file than using the terminal and typing configuration.yaml in the command line everytime? Thank you.

Posts: 3

Participants: 2

Read full topic

- SOLVED - Restart not working since updating to latest build - Home Assistant 0.104.2

$
0
0

@davidro wrote:

Hi all. Since updating to the latest build, when I click on Restart in Server Controls, nothing happens. There is no way to restart HA from the web interface. Is anybody else encountering the same issue?
Thanks

Posts: 3

Participants: 2

Read full topic

Why Home Assistant with Spy Services?

$
0
0

@jjudson wrote:

I keep seeing different integrations for things like Google Assistant, Alexa, and others, and it’s got me wondering. Doesn’t use of these systems kind of defeat the purpose of an open source privately designed platform? Why not just use their ecosystem? I don’t ask this to be provocative. I decided to look at Home Assistant and/or OpenHAB because I didn’t want Google, Amazon, or Apple spying on my life (it’s a pretty boring life, but it’s one I’d like to keep private).

Why are people integrating these systems into their Home Assistant design? Is there a way to use the positives of these systems (voice control being the only one I can think of) without compromising the privacy of a purpose-built system?

Just wonderin’ out loud.

Posts: 3

Participants: 3

Read full topic

How do i fix input_boolean issue created by 104

$
0
0

@ianadd wrote:

I upgraded to 104 and deconz connected light switches and input booleans weren’t happy so I reverted to 103.6. Deconz is back working after a couple of kicks.

I still have the input _boolean issues.
I have two of them. They show up in lovelace entity lists as suffixed by _2.
They are not there with their proper names.
If I go Configuration | Entities I can only see the two original entities not the _2 suffixed ones.
Show disabled entities makes no difference.
The most left hand column in the entity list screen (Name) shows them as ‘Unavailable’

Where do I start to clear the mess ?

Thanks in hope !

Posts: 4

Participants: 2

Read full topic

Where Is Current Configuration Stored while Home Assistant is Running?

$
0
0

@databoy2k wrote:

Hey All:

So, I managed to delete all of my .yaml files in my config directory (symlink and a bad delete command). My HA is still running, and in fact all of my automations and such are still working, but my yaml files are gone. I’m sure that on reboot everything is going to puke out.

Where are these things stored while HA is running? Is there any way for me to get the current state of what has been loaded? Even if I have to reconfigure it into new yaml files myself, that is vastly superior to losing everything!

Please help!!!

Posts: 2

Participants: 2

Read full topic


Markdown Card For Loop

$
0
0

@venture wrote:

I’m having a problem getting the length of a loop to show one time. I’m guessing it’s a syntax issue. Here’s my code:

{% for l in config.entities %}
  {% if ("state.l.entity", 'on') %} 
    Lights on: {{ loop.length }}
  {% endif %}
{% endfor %}

{% for l in config.entities if ("state.l.entity", 'on') %}
  {{ l.name }}
{%- endfor %}

38 PM

Why is the length repeating? Sorry, first time Python, and new to Home Assistant. I read the Jinja and Markdown Card docs and still can’t seem to figure it out. Thanks to anyone who can point me in the right direction.

Posts: 1

Participants: 1

Read full topic

Sensor vs Binary Sensor, Missing Binary Sensor

$
0
0

@Kfox wrote:

I can get the binary sensors to work, but when there is no binary sensor ID and ONLY sensor ID’s my code is not working.
This works.

- alias: Hall Way Light    
  trigger: 
    - platform: state
      entity_id: binary_sensor.aeotec_zwa005_trisensor_sensor_2
      to: 'on'
  action:
   - service: switch.turn_on
     entity_id: switch.ge_unknown_type_4952_id_3130_switch
     
     # OFF
- alias: Turn Hall Way #OFF 1 minutes after last movement
  trigger:
   - platform: state
     entity_id: binary_sensor.aeotec_zwa005_trisensor_sensor_2
     to: 'off'
     for:
      minutes: 1
      
  action:
    service: switch.turn_off
    entity_id: switch.ge_14288_duplex_receptacle_switch, switch.ge_14288_duplex_receptacle_switch_2, 
     switch.ge_unknown_type_4952_id_3130_switch

This does not work

- alias: Bathroom Fan
  trigger:
    - platform: state
      entity_id: sensor.ge_26931_smart_motion_switch_burglar_5 #<- This should be your motion sensor
      to: 'on'
  action:
   - service: switch.turn_on  #or light.turn_off
     entity_id: switch.ge_26931_smart_motion_switch_switch_5
        
                 #OFF
- alias: Bathroom Fan
  trigger:
    - platform: state
      entity_id: sensor.ge_26931_smart_motion_switch_burglar_5 #<- This should be your motion sensor
      to: 'off'
      for:
        minutes: 5
  action:
   - service: switch.turn_off  #or light.turn_off
     entity_id: switch.ge_26931_smart_motion_switch_switch_5 # or light.your_light # <- this should be your light entity_id

Posts: 3

Participants: 3

Read full topic

Hassio, proxmox and reverse proxy (caddy)

$
0
0

@Jdruwe wrote:

Hey home assistant users!

I was wondering if I could get any help setting up a reverse proxy in my setup:

I currently have an Intel NUC connected to the internet using the ISP provided modem/router combo, the device has a dynamic IP address. I installed Proxmox onto my NUC and have only 1 virtual machine running on it: hassio. At the moment I port forwarded the Proxmox port (8006) on my router
so I can access it from outside my local network. I don’t want to expose these ports to the outside world so I am looking into Caddy but I do have some questions:

  • Where should I install the caddy reverse proxy
    - As a seperate vm?
    - As an addon within home assistant, will I be able to use this reverse proxy to access other VM’s? running on Proxmox
  • Are there any resource that I could follow? What is the recommended setup?

Any help to get me going would be greatly appreciated!

Posts: 3

Participants: 3

Read full topic

TTS on returning home

$
0
0

@colfin22 wrote:

How do I get this working? I wish to have TTS but only if I’ve been away for 3 hours or more. The automation executes fine when i call it, it just does not trigger

automation:
  - alias: "Colms Home"
    trigger:
      - platform: state
        entity_id: device_tracker.colmoneplus5_localdomain
        from: 'not_home'
        to: 'home'
    condition:
      - condition: state
        entity_id: device_tracker.colmoneplus5_localdomain
        state: 'not_home'
        for:
          minutes: 180
    action:
        service: tts.google_say
        entity_id: 
         - media_player.sitting_room_display
         - media_player.kitchen_speaker
        data_template:
          message: "Yay, welcome home colm, the house is {{states('sensor.hallway_sensor_temperature')}} degrees. You have taken {{states('sensor.google_fit_steps')}} steps today covering {{states('sensor.google_fit_distance')}} kilometers and burning {{states('sensor.google_fit_calories')}} calories"

Posts: 2

Participants: 2

Read full topic

Wemo dead after upgrading to .103.6: "Component error: wemo - No module named 'netdisco'"

$
0
0

@elduderino1 wrote:

I just upgraded to 0.103.6, and wemo seems to be causing problems. Here’s what I see in the main home assistant log file:
Component error: wemo - No module named 'netdisco'

My wemo config section is pretty simple:
wemo:

I’m not sure how to troubleshoot this - it looks like discovery is turned on by default, so why would it say that the module doesn’t exist?

What am I missing here?

Thanks in advance!

Posts: 1

Participants: 1

Read full topic

Viewing all 106062 articles
Browse latest View live


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