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

Error executing script in automation

$
0
0

@sebastian15 wrote:

Hey guys,

I have a problem with an automation and I don’t know how to solve it.
Error message:

Raum reinigen: Error executing script. Invalid data for call_service at pos 1: not a valid value for dictionary value @ data[‘entity_id’]

This is my automation (it is a select option for my roborock vacuum):

- id: '1589127558032'
  alias: Raum reinigen
  description: Reinigt den in der UI gewählten Raum
  trigger:
  - entity_id: input_select.cleaning_room
    from: Raum wählen
    platform: state
  condition: []
  action:
  - data_template:
      entity_id: >
        {% if is_state('input_select.vacuum_room', 'Wohnzimmer') %}
          script.vacuum_wohnzimmer 
        {% elif is_state('input_select.vacuum_room', 'Schlafzimmer') %} 
          script.vacuum_schlafzimmer 
        {% elif is_state('input_select.vacuum_room', 'Küche') %} 
          script.vacuum_kueche 
        {% elif is_state('input_select.vacuum_room', 'Badezimmer') %} 
          script.vacuum_badezimmer 
        {% elif is_state('input_select.vacuum_room', 'Büro') %} 
          script.vacuum_office 
        {% elif is_state('input_select.vacuum_room', 'Eingangsbereich') %} 
          script.vacuum_eingangsbereich 
        {% elif is_state('input_select.vacuum_room', 'Flur') %} 
          script.vacuum_flur 
        {% else %} {% endif %}
    service: script.turn_on
  - data:
      state: Raum wählen
    entity_id: input_select.cleaning_room
    service: input_select.select_option 

This is one of the called scripts:

vacuum_wohnzimmer:
  alias: Wohnzimmer saugen
  sequence:
  - service: vacuum.send_command
    entity_id: vacuum.roborock_s5_max 
    data: 
      command: app_segment_clean
      params: [18]

The script is working fine (direct call from the home assistant UI).

Posts: 2

Participants: 2

Read full topic


Stable hourly weather?

$
0
0

@benblb wrote:

Looks like most posts are about Darksky, but they’re not allowing new API users. I’ve tried using the national weather service, but it’s super delayed and every few minutes decides to be unavailable.

I’m wondering if there is a guide somewhere for how to get a stable hourly weather forecast into the default weather card?

Thanks!

Posts: 1

Participants: 1

Read full topic

Problems with mobile_app integration

$
0
0

@Allanon wrote:

I just started having problems with the mobile_app integration. I’ve looked at the log and it doesn’t show anything at all what the problem is. No changes have been made to my config for months and now this happens. Currently running 0.109.6.

Here’s the log if, it it helps at all:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/util/json.py", line 32, in load_json
    return json.loads(fdesc.read())  # type: ignore
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 171, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/mobile_app/__init__.py", line 40, in async_setup
    app_config = await store.async_load()
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 98, in async_load
    return await self._load_task
  File "/usr/src/homeassistant/homeassistant/helpers/storage.py", line 111, in _async_load
    json_util.load_json, self.path
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/util/json.py", line 38, in load_json
    raise HomeAssistantError(error)```

I'm pulling my hair out on this one.

Posts: 1

Participants: 1

Read full topic

Help needed to pass a Node-Red value to HA

$
0
0

@Frank_R wrote:

I’m trying to send a value from node red to HomeAssistant.

First I created a dummy sensor:

  - platform: template
    sensors:
      solar_power1:
        friendly_name: "Solis1"
        value_template: "{{ states('sensor.power_consumption') }}"
        unit_of_measurement: 'kW'

I have a value ready in Node-Red (scraped from a website) and want this value to be passed to this entity.
I’m new to node red and can;t figure out which node I need and how to configre this. In need some example but can;t find any with some explanation.

Posts: 1

Participants: 1

Read full topic

Remove (border) space of cards

$
0
0

@hajo62 wrote:

I’m using a picture-elements card and would like to display other cards (i.e. bar card) as shown in the screenshot.
How could I remove the white border around the bars?

image

Here my code:

elements:
  - entities:
      - entity: sensor.processor_use
      - entity: sensor.cpu_temperature
    positions:
      icon: 'off'
      indicator: 'off'
      name: inside
    style:
      left: 20%
      scale: 70%
      top: 70%
      width: 90%
      font-size: 20px
    type: 'custom:bar-card'
  - entity: sensor.uptime
    style:
      left: 71%
      top: 26%
    type: state-icon
  - entity: sensor.uptime
    prefix: 'UpTime: '
    style:
      color: white
      font-size: 150%
      left: 71%
      top: 36%
    title: text
    type: state-label
image: /local/images/RPi-card.png
type: picture-elements

Posts: 2

Participants: 2

Read full topic

Quick question about card-mod styling

$
0
0

@mkanet wrote:

Is it possible to change the style to only an element’s friendly name, not the state?

Below is the closest I could get. I’m not sure how to avoid affecting adding BOLD style to the state:

Alyssa

Code:

entities:
  - entity: sensor.alyssa_person
    style: |
      :host {
        font-weight: bold;
      }
    image: /local/images/Alyssa.png
  - entity: sensor.pvg100_battery_level
    name: Battery Level
  - entity: sensor.pvg100_wifi_connection
    name: Wi-fi
show_header_toggle: false
type: entities

Posts: 1

Participants: 1

Read full topic

Save Volume Level

$
0
0

@getsmokes wrote:

Recently I’ve been saving light states creating scenes on the fly which has been working great.

Is it possible to save the volume level of a media player using the same method? I’ve given it a go but may be missing something as I can’t get it to work.

Posts: 1

Participants: 1

Read full topic

Suspend log file notifications for certain integrations

$
0
0

@gijbelsy wrote:

I have a squeezebox server in my network. When it’s not in use, the server suspends and no network communication is possible. At this point HA starts spitting out errors in the log. That’s reasonable since the squeezebox is no longer reachable at that moment.
Problem is that it’s really flooding my log.
Is it possible to suspend these notifications, or somehow tell HA the components is temporary unreachable? I have a sensor that knows when the squeezebox is suspended, so via an automation this could be doable.

Posts: 1

Participants: 1

Read full topic


Assistance requested with inability to access via SSL connection or utilise TOTP

$
0
0

@knight wrote:

Good morning all,

After exhausting every option I can think of I’m hoping that someone on these forums will have more knowledge than I and will be able to point me in the right direction.

A little while ago (not quite sure when - I’ve been away with work) I ceased to be able to access HA from external to my network, which has been working without issue since install multiple versions ago (somewhere in the 70s or early 80s). I get the login page, login with the appropriate credentials and then get the “Unable to connect to Home Assistant. Retry” page.

I can still login with no issues by using the local IP address of the HA server.

All my searching pointed to a defect with the Nginx reserve proxy. I’ve tried everything that I can see in those threads with no success. However the relevant section of my Nginx configuration file is:

server {
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

upstream php-handler {
        server 127.0.0.1:9000;
        #server unix:/var/run/php5-fpm.sock;
}

#####OTHER SITES HERE####

    listen       443 ssl;
    server_name  [externaladdress];

    ssl on;
    ssl_certificate [internal path] # managed by Certbot
    ssl_certificate_key [internal path] # managed by Certbot

       ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
       ssl_prefer_server_ciphers on;
       ssl_dhparam /etc/ssl/certs/dhparam.pem;
       ssl_ciphers 'ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES$
       ssl_session_timeout 1d;
       ssl_session_cache shared:SSL:50m;
       ssl_stapling on;
       ssl_stapling_verify on;
       add_header Strict-Transport-Security max-age=15768000;

    proxy_buffering off;

    access_log /var/log/nginx/ha_access.log;
    error_log /var/log/nginx/ha_error.log;

    location / {
        proxy_pass http://[myinternalip];
    proxy_http_version  1.1;
    proxy_cache_bypass  $http_upgrade;

    proxy_set_header Upgrade           $http_upgrade;
    proxy_set_header Connection        "";
    proxy_set_header Host              $host;
    proxy_set_header X-Real-IP         $remote_addr;
    proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-Host  $host;
    proxy_set_header X-Forwarded-Port  $server_port;
    }

    location /api/websocket {
        proxy_pass http://[myinternalip]/api/websocket;

        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}

However, in the last 48 hours I tried to access HA from a different device and had to put in my one-time code using google authenticator. It failed.
I deleted the requirement from the command line so I could log in, then tried to re-enable it, to which I got the responce “invalid code” during the setup process.

I thought there might be a time based issue (cryptographic seed) so I checked the time on the server and the docker container and they both match the realworld time. Leaving that as a dead end.

So I’m out of ideas and hoping someone else might be able to suggest something else I can try.

The details you will probably need:

  • Installation method: Docker
  • Current Version: 109.6

Docker compose:

version: "2.1"
services:
  homeassistant:
    container_name: homeassistant
    image: homeassistant/raspberrypi3-homeassistant:stable
    network_mode: "host"
    ports:
      - 8123:8123
    volumes:
      - /home/homeassistant/.homeassistant:/config
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    restart: unless-stopped #on-failure
    depends_on:
      mosquitto:
        condition: service_started
    healthcheck:
      test: ["CMD", "curl", "-f", "http://127.0.0.1:8123"]
      interval: 30s
      timeout: 10s
      retries: 6

Relevant bits of the HA Configuration file:

homeassistant:
  # Name of the location where Home Assistant is running
  #name: Home
  # Location required to calculate the time the sun rises and sets
  #latitude: !secret lat
  #longitude: !secret long
  # Impacts weather/sunrise data (altitude above sea level in meters)
  #elevation: 85
  # metric for Metric, imperial for Imperial
  #unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  # time_zone: Australia/Sydney
  # Customization file
  customize: !include customize.yaml
  auth_providers:
    - type: homeassistant

http:
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  base_url: https://[correct external address]
  # use_x_forwarded_for: true
  # trusted_proxies: 

Thankyou everyone, I really appreciate the assistance.

Posts: 1

Participants: 1

Read full topic

Conversation Language Setup?

$
0
0

@helgiftw wrote:

Hello. I have some troubles with conversation component of the hass.io.
After SSL setup and port forwarding, system has started to work and got speech to text conversions (what i wanted to do)… but only in English. Is it possible to set other language for STT working?
My interface is set to other language (Russian), but it did not change anything with that issue.
Strange enough, that in source code of frontend there is a lang tag with “EN” value. I did’t find where i can change that.

PS. Sorry for my English.

Posts: 1

Participants: 1

Read full topic

Issues with integrating MiFlora

$
0
0

@Woosh wrote:

I have a few xiaomi miflora sensors I’m trying to connect to hassio 64bit I have running on a rPi4. The sensors never receive any data. I have enabled Bluetooth tracker to install Bluetooth components but that doesn’t seem to help.

Before purchasing the rPi4 I tried out HA on a Ubuntu installation and got the miflora component working. I used the values from that configuration on my hassio configuration so I don’t think it’s a MAC address issue.

I opened ssh port 22222 and ran bluetoothctrl > scan on from there and it detected the sensors.

What else should I try?

Posts: 1

Participants: 1

Read full topic

Automation and switches stopped working

$
0
0

@schuss wrote:

Hi,

Since a couple of weeks my automation and switches of my RFXTRX switches stopped working.
When I try to turn on or off an individual light or the group with my lights, I get this error:

Failed to call light/turn_off. write failed: [Errno 5] I/O error
or
Failed to call homeassistant/turn_off. write failed: [Errno 5] I/O error

This is from my condiguration.yaml:

rfxtrx:
  device: /dev/ttyUSB0

light:
  - platform: rfxtrx
    automatic_add: true
    devices:
      071001054d010070:
        name: Spots boekenkast
      0b1100000029a00004000060:
        name: Staande lamp
      0b11000000247e760b010f50:
        name: onbekend
      0b1100000029a00002000060:
        name: Leeslamp bank
      0b1100000029a00003000040:
        name: Klemspot pilaar
      071001044d030060:
        name: Spots tuindeur

and my automations.yaml:

- id: '1552256573830'
  alias: Lichten aan vóór zonsondergang
  trigger:
  - event: sunset
   # offset: -00:35:00
    platform: sun
  condition: []
  action:
  - alias: ''
    data: {}
    entity_id: light.color_temperature_light_1
    service: light.turn_on
  - entity_id: light.staande_lamp
    service: light.turn_on
  - entity_id: light.klemspot_pilaar
    service: light.turn_on
  - entity_id: light.leeslamp_bank
    service: light.turn_on
  - entity_id: light.spots_boekenkast
    service: light.turn_on
  - entity_id: light.spots_tuindeur
    service: light.turn_on
- id: '1556817416817'
  alias: Lichten uit
  description: Lichten in de huiskamer
  trigger:
  - at: '22:30:00'
    platform: time
  - at: 08:10
    platform: time
  condition: []
  action:
  - entity_id: light.color_temperature_light_1
    service: light.turn_off
  - entity_id: light.staande_lamp
    service: light.turn_off
  - entity_id: light.klemspot_pilaar
    service: light.turn_off
  - entity_id: light.leeslamp_bank
    service: light.turn_off
  - entity_id: light.spots_boekenkast
    service: light.turn_off
  - entity_id: light.spots_tuindeur
    service: light.turn_off
- id: '1578853150225'
  alias: Turn off the lights when I leave home
  description: ''
  trigger:
  - entity_id: person.roel_neumann
    event: leave
    platform: zone
    zone: zone.home
  condition: []
  action:
  - device_id: 447e7038de8f40a193c495a096276ab6
    domain: light
    entity_id: light.color_temperature_light_1
    type: turn_off

I have one Zigbee switch in my automation through deConz, which still is working.

I’d like to know why this stopped working, although I didn’t change anything, other than updating Hassio.
Present version is 0.109.6

I’ll be very grateful for any advice.

Regards,
Roel

Posts: 1

Participants: 1

Read full topic

Carrage Returns RS232

$
0
0

@IamDan wrote:

Hey guys, Ive been butchering a custom componant I found here to get my Cambridge Audio amplifier working in home assistant. The componant loads fine and I can see it in lovelace. The problem is the commands are not being sent.
If I use a program like termite and set carrage returns on and I can control the amp. However when using Home Assistant I get nothing.
Here is the componant I have been playing with https://github.com/lievencoghe/cambridge_cxa

and here is the specific lines Im trying to add a carrage return to

AMP_CMD_GET_PWSTATE = "#01,01"
AMP_CMD_GET_CURRENT_SOURCE = "#03,01"
AMP_CMD_GET_MUTE_STATE = "#01,03"

I have tried \n and \r and a combination of both, inside and outside of the quotes to no avail.
Has anyone seen this before? How would I go about fixing it?

Posts: 1

Participants: 1

Read full topic

Input_text add map values

$
0
0

@jaswalters wrote:

I’m attempting to do some planning for a config I would like to create. Still pretty new to HA but I understand coding.

I see the input_text is basically a storage mechanism. It states it can accept map values.

Looking through the docs and posts I have not seen how to create these maps.

Can it be name value pairs like:
[label1:user1]
[labe2:user2]

If so do you use templates to loop over the collection to retrieve values?
Can you update a single item in the collection?

Posts: 3

Participants: 2

Read full topic

Help adding additional yaml files using !include to configuration.yaml

$
0
0

@Sinfonia97 wrote:

I have been trying for a week now to break out my configuration.yaml into a few yaml files. When I try to add them with the !include I keep getting an error similar to this:

extra keys not allowed @ data[‘camera’]

Here is what I have added to my configuration.yaml:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

homeassistant:
#  switch: !include switch.yaml
  camera: !include camera.yaml

frontend:
  themes: !include themes.yaml
  

As you can see, I tried adding a switch.yaml and camera.yaml and both of them throw the same error. The themes.yaml worked as expected, so not sure what is wrong.

I am very new to this and have found several post showing the exact thing I am doing, or at least I think it is the exact thing, but I keep getting errors. Any help would be greatly appreciated.

Posts: 2

Participants: 2

Read full topic


How to control mobile access in different zones

$
0
0

@tramanah wrote:

Hi, I have successfully integrated all my office devices in Hassio (latest version) running on raspberry pi. Its works are excellent. I did register with cloud nabu nasa and used desktop panel and staff’s mobile on Andriod to control devices. The questions are:-

How I can control mobile when they are in office only should able to access most of groups devices and when they are away from the office should able to access a different set of group devices.

Posts: 1

Participants: 1

Read full topic

Konnected Integration - Alarm OUT triggers when I reboot HomeAssistant

$
0
0

@connor.robinson71 wrote:

Hi There,

I have 2 konnected panels configured and binary.senors are working well. I have physically connected the OUT switch for the siren. When i reboot homeassistant the siren sounds. The Siren switch is inverted meaning off sounds the alarm and on turns it off. Any suggestions on how I fix this inverted behaviour?

Warm Regards,
Connor

Posts: 1

Participants: 1

Read full topic

107.6 to109.6 Update fails

$
0
0

@cnschulz wrote:

Gday,

My 109.6 update fails and I’m not finding much help in the logs. Any ideas how to debug this?

20-05-13 01:34:28 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:43:19 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh
20-05-13 01:43:40 INFO (MainThread) [supervisor.homeassistant] Update Home Assistant to version 0.109.6
20-05-13 01:43:40 INFO (SyncWorker_9) [supervisor.docker.interface] Update image homeassistant/raspberrypi2-homeassistant:0.107.6 to homeassistant/raspberrypi2-homeassistant:0.109.6
20-05-13 01:43:40 INFO (SyncWorker_9) [supervisor.docker.interface] Pull image homeassistant/raspberrypi2-homeassistant tag 0.109.6.
20-05-13 01:43:44 INFO (SyncWorker_9) [supervisor.docker.interface] Stop homeassistant application
20-05-13 01:43:47 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh
20-05-13 01:43:52 INFO (SyncWorker_9) [supervisor.docker.interface] Clean homeassistant application
20-05-13 01:43:52 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-05-13 01:43:54 INFO (SyncWorker_16) [supervisor.docker.homeassistant] Start homeassistant homeassistant/raspberrypi2-homeassistant with version 0.109.6
20-05-13 01:43:57 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh
20-05-13 01:44:24 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh
20-05-13 01:44:40 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh
20-05-13 01:44:49 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-05-13 01:44:56 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:45:28 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:45:40 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:46:32 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:47:07 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:47:28 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh
20-05-13 01:51:53 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation done
20-05-13 01:52:07 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 01:58:07 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 02:01:57 WARNING (MainThread) [supervisor.homeassistant] Don't wait anymore of Home Assistant startup!
20-05-13 02:01:57 CRITICAL (MainThread) [supervisor.homeassistant] HomeAssistant update fails -> rollback!
20-05-13 02:01:57 INFO (MainThread) [supervisor.homeassistant] Update Home Assistant to version 0.107.6
20-05-13 02:01:57 INFO (SyncWorker_6) [supervisor.docker.interface] Update image homeassistant/raspberrypi2-homeassistant:0.109.6 to homeassistant/raspberrypi2-homeassistant:0.107.6
20-05-13 02:01:57 INFO (SyncWorker_6) [supervisor.docker.interface] Pull image homeassistant/raspberrypi2-homeassistant tag 0.107.6.
20-05-13 02:02:01 INFO (SyncWorker_6) [supervisor.docker.interface] Stop homeassistant application
20-05-13 02:02:05 INFO (SyncWorker_6) [supervisor.docker.interface] Clean homeassistant application
20-05-13 02:02:05 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-05-13 02:02:07 INFO (SyncWorker_17) [supervisor.docker.homeassistant] Start homeassistant homeassistant/raspberrypi2-homeassistant with version 0.107.6
20-05-13 02:02:57 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-05-13 02:03:14 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 02:03:57 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation done
20-05-13 02:04:13 INFO (MainThread) [supervisor.homeassistant] Home Assistant pip installation in progress
20-05-13 02:04:38 INFO (MainThread) [supervisor.api.security] /core/logs access from a0d7b954_ssh
20-05-13 02:05:17 INFO (MainThread) [supervisor.api.security] /supervisor/logs access from a0d7b954_ssh

Posts: 2

Participants: 1

Read full topic

Grafana Addon - how to access?

$
0
0

@automationjunkie wrote:

With the Grafana Addon installed and https enabled for HA, I’m having trouble getting iFrames of Grafana charts to show up in Home Assistant. Many of the suggestions refer to changing Grafana’s .ini file by setting allow_embedding=true, but with Grafana being an addon, I don’t have access to the .ini file. It’s also been suggested to use env_vars. I’ve tried it, but it doesn’t seem to help, graphs still not showing up. Just to note, with a desktop browser, I can do the “accept” unsafe non-https sources, and the grafana chart then works. That option doesn’t exist for mobile browsers.

> env_vars:
>   - name: GF_SECURITY_ALLOW_EMBEDDING
>     value: 'true'
> ssl: true
> certfile: fullchain.pem
> keyfile: privkey.pem
> log_level: error

I am able to access the full Grafana UI by clicking on the side-bar Grafana button in the HA UI. How do I access Grafana directly, without it being an iFrame inside Home Assistant? I’ve tried https://x.x.x.x:3000, but it didn’t work, not a valid page.

Posts: 1

Participants: 1

Read full topic

Error while setting up ue_smart_radio platform for media_player

$
0
0

@vormsty wrote:

Hello,
I have the following errors when trying to setup the smart radio:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/ue_smart_radio/media_player.py", line 82, in setup_platform
    session = session_request.cookies["sdi_squeezenetwork_session"]
  File "/usr/local/lib/python3.7/site-packages/requests/cookies.py", line 328, in __getitem__
    return self._find_no_duplicates(name)
  File "/usr/local/lib/python3.7/site-packages/requests/cookies.py", line 399, in _find_no_duplicates
    raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='sdi_squeezenetwork_session', domain=None, path=None"

Many thanks for your help.
Best regards

Posts: 1

Participants: 1

Read full topic

Viewing all 106275 articles
Browse latest View live


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