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

Customising Dark Mode

$
0
0

Hi all,

I quite like the default light and dark themes but just want to make a few tweaks to some of the values. I’m starting simple with just adding some curves to the cards with ha-card-border-radius and in light mode is easy:

my-theme-1:
  ha-card-border-radius: 19px

That is all I need.

But switching to this custom theme removes my ability to change to dark mode, both through the UI and frontend.set_theme.

Do I need to rebuild the full dark mode from scratch as a separate custom theme, overriding all the various values or am I missing something obvious?

1 post - 1 participant

Read full topic


What is the wwlln error?

$
0
0

I always got this error, but I don’t know what it is about. This wwlln keyword is not in my configuration. Anyone could tell me? Thanks
image

1 post - 1 participant

Read full topic

WLED Automation: Call Service - Effect

$
0
0

Hi, is it possible to call service a WLED effect, I cant find how I would write the service. I can see in the automation actions, you can call service, WLED effect, but dont know how to write the effect.

image

1 post - 1 participant

Read full topic

Icon Colour based on Sensor State

$
0
0

Hi all,

I’m trying to configure a Glance Card using a combination of media entities and sensors. Simply to display when a certain device is in use. The iocn colour of the media entites, such as Sonos and Chromecast, changes when in use. I want to mimic this behaviour with the two below sensors. I’m not sure if this is possible, or if it is, where I’m going wrong in my configuration.

For the computer and the television I’m using TP-Link HS110 sockets and creating a sensor based off the power consumption to tell me whether they are on or off. That works fine, but I’ve been trying to get the icon to change colour like the rest of the media entities automatically do. Am I going about this the wrong way? I’m not great when it comes to templating.

Cheers!

You can see that the TV and Computer (Maurice) are on.
Glance
Sensor Configuration


Customize.yaml

1 post - 1 participant

Read full topic

Sonoff ifan03 and changing entity state with Automations

$
0
0

Hello,

Newbie question !

I have my ifan03 working perfectly with the expert help by finity and the peeps on this thread https://community.home-assistant.io/t/ifan03-with-tasmota-to-ha/127599/97

I need help integrating the ifan03 in an Automation.

I have tried changing the state of the light or fan by using an Action automation and trying to change the state. I was trying on / off for the light. I was trying 1/2/3/4 for the fan.

Code is below of the device as it appears in config.yaml

Any guidance would be amazing !!

Thank You
Jason

fan:
  - platform: mqtt  
    name: "Music Fan"
    command_topic: "cmnd/fanmusic/FanSpeed"
    speed_command_topic: "cmnd/fanmusic/FanSpeed"    
    state_topic: "stat/fanmusic/RESULT"
    speed_state_topic: "stat/fanmusic/RESULT"
    state_value_template: >
      {% if value_json.FanSpeed is defined %}
        {% if value_json.FanSpeed == 0 -%}0{%- elif value_json.FanSpeed > 0 -%}4{%- endif %}
      {% else %}
        {% if states.fan.fanmusic.state == 'off' -%}0{%- elif states.fan.fanmusic.state == 'on' -%}4{%- endif %}
      {% endif %}
    speed_value_template: "{{ value_json.FanSpeed }}"
    availability_topic: tele/fanmusic/LWT
    payload_off: "0"
    payload_on: "4"
    payload_low_speed: "1"
    payload_medium_speed: "2"
    payload_high_speed: "3"
    payload_available: Online
    payload_not_available: Offline
    speeds:
      - off
      - low
      - medium
      - high
light:
  - platform: mqtt
    name: "Music Light"
    command_topic: "cmnd/fanmusic/power1"
    state_topic: "stat/fanmusic/POWER1"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: true

1 post - 1 participant

Read full topic

How to give a name to mqtt variable?

$
0
0

Hello,

super simple question. I have a sensor

sensor:
  - platform: mqtt
    name: "Socket Washing Machine Tele Period"
    state_topic: "stat/tasmota-socket-washing-machine/RESULT"
    value_template: '{{ value_json["TelePeriod"] }}'
    unit_of_measurement: "s"  

Now i have variable named: sensor.socket_washing_machine_tele_period that is built from friendly name “Socket Washing Machine Tele Period” ?

So how to give a name to this variable that is built notof friendly name “Socket Washing Machine Tele Period” ?
For example just: sensor.washingmachine_teleperiod

unique_id do not works for me.

Thanks a lot!

1 post - 1 participant

Read full topic

Garmin Connect Unavailable

$
0
0

I added the Garmin Connect integration, but all entities stay unavailable. Do I have to enable something in my Garmin account?

The documentation says: “Please be aware that Garmin Connect has very low rate limits, max. once every ~10 minutes.” I’ve waited 8 hours, that should be enough.

1 post - 1 participant

Read full topic

Ziggo Connectbox Device Tracker stopped working

$
0
0

Hi all,

Since a couple of days, the Ziggo Connect Box (UPC_Connect) integration stopped working for me. The Home Assistant logs shows the following debug log:

2020-08-28 17:57:25 DEBUG (MainThread) [connect_box] Receive http code 302

I’m wondering if more people are facing this issue. The component worked perfectly fine for me for several years. The request seems to get redirected (hence the 302) to the login page, which might be because the token that it is using is invalid.

I have raised an issue for it here. Please add a thumbs up to the opening post here in case you are facing the same issue: https://github.com/home-assistant/core/issues/39300

Thanks!

1 post - 1 participant

Read full topic


Samsung TV shows HomeAssistant Popup Continuosly

$
0
0

Hello everyone,
Everytime i switch on my Samsung TV appears a message HomeAssistant: to connect this device to HomeAssistant it is required autorization.
If i press “Consent” it disappear and re-appear seconds later, in loop.
On HomeAssistant i can see the TV. I also tried to uninstall Samsung integration and reset it, to reboot HomeAssistant and everything i could do.
Is it possible to avoid this? Is it possible to ignore this when HomeAssistant auto-discovers new devices? I don’t need it on my dashboard so even if it does not show that would not be a problem

1 post - 1 participant

Read full topic

Alarm_control_panel.home_alarm

$
0
0
Hello. Please help.
I use windows, python 3.8.5, c ++  installed via Visual Studio 2019. 
Homeasssitant 0.114.4
I  add  alarm card. The settings in the configuration are:

alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: '1219'
    arming_time: 20
    delay_time: 30
    trigger_time: 120
    disarmed:
      trigger_time: 0
    armed_home:
      arming_time: 0
      delay_time: 0

Automation set. The alarm is working properly.
!! after installing more things in the pc - Ispy agent (for cameras), NextPVR streaming service.
 alarm works bad !!
When using arm_away it starts arming (arming_time: 20) But the alarm is still arming it is 
never armed. If I delete arming_time: 20 then the alarm is immediately armed. delay_time: 30
 the same.  The time countdown starts but if the password is not entered in time, the alarm
 is not triggered. If I delete delay_time: 30, everything is fine and an alarm is triggered
Is there a solution to this error?

1 post - 1 participant

Read full topic

Consuming custom weather API

Other linux device logfile monitoring; is this possible?

$
0
0

I have a Synology, and it runs a custom backup program that generates logfiles in a folder.

Is it possible to let HA monitor this logfile and look for the text “Error” or anything??

Tried the search, but that comes up with the normal HA logfile, and that is not what i’m searching for…

2 posts - 2 participants

Read full topic

Receiving a JSON array from RestFull and capturing a specific value

$
0
0

I need some help! I have the following array: https://gist.github.com/guilhermelirio/2fc6d2f0ce5e08489c3b2728091916ff

I created a Restfull sensor to know the temperature of my video card, but the value always shows unavailable.

sensor.yaml:

- platform: rest
  name: pc_sensors
  resource: http://192.168.6.53:10445/metrics/json
  json_attributes:
   - unit
   - sensor_type
   - sensor
   - source
   - value
   - valueType
   - entity
   - metricName
   - metric
  value_template: '{{ value_json }}'
- platform: template
  sensors:
    rtx_2080_temp:
      friendly_name: 'RTX AORUS 2080 Temp'
      value_template: '{{ states.sensor.pc_sensors[45].attributes["value"] }}'      
      unit_of_measurement: '°C'
      device_class: temperature

How do I get to capture exactly the temperature value of the video card?

Obs: sorry for my english!

1 post - 1 participant

Read full topic

Can I Integrate HA into an existing internal network with DNS, VPN and subdomains

$
0
0

Good day HA community.

I am new to HA, but not new to the whole Linux and networking world and there lies my problem:
I have a rather large home network with two VPNs, three subdomains (one for each location (family networks) and and existing ISC DHCP server and Bind9 as DNS. My local Bind instance is master for local forward and PTR records and slave for the remote sites.

Now I would like to not throw away that setup, but “integrate” HA into it. I was thinking about having HA live in “ha.home.mydomain.net” and it should manage (DHCP) a VLAN that is used for ESPs and other stuff I only want to interact with HA. That also brings up the point of network interfaces in HA OS:
I already managed to add a secondary NIC (HA running in KVM) and have it access the KVM-bridge and my LAN. But that would mean I would need a third vNIC that potentially would be a VLAN trunk and HA would tap into the VLANs on its own.

So dear community: is that possible at all? What is, and what should I abandon?

Thanks in advance
Jens

1 post - 1 participant

Read full topic

Phillips Hue Group and Automation causing an error

$
0
0

I am trying to set up an automation to essentially turn all the lights off in my house when I leave. I use Phillips Hue bulbs and have the integration set up and working. Here is my automations.yaml section, but the config won’t allow it. These hue groups are successfully integrated into HA and I can see them, and the info screen says “hue group = true”.

I enabled logging and the error was

  • Invalid config for [automation]: [type] is an invalid option for [automation]. Check: automation->action->0->type. (See /config/configuration.yaml, line 9).
  • Invalid config for [automation]: [domain] is an invalid option for [automation]. Check: automation->action->0->domain. (See /config/configuration.yaml, line 9).

But I don’t know how to fix that in the code.

FWIW I also tried listing the entities as a list (e.g. light.kitchen, light.office, etc) but that did not work.

- id: '1598704506586'
  alias: LIGHTS - Turn off when I leave home
  description: ''
  trigger:
  - entity_id: device_tracker.life360_dad
    from: home
    platform: state
    to: not_home
  condition: []
  action:
    domain: light
    entity_id: 
     - light.kitchen
     - light.office
     - light.bedroom
     - light.hallway
     - light.living_room
     - light.porch
    type: turn_off
  mode: single

Thank you in advance for your help.

1 post - 1 participant

Read full topic


Home Assistant Security (especially when using add-ons)

$
0
0

I have been checking the strength of all the passwords for HA users because I am preparing to open a port for my HA.

However, I use the Mosquitto add-on and I can’t use 2FA for the HA user that I have created specifically for access to the MQTT broker. Is there a way around this because if not it seems like a bit of a security issue.

Not in of itself it isn’t, but having one user without 2FA does seem to diminish the point of using 2FA for any users.

Or am I wrong?
Or is there a way around this?

5 posts - 3 participants

Read full topic

Mobile App Device Polling is Slow

$
0
0

I have Home Assistant app installed on my Android phone; and all works well, all sensors are enabled.

Problem that I am having is I have an automation setup that when any of my devices (car, laptop, phone) return home, to turn all my lights on (assuming that I came home after a not_home > home state change).

The automation itself works fine, but I could be sitting in the dark for 10 minutes sometimes before they kick on from a device poll update.

Obviously, this time delay is unacceptable. I am not quite sure how to reference this “platform” in my configuration.yaml, as this is really a “Mobile App” Integration; but am I still able to configure / overwrite default scan_interval / polling_intesity for this under mobile_app:?

I have unrestricted background data enabled on my phone; again, the polling is just terribly slow sometimes.

1 post - 1 participant

Read full topic

Groups of binary sensors not updating it's state

$
0
0

I am relatively new to Home Assistant and can use some guidance.

Goal

Wireless switch on my dustcollector when my woodworking devices are switched on.

Implementation

Binary sensor(s)

I have a few binary sensors indicating if a device is switched on or not. The binary sensors come from ESPHome devices and turn On when the connected device draws a current (using coil and transistor to create TTL true or false).

binary_sensor:
  - platform: gpio
    pin: GPIO14
    name: ${upper_devicename} jointer/planer

Group

I have created a group and want to use this to power on my dustcollector when any of the woodworking devices in this group is turned on.

dustcollector_clients:
  name: Dustcollector clients
  entities:
    - binary_sensor.a3_31_jointer_planer
    - binary_sensor.b3_winner_saw
    - binary_sensor.b3_winner_shaper

Results

  1. The binary_sensors appear and flip state when connected to ground (Off) or VCC (On).
  2. The group appears in Home Assistant and contains the binary sensors and their state flips correctly

Problem

The group state seems not to follow the state of the binary sensors. If any of them, or all are turned on, the state of the group is still off and the switch of the group can be operated independently to On and Off.

Am I doing something wrong?
Am I missing some vital part?

1 post - 1 participant

Read full topic

Import list of devices to automations and cards

$
0
0

I’m trying to import a list of devices into an automation. I have a file called “securityDevices.yaml”. I want to import it into an automation so I don’t have to type this each time.

Here’s the securityDevicesSS.yaml

root@raspberrypi:~/.homeassistant# cat securityDevicesSS.yaml
  - binary_sensor.12
  - binary_sensor.15
  - binary_sensor.16
  - binary_sensor.benjamin_front_window_sensor_6
  - binary_sensor.benjamin_side_window_sensor_2
  - binary_sensor.downstairs_front_window_2
  - binary_sensor.family_room_left_window_sensor_4
  - binary_sensor.family_room_right_window_sensor_5
  - binary_sensor.garage_door_sensor
  - binary_sensor.garage_home_door
  - binary_sensor.guest_bedroom_window
  - binary_sensor.kitchen_back_door
  - binary_sensor.other_back_door
  - binary_sensor.spare_bedroom_front_window_sensor_2
  - binary_sensor.spare_bedroom_side_window_sensor_3
  - binary_sensor.visonic_mct_340_e_96b73b0b_ias_zone
  - binary_sensor.west_back_window
root@raspberrypi:~/.homeassistant#

Is there a way I can import this into automations and cards?

1 post - 1 participant

Read full topic

Weird issue trying to control a z-wave plug with a z-wave switch

$
0
0

Hi, I am having a weird issue trying to use a GoControl WA00Z-1 Scene Switch to control a Minoston Z-Wave Smart Plug that shows up as an Inovelli Z-Wave plug in Home Assistant.

I have set up an automation to toggle the plug when I press the switch. Everytime I execute the automation manually, it toggles the plug immediately. And every time I press the switch, the automation’s last execution timestamp gets updated immediately. But pressing the switch still won’t get the plug to be toggled, or will do it after a long delay.

I also own another WA00Z-1 switch that I normally use to control a Wi-Fi smart bulb, and it works perfectly. Yet, If I try to use that switch to control the smart plug instead, I have the exact same issue.

So I did a little experiment: I disabled my automation, and toggled the plug repeatedly from the Home Assistant dashboard, while pressing the WA00Z-1 once in a while. I noticed that the toggling of the plug works at all times, except when I just pressed the switch. So is it possible that the two Z-wave devices are causing some kind of interference that are preventing them to work at the same time? Or am I missing something else?

I tried another Z-wave smart plug with the same switch, and got similar results.

1 post - 1 participant

Read full topic

Viewing all 108146 articles
Browse latest View live


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