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

Google calendar integration fails

$
0
0

@skank wrote:

Hi

I followed the prerequisites from https://www.home-assistant.io/integrations/calendar.google/ succesfully

I then added the stuff in my config file
I got the notification and granted HA acces.
I also got the google.calendars file so; so far so good

i then added the sensor to my view page.
However, when looking to that page, i see a response error 400?

When looking in dev tools, the entity says its state is off

Anyone can help pls?
Would appreciate it !
Thx

Posts: 1

Participants: 1

Read full topic


Markdown-card, icon, navigate

$
0
0

@r1kkie wrote:

Hi,

Can someone help me out with some simple code, I have no clue how to find what I want to do.
I have a simple markdown card that displays an icon.

card:
  type: markdown
  content: |
    <ha-icon icon="fas:chevron-left"></ha-icon>

Now i want to add when you click/tap it it navigates to /lovelace/0.
How do I achieve this?

Thanks in advance!

Posts: 3

Participants: 2

Read full topic

deCONZ events not showing up in HA, even though everything seems to be connected

$
0
0

@reisub wrote:

I have a ConBee II plugged into an Odroid N2 running Supervised Home Assistant (version 0.106.2) and I made sure to plug it in via a usb extension cable like suggested by the manufacturer.

I’ve combined all the screenshots because the forum only let’s me upload a single image:

I’ve set up the official deCONZ Addon (top left image).

I’ve succesfully paired two IKEA on/off switches (top right image).

If I connect to deCONZ via VNC I can see the switches light up in the interface when I press the physical buttons (bottom left image).

But unfortunately no events show up in HA (bottom right image).

I’ve also tried to set up automations with the unique_ids which I saw in the log when HA connects to deCONZ, but none of them worked so I’m thinking there is a problem in HA receiving events from deCONZ.

Does anyone know what else I could try to fix this?

Posts: 5

Participants: 3

Read full topic

Two entity on same Ikea device

Different Lovelace Config per user / device

$
0
0

@MarkB1 wrote:

Hi,

I am sure I have read somewhere before it is possible to have a different lovelace configuration for individual user / device but googling hasn’t helped me.

I have created a new user, in this instance I have called Guest but the u/i is the same as my main admin user.

Regards,

Posts: 3

Participants: 3

Read full topic

Can someone help me with automation Milight remote dimming Philips Hue lights

$
0
0

@Thieske wrote:

Hello. I am Thijs from The Netherlands and want to ask if someone can help making a automation where my Milight remote can change the brighness of my Philips Hue lights. I have created a sensor for the Milight remote with the Milight MQTT hub. I receive the remote values. I want to create one automation for changing the brightness value. Can someone help me with getting this to work. I want to use the value the remote generates to set the brightness of the Hue bulb. Thanks. Here are my sensors in the configuration file:

  • platform: mqtt
    name: “Remote kantoor 3 staat”
    state_topic: “milightb/updates/0x5E2B/fut089/3”
    value_template: “{{ value_json.state }}”

  • platform: mqtt
    name: “Remote kantoor 3 helderheid”
    state_topic: “milightb/updates/0x5E2B/fut089/3”
    value_template: “{{ value_json.brightness }}”

Posts: 2

Participants: 2

Read full topic

Help with hdmi output

Start sampling of trend sensor only when a switch changes state to on

$
0
0

@randomhobby wrote:

I’m trying to sense if my gas heater is in an error state by sensing temperature change in the house. I get many false positives because the trend sensor samples in time intervals that are not aligned with the thermostat turning the heater on, thus the automation that sends me a notification thinks it’s broken.
It takes about 30min from when the thermostat turns on to when there is a measurable increase in temperature. I changed sampling intervals on the trend sensor and trigger intervals on the automation but it’s not reliable.
Is there a way to get a trend sensor to start sampling the temperature change only when the thermostat turns on?

Posts: 1

Participants: 1

Read full topic


History Graph since event

$
0
0

@mitchell wrote:

I am trying to show download consumption since an MQTT event

For example, Event happens, then i want a graph (or numbers) showing how much data has been downloaded since that event.

With the history graph i can put “Hours to show” but i Really want “Show since event” is this possible?

Posts: 1

Participants: 1

Read full topic

"At least one locale is required" error when try testing the integration

$
0
0

@Tamas.Toth.ebola wrote:

Dear All!

I tried to setup a now Google Assistant manual integration based ont the public manual (https://www.home-assistant.io/integrations/google_assistant/) but without success.

After setting up everything (GCP service account for state report, Home Assistant through .YAML, and the basically required Google action) when I click on the [Test] button at the upper-right corner of the https://console.actions.google.com/project/{projectID}/smarthomeaccountlinking/ page it throw me to the https://console.actions.google.com/project/{projectID}/simulatorcreate where I get an instant snack-bar notification: Test enabling… [Dismiss] > At least one locale is required [Dismiss]

After it the simulator say: No tests currently active.

And I think therefore in my Google Home app I simply can not find the mentioned in manual ‘[test] {App name}’ application.

All basic settings are default in GCP - Actions page. Only one language active the English without sub-types (but I tried with explicit US one with the same result also)

Can anybody help on it? Do you met with it anytime?

(Over on this I get warning in the HASS log but this should be just my second investigation: Request for https://homegraph.googleapis.com/v1/devices:reportStateAndNotification failed: 404)

Thanks in advance!

Posts: 2

Participants: 1

Read full topic

Wake-On-LAN switch with "busy" state?

$
0
0

@derandiunddasbo wrote:

I have some WOL switches in my config, which are essentially working fine, apart from the common behavior of temporarily toggling to off again until the IP of the client is pingable.

I’m pretty sure, I read something in the past about someone solving this problem somehow with an entity that is able to enter an intermediate state while a client is booting for a better indication, that HA really processes the WOL request and didn’t just ignore it.

But I can’t find the source anymore and I’m not sure, if it was just a smart configuration using OOTB functionality or if it was a custom component or something completely different. Can somebody help me out with this?

Posts: 1

Participants: 1

Read full topic

Automation with sun condition doesn't works

$
0
0

@claustro wrote:

I would like to make an automation when my alarm is triggered it switch on all garden lights after 5 seconds.

I made a wifi switch that detect when my alarm goes on. and tried to configure an automation in the graphical interface of home assistant

device_id: 2833ca72c042415786ed04a5ff230e96
domain: binary_sensor
entity_id: binary_sensor.luci_allarme_switch1
platform: device
type: turned_on
condition: sun
after: sunset
device_id: 7cf4d1691d754cbb8a85ef6a538f083f
domain: switch
entity_id: switch.shelly_shsw_1_688f36
type: turn_on

the switch works correctly if I don’t use the sunset condition, I tried the device at midnight and it doesn’t work. What I am missing
Thx
Andrea

Posts: 8

Participants: 4

Read full topic

Friendly Naming 1-Wire devices [SOLVED]

$
0
0

@stretch wrote:

I have 3x DS18B20 connected to my RPi 4. Home Assistant is in a Docker. Once I added platform: onewire to configuration.yaml and rebooted Home Assistant, they were detected automatically and appear on the home screen.


But I cannot add a friendly name to them. In the guide here, it mentions to add the device id and name to configuration.yaml
sensor:
  - platform: onewire
    names:
      GENERATED_ID: FRIENDLY_NAME

If I list the devices:

ls /sys/bus/w1/devices
28-000005dc1dff  28-000005dcfc5c  28-000005dd046b  w1_bus_master1

What I have tried

sensor:
  - platform: onewire
    names:
      sensor.28.000005dd046b_temperature: FRIENDLY_NAME1
      sensor.28.000005dcfc5c_temperature: FRIENDLY_NAME2
      sensor.28.000005dc1dff_temperature: FRIENDLY_NAME3

and

sensor:
  - platform: onewire
    names:
      sensor.28-000005dd046b_temperature: FRIENDLY_NAME1
      sensor.28-000005dcfc5c_temperature: FRIENDLY_NAME2
      sensor.28-000005dc1dff_temperature: FRIENDLY_NAME3

but neither will create a friendly name. What am I doing wrong? Must be something simple. I am new to Home Assistant.

EDIT: Figured it out:

sensor:
  - platform: onewire
    names:
      28-000005dd046b: FRIENDLY_NAME1
      28-000005dcfc5c: FRIENDLY_NAME2
      28-000005dc1dff: FRIENDLY_NAME3

Posts: 2

Participants: 2

Read full topic

Turning on Yeelight with an Aqara Button (automation not working)

$
0
0

@TMachado wrote:

So for some reason after yeelight firmware upgrade my yeelight stopped being auto discovered (there are some posts around that), which I solved this way:

yeelight:
  devices:
    192.168.1.80:
      name: Yeelight

So now I can manually control the yeelight through HA, and by sensor Aqara button/switch is still there. Problem is, my automation stopped working because as the light is not auto discovered, the entity id is no longer recognized (does not appear on the entities on HA):

- alias: "Controlar Lampada Sala"
  trigger:
    # Single press bedroom round switch
    - platform: event
      event_type: click
      event_data:
        entity_id: binary_sensor.switch_158d0001d62b0d
        click_type: single
  action:
    service: homeassistant.toggle
    data:
      entity_id: light.yeelight_UNKNOWN_7c49ebb35642

What should I put on the entity id?

Posts: 1

Participants: 1

Read full topic

How to use state_color?


"http:" indentation unexpected behavior

$
0
0

@wagnojunior wrote:

I have Home Assistant 0.104.3 with Duck DNS and NGINX SSL/TLS proxy. Everything works super fine (DigiCert SSL certificate checker says it is correctly installed).

Recently I checked my configurator and noticed that the indentation was off (please see below). Despite that, all works well as I mentioned.
IMG_20200209_224641

So out of curiosity I moved the “http:” block one space to the left (as below). This indentation is supposedly the correct one, right?
IMG_20200209_224705

The problem is, after changing the indentation (to the supposedly correct format) I can no longer access my Home Assistant instance (neither via Duck DNS nor directly through IP address)

Any tips on this one? Can you explain this unexpected behavior?
I appreciate it.

Cheers~!
Wagno.

Posts: 1

Participants: 1

Read full topic

Timestamp into string variable

$
0
0

@skitex wrote:

Hello,

I’m trying to add a timestamp to the camera.snapshots and send the image to a persistent notification. I would like to define the timestamp only once and put the timestamp in a string variable. Afterwards I would like to reuse that variable to send out the persistent notification.

When doing this I will have a unique photoname and it will not be subject on browsers image cache. I tried using the data_template within the persistent notification but I did not get it working.

The best thing I have right now is creating two camera snapshots, one for just archiving and one to use with the persistent notification.

Any help to get it working with defining the timestamp into a variable and re-using it in the persistent notication is welcome.

another working approach is also welcome

thanks in advance

stijn

- id: '1574603291945'
  alias: '[doorbell] push actions'
  description: ''
  trigger:
  - event_data:
      address: 1/5/4
      data: 1
    event_type: knx_event
    platform: event
  condition: []
  action:
  - data:
      message: Er is iemand aan de deur.
      title: Deurbel
    service: notify.notify
  - data:
      deviceID:
      - ipad_living
      entity_id: camera.cam_voordeur
      large: true
    service: browser_mod.more_info
  - data:
      filename: /config/www/camera/{{ now().strftime("%Y%m%d_%H%M%S") }}_snap_voordeur.jpg
    entity_id: camera.cam_voordeur
    service: camera.snapshot
  - delay: 00:00:02
  - data:
      filename: /config/www/camera/snap_voordeur.jpg
    entity_id: camera.cam_voordeur
    service: camera.snapshot
  - data:
      message: 'Er is iemand aan de deur: [foto voordeur](https://xxxxxxxxxxxxxxxxxxxxxxxxxxx.ui.nabu.casa/local/camera/snap_voordeur.jpg?{{now().second}})'
      title: Deurbel
    service: persistent_notification.create
  - delay: 00:01:00
  - service: browser_mod.close_popup

Posts: 2

Participants: 2

Read full topic

Stop a return/enter character typing in a channel?

$
0
0

@jriker1 wrote:

Using the harmony hub and trying to map the number keys. Kind of did that, but everytime I hit one it’s like it has an Enter/OK button hit and can’t enter more than one number before it switches.

So for my testing I have a script of:

channel_1:
  alias: 'TV - Channel 1'
  sequence:
    - service: harmony.change_channel
      data_template:
        entity_id: remote.familyroom_hub
        channel: 1

In lovelace I have

type: entity-button
name: 1
tap_action:
  action: call-service
  service: script.channel_1

Any thoughts?

Posts: 1

Participants: 1

Read full topic

Configuration Tab is spinning and NOT loading

$
0
0

@nmsaini wrote:

I am running latest version of HASSIO (3.11) on RPi 3, and everything functionally is working, however, both “configuration tab” and “Developer Tools” are not loading. When I click on them they are just spin and nothing gets loaded. I eventually give up and go back to a different Tab. Not sure when this behavior started (with what version). It used to be working and never had an issue, and no yaml changes have been made recently.

If I can’t load the “configuration tab” that basically means I can’t create new scripts/automation etc from the UI. Anyone else having this issue?

Posts: 3

Participants: 2

Read full topic

MQTT Icon Configuration Help

$
0
0

@ha_time wrote:

Has anyone been able to successfully setup an MQTT motion sensor icon?

I am using lovelace. I have tried icon_template (which is not available for sensor.mqtt) as well as device_class. Device_class worked, but there is not a motion sensor device class for MQTT sensors…as far as I can tell. I am able to get it working for other sensors, but sensor.mqtt does not support icon_template.

I would like to have an icon that changes from mdi:eye (when no motion) to mdi:walk when motion is detected.

Posts: 1

Participants: 1

Read full topic

Viewing all 108662 articles
Browse latest View live


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