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

Help - how to stop automation for 20 minutes?

$
0
0

I have the following automation. When I approach my home (based on the android companion app as a device trigger) to open my garage door. Although it is working ok sometimes it opens the garage door twice.
It opens the door, I enter, and after 1-2 minutes it reopens it. Probably due to the lack of the companion app to determine exactly my location.
I am thinking to add a boolean to and when the garage door is open to turn on for 20 minutes.
After 20 minutes to turn off (the input boolean) and add a condition to the automation to turn on the garage door only when input boolean is off.

Do you think it will work? Is there a better way to achieve this?

- id: Open Garage Door when close to home
  alias: Open Garage Door when close to home
  trigger:
    platform: zone
    entity_id: device_tracker.sm_g955f
    zone: zone.myhome
    event: enter # or "leave"
  condition:
    condition: state
    entity_id: binary_sensor.openclose_18
    state: 'off'
  action:
    - service: switch.toggle
      data:
        entity_id: switch.sonoff_100082f95b

3 posts - 1 participant

Read full topic


OpenZwave addon: ZME_WCD2

$
0
0

Ok, here we go again…

Included (unsecure because secure wasn’t working) the following device succesfully. A "ZME_WCD2 Double Paddle Wall Controller:
image

It shows button pressen on the OZW control panel via VNC. But no output is seen in home assistant and/or in MQTT (Using MQTT explorer I see nothing happen on any button presses but I do see on the VNC viewer…)

I really hope I am missing something very simple because this is the first of many I am wanting to migrate from Vera.

I have also tried other “Action on Group x” settings (and yes I know how to wake the device etc.)
I can see direct action in the “Event List” upon button presses. But nothing in home assistant… (also not in Node Red via the events:all node and also not in mqtt explorer…

help :confounded:

1 post - 1 participant

Read full topic

Can't add Google Assistant to Home Assistant

$
0
0

Hi, I am trying to get google assistant working, but when arriving to add a device with the google app:
this is the first message that I see
4EE99932-39E1-4495-A86E-BD75090A5AED

and after I get the error “something went wrong”

37400D10-C38F-439C-A11A-D250E6E999DC

someone can help me?
this thing make me mad!

1 post - 1 participant

Read full topic

Envisalink - zone definitions are not being loaded from configuration.yaml

$
0
0

First post, be gentle please.
Had this working in a previous house, older HASS version.
Read all the documentation I can find.
Reviewed pertinent videos and other posts that I could find.
Lovelace shows only arm and disarm buttons for alarm, but no zones.
No zones found in entity list.
Varied the port to ensure connection to envisalink. Not an issue with port, user, or password.
HASS is in communication with envisalink.
Tried zone as “1” and “01”, no difference.
No information, good or bad, in HASS log regarding processing the zone information from the configuration.yaml.
Has to be something small.
Any suggestions?

Home Assistant 0.111.2
Frontend version: 20200603.3 - latest
armv7l
chassis embedded
dev false
docker true
docker_version 19.03.8
hassio true
host_os HassOS 4.10
installation_type Home Assistant
os_name Linux
os_version 4.19.126-v7l
python_version 3.7.7
supervisor 227
timezone America/New_York
version 0.111.2
virtualenv false

envisalink:
host: xx.xx.xx.xx
panel_type: DSC
user_name: xxxx
password: xxxxxxxxx
code: ‘xxxx’
port: 4025
evl_version: 4
keepalive_interval: 60
zonedump_interval: 30
timeout: 60
panic_type: Police
zones:
01:
name: ‘Front Door’
type: ‘opening’
partitions:
01:
name: ‘Home Alarm’

1 post - 1 participant

Read full topic

Hassio HA Database on tmpfs

$
0
0

OK,

I would like to move the HA database to tmpfs to save writes to the SD card, and I’m not worried about loosing the DB on restart, so as an experiment I looked to see if there were any partitions mounted as tmpfs on the hassio install:

esystem                Size      Used Available Use% Mounted on
overlay                  28.6G      8.5G     18.6G  31% /
tmpfs                    64.0M         0     64.0M   0% /dev
tmpfs                   462.0M         0    462.0M   0% /sys/fs/cgroup
shm                      64.0M     12.0K     64.0M   0% /dev/shm
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /share
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /config
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /ssl
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /addons
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /backup
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /data
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /run/audio
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /etc/asound.conf
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /etc/resolv.conf
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /etc/hostname
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /etc/hosts
/dev/mmcblk0p8           28.6G      8.5G     18.6G  31% /etc/pulse/client.conf
tmpfs                   462.0M         0    462.0M   0% /proc/asound
tmpfs                    64.0M         0     64.0M   0% /proc/keys
tmpfs                    64.0M         0     64.0M   0% /proc/latency_stats
tmpfs                    64.0M         0     64.0M   0% /proc/timer_list
tmpfs                    64.0M         0     64.0M   0% /proc/sched_debug
tmpfs                   462.0M         0    462.0M   0% /sys/firmware

and then in the recorder config set:

recorder:
   purge_keep_days: 1
   db_url: sqlite:////dev/home-assistant_v2.db

Quick restart and everything is up and running with the response from the Logbook and History pages on the front end more or less instant, cool…

However, if I cd into /dev there is no home-asssitant_v2.db listed…, so where is the file ?

(Clearly I don’t understand how tmpfs works, all I know is that its supposed to reside in volatile memory…)

1 post - 1 participant

Read full topic

Map values in template

$
0
0

Can this be done somehow ?
I’dd like to convert an analog value from a modbus sensor to a percentage value.

value_template: '{{map(sensor.Sensor1, 28650, 4940, 0, 100)}}'

2 posts - 1 participant

Read full topic

Help mysensors, arduino and home assistant

$
0
0

Guys
I have two arudinos connected to the RPI with home assistant. I am trying to connect another arduino with pressbutton and led through the usb serial with mysensors. It turns out that I have not been successful, I saw the tutorials but I confess not that I am not understanding much. If you can help me with a simple arduino sketch so I click on the button and the led goes up through the mysensors I would be very happy

1 post - 1 participant

Read full topic

Sensor template Icon color

$
0
0

Hi, I find many topics about icon colors, but none of these give me the correct answer. I want to change the icon color of a sensor depending on the status value. The color must be the variable state-icon-active-color: "#5F9BEA" I want this color when state is “Open”

How should I do this?

this is the config of my sensor.

- platform: template
  sensors:
    achterdeur:
      friendly_name: 'Achterdeur'
      value_template: >-
        {% if is_state("binary_sensor.aeon_labs_zw089_recessed_door_sensor_gen5_achterdeur", "on") %}
          Open
        {% else %}
          Dicht
        {% endif %}
      icon_template: >-
        {% if is_state('sensor.achterdeur', 'Open') %}
          mdi:lock-open-variant
        {% else %}
          mdi:lock
        {% endif %}

1 post - 1 participant

Read full topic


Changing scenes not working

$
0
0

I have two scenes for the hallway, and I noticed that changing from one scene isn’t working (don’t know when this started).

- name: Flur dunkel
  entities:
    light.flur_wohnungstur:
      state: on
      brightness: 32
    light.flur_bad:
      state: off
    light.flur_lukas:
      state: off

- name: Flur hell
  entities:
    light.flur:
      state: on
      brightness: 255

When the scene “Flur dunkel” is active and I start the scene “Flur hell”, nothing happens. It only works when I turn off the lights before or manually change the brightness of “light.flur_bad”. Changing the brightness of the other two lights doesn’t help either.

How can I fix this?

2 posts - 1 participant

Read full topic

New to card-mod but not working

$
0
0

Hi all… I am just playing with card-mod for the first time. The install and use seems to be stupid easy… but its not doing anything :slight_smile: I have card-mod.js in my lovelace resources in configuration.yaml like my other resources. Then I added this code to the card:

style: |
   ha-card {
      bachground: red;
   } 

Lovelace is set to YAML mode, so install was manual. Maybe missed something there?
oh… card-mod.js and card-tools.js are both in www root folder and resources reference /local/…

1 post - 1 participant

Read full topic

Mosquitto Broker Add-on errors

$
0
0

Hi,

I changed the HArdwarte, and restore the snapshot, all ok, bit the MQTT, with add-on Mosquitto Broker not work!.

Version of HA is 0.111.2

In the log of Mosquitto broker appear this:

1592161851: Socket error on client , disconnecting.
1592161862: New connection from 192.168.50.109 on port 1883.
[WARN] Not found mqtt on local database
1592161862: Socket error on client , disconnecting.
1592161873: New connection from 192.168.50.109 on port 1883.
1592161873: Socket error on client , disconnecting.
1592161883: New connection from 192.168.5.92 on port 1883.

Config of Mosquito Broker:

logins:
  - username: user
    password: pass
anonymous: false
customize:
  active: false
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

I create a user in the HA.

Any idea whtas happen?

2 posts - 1 participant

Read full topic

ERROR custom_components/hacs/__init__py:128 could not set loggin level to debug, logger is not enabled

$
0
0

I downloaded version 1.1.0 of hacs. I installed the system on docker. I am using the debian distribution that is being emulated with virtualbox and I have this error with hacs.
################################################## ###
ERROR
custom_components / hacs / __ init__py: 128
could not set loggin level to debug, logger is not enabled
################################################## ####
I do not see the option in settings to select the topic I want for Ha. I started searching about this problem and found this page https://www.home-assistant.io/integrations/logger/
I thought that it could suddenly help me, I put the code in configuration.yaml I rebooted the system and it still doesn’t give me the option to show me the topics in settings.

fe telegran

1 post - 1 participant

Read full topic

Default group for new users in LDAP

$
0
0

I have configured LDAP (AD) users via command_line authentication. It is working fine, however newly logged in users are in Administrators (system-admin) group by default.
Is it the only option by design? Or there is a way to assign Users (system-users) group by default?

1 post - 1 participant

Read full topic

Homekit Controller and tado thermostat question

$
0
0

Is it possible to toggle the Home/Away state of the tado using the homekit controller integration? I don’t see the possibility at the moment but perhaps I am missing something.

To overcome the 3 euros per month subscription and add some more of my own logic to it, I would like HA to toggle the home/away modes of tado. I believe the tado integration can do this but then it’s through the cloud and an unofficial API.

Anyone doing something like this?

1 post - 1 participant

Read full topic

Invalid logins when trying to configure new devices

$
0
0

I currently have the following problem with homeassistant 0.111.0 o HassOS 4.10:
I can successfully log into lovelace and under Notifications I get a message “New devices discovered”.
When I want to “Check it out” and then “Configure” said device, I am again prompted for my credentials and am unable to log in. I only get “Username and/or password are incorrect”. My username and password are definitely correct, as I am able to log into the web interface.

I deleted all my refresh tokens and tried this on Firefox as well as Chromium, unsuccessfully.

The logs show he failed login attempts when I try to configure the new device:
2020-06-14 21:43:24 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.230.22
2020-06-14 21:43:51 WARNING (SyncWorker_9) [deletedforprivacy] login failed 0000000000000000

At the same time, an update seems to be available from 0.111.0 to 0.111.2, yet when I click Update nothing happens.
(This is the first time that the Update does not work for me since the last one a couple of days ago and I did not change anything since then.)

Any ideas?

1 post - 1 participant

Read full topic


Entity picture resize

$
0
0

I have an image for the picture card on lovelace, but the size of the picture is always big, i do not know how to resize it.
Also, this picture is possible to be as an icon?

1 post - 1 participant

Read full topic

Default map location and zoom level

$
0
0

Is it possible to define where the map page “homes” too, as well as the zoom level?

I’d like to have my home page locate around my home, but not exactly on it, and a much wider zoom level.

1 post - 1 participant

Read full topic

Markdown card attribute of entity

$
0
0

I’m trying to get the attribute of an entity to become the text in an markdown card.
I can’t use the state since the text is more than 255 characters.

When I use the template tool I get this:

{{states.sensor.lediga_dagar.attributes.test}}
image

But when I use that in a markdown card it does not work.
image

2 posts - 1 participant

Read full topic

Group Entities into a Homekit Tile

$
0
0

I have created a doorbell device with multiple entities. I added this to the Homekit configuration and they all show up separately. I was wondering if there is a way of letting Homekit recognize them as one tile?

Does anyone know if this is possible?

Cheers!

1 post - 1 participant

Read full topic

Value Template with difference from two last values

Viewing all 96092 articles
Browse latest View live


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