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

Schlage BE469NX added, but not locking/unlocking

$
0
0

I just removed my Schlage BE469NX from ST and added it to HA just fine, but when I try to send a lock/unlock command nothing happens. It was working with ST prior so I know it works. I added using the secure node and I have removed and added it like 3 times with the same result. Anyone else run into this or know what else I can try?

image

2 posts - 2 participants

Read full topic


Script context variable error message when executing

$
0
0

Hello there. I have updated home assistant to 0.114. When i try to run any script, it runs but it shows an error message about a context variable:

scriptmsgexecuting1

scriptmsgexecuting

The message stays as long as the script is running and after it finishes the message goes away.

I tried to search and couldn’t find this problem? Any breaking change from 0.113 to 0.114 that i am forgeting? Thank you!

1 post - 1 participant

Read full topic

Guidance Required - Script Media Player and Scource

$
0
0

Hi,
First post since embarking on the HA journey.

I have tried to follow others post/blogs with regards to list and helpers.

What I want to do is with two list, one holding my sonos players, the other the sources, choose from the list then play it on the correct sonos player.

I have looked at if…else statements but just can’t get the hang of it.

I have finally managed to get something working, emphasis on the something, but I know I should be able to make it more efficient.

My script is as follows, any help gratefully received…
G

sonos_stream_music:
  alias: Sonos Stream Music
  icon: hass:speaker-wireless
  mode: single
  sequence:
  - data:
      volume_level: 0.2
    entity_id: media_player.office_play3
    service: media_player.volume_set
  - choose:
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Absolute 80s
      sequence:
      - data:
          source: Absolute 80s
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Absolute Radio
      - condition: and
        conditions:
        - condition: state
          entity_id: input_select.sonos_players
          state: Office
      sequence:
      - data:
          source: Absolute Radio
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Absolute Radio 90s
      sequence:
      - data:
          source: Absolute Radio 90s
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Apple Music 1
      sequence:
      - data:
          source: Apple Music 1
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Apple Music Country
      sequence:
      - data:
          source: Apple Music Country
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Apple Music Hits
      sequence:
      - data:
          source: Apple Music Hits
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio 1
      sequence:
      - data:
          source: BBC Radio 1
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio 2
      sequence:
      - data:
          source: BBC Radio 2
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio 4
      sequence:
      - data:
          source: BBC Radio 4
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio 5 Live
      sequence:
      - data:
          source: BBC Radio 5 Live
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio 5 Live Sports Extra
      sequence:
      - data:
          source: BBC Radio 5 Live Sports Extra
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio 6 Music
      sequence:
      - data:
          source: BBC Radio 6 Music
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: BBC Radio Scotland
      sequence:
      - data:
          source: BBC Radio Scotland
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Classic Folk & Singer-Songwriters
      sequence:
      - data:
          source: Classic Folk & Singer-Songwriters
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Classic Rock
      sequence:
      - data:
          source: Classic Rock
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Classic Singer/Songwriter
      sequence:
      - data:
          source: Classic Singer/Songwriter
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Disney
      sequence:
      - data:
          source: Disney
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Frozen Radio
      sequence:
      - data:
          source: Frozen Radio
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Modern Country
      sequence:
      - data:
          source: Modern Country
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Northsound 1
      sequence:
      - data:
          source: Northsound 1
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Northsound 2
      sequence:
      - data:
          source: Northsound 2
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Rock
      sequence:
      - data:
          source: Rock
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Rock Pantheon
      sequence:
      - data:
          source: Rock Pantheon
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Scala Radio
      sequence:
      - data:
          source: Scala Radio
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Singer/Songwriter
      sequence:
      - data:
          source: Singer/Songwriter
        entity_id: media_player.office_play3
        service: media_player.select_source
    - conditions:
      - condition: state
        entity_id: input_select.radio_stations
        state: Virgin Radio
      sequence:
      - data:
          source: Virgin Radio
        entity_id: media_player.office_play3
        service: media_player.select_source
    default:
    - data:
        source: Absolute Radio
      entity_id: media_player.office_play3
      service: media_player.select_source

1 post - 1 participant

Read full topic

Lovelace page side bar link

$
0
0

Is it possible to get a link to one of my pages in the side bar?
I’d like to add it here:

image

4 posts - 2 participants

Read full topic

Traccar device tracking?

$
0
0

Hi

I have a traccar server running on another host than where home assistant is running - and I can connect to the server via a web browser, and can see, that device tracking works…

However - it does not look like the information goes into home assistant.

I my configuration.yaml I have:

device_tracker:
  - platform: traccar
    host: 192.168.225.123
    port: 8082
    username: username
    password: secret
    monitored_conditions: ['all_events']
    new_device_defaults:
      track_new_devices: true

Is it a problem with my configuration - or what could be the reason for devices not showing up in HA ?

Regards
Brian

3 posts - 2 participants

Read full topic

Big popups

$
0
0

Hi, is there any way to get a bigger popup (e.g. more-info) on a desktop pc? It’s full size on a mobile but only 10% on my desktop.
Jkw

2 posts - 2 participants

Read full topic

How to create a family group for devices charging?

$
0
0

I want to create a group that is either in state charging or not_charging. I want to detect when all of the listed devices are in state charging.

I tried as follows, but the group state is unknown. why?

groups.yml:

charging:
  name: Family Charging
  all: true
  entities:
    - sensor.my_mobile_battery_state
    - sensor.wife_mobile_battery_state

1 post - 1 participant

Read full topic

Avoid address reservation

$
0
0

Hello, I’m setting up hassio on a public network with no access to the router. As a result, I can’t use address reservation for my devices. How can I keep the devices’ IP address automatically up-to-date on the configuration.yaml file? I know the Mac addresses if that helps. Thanks!

1 post - 1 participant

Read full topic


Outdoor Siren - ZM1621 - product_name: 'Unknown: type=2005, id=0518'

$
0
0

Hi HA Crew,

Need some assistance on something I am spinning my wheels on.
I bought a z-wave siren (Australian) and have added it to the native zwave integration in HA. It is coming up as an Unknown device and does not allow me to have any config options.

Here is the state attributes:

node_id: 7
node_name: 'Vision Security Unknown: type=2005, id=0518'
manufacturer_name: Vision Security
product_name: 'Unknown: type=2005, id=0518'
query_stage: Complete
is_awake: true
is_ready: true
is_failed: false
is_info_received: true
max_baud_rate: 40000
is_zwave_plus: true
capabilities:
  - frequent
  - beaming
  - zwave_plus
  - routing
neighbors:
  - 1
  - 2
  - 5
sentCnt: 30
sentFailed: 0
retries: 0
receivedCnt: 21
receivedDups: 0
receivedUnsolicited: 1
sentTS: '2020-09-13 07:22:17:603 '
receivedTS: '2020-09-13 07:22:17:825 '
lastRequestRTT: 200
averageRequestRTT: 213
lastResponseRTT: 221
averageResponseRTT: 180
battery_level: 100
application_version: '24.07'
friendly_name: Outdoor Siren

Do you think because the product is unknown, it is not allowing the config?

From the manual (https://www.cd-jackson.com/zwave_device_uploads/988/ZM1621-5-Outdoor-Siren--SDK6-51-10-.pdf) I should be able to configure the following parameters:

For “Configuration”:
Byte Value
Parameter 1
(Siren/Strobe Mode) 1
0 (All Enable) - Default
1 (Siren Only)
2 (Strobe Only)
Parameter 2
(Alarm Auto Stop Time) 1
0 (30 seconds) - Default
1 (60 seconds)
2 (120 seconds)
3 (Will Not Automatically Stop)
(Parameter 1) Siren/Strobe Mode: User can change value from 0 to 2 to turn either Siren
sound, Strobe light, or both when triggered.
(Parameter 2) Alarm Auto Stop Time: User can change the duration of siren time when
triggered.

Really appreciate anyone assistance where it is (or I am) going wrong.

Thanks.

1 post - 1 participant

Read full topic

Manual MQTT Alarm Stuck Pending Forever

$
0
0

For a few weeks now I have been unable to use my alarm because it is unable to get itself off of pending, either while trying to arm or when trying to trigger the alarm.

If I make the pending_time 0, then it arms no problem, but there is still the issue that it will never trigger because it can’t get off of the 60s pending trigger time.

This is a manual_mqtt alarm, why wouldn’t this work?! I have spent a lot of time trying to track down the issue and I have found nothing.

Is anyone else even having this problem?

My config:

alarm_control_panel: 
  platform: manual_mqtt 
  state_topic: "home/alarm" 
  command_topic: "home/alarm/set" 
  name: Alarm
  code: !secret code
  pending_time: 0
  delay_time: 0
  trigger_time: 0
  disarmed:
    trigger_time: 0
  armed_home:
    pending_time: 0
    delay_time: 0
    trigger_time: 30
  armed_away:
    pending_time: 0
    delay_time: 30
    trigger_time: 60

1 post - 1 participant

Read full topic

Figuring out what triggered an action?

$
0
0

I have an automation rule that sets a boolean variable (using input_boolean.turn_on) when a partcular MQTT message is received. That part is working. Every once in a while, “something” comes along and immediately turns that boolean back off. Is there any way to figure out what’s causing that?

It’s hard to test because it never seems to happen when I try to debug it. It seems that it only happens when a substantial amount of time (like a whole day) has passed, and then not always.

When I look at the logger, the entry at that time says:

3:32:30 PM [Mail has arrived today](http://192.168.2.48:8123/logbook#) turned off (homeassistant)

What does the tag “(homemassistant)” mean here? I don’t see that for any other entries in the logbk

1 post - 1 participant

Read full topic

"Flash" a lovelace card on entity state?

$
0
0

I’ve placed a tablet on my fridge using magnets and it works wonderfully. I made a lovelace dashboard showing different info like camera feeds, and quick scene toggling etc.

But I would love a way to “light up” / “flash” or otherwise give a lovelace card a border with a striking color when an entity is at a specific state so that its easy to see that something is up from a distance.

My netatmo cameras can detect people, and say for example that a person is seen on one of the cameras, it could be cool to give the picture-entity lovelace card another more striking border color when this happens.

2 posts - 2 participants

Read full topic

I am getting so sick of Zigbee. Random disconnections basically every time I reboot

$
0
0

I used to be in an apartment and everything was solid. I had a bunch of zigbee devices and for the most part it was very solid. I maybe had to re-pair a Xiami button once or twice in the year that I was there.

I moved into a 2,200 square foot house and it’s been a nightmare.

I mainly use Xiaomi devices for my sensors. I have motion sensors, door sensors, as well has their buttons. For all my light bulbs throughout the house I’m using EcoSmart zigbee bulbs. In total at the moment, it’s about 55 zigbee devices.

For the USB stick, I have mostly been using the Conbee 2 with Deconz. Since I’ve started having issues I’ve switched to a CC2531 zigbee stick using Home Assistant’s ZHA integration. I’m running into basically the same issues with the zigbee devices.

Once I have everything up and running, it’s going great. All the buttons work. Motion sensors are working fine. Door sensors are working and are awesome. When I need to reboot the Home Assistant instance though, some random zigbee device will become unavailable. I then have to go through the very annoying process of pairing it again.

I used to have the USB stick in the basement, but I have since extended that run with an USB to ethernet adapter to get the USB stick closer to the center of the house. Even after doing that, I’ve seen a motion sensor basically 15 feet from the USB stick become unavailable, so it doesn’t look to be a signal strength issue.

All of the light bulbs are zigbee as well (mostly those EcoSmart bulbs, but I do have a few Phillips Hue Bulbs as well as an Ikea Tradfri bulb), so those are all acting as repeaters too so signal strength should be solid throughout the house.

Does anyone have some tips on what I can do to solve these issues? It’s making my hobby of home automation very frustrating to deal with at the moment. Instead of trying to make my lovelace setup nicer, I have to keep dealing with these damn devices constantly.

1 post - 1 participant

Read full topic

How to change user's password

$
0
0

After recent iOS app on my girlfriend mobile phone, it’s asking for authentication. But we don’t remember the password.
How can I change the password?
Obviously I have access to console, but ha auth reset command ends up with:

this command is limited due to security reasons, and will only work on some locations. For example, the Operating System terminal

BTW when in console, login command asks for credentials. I was sure it didn’t ask for anything in the past. If I enter root it returns to CLI prompt immediatelly after several seconds. If I enter other login name (ie my HA login) it asks for password but my HA credentials doesn’t match.
Can you give me some cues, please?

4 posts - 3 participants

Read full topic

IFTTT subscription model

$
0
0

I’m currently heavily dependent on IFTTT to integrate Google Home with Home Assistant. Now that IFTTT wants to charge US$10 per month for any more than 3 applets, I’m in big trouble with 64. For example "turn pinhole off for 10 minutes”, “I’m going to bed” and “leave the lights on until $ gets home” are going to be a challenge to replace.

Are others in the same boat, and what plans have you got?

2 posts - 2 participants

Read full topic


Trying to run a random script

$
0
0

Hi all, I’m trying to use a script to run a random script. Below is my code:

random:
  alias: Random
  mode: single
  sequence:
  - data_template:
      entity_id: >
        {{ ["script.red", "script.blue", "script.green"]
          | random}}
      service: script.turn_on

When but I get the following error:

  • Invalid config for [script]: must contain at least one of service, service_template. @ data[‘script’][‘random’][‘sequence’][0]. Got OrderedDict([(‘data_template’, OrderedDict([(‘entity_id’, ‘{{ [“script.red”, “script.green”, “script.blue”]\n | random}}\n’), (‘service’, ‘script.turn_on’)]))]). (See /config/configuration.yaml, line 17). Please check the docs at https://www.home-assistant.io/integrations/script

I tried looking at the data templates page and tried using service, and service_template but basically get the same error

2 posts - 2 participants

Read full topic

How to bind to specific cluster

$
0
0

I’ve been trying to set up binding using ZHA with an in-wall remote device but it seems that I can only bind the whole device to another, rather than specific clusters/endpoints to the individual devices/groups I want it to control.

The C4 has 4 buttons, which in the Ubisys app I was able to change what they did (specifically which cluster they sent when pressed, which I am also unclear how to do with ZHA). I had Level 1 cluster connected to the D1 dimmer and Level 2 cluster set to the Tradfri driver.

When I tried selecting the manage clusters for the device and then selecting a cluster and device to bind, it appears to bind at the root level, meaning all 4 buttons send their commands to that device, rather than the selected cluster. Screenshot shows how I have attempted to do it. Should I be trying to do this in a different way to set each item to bind without needing to configure it via automations that mean it won’t work if HASS is down? I also want to use the config/binding correctly as it allows the switch to work as a live dimmer for the lights on the remove dimmer which worked well with the Ubisys gateway so I know the config can be done, I just seem to be getting it wrong.

Thanks!

1 post - 1 participant

Read full topic

Switch Automation Help

$
0
0

Hi

I’m having a problem with an automation not working but I can’t see what’s wrong.

I want a smart plug to turn off at 7:30am but the below doesn’t work. Can anyone please help?


- id: '1599978081786'
  alias: New Automation
  description: ''
  trigger:
  - at: '07:30:00'
    platform: time
  condition: []
  action:
  - data: {}
    entity_id: switch.bfbc4c37057cb3c354huh7
    service: switch.turn_off
  

7 posts - 3 participants

Read full topic

Turn lights on at sundown or 7pm, whichever is earlier

$
0
0

I assume this will be an easy one, but I’m a total node-red noob: for my vacation mode, I want the lights to come on at sundown or at 7pm, whichever is earlier. That way, in the summer months, the house doesn’t stay dark until ~9pm when the sun finally goes down. Any advice?

Right now I’m using bigtimer and have it triggering off just sundown. Maybe I can combine this with another bigtimer and use OR logic to achieve what I want? Should I just have 2 bigtimers that feed into the same sequence? I’ll have the “repeat every 1 minute” option enabled, so I was worried about 2 timers causing the lights to turn on and off repeatedly, if one ever wants them on while the other wants them off (maybe due to random offset).

1 post - 1 participant

Read full topic

Updating OS, Supervisor and Home Assistant Core

$
0
0

Hi, I’m running an older version of HassOS, supervisor and core. And i’m thinking to update all of these recently as i’m preparing to migrate to the Rpi 4. However, under the System tab, there is a message saying I’m running an unsupported installation under supervisor. May i know what is that mean?

If i want to proceed with all the updates, which one should i update first since all of three components are fairly older? HassOS --> Supervisor --> Core? I afraid if i update one on the other first, i might be break the Home Assistant as the new one might be conflict with the older component.

4 posts - 2 participants

Read full topic

Viewing all 107439 articles
Browse latest View live


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