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

What tools do you use to manage ideas and issues?

$
0
0

@alexdodd wrote:

As ideas flow, and people ask different questions, and these ideas naturally breed more ideas, questions, and problems to solve. Not forgetting the regressions i will cause as things evolve.

What do you use to track ideas, issues, features etc…?

Project Management Tools such as taiga.io, wrike or trello, or issue trackers like JIRA, redmine, or something else? Is github suitable?

This isnt my area of expertise, but I know my lists, and notes and ideas need to be better ctegorised, and linked, and then tackled methodically.

Posts: 1

Participants: 1

Read full topic


Unsecure https access

$
0
0

@Famku wrote:

Hi,

I configured my auth_providers as discribed in the docs to get access without login on my digital signage pc.

homeassistant:
auth_providers:
- type: trusted_networks
trusted_networks:
- 192.168.0.0/24
- 127.0.0.1
- ::1
allow_bypass_login: true
- type: homeassistant

And it works without enter a login from LAN

After that I created an https access with Nginx Proxy Manager for the mobile app and it works too from WAN

BUT - after weeks I checked it from my work and can see that it is possible to enter the site WITHOUT a login!

Can someone tell me my mistake?

thanks in advance

Posts: 2

Participants: 2

Read full topic

How do I disable Master Browser for Samba addon?

$
0
0

@mkanet wrote:

For some reason HASSIO decided it should be the Master Browser of my network… even though my Asus router already is:

-ASUS-RT-AC5300
   ☺☻__MSBROWSE__☻<01>  GROUP       Registered
-HASSIO
   ☺☻__MSBROWSE__☻<01>  GROUP       Registered
-FILESERVER
-HTPC

I need to know to best way to permanently stop the samba service from trying to be the Master Browser on my network. When searching on Google I found a forum post talking about editing /etc/smb.conf. however, I couldn’t find that file under /etc/. Anyway, I’m hoping someone who knows what they’re doing can show me exactly what to do. It would be nice if there’s just a setting I can add to the config for the Samba addon via HA’s GUI.

PS: I’m running HassOS

Posts: 1

Participants: 1

Read full topic

Automation not triggering due to conditions

$
0
0

@emeraldfirearms wrote:

Hi all, first post. I tried looking this up myself but couldn’t find anything specific that I’ve done wrong. The following two automations either work randomly, or flat out don’t trigger with the sun conditions. if I remove the condition of sun, they fire without a hitch. I am using MQTT as the trigger so as to make a failsafe (no missed event) automation, as the aquarium is a critical process. In my Vera hub, I used a plugin called Reactor to do this and it was pretty straightforward. I have used both the Automations UI and tried just typing the code in myself to no avail. It sometimes works and sometimes doesn’t. MQTT topic updates every 300 seconds and is showing, confirmed. Even if I force it (status in tasmota console) it still just randomly decides to work or not work.

https://pastebin.com/RnUrJpf0

Posts: 1

Participants: 1

Read full topic

Second Hue integration auto-discovered

$
0
0

@hmoffatt wrote:

I just upgraded from 0.101 to 0.109. I had Hue integration set up before, but somewhere along the way I’ve automatically discovered another one it seems… should I just click to ignore, or file a bug somewhere, or delete the original and add the new one?

Posts: 1

Participants: 1

Read full topic

ZHA "Groups" in wrong "Area"

$
0
0

@bovil wrote:

I’ve got 3 Gledopto Zigbee RGBW Bulbs and a RGBGenie wall panel in my bedroom. It was a bit of fighting, but I was able to group the bulbs and bind the group to the wall panel.

So that’s great. But I’ve got one problem. My Zigbee group shows up in the “Living Room” area, because the entity is bound to my Zigbee stick.

I’ve searched for about an hour, and haven’t found anything that talks about how to fix this. Ideas?

Posts: 1

Participants: 1

Read full topic

File sensors, why so hard

$
0
0

@matt1t wrote:

I have what I thought was a simple task of adding a file sensor. My config is basic with everything in the configuration.yaml

sensor:
  - platform: file
    name: 'PoolTemp'
    file_path: config/test/temperature.txt

homeassistant:
  customize:
    light.inovelli_lzw41_multi_white_bulb_level:
      supported_features: 161
  whitelist_external_dirs:
    - config/test

Check configuration comes back with “Configuration valid”

I’ve reloaded location & Customizations as the site says. I’ve also restarted the home assistant server, multiple times. I can’t find the sensor anywhere. I’ve tried multiple locations and no matter what I do, I don’t think this works. The documentation makes it look easy, but I see many have the same stumbling blocks with no real consistent fixes.

I take it I’m overlooking something simple?

Thanks,

-Matt

Posts: 2

Participants: 2

Read full topic

Light - Transition and Brightness

$
0
0

@Alwyntn wrote:

Hi All,
New to home assistant here.
I have got below set in automation.yaml to switch on the hue light in the morning (weekday) by slowly increase the brightness to 255 within 30 mins timespan. When i run execute this is Automations tab, it switch on the light and the brightness go from 5 to 13 within couple of seconds and it stop at 13. Any idea what have i done wrong?

- id: '1588736111565'
  alias: Weekday Wakeup
  description: 'test'
  trigger:
  - platform: time
    at: '06:15:00'
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: light.turn_on
    entity_id: light.master_bedroom_ceiling
    data_template:
      brightness: 255
      transition: 1800

Posts: 1

Participants: 1

Read full topic


Yeelight Brightness Step causing light to become unavailable

$
0
0

@Sabellwind wrote:

Hi all,

I’m utilising my Philips Hue Dimmer Switches to step brightness up and down with the two middle buttons (2000 and 3000 respectively).

I’m noticing all my lights behave fine apart from my yeelights. They step up and down fine until they reach the lower and upper limits. Could this be due to Yeelights not being able to handle brightness_pct values above 100 and below 0?

Models I have are the RGBW bulb and CWWW oyster ceiling light.

I’ve also tried templating this the old fashioned way with the same result.

What kind of workaround could there be? floorlamp is my yeelight and lounge_light is my Philips Hue bulb that’s working fine.

step down yaml:

- alias: Lounge step down brightness
  initial_state: 'on'
  trigger:
    platform: event
    event_type: deconz_event
    event_data:
      id: lounge_dimmer_switch
      event: 3000
  action:
  - service: light.turn_on
    data_template:
      entity_id: light.floorlamp, light.lounge_light
      brightness_step_pct: -10
      # brightness: "{{ states.light.floorlamp.attributes.brightness | int - 25 }}"

step up yaml:

- alias: Lounge step up brightness
  initial_state: 'on'
  trigger:
    platform: event
    event_type: deconz_event
    event_data:
      id: lounge_dimmer_switch
      event: 2000
  action:
  - service: light.turn_on
    data_template:
      entity_id: light.floorlamp, light.lounge_light
      brightness_step_pct: 10
      # brightness: "{{ states.light.floorlamp.attributes.brightness | int + 25 }}"

logs:

Unable to update device 192.168.xx.xxx, floorlamp: {'code': -1, 'message': 'client quota exceeded'}
Unable to turn the bulb on: {'code': -1, 'message': 'client quota exceeded'}

Posts: 1

Participants: 1

Read full topic

Z-Wave network down

$
0
0

@cmartens wrote:

Hi all,

During the last few weeks, once or two times a day (at different times), my Z-Wave network does not work anymore. If I try to switch on a Z-Wave device, it leads to a timeout in the Z-Wave log (OZW_Log.txt).

I have tried to investigate the root cause and have seen that the CPU load is high during that time and the CPU load will stay high. Please see below the screenshot of the CPU load from Home Assistant and the load seen from the top command.


Only after a restart of Home Assistant will help to solve the issue, however only for a couple of hours.

My Z-Wave setup looks like this:

zwave:
  usb_path: /dev/serial/by-id/usb-0658_0200-if00

During the time that the problem occurs, no messages are put in the OZW_Log.txt file:


The Home Assistant log contains the following messages:


When the CPU load was high, I have stopped all add-ons and stopped all automations. This didn’t help to reduce the CPU load. Also updating the Raspberry 4 Raspbian software and restarting the Raspberry did not help.

Running the last version of Hassio (109.4).

Who can help to solve this issue or to pinpoint the problem? Thanks in advance for your help.

Posts: 1

Participants: 1

Read full topic

Where do I find the configuration file

$
0
0

@JJ462 wrote:

I am pulling my hair out. Where is my configuration.yaml file. I have tried all the suggestions with no success surely this should be just a menu item from the Home Assistant app.

Posts: 1

Participants: 1

Read full topic

Aeotec DSB05 problem with the motion Sensor

$
0
0

@Catapult wrote:

Hi all!

I have integrated an Aeotec 4-in-1 MultiSensor (DSB05) device rightly.

I have got the different values (luminance , temperature, humidity, battery, …) every 12 minutes normally.
But i have a MAIN problem concerning the motion sensor: after including it, it works fine, but after some hours, it doesn’t work anymore… otherwise I am still getting the others values (luminance , temperature, humidity, battery, …) every 12 minutes.

Someone has found the same problem and have got the solution?

Posts: 1

Participants: 1

Read full topic

Strange behaviour

$
0
0

@poudenes wrote:

Hi All,

I have 2 Neo Coolcam Door sensors and 2 Fibaro Door Sensors.

All 4 show correct value when open:

sensor.fibaro_imac_custom_sensor > on
sensor.fibaro_frontdoor_custom_sensor > on
binary_sensor.node_21 > on
binary_sensor.node_12 > on

Only the Fibaro binary_sensors show: Door/Window Closed (Using Zwave2Mqtt)
So created the 2 sensors to change this in on and off

###########################################################################################
#
# SENSOR TEMPLATE
#
# https://www.home-assistant.io/integrations/template/
#
###########################################################################################
---
platform: template
sensors:
  fibaro_imac_custom_sensor:
    friendly_name: "Fibaro iMac"
    value_template: "{{ 'on' if is_state('sensor.node_13_access_control', 'Door/Window Open') else 'off' }}"
    icon_template: "{{ 'mdi:checkbox-blank-circle-outline' if is_state('sensor.node_13_access_control', 'Door/Window Open') else 'mdi:check-circle' }}"

  fibaro_frontdoor_custom_sensor:
    friendly_name: "Fibaro Frontdoor"
    value_template: "{{ 'on' if is_state('sensor.node_11_access_control', 'Door/Window Open') else 'off' }}"
    icon_template: "{{ 'mdi:checkbox-blank-circle-outline' if is_state('sensor.node_11_access_control', 'Door/Window Open') else 'mdi:check-circle' }}"

When I try this code in developer tool:

{% if states('sensor.fibaro_imac_custom_sensor') == 'off' %} open
{% else %} closed
{% endif %}

This is part of the code, was trying. Actual Automation will be this:

###########################################################################################
#
# NOTIFY WHEN DOORS OPEN OR CLOSE
#
###########################################################################################

- alias: "Notification - Random Door Open Close"
  trigger:

    platform: state
    entity_id:
      - binary_sensor.node_21 # Sensor Diningroom Door
      - binary_sensor.node_12 # Sensor Bedroom Door
      - sensor.fibaro_frontdoor_custom_sensor
      - sensor.fibaro_imac_custom_sensor

  action:
    service: script.pushover_engine
    data_template:
      message: >-
        {% if trigger.to_state.state == 'on' %}
          {{ trigger.from_state.attributes.friendly_name}} is open
        {% else %}
          {{ trigger.from_state.attributes.friendly_name}} is closed
        {% endif %}
      priority: "0"
      sound: "bike"
      title: "HA Notify Engine"

The binary_sensors shown correct output, but the sensor. show reverted value…
I can’t find it where it goes wrong… Can someone help me out?

Posts: 1

Participants: 1

Read full topic

I broke my zha install

$
0
0

@walaj wrote:

Any suggestions on whats broken here:

( Home Assistant 0.109.4, HUSBZB-1 stick - just upgraded and might have been a bit over zealous checking python libraries)

2020-05-06 18:22:32 ERROR (MainThread) [homeassistant.setup] Setup failed for zha: unknown error
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/setup.py", line 137, in _async_setup_component
    component = integration.get_component()
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/loader.py", line 270, in get_component
    cache[self.domain] = importlib.import_module(self.pkg_path)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/__init__.py", line 14, in <module>
    from . import api
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/api.py", line 18, in <module>
    from .core.const import (
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/core/__init__.py", line 4, in <module>
    from .device import ZHADevice
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/core/device.py", line 25, in <module>
    from . import channels, typing as zha_typing
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/core/channels/__init__.py", line 9, in <module>
    from . import (  # noqa: F401 # pylint: disable=unused-import
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/core/channels/base.py", line 25, in <module>
    from ..helpers import LogMixin, safe_read
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/core/helpers.py", line 11, in <module>
    from .registries import BINDABLE_CLUSTERS
  File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/zha/core/registries.py", line 7, in <module>
    import bellows.zigbee.application
  File "/srv/homeassistant/lib/python3.8/site-packages/bellows/zigbee/application.py", line 21, in <module>
    CONFIG_SCHEMA = zigpy.application.CONFIG_SCHEMA.extend(
AttributeError: module 'zigpy.application' has no attribute 'CONFIG_SCHEMA'

Posts: 1

Participants: 1

Read full topic

Some problems

$
0
0

@Belinux wrote:

Hello,
It’s been 2 weeks since I installed HASS on a synology 218+, via the hass.io package. I could find a lot of things (ikea tradfri, harmony hub, apple device except apple tv 4gen), I was able to do scripting and automation: big thanks to the tutorials, forum and others. But despite everything there are things wrong and I can’t find a solution, even with reading the forums (but maybe I don’t read the good ones?). So here are my unsolved problems:

1: I have an rfxcom system (433), even by following the links on the site, it is not resumed. Yet following either

  • supervisor ==> systen ==> hard, I have this: / dev / serial / by-id / usb-RFXCOM_RFXtrx433_A11AB3FH-if00-port0
  • and with “lsusb” in a treminal I have: Bus 001 Device 002: ID 0403: 6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

2: I would like to change the theme, again following the information: replace:
default_config:
by
frontend:

themes:! include themes.yaml

themes:
happy:
primary-color: pink
sad:
primary-color: blue
(while writing this message I answered another question concerning “customize.yaml” which did not work; a error in writing.)
But, I lost in the dashboard the configuration, log, history menu. How to make it reappear? I have in the configurations.yaml file: “hassio:” as indicated in another message from the forum) .

I have an account on weatherunderground, or my data from my weather station sent, I would like to be able to recover it. I followed the information as here: https: //www.home-assistant.io/integrations/wunderground/. but here too problem. (I use domoticz, with the same API key and it works)

Here is if there is “a good soul” to guide me, a big thank you

Posts: 1

Participants: 1

Read full topic


Filtering in templates

$
0
0

@sarkyscouser wrote:

Please could someone help me work out how to refine the following template. It’s sent as a notification when the house alarm is triggered but as I’ve added more sensors to the house the notification is now too long and clouded by irrelevant sensors.

When I first started out I had just 4 door sensors so when the notification was triggered the notification would say which door was opened - perfect!. I now have 3 times as many binary sensors (including doorbells and updaters etc etc) so I need to filter out all the irrelevant sensors but I’m struggling to do that.

I’ve tried to create a group of the relevant sensors and iterate through that, but that seems to be a dead end.

So I decided to filter on the sensor names in the template as all the relevant sensors contain “…contact…” in their name but this isn’t respected - all the sensors are still returned. Anyone know why?

I’ve tried using, state.name, state.entity_id and state.friendly_name with no joy.

{% for state in states.binary_sensor %} 
{% if state.state == "on" and 'contact' in state.name %} 
        {{ state.name }}: open
        {% else %}
        {{ state.name }}: closed 
        {% endif %}
        {% endfor %}

In fact the if and endif lines in the above can be removed completely and I get the same result.

The closest I’ve come to finding a previous post that helps is the following link but I can’t quite get there:

https://community.home-assistant.io/t/counting-matching-states/12464/22

Posts: 1

Participants: 1

Read full topic

Grafana Addon - Enable Export of whole Dashboards

$
0
0

@ikewestbrook wrote:

Hi everyone,

can someone please give me a hint whether it is possible to export whole grafana dashboards as PDF files by using a plugin? I could not find anything.

Many thanks. Ike.

Posts: 1

Participants: 1

Read full topic

Image element CSS Style not working Correctly Need Help

$
0
0

@shamseer wrote:

Haiii
I have set new image element ,but the STYLE not working correctly. when i changing the positions the image not moving .it was stable in left down corner .

Pasting the code below

type: picture-elements
image: /local/floorplan.png
elements:
  # state_image & state_filter - toggle on click
  - type: image
    entity: light.living_room
    tap_action:
      action: toggle
    image: /local/living_room.png
    state_image:
      "off": /local/living_room_off.png
    filter: saturate(.8)
    state_filter:
      "on": brightness(120%) saturate(1.2)
      style:
        top: 25%
        left: 75%
        width: 15%
  # Camera, red border, rounded-rectangle - show more-info on click
  - type: image
    entity: camera.driveway_camera
    camera_image: camera.driveway_camera
    style:
      top: 5%
      left: 10%
      width: 10%
      border: 2px solid red
      border-radius: 10%
  # Single image, state_filter - call-service on click
  - type: image
    entity: media_player.living_room
    tap_action:
      action: call-service
      service: media_player.media_play_pause
      service_data:
        entity_id: media_player.living_room
    image: /local/television.jpg
    filter: brightness(5%)
    state_filter:
      playing: brightness(100%)
    style:
      top: 40%
      left: 75%
      width: 5%

Posts: 2

Participants: 2

Read full topic

Countdown timer from input

Clean cached pictures picture element (floorplan)

$
0
0

@sagaardu wrote:

Hello,

I am modifying some images of my floorplan created with picture element but still loading the old ones.

Is there a way to clear the cached images or tell it to load the new ones?

Cheers

Posts: 1

Participants: 1

Read full topic

Viewing all 107047 articles
Browse latest View live