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

Hide person on Map when at a specific location

$
0
0

@xion2000 wrote:

My daughter is living away at Uni and so we have 2 locations as home (home (home) & home (Uni)). I would like to be able to stop maps displaying my daughters icon when she is at her Uni home like it does for the rest of the family when we are at home (home). Is this possible?

Posts: 1

Participants: 1

Read full topic


Dim a group of lights simultaneously

$
0
0

@bartplessers wrote:

Hello,

Just wondering: I have created some automations for my IKEA bulbs. I.e. Please help: automation for IKEA TRADFRI remote control (E1524/E1810)

I’m wondering: is it possible to

  • group a set of bulbs
  • send a command to the group
  • all the members of the group react simultaneously

thus something like

action:
      data_template:
        entity_id: light.MYGROUP
        brightness: "{{ [state_attr('light.MYGROUP', 'brightness') - 50, 1] | max }}"
      service: light.turn_on

can this be done?

thanx in advance!

kind regards,
Bart

Posts: 5

Participants: 5

Read full topic

Track map history

$
0
0

@moshe19803 wrote:

hi,
i would like to use a plugin TrackMap for Grafana that can show location history on a map.
i added the TrackMap plugin and i dont know how to select the right table.

in the plugin page it say:
The plugin requires latitude and longitude measurements provided as floats in two separate fields.

The following setup has been tested using InfluxDB as a data source in the case where latitude and longitude are stored in the location table. You will have customize the query for your setup accordingly.

SELECT median("latitude"), median("longitude") FROM "location" WHERE $timeFilter GROUP BY time($interval)

It’s also possible to use MySQL/MariaDB as a data source by using 2 queries along the lines of:

A: SELECT "latitude" as value, $__time(timestamp) FROM "location" WHERE $__timeFilter(timestamp) ORDER BY timestamp ASC
B: SELECT "longitude" as value, $__time(timestamp) FROM "location" WHERE $__timeFilter(timestamp) ORDER BY timestamp ASC

i have entinty from life360 that have the info for latitide and longitude but i cant find it in the grafana quary.

ani idea?

Posts: 2

Participants: 1

Read full topic

UniFi Integration - empty entity

$
0
0

@klogg wrote:

So, I have an entity in my Unifi Integration and I have no idea what it is. Anyone care to guess or help tell me what to do with it?

image

Posts: 2

Participants: 2

Read full topic

Use basic variables

$
0
0

@darato wrote:

Hello, is it possible to use basic YAML vars like in Ansible:

tel_free: "4567"
tel_damien: "1234"

and use it like :

  - name: signaldebug
    platform: signalmessenger
    sender_nr: "{{ tel_free }}"
    recp_nr:
      - "{{ tel_damien }}"
    signal_cli_rest_api: http://10.0.10.203:8080


And also, is it possible to append custom attribute to a entity.

I am now defined as :

- name: Damien
  id: 67653228e7694e86a5cfd6d90c46e31f
  device_trackers:
    - device_tracker.damien_galaxys9_wifi
    - device_tracker.damien_galaxys9_gps

Is it possible to do something like

- name: Damien
  phone: "1234"
  id: 67653228e7694e86a5cfd6d90c46e31f
  device_trackers:
    - device_tracker.damien_galaxys9_wifi
    - device_tracker.damien_galaxys9_gps

And use it with:

  - name: signaldebug
    platform: signalmessenger
    sender_nr: "{{ tel_free }}"
    recp_nr:
      - person.damien.phone
    signal_cli_rest_api: http://10.0.10.203:8080

Thanks a lot,
Damien

Posts: 2

Participants: 2

Read full topic

Problem adding custom repositeries

Put info from a API (Citymapper)

$
0
0

@bonilla wrote:

Hello,

I try to put an information of my travel time from France (public transport)
I found Citymapper, which can give some information in the website : https://citymapper.com/paris

I would like to catch the traffic information, and my travel time from point A to B.

For the second point, I found an API but I can’t succeed to put it on a template

  - platform: rest
    resource: https://developer.citymapper.com/api/1/traveltime/?startcoord=4x.xxxx+2.xx&endcoord=4x.xxxx+2.xxxx&time=2014-11-06T19%3A00%3A02-0500&time_type=arrival&key=xxxxxxxxxx494b
    name: Paris_travel
    value_template: '{{ value_json.travel_time_minutes }}'

For the first point, I don’t know where to catch it (could be RATP traffic, Transilien traffic…)
Any idea?
Thanks in advance

Posts: 1

Participants: 1

Read full topic

Database moved to external MySQL, log doesn't really work?

$
0
0

@fribse wrote:

HW: Raspberry Pi4 4 GB

When I go to ‘log’ in lovelace, it takes forever. My need is to maybe get a log of an automation or a device, and when I go to log, it takes quite a while before it shows “No logbook entries found”.
As I have always had my ‘recorder’ setting pointing to a NAS, I’m not sure if that is why it doesn’t show anything? The history is working, which I guess would indicate it as working?

My second question, does the hassio use log2ram? With 4 GB ram on the pi4, I think it should be doable, and it should speed up things.

Posts: 4

Participants: 2

Read full topic


Radiator on and door/window open - help with multiple rooms

$
0
0

@Jamie_Pryer wrote:

Hey all,
need some help, not sure if this is possible or not.
i have 10 rooms, each room has rads and doors/windows that can be opened.
i want to warn if any rad is on in a room and that rooms door/window is open - so we are not wasting energy!

ive worked this out per room, below.
however is there a better way to do this, without copying this code 10x times?

- alias: Rad On Something Open Alert - Jamie Office
  id: jamie_office_rad_door_alert
  trigger:
  - platform: state
    entity_id:
    - binary_sensor.jamie_office_door_sensor_contact
    to: 'on'
    for:
      minutes: 1
  - platform: state
    entity_id: 
    - sensor.radiator_status_jamie_office
    to: 'heating'
  condition:
  - condition: state
    entity_id: binary_sensor.jamie_office_door_sensor_contact
    state: 'on'
  - condition: state
    entity_id: sensor.radiator_status_jamie_office
    state: 'heating'
  action:
  - service: persistent_notification.create
    data_template:
      message: "Jamie Office Door is open and the Rad is on!"
      title: Jamie Office Door open - Rad on!
  - service: notify.notify
    data_template:
      message: "Jamie Office Door is open and the Rad is on!"
      title: Jamie Office Door open - Rad on!
  - service: notify.alexa_media
    data_template:
      message: "Jamie Office Door is open and the Rad is on!"
      data:
        type: announce
        method: all
      target: media_player.jamie_s_echo_spot

Posts: 1

Participants: 1

Read full topic

Add "User" to proximity

$
0
0

@jriker1 wrote:

Just started a couple days ago with Home Assistant. I have a default user John in the system. He always shows as UNK at the top of the page. I’ve also started playing with proximity. Is there any way to tie a device like an iPhone’s proximity to an existing user in the system?

Thanks.

JR

Posts: 3

Participants: 3

Read full topic

Google calendar get more than one event

$
0
0

@SteffenDE wrote:

Hi,

I try to get info of a thrash calendar on google. I have configer and see the next event on the entity. But on some days ther are two events on the same day and time. How I get both events?

I try to config the sam calendar with different names and different search terms on the google_calendars.yaml but then I only saw the last one.

Thank you, Steffen

Posts: 3

Participants: 2

Read full topic

A fresh start - choices

$
0
0

@j1234 wrote:

I’ve been playing with HA (docker) now for a few months. I have Google assistant set up, i have my MQTT server working, node-red docker etc.
I have some WLED devices, some Tasmota-flashed switches / power monitors, and I’ll be ordering some shelly dimmers if the reviews are good once the usual youtubers receive them.

So there seems to be many ways to achieve the same outcome with HA and with devices etc. and i’m not sure what paths to take.
I’m ready now to start getting serious with HA, which will mean removing all the ‘test’ devices etc that i’ve configured whilst I learnt the basics.

So far, i’ve used tasmota HA auto-detection (SetOption19 1). What’s your view on this? Should I use it for all devices or manually add each device in the *.yaml file? I can see benefit to doing it manually in yaml, but looking for advice. Some devices need *.yaml configurartion as they don’t support auto-detection. I’ve got a bunch or prevously auto-deleted devices that I now need to delete as they are no longer named what they were detected as etc.

Also, in Tasmota, do you usually set your topics to the device name, or the mac address? What’s the best choice?

And the frontend - since the whole UI isn’t drag/drop/click-click done and everything can’t be done without yaml, are you using *.yaml config files to configure the GUI, or are you using the GUI editor as much as possible and then manually editing the “raw config editor” to tidy up?

What is the recommended course to take for this stuff? As there’s 2 ways (GUI and *.YAML) i’m just not sure which path to take, and don’t want to redo everything in a year or two.

Posts: 9

Participants: 4

Read full topic

Help with temperature sensor and automation

$
0
0

@Makis wrote:

Hi
I have installed a new thermostat and integrate it to HA and I need some help with the following
the configuration.yaml is

#Thermostat
  - platform: floureon
    host: 192.168.1.XXX
    mac: '24:DF:A7:13:XX:XX'
    name: Beok_Thermostat 
    use_external_temp: false

the entity is

climate.beok_thermostat

the states of the thermostat are

hvac_modes:
  - auto
  - heat
  - 'off'
current_temperature: 21
min_temp: 5
max_temp: 26
temperature: 6
hvac_action: 'off'
preset_mode: none
preset_modes:
  - away
  - none
away_temp: 7
manual_temp: 7
friendly_name: Beok_Thermostat
supported_features: 17

I don’t know how to add (find,declare) in the below automation the temperature sensor
and how I could turn it off at 21:00

- id: Thermostat
  alias: Home Heater
  trigger:
    platform: numeric_state
    entity_id: sensor.temperature
    below: 19
  condition:
    condition: time
    after: '17:00:00'
    before: '20:00:00'
  action:
    - service: climate.set_temperature
      data:
        entity_id: climate.beok_thermostat
        hvac_mode: 'heat'
        temperature: 26

Posts: 8

Participants: 2

Read full topic

Camera snapshot update and live usse

$
0
0

@turkel wrote:

Hello,

I have attached camera into my HA with below Lovelace and configuration:

stream:

camera:
  - platform: generic
    name: balkon
    still_image_url: http://192.168.1.72:9989
    stream_source: rtsp://192.168.1.72:554/H264?ch=1&subtype=1&proto=0nvif
    verify_ssl: false
    authentication: basic
    username: admin
    password: xxxxxx

ffmpeg:
    ffmpeg_bin: /usr/bin/ffmpeg
aspect_ratio: 0%
camera_image: camera.balkon
camera_view: live
entities:
  - camera.balkon
title: Balkon
type: picture-glance

Currently my lavelace card and video on click of card shows picture 1 frame on every 1-2 seconds. I think this is not live. I want snapshot to be updated every 15 minutes on card, but live video which appears on click should flow without interruption ex 15 fps. How can I achive this ?

Posts: 1

Participants: 1

Read full topic

Custom sound notifications on phone

$
0
0

@star314 wrote:

Hi!

I have a question which is not directly related to HA, but associated. I guess other HA users have/had a similar problem.

In the following I refer to Pushbullet as it is currently my service of choice. However, it should hold for any other tool featuring a notification service (e.g., Telegram) too:

I use Pushbullet to push HA notifications to my Android phone which works fine. Whenever such a notification is pushed, the default notification sound is played at my phone. It would be really nice to associate different notification sounds to different events (e.g., door unlocked, window opened etc.). A possible solution would be, for example, to configure spoken notifications, but that seems a little bit complicated to achieve and also a little bit weird when you surrounded by a bunch of people and your phone starts to talk to you out of nowhere … :wink:

Any suggestions how to achieve this groal?

Thanks in advance and kind regards!

Posts: 1

Participants: 1

Read full topic


ZigBee2MQTT, sensors do not appear in the user interface

$
0
0

@Hypnotia wrote:

Hello,

I have connected a bunch of Xiaomi sensors through ZigBee2MQTT bridge. Everything works like a charm apart from the fact sensors do not appear in the user interface among other sensors. How to correct that?

Thanks&Regards

Posts: 2

Participants: 2

Read full topic

Help with temperature notification

$
0
0

@Jamie_Pryer wrote:

Hey,
i have a honeywell system.
goal: notify when the hotwater falls below “28”

my entity for the water (see below) shows a state of “off/on”, however there is an attribute which is the temperate itself. (current_temperature).

so i created the following 2 template values to be able to use this in the automation:

      hotwater_temperature_tracker:
        friendly_name: "Hot Water Temperature Tracker"
        unit_of_measurement: "°C"
        value_template: "{{ state_attr('water_heater.dhw_controller', 'current_temperature') }}"
      hotwater_temperature_tracker_numeric:
        friendly_name: "Hot Water Temperature Tracker Numeric"
        value_template: '{{ float(states.water_heater.dhw_controller.attributes["current_temperature"]) }}'

my automation however, doesnt work, when i try either template values?

- alias: hot water temp below 28
  trigger:
    platform: numeric_state
    entity_id: sensor.hotwater_temperature_tracker_numeric
    above: 0
    below: 28
    #for:
      #minutes: 15
  action:
  - service: persistent_notification.create
    data_template:
      message: 'Hot water temperature is low, its now at: {{ sensor.hotwater_temperature_tracker_numeric
        }}'
      title: Hot Water below 28
  - service: notify.notify
    data_template:
      message: 'Hot water temperature is low, its now at: {{ sensor.hotwater_temperature_tracker_numeric
        }}'
      title: hot Water below 28
  id: hotwateralert

Posts: 2

Participants: 1

Read full topic

iPhone showing not charging

$
0
0

@jriker1 wrote:

I have ios: in my configuration.yaml file however even though it shows the iPhone has checked in 5 minutes ago, it says it’s unplugged and the battery level the same as it was 8 hours ago. It is plugged in and charging though. Any idea?

Thanks.

JR

Posts: 1

Participants: 1

Read full topic

Amcrest DVR + Hass RTSP

$
0
0

@diyeverything wrote:

I am trying to set up the RTSP feed. I have tested the feed in VLC and it works fine. I added a picture entity card - I am doing something wrong but not sure what. Thoughts?

Config.yaml

amcrest:
  - host: 192.168.1.108
    name: cam_test
    resolution: low
    username: <user>
    password: <pass>
    port: 554
    stream_source: rtsp

ui.yaml

- type: picture-entity
  entity: camera.cam_test
  camera_view: live

Getting this on the dashboard

One of the differences I see is that there are parameters on the URL when it is added as generic. When I used the above implementation I don’t know how to select the camera since I have 4 connected. These are the parameters

/cam/realmonitor?channel=4&subtype=0

Posts: 2

Participants: 1

Read full topic

Sorry basic questions on automation

$
0
0

@cgbeer wrote:

I’m sorry I’m really new to Home Assistant and not a programmer. I’ve got most sensors and lights connected but having frustrations getting any automations going. I started with the Gui but couldn’t get the lights to turn on so then have been trying to use the automations.yaml directly to alter it.

2 questions (Thank you for any imput and sorry for the basic questions, i promise i’ve googled and looked at documents on home-assistant.io)

  1. Can you help me understand why this basic one that would turn a light on based off motion doesn’t fire?
  2. I can’t find much on “groups” in a perfect world I would like all the lights in my Family Room to turn on (Family Room) is what I named the Area Registry. Would that be like a group.Family_Room, or does the group have to be set up somewhere else?
 id: '1572628846432'
  alias: test lights on motion - family room
  description: ''
  trigger:
  - device_id: c6221439886a47f1827e35a4d32de900
    domain: binary_sensor
    entity_id: binary_sensor.centralite_motion_sensor_a_521f380e_1_1280
    platform: device
    type: motion
  condition:
  - after: 07:00:00
    before: '22:30:00'
    condition: time
  action:
    service: light.turn_on
    entity_id:light.sengled_e11_g13_623c1103_1:

Posts: 10

Participants: 4

Read full topic

Viewing all 95257 articles
Browse latest View live


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