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

Possible bug? 0.114 Lovelace Popup

$
0
0

Hi all,

After upgrading to 0.114.x i’m getting a new issue in the frontend.

Whenever i reload my homeassistant page (whether this is on my iPhone or my Google Chrome Browser on my Desktop) i get the “Which card would you like to add to your “” view?”. Although my dashboard has pages with components on them. Is there any way to disable this popup?

I found that 3 days ago, someone else had the exact same issue, but the link (from Google) seems to be dead:
https://community.home-assistant.io/t/114-0-resulting-in-which-card-would-you-like-to-add-to-your-default-view-view/218269

Did I miss something?

Kind regards,
Rob

1 post - 1 participant

Read full topic


Security advantages of using Nabu Casa

$
0
0

Hey all, long-time SmartThings user here starting to make the move to HA. I’ve got a question regarding security specifically related to using Nabu Casa cloud. Currently I’m handling external access by forwarding a port on my router to my instance of HA. (I also have SSL configured, and plan to add MFA shortly) However, what bothers me a little about this setup is that I’m exposing my instance of HA to the internet. Even if I’m doing everything else right, anyone hitting my IP address from anywhere in the world is now “inside my LAN”. And that means my security is now dependent upon there being no security holes in HA itself as well as whatever Python libraries it’s using.

However, if I were to use Nabu Casa for remote access, my (possibly wrong) assumption is that this method is inherently more secure because a potential bad guy is not inside my LAN until after they’ve authenticated. Or to put it differently, no one is hitting my instance of HA directly because we’re both going through a middleman. (Nabu Casa)

Is that correct assumption on my part, or am I off-base? I’m not a tinfoil-hat wearing paranoid type, but I do want to make sure I fully understand the pros/cons of the two different remote-access scenarios as it relates to security. Also, if there are any official write-ups on security best practices for HA I’d love to be directed to that too. Thanks for any info!

1 post - 1 participant

Read full topic

Light switch integration not reflecting changes?

$
0
0

I’m using the light switch integration to create light entities for a bunch of switches. It works, but after the first run any changes I make to the yaml aren’t being captured, even after rebooting. Is there a way to flush the cache or something to fix this?

Example:

On first run I had a switch named switch.foyer, which I renamed to switch.foyer_light. Not I get switch.foyer_light and light.foyer. It didn’t capture the renamed entity and is still using the original one. Though the light entity it creates does work.

Also, I had some named like “Kitchen - Recessed Lights,” which I renamed to “Kitchen Recessed Lights” in the yaml, but they still show up with the dash.

How do I fix this? I’ve tried restarting just HA, and rebooting the whole system.

1 post - 1 participant

Read full topic

Migrate from wired to wireless connection

$
0
0

I have HA running using wireless connection. Now I have to move it to another area and I have to switch to Wi-Fi.

I tried to follow the recommendations that I found but they did not work.

  1. I formatted USB key and called it CONFIG. After that I created a folder and called it network. I placed a file called my-network with following configuration inside that network folder:
[connection]
id=my-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=MYSSID
# Uncomment below if your SSID is not broadcasted
#hidden=true

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=MYPASSWORD

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto

When I click on “Import from USB” option, I see the following in my logs:

20-08-16 17:15:24 INFO (MainThread) [supervisor.hassos] Syncing configuration from USB with HassOS.
20-08-16 17:15:24 INFO (MainThread) [supervisor.host.services] Restart local service hassos-config.service
20-08-16 17:15:24 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.RestartUnit on /org/freedesktop/systemd1

When I reboot, my Wi-Fi did not connect.

I also tried to reboot with this USB key in my device, but it did not help.

Can someone help me with this?

1 post - 1 participant

Read full topic

Logitech Squeezebox can access only one server

$
0
0

Hello, I’m newbie, I use Home Assistant 0.114.1 and more than one Max2Play (Logitech Media Server Version: 8.0.0) on RPi.
In documentation for Logitech Squeezebox is “do not use .yaml and use orange plus to add integration”.
One integration is already configured.
When I click “+” and configure (another) IP of LMServer I get error. “Device is already configured”.
I try this with .yaml too (more hosts/media_players), but I’m not able to use more LMS servers.

How can I add next LMServer to HA?

Any advice? Thank you.

3 posts - 2 participants

Read full topic

Mi LED Ceiling Light MJXDD01YL / MUE4086GL not showing up in HASS

$
0
0

Hi,

I’m trying to configure the (I believe) quite new model Mi Led Ceiling Light MJXDD01YL (printed on the device itself, European version) / MUE4086GL (according to NL webshop, Chinese version?) in Home Assistant.

It’s being recognised on my WiFi network, has a static IP assigned and is added to configuration.yaml file like I did with my other Mi and Yeelight devices. I can operate the light properly through the Yeelight app on my phone.

However it does not show up as an entity, or as a device (this is normal for Mi Light / Yeelight devices AFAIK) in Home Assistant, so I can’t control it that way,
I can’t find both model MJXDD01YL & MUE4086GL on the Yeelight integration page.

Could it be that these models need to be added to the model list of the Yeelight integration, or is it something else I need to do to get it working?

Link where I got it from: https://www.mistorebenelux.com/product/mi-led-ceiling-light/

Thanks :slight_smile:

1 post - 1 participant

Read full topic

Changing password and then Login attempt or request with invalid authentication from 172.30.32.2

$
0
0

Hi, I wanted to change my admin password. So I did, but then I get:

Login attempt or request with invalid authentication from 172.30.32.2

Since I do no know what that is or where to find it and even why it is saying it, can someone please shine a light?

According to adguard plugin (could not find anything in portainer) it is my “hassio”, but why is that happening?

172.30.32.2 = hassio

When I change the password back to the previous one the error is gone…

1 post - 1 participant

Read full topic

Configuration - Server Controls Panel empty (help!)

$
0
0

I created a new admin user, then I deleted the 1st ever created admin user. Now my Server Controls panel is empty… help!

OMG! When I logged in via the android app I was told: “missing option” turn on in profile page.

did I ever do that? Why wasn’t this told via the webbased interface?!

image

Thank god it’s back!

1 post - 1 participant

Read full topic


Cant connect to home assistant via local IP address

$
0
0

Im trying to add the Spotify media player integration. I went ahead and created my Spotify developer account, created my “app” and added my redirect URI’s.
I first tried adding my duck dns url (https://somthing.duckdns.org:8123/auth/external/callback) but it wasn’t working correctly because it tries to use the local IP address instead of the duckdns domain when I try to configure the Spotify integration.
So I then added my local ip address to the Spotify app URI (https://192.168.1.4:8123/auth/external/callback).
This still isn’t working though because as I have found out, my hassio controller gives me a no response error when I try to access it via the local ip address (https://192.168.1.4:8123).
I am able to access it via the duckdns url and via https://homeassistant.local:8123, it only gives me errors when trying to access via the IP address.
I have my hassio controller set up in my router with a static IP address.
Anyone able to give any advice?
Thanks.

1 post - 1 participant

Read full topic

Please help with sensor attributes

$
0
0

Can’t get an attribute with a name from more than one word.

photo_2020-08-16_23-31-31

    sa_battery:
      friendly_name: Sa battery
      value_template: >-
        {{ state_attr('sensor.sa', 'battery level') }}

    sa_sn:
      friendly_name: Sa SN
      value_template: >-
        {{ state_attr('sensor.sa', 'sn') }}

In first template got ‘unknown’, in second - ‘672940’

1 post - 1 participant

Read full topic

Alexa tts state change

$
0
0

My alexa tts is working but i can’t get state change working correctly - where i have make a syntax error?

- id: poolpumpe_an_tts
  alias: poolpumpe_an_tts
  description: ''
  trigger:
  - platform: state
    entity_id: switch.pool
    from: 'off'
    to: 'on'
    #condition: []
  action:
  - data_template:
    entity_id: media_player.buro
    message: "Poolpumpe eingeschaltet"
    service: media_player.alexa_tts

Thank you for links or/and helping!!!

1 post - 1 participant

Read full topic

Template in a Value data. Why this does't work?

$
0
0

I have the code below in an automation and I don’t understand why it doesn’t work:

  action:
  - data:
      value: "{{ states('input_number.depuradora_minutos_tarde') | int }}"

but it works next:

  action:
  - data:
      value: 20

In Developers tools -> Templates also works…

My automation:

- id: '1597103526041'
  alias: Depuradora - Programacion tarde
  description: ''
  trigger:
  - platform: template
    value_template: "{{ state_attr('input_datetime.depuradora_programa_tarde', 'timestamp') | int  | timestamp_custom('%H:%M', False) == states('sensor.time')   }}"
  condition: []
  action:
  - data:
      value: "{{ states('input_number.depuradora_minutos_tarde') | int }}"
    entity_id: input_number.depuradora_minutos
    service: input_number.set_value
  mode: single

Thank you for you time, I am new in Home assistant and in this community, and this is my first post (first of a lot of I hope).

3 posts - 2 participants

Read full topic

.113/.114 Automation Rule with Timers Broken

$
0
0

Frist, if this is a repeat I apologize up front… Been super busy and finally had a change to get around to this.

Just had the chance to look into a broken automation rule but still not understanding how to resolve. Use to work perfectly, but after .113 update automation rule has been broken. Any help would be appreciated.

In a nut shell:

  • Rule is set to check if the garage door is left opened when everyone has left the house. If the garage is left opened it will send a reminder notification every 10 minutes until the garage door is closed.
  • Have discovered, when coming home and opening the garage door before HA knows we are home, it will send a notification. Then HA recognizes we are home but the timer continues to repeat sending notification every 10 minutes until the garage door is closed.

configuration.yaml

Copy to clipboard

# Timers
timer:
  garage_door:
    duration: '00:10:00'
    name: 'Garage Door'

automation.yaml

Copy to clipboard

 id: '1588618949530'
  alias: Garage Door Left Opened (Leaving House)
  description: ''
  trigger:
  - entity_id: group.track_all_persons
    from: home
    platform: state
    to: not_home
  - event_data:
      entity_data: timer.garage_door
    event_type: timer.finished
    platform: event
  condition:
  - condition: state
    entity_id: binary_sensor.visonic_mct_340_e_xxxxxxxxx_1_1280
    state: 'on'
  action:
  - data:
      data:
        priority: high
        ttl: 0
      message: Garage door still opened. Turn around and close.
    service: notify.mobile_app_sm_n950u
  - data:
      data:
        priority: high
        ttl: 0
      message: Garage door still opened. Turn around and close.
    service: notify.mobile_app_sm_g973u
  - data: {}
    entity_id: timer.garage_door
    service: timer.start

1 post - 1 participant

Read full topic

Help with command_line sensor to execute shell script

$
0
0

Hi all - I’m tearing my hair out trying to setup a simple command_line sensor, which executes a script to retrieve it’s value.

I’ve configured the sensor like below and have my_script.sh located in my home assistant /config directory.

- platform: command_line
  name: my_script_name
  command: "my_script.sh"

However, the sensor always fails with the following error:

/bin/sh: my_scipt.sh: not found
2020-08-16 19:06:05 ERROR (SyncWorker_1) [homeassistant.components.command_line] Command failed: my_script.sh

If I change the command to pwd or ls I can see the working directory for the command is /config and in the ls output I can see my_script.sh listed. I’m clearly missing something very basic here. Note - I’m running home assistant in docker under Ubuntu if that’s important.

Any help or pointers would be much appreciated. Thanks in advance!

Dave

3 posts - 2 participants

Read full topic

Cannot add Zigbee devices after 0.114.1 upgrade

$
0
0

I upgraded from 113.3 direct to 114.1. Running on a Conbee II with 119 devices.

Cannot add new devices since the upgrade.

Anyone else having issues?

1 post - 1 participant

Read full topic


Can I do an 'include:' for a yaml lovelace component on numerous dashboards?

$
0
0

Hi all,

I have a floorplan laid out (using picture-elements) as a custom card to control core parts of the house. However, I want to use this on multiple different dashboards.

Currently I am duplicating the floorplan code in 3 different places. Is there a way to simplify this duplication?

I am hoping to have something like one version in a separate lovelace.yaml and some sort of include: function to include that in the other dashboards? I tried this using iframe cards, but it was a bit slow to load.

Thanks for any advice.

1 post - 1 participant

Read full topic

Home Assistant stops working after a couple of hours

$
0
0

Hey there!

i’m having problems with my setup. About every 10 hours or so Home Assistant ist getting unreachable in my network. My lights and Automations don’t work as well and i have to hard reset my pi. it seems my system freezes for some reason.

This all started since i think 0.112 or 0.113 i’m running hassio on a raspberry pi 3b.

What i’ve done so far:

  • i changed the power supply of my raspberry to a new original raspberry power supply.
  • i changed the raspberry to another 3b model. (the old one smelled burned, cpu temp is about 64C)
  • i changed the sd card to a new one (A2, 64GB)
  • i removed HACS and all custom components
  • i disabled the addons google snapshots and the android debug bridge.
    samba, ssh, deconz are still running.
  • i deleted the .db file (not using mariadb)

When Home Assistant is online i don’t get any errors in the log. And after the hardreset the log is cleared. so i can’t provide any logs.

could it be deconz? There is an issue on git where sensors and lights are unreachable every now and then. this happend to me as well, but it seems to be gone in 0.114

i’m really lost for a while now.
Has anybody an idea what i can try?

1 post - 1 participant

Read full topic

Speedtest.net - how to show when broadband down?

$
0
0

I’ve been running speedtest.net in my HA for ages and the graphs have been great to show my ISP when complaining about speed issues! I’d like it to handle an actual broadband outage better though. What the graph currently shows is just the last successful result as a flat line until the service is resumed. Is there a way I can force it to show 0 for download / upload when it is unable to connect? If not, is there some other sort of coarse internet up/down sensor that I can us in conjunction with it?

1 post - 1 participant

Read full topic

Sensor template not updating every minute

$
0
0

Hi Guys,

So i’m trying to create a template sensor to monitor “current_temperature” from a netatmo thermostat and need it to update every minute. I tried finding the answer on this forum but i can’t seem to get this sensor updating every minute. it only updates on reload of the configuration.

So this is what is tries but isn’t updating every minute:

Create “sensor.date_time” and put “sensor.date_time” in “entity_id” so the template sensor will update every minute because the “sensor.date_time” changes state every minute.

  - platform: template
    sensors:
      woonkamer_temp:
        value_template: "{{ state_attr('climate.netatmo_smart_thermostat', 'current_temperature') }}"
        entity_id: sensor.date_time
        friendly_name: "Woonkamer temperatuur"
        device_class: temperature
        unit_of_measurement: '°C'

This should be working right? :slight_smile:

1 post - 1 participant

Read full topic

Remove z-wave device added many times

$
0
0

Hello!

I’m trying to solve a configuration problem in my z-wave integration:

Home assistant report that i have 44 devices setted up but it’s not the case, some are added up to 5 times :-/
here’s the integration panel:
image

I have 19 nodes reported in home assistant z-wave controller which is correct:
image

but, in devices, some nodes appears many times which is indeed incorrect:
image

thoses fakes double node are not usable:
image

They appear in home assistant core device registry:
image

i tried to stop ha core, delete thoses entries and restart ha core but as soon as the z-wave network start, they come back.

I’ve checked nods on the key using zensystool and everything looks fine.

How can i get ride of thoses?

Reagards - JS

1 post - 1 participant

Read full topic

Viewing all 106310 articles
Browse latest View live


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