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

Google calendar integration - I can't see description


Unknown errors in yaml

$
0
0

Hi all, I am new here and to yaml.
Tried to do a nice setup with choice and have validated externally but HA don’t accept my yaml ;(
(I measure the power drawn by a kitchen fan and like my roof fan to “follow”)
I get the error: “Message malformed: required key not provided @ data[‘action’]”
Can anyone tell me what’s wrong here:

alias: roof-fan
description: ''
trigger:
  - platform: device
    device_id: a7668ec42b399259f2386e0b39daea12
    entity_id: sensor.koksflakt_uppe_power
    domain: sensor
    mode: restart
    action:
      - choose:
          # IF 5W - 20W turn on half power
        - conditions:
          - condition:
            above: 5
            below: 20
            sequence:
          - service: switch.turn_on
            target:
            entity_id:
            - switch.ventilation_halv
          - service: switch.turn_off
            target:
            entity_id:
            - switch.ventilation_full
          # ELIF > 20W turn on full power
          - conditions:
              - condition:
                above: 20
            sequence:
          - service: switch.turn_on
            target:
            entity_id:
            - switch.ventilation_full
          - service: switch.turn_off
            target:
            entity_id:
          - switch.ventilation_halv
        # ELSE < 5W turn off 
        default:
        - service: switch.turn_off
          target:
          entity_id:
          - switch.ventilation_halv
        - switch.ventilation_full

1 post - 1 participant

Read full topic

Automation - condition how to check if input_text is empty?

All automations unavailable

$
0
0

All my automations became unavailable.
Last modifications:

  • downloaded a few themes
  • added !include statement to include all the themes under frontend: seemed to work
  • updates: core 22-2-9

info popup:

This entity is currently unavailable and is an orphan to a removed, changed or dysfunctional integration or device.

Any idea how that happened and how to correct it?

Will do a restore tomorrow if not solved by tomorrow.

1 post - 1 participant

Read full topic

Zoneminder API error

$
0
0

I to all, i recive a lot of error API
Logger: zoneminder.zm
Source: /usr/local/lib/python3.9/site-packages/zoneminder/zm.py:130
First occurred: 7 marzo 2022, 14:26:22 (68 occurrences)
Last logged: 20:26:43

Unable to get API response from ZoneMinder

on my zoneminder the api are activated for hassio user

1 post - 1 participant

Read full topic

Move datadisk popup closes at selection

$
0
0

Hi all,

Today I received my m.2 ssd to run home assistant on ssd with my Argon One case with m.2 expansion. Now I need to move the image from the sd-card to SSD, but I don’t have case to connect to my computer. I saw there is a functionality within home assistant of “Move datadisk” at System > Host. Home assistant/Pi sees the SSD but If I select the destination disk, the popup closes.
More people experiencing this problem?

Hope someone got an idea how to fix this.

Kind regards,

Lennart

1 post - 1 participant

Read full topic

Issue with z-wave js integration for a specific dimmer

$
0
0

In the process of migrating from deprecated zwave to the new integration I ran into an issue with a Dragontech dimmer.
Link to Z-Wave JS Config DB Browser page.
The specific issue is that Home assistant is reporting the dimmer as a switch with no way to control the dimming value. The zwave-js control panel is showing the correct device details as a dimmer and I am able to set dimming levels from the control panel.
The problem could be that there appear to be two devices in the zwave-js database, both called PD100 but one is a switch and another is a dimmer. Note that they do have different Product IDs. I am wondering if the mapping to the correct device is somehow getting messed up in home assistant. Please refer to the link above for the two devices.

I have filed a ticket for this issue but checking here to see if anyone has a tip for a quick fix. Link to ticket: zwavejs integration setting up wrong entities for PD100 dimmer · Issue #67933 · home-assistant/core · GitHub

1 post - 1 participant

Read full topic

Automation - google calendar refresh

$
0
0

Is there a way to refresh google calendar after add event in automation?

2 posts - 2 participants

Read full topic


Zwave_js.multicast_set_value

$
0
0

I have some innovelli red’s in my house and I want to configure them to flash a LED effect on certain events. If I use this:

service: zwave_js.multicast_set_value
data:
  command_class: '112'
  property: '16'
  value: 50268927
target:
  entity_id:
    - light.front_porch_lights

It works great. However, if I add another entity_id, it doesn’t work:

service: zwave_js.multicast_set_value
data:
  command_class: '112'
  property: '16'
  value: 50268927
target:
  entity_id:
    - light.front_porch_lights
    - light.front_door_light

What am I doing wrong here with the multicast setup? Anyone successfully get something like this working?

1 post - 1 participant

Read full topic

Can't update core, Timeout while processing CodeNotary

$
0
0

I’m running core-2022.3.2 on Home Assistant OS 7.4
When I try to update to 2022.3.3, it fails with the following error in the logs:
22-03-09 17:40:52 ERROR (MainThread) [supervisor.utils.codenotary] Timeout while processing CodeNotary

It appears that the file was successfully downloaded.
22-03-09 17:40:21 INFO (SyncWorker_8) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/odroid-n2-homeassistant with tag 2022.3.3.

Any thoughts?

2 posts - 1 participant

Read full topic

Pulling helpers into node-red global variables. Is there a better way?

$
0
0

I currently have a node-red flow that injects a message every 5 minutes which gets the current status of a few input_text helpers which then flow into a change node that sets the payload to global.gvarsomename for example.
When a node needs to act on the value of this variable, I then reference {{global.gvarsomename}} which works great.
I guess I could use a poll node for each variable, but redoing this to reduce 1 node isn’t worth it. I’d like to just get rid of the whole flow.

Is there another way to reference these helper values with something like {{hainputtext.somehelpername}} without triggering the flow I described? I’d like the values to be updated immediately on updating the helper, rather than waiting 5 minutes or polling them every second.

1 post - 1 participant

Read full topic

Nest Doorbell Battery Automation

$
0
0

After having issues with 2 Eufy doorbells, I went for the Nest battery doorbell. I’m trying to get the notifications working like I had on my Eufy’s.

What I had before was when someone was detected it would show me a notification on my TV using Notifications: Send a notification with firestick_4k. This worked perfectly.

I followed the instructions at Nest - Home Assistant but it does not display any pictures/videos on my phone or TV.

Can anyone help me with this? I have 2 weeks to send it back and will do if I can’t get the notifications working properly as the Google App is terrible!

If I don’t use a picture in the notification then I get the alert fine.

This is the code I used:

alias: Doorbell Person Alert
description: ‘’
trigger:

  • platform: device
    device_id: 7dff7f6a507ed355bfd8bd126e011ae1
    domain: nest
    type: camera_person
    condition: []
    action:
  • service: notify.mobile_app_robbs_iphone_xs_max
    data:
    message: Person detected at the front door
    data:
    image: >-
    /api/nest/event_media/{{ trigger.event.data.device_id }}/{{
    trigger.event.data.nest_event_id }}/thumbnail
    mode: single

4 posts - 2 participants

Read full topic

How to popup date picker with one click

$
0
0

I am looking a way to open date picker for input_datetime with one click.

My temporary solution:
01mp4

1 post - 1 participant

Read full topic

Automation doesn't start if the binary sensor is already in"on" state

$
0
0

Dear all,
I’ve a binary sensor that checks the temperature inside a room and an input boolean to start/stop the relative automation to switch on the fan. The binary sensor works very well and change its state to ON (if temperature is > 25). Unfortunately if i try to start the automation when the binary sensor is already in “on” state it fails to start… i tried to manually change the binary sensor state to off and then to on again and the automation works… how to solve???

The same situation/error occurs if f.e. I reboot HA and the binary sensor is already “ON” without the change of state…
someone could point me to the right direction to solve this problem???

Thanks a lot.

- alias: 005_fan_ON
  trigger:
    - platform: state
      entity_id: binary_sensor.alarm_temperature
      to: 'on'
  action:
    - service: switch.turn_on
      target:
        entity_id: switch.fan
mode: single


1 post - 1 participant

Read full topic

Errors when trying to upgrade HA Core

$
0
0

Greetings;

I am trying to upgrade Home Assistant core and it keeps throwing errors and won’t update.

Screen Shot 2022-03-09 at 11.05.49 PM

Any help would be greatly appreciated.

1 post - 1 participant

Read full topic


Fire HD 10 Unable to Connect to Tileboard

$
0
0

I just got a brand new HD 10 (11th gen) and trying to access my Tileboard panel but I does not work. Of probable note, I have by-pass login enabled for that (trusted) device and another console.

  • My tileboard works just fine on my other console (R-Pi 3 + Chrome kiosk)

Using the Silk Browser:

  • I can access the lovelace panel IF I use the IP address URL, not the homeassistant.local URL (it thinks I’m doing a search)
  • I cannot access the tileboard panel, even if I use the IP address URL: I see the tileboard background load, the red error box flashes, then I get the “This site can;t be reached” error page with the URL “https://homeassistant.local:8213/auth/authorize?client_id=…” displayed in the address bar.

Using the Fully-Kiosk browser:

  • I can access the lovelace panel IF I use the IP address URL. If I use the homeassistant.local URL, I get net::ERR_NAME_NOT_RESOLVED error
  • I cannot access the tileboard panel if I use the IP address. The “Webpage not available” page is displayed with the same redirect URL with the error “net:;ERR_NAME_NOT_RESOLVED”.

It appears the HD 10 cannot handle *.local addresses. I suspect that the authentication module is causing the problem when it composes the re-direct URL: it always fills in “homeassistant.local” even though I use the IP address.

Is there a way to have the re-direct URL use the IP address instead?

UPDATE. I found that I could have Tileboard use the IP address by modifying the following line on ‘config.js’

   serverUrl: 'https://192.168.4.61:8123'

But now I get the background screen with a bunch of error boxes with “System error” in it. Still works fine if I access from my laptop via Chrome.

Any other approaches to connecting my tablet to Tileboard?

1 post - 1 participant

Read full topic

Use value from input_select to run automation

$
0
0

Hi,

followed some instructions here to get MS Teams status to report in HA.

It works great, I can now see the status in HA on my dashboard (as per the instructions on the page in the link above),

Next I’d like to create a light (via Hue) to reflect the status shown on my dashboard.

The integration uses input_select with the states (options)

options:

  • Available
  • Presenting
  • In A Call
  • In A Meeting
  • Busy
  • Away
  • Be Right Back
  • Do Not Disturb
  • Idle
  • Offline
  • ‘Off’
  • In A Conference Call

When I try to create an automation, using the input_select entity ID and a trigger state, i use attribute (options), then say from available to busy the condition, then I action the device (Hue Light) even simply turning it off does not work.

How do I connect the existing state of Teams presence to flip on a light (or change the colour of it)?

thanks

2 posts - 2 participants

Read full topic

Adding an interger an minutes to the current time

$
0
0

I would like to keep the data I have for how long my commute is in minutes. And add it to the current time. I have tried several iterations but I can’t do it.

template:
  - sensor:
    - name: "ETA to Work"
      state: "{{ as_timestamp(now()) + sensor.commute_time | timestamp_custom('%H:%M') }}"

I have also tried “{{ sensor.time) + sensor.commute_time | timestamp_custom(’%H:%M’) }}” and using float and no luck. I want to add the HERE commute time to the current time. What else should I try?

1 post - 1 participant

Read full topic

Caldav is splitting full day events on two days

$
0
0

Hello everyone, I have integrated my Nextcloud calendar into HA. The normal events are displayed correctly, all full day events are displayed twice.

The events were created either with an iPhone or via Thunderbird. The time there is always from 00:00 to 00:00.

But Home Assistant now splits this event to 23:00 to 00:00 before the actual appointment and 00:00 to 23:00 on the correct events day. So I always have two entries in my calendar. One event before and one event on the right day.

Is this a known bug? Is there a possibility to do something about it?

calendar:
  - platform: caldav
    username: home-assistant
    password: !secret caldav
    url: https://cloud.example.de/remote.php/dav

image

1 post - 1 participant

Read full topic

Problema con automazione luce

$
0
0

Non riesco a far funzionare questa automazione, viene eseguita senza tenere conto dello stato. Lo switch agisce su un relè passo-passo e tramite un rivelatore sull’uscita, restituisce lo stato. Lo switch funziona e l’icona cambia regolarmente tra blu e giallo in base se la lampada è accesa o spenta.
Dove sbaglio?
Grazie

# Luce portico
  - platform: mqtt
    unique_id: portico_switch
    name: "portico"
    state_topic: "ESP_8_Termocamino/Lampada_portico_stato/State"
    command_topic: "ESP_8_Termocamino/cmd"
    payload_on: "LongPulse_mS,12,1,250"
    payload_off: "LongPulse_mS,12,1,250"
    state_on: "1"
    state_off: "0"
    optimistic: false
    qos: 0
    retain: false

# -------------------------
# ----- Automations ------------
# -------------------------
# Accende luce portico al tramonto
  - alias: 'Rule 1 Light on portico 20 dopo il tramonto'
    trigger:
      - platform: sun
        event: sunset
        offset: '00:15:00'
    condition: 
      - condition: state
        entity_id: 'switch.portico'
        state: "off"
    action:
      service: switch.turn_on
      entity_id: switch.portico
# Spegne luce portico alle 2
  - alias: 'Rule 2 Light off portico alle 2'
    trigger:
      - platform: time
        at: '02:00:00'
    condition: 
      - condition: state
        entity_id: 'switch.portico'
        state: "on"
    action:
      service: switch.turn_off
      entity_id: switch.portico

2 posts - 2 participants

Read full topic

Viewing all 105851 articles
Browse latest View live


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