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

Wyze Plug - Configuration

$
0
0

@msinca wrote:

Hi there. I’m new to HA but think its terrific. I was able to transfer over much of my old Vera system with the help of the tutorials and this community.

I picked up a Wyze Camera and Wyze Plug 2pack at Home Depot yesterday. Got the camera working just fine but can’t seem to figure out how to get the plug working. I have the IP address but am not sure about the configuration.yaml settings. Is it possible to use these plugs in an HA system? Thanks for the help in advance!

Posts: 4

Participants: 4

Read full topic


How to call an automation through a button?

$
0
0

@mouthpiec wrote:

Hi,
I have an automation, that works fine when I trigger it through the automatons menu.
I would like to make a button on the main page to trigger this automation, is this possible?

Posts: 6

Participants: 6

Read full topic

Error while setting up platform qbittorrent

$
0
0

@coen17st wrote:

Hi, just want to setup the Qbittorrent sensors but found an error in the log and it doest work.
I’m running Home Assistant 0.103.0 and Qbittorrent v4.2.0

Does anyone know what the problem might be?

sensor.yaml:

# QBITTORRENT
- platform: qbittorrent
  url: http://192.168.1.16:8050
  username: !secret qbittorrent_username
  password: !secret qbittorrent_password

Log:

Logboekdetails ( ERROR )
Fri Dec 13 2019 11:44:08 GMT-0800 (Pacific Standard Time)
Error while setting up platform qbittorrent
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, 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/qbittorrent/sensor.py", line 48, in setup_platform
    client = Client(config[CONF_URL])
  File "/usr/local/lib/python3.7/site-packages/qbittorrent/client.py", line 30, in __init__
    """)
RuntimeError: 
                This wrapper only supports qBittorrent applications
                 with version higher than 3.1.x.
                 Please use the latest qBittorrent release.
                ```

Posts: 1

Participants: 1

Read full topic

Template Sensor Min/Max

$
0
0

@shauder wrote:

I am having to create template sensors to get battery level from my Wyze Sensors. This is great but I noticed some of them are reporting battery above 100. This doesn’t work as well with some cards like the bar graph cards.

I found I can create also a Filter sensor from my template sensors to set an upper and lower bound. This does exactly what I want but my question is there an easier way than creating a duplicate sensor using the Filter platform for sensors. Feels like a lot of extra YAML to manage when it could be just defined in the template sensors if it was an option?

EDIT: Nevermind, figured it out.

# Motion Sensors
    laundry_room_motion_battery_level:
      friendly_name: "Laundry Room Motion Battery Level"
      unit_of_measurement: '%'
      value_template: >-
        {% if state_attr('binary_sensor.motion_laundry_room', 'battery')|float > 100 %}
          100
        {% elif state_attr('binary_sensor.motion_laundry_room', 'battery')|float < 0 %}
          0
        {% else %}
          {{ state_attr('binary_sensor.motion_laundry_room', 'battery') }}
        {% endif %}

Posts: 3

Participants: 2

Read full topic

Main page did not showing up any entities

$
0
0

@Yanir22 wrote:

Hey,

i just end to boot up all my system, i start to copy all my yaml ( gruop,customize ) file to the new system.
i see all the item via unused entities but i do not see any list of the main screen.

what i miss here?

Posts: 2

Participants: 2

Read full topic

Help! Can't reach Zwave after reinstall!

$
0
0

@ih8gates wrote:

I switched from a Pi 3b+ to a Pi 4. I restored from a snapshot. I updated my configuration.yaml to reflect the new path to my Aeotec Zwave stick (it’s now /dev/ttyAMA0) and edited /config/.storage/core.config_entried to reflect the correct path.

When I start Hassio, I get

2019-12-13 16:54:52 WARNING (Dummy-17) [openzwave] Z-Wave Notification DriverFailed : {'notificationType': 'DriverFailed', 'homeId': 0, 'nodeId': 255}

Any pointers?

Posts: 4

Participants: 2

Read full topic

RTSP camera stream not working

Xiaomi hub getaway + MI door sensor

$
0
0

@henaa wrote:

Hi
Just connect the hub and the sensor
Everything config good. I can see the services.
Why The automation not work for me? What wrong

- id: '1576276349715'
  alias: test
  description: ''
  trigger:
  - entity_id: binary_sensor.door_window_sensor_158d0003e7d742
    from: 'on'
    platform: state
    to: 'off'
  condition: []
  action:
  - data:
      entity_id: light.07446361cc50e3149461
    service: light.turn_on
  - delay: 00:00:05
  - data:
      entity_id: light.07446361cc50e3149461
    service: light.turn_off

Posts: 2

Participants: 2

Read full topic


How do i add Cover to the main page?

$
0
0

@Yanir22 wrote:

here non of this is for cover.

my config with brodlink

cover:
  - platform: template
    covers:
      garage_door:
        friendly_name: "Salon windows"
        position_template: "50"
        open_cover:
          service: homeassistant.turn_on
          entity_id: switch.window
        close_cover:
          service: homeassistant.turn_on
          entity_id: switch.windowdwon
        stop_cover:
          service: homeassistant.turn_off
          entity_id: switch.windowstop

tx

Posts: 5

Participants: 2

Read full topic

Front end not loading after upgrading to 0.103.0

$
0
0

@bwoodworth wrote:

My front end is no longer loading after upgrading to 0.103.0. Below is my log. Each time i try to load the front end I get another one of the ‘Unable to serialize JSON’ errors added to the log. I am at a loss as to what is happening.

I am running hassio in docker.

2019-12-13 16:31:40 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-12-13 16:31:42 ERROR (SyncWorker_19) [pyecobee] Error while refreshing tokens from ecobee: 400: {'error': 'invalid_grant', 'error_description': 'The authorization grant, token or credentials are invalid, expired, revoked, do not match the redirection URI used in the authorization request, or was issued to another client.', 'error_uri': 'https://tools.ietf.org/html/rfc6749#section-5.2'}
2019-12-13 16:31:42 ERROR (MainThread) [homeassistant.components.ecobee] Error updating ecobee tokens
2019-12-13 16:31:43 ERROR (MainThread) [homeassistant.components.plex] Plex server (https://192-168-1-204.41c57422c4744d47b1b20f22da15f3e8.plex.direct:32400) could not be reached: [HTTPSConnectionPool(host='192-168-1-204.41c57422c4744d47b1b20f22da15f3e8.plex.direct', port=32400): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')")))]
2019-12-13 16:31:55 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1210, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service group/set
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058317399632] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 7, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notification$
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058316023888] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 12, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058348542608] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 11, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
2019-12-13 16:31:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058317233360] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 11, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$
2019-12-13 16:32:01 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140058372445584] Unable to serialize to JSON: Object of type date is not JSON serializable
{'id': 12, 'type': 'result', 'success': True, 'result': {'persistent_notification': {'create': {'description': 'Show a notification in the frontend.', 'fields': OrderedDict([('message', OrderedDict([('description', 'Message body of the notification. [Templates accepted]'), ('example', 'Please check your configuration.yaml.')])), ('title', OrderedDict([('description', 'Optional title for your notification. [Optional, Templates accepted]'), ('example', 'Test notificatio$

Posts: 1

Participants: 1

Read full topic

Auto start and auto restart on hassio RPIs?

$
0
0

@dbasberg wrote:

I have RPIs that use systemd to start on boot and restart on exit my automation python programs. Does hassio have this built-in? If not, can I get this setup somehow? I am not aware of how I could get root access to set this up. You can see what I am trying to accomplish. Any suggestions? Much appreciated, Doug (Merry Christmas ALL)

Posts: 1

Participants: 1

Read full topic

Uograde to 103. fails. 404 Client Error: Not Found ("no such image

$
0
0

@Klagio wrote:

Any clue?

ERROR (SyncWorker_19) [hassio.docker.interface] Can’t install homeassistant/qemux86-64-homeassistant:0.103.0 -> 404 Client Error: Not Found (“no such image: homeassistant/qemux86-64-homeassistant:0.103.0: No such image: homeassistant/qemux86-64-homeassistant:0.103.0”).
19-12-14 15:48:59 WARNING (MainThread) [hassio.homeassistant] Update Home Assistant image fails

Posts: 5

Participants: 3

Read full topic

Proxmox integration wont work

$
0
0

@mar_robHD wrote:

Proxmox integration wont work for me:

configuration.yaml

proxmoxve:
  - host: pve.ghostip.tk
    port: 8006
    verify_ssl: true
    realm: pam
    username: !secret proxmoxuser
    password: !secret proxmoxpassword
    nodes:
      - node: pve
        vms:
          - 100
          - 103
          - 106
          - 108
          - 111
        containers:
          - 101
          - 102
          - 105
          - 107

Logs:

2019-12-14 12:28:26 ERROR (MainThread) [homeassistant.setup] Error during setup of component proxmoxve
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
    chunked=chunked,
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 334, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f59940522d0>: Failed to establish a new connection: [Errno 101] Network unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='pve.ghostip.tk', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f59940522d0>: Failed to establish a new connection: [Errno 101] Network unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
  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/proxmoxve/__init__.py", line 91, in setup
    proxmox_client.build_client()
  File "/usr/src/homeassistant/homeassistant/components/proxmoxve/__init__.py", line 140, in build_client
    verify_ssl=self._verify_ssl,
  File "/usr/local/lib/python3.7/site-packages/proxmoxer/core.py", line 106, in __init__
    self._backend = importlib.import_module('.backends.%s' % backend, 'proxmoxer').Backend(host, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/proxmoxer/backends/https.py", line 125, in __init__
    self.auth = ProxmoxHTTPAuth(self.base_url, user, password, verify_ssl)
  File "/usr/local/lib/python3.7/site-packages/proxmoxer/backends/https.py", line 44, in __init__
    data={"username": username, "password": password}).json()["data"]
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pve.ghostip.tk', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f59940522d0>: Failed to establish a new connection: [Errno 101] Network unreachable'))
2019-12-14 12:28:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1210, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service group/set

Thank you for your help!
~Marlon

Posts: 6

Participants: 3

Read full topic

Netatmo "Get API and Secret Key" not working

$
0
0

@rantanen.m wrote:

I just started with Home assistant yesterday and I already have a problem. I tried to configure my Netatmo devices to HA, but I didnt even get through the “Get API and Secret Key” from Netatmo app creation. I filled the form, but it just doesnt do anything. Nothing happens when I push the “save”.

Can anyone help me with this? :slight_smile:

Thanks!

Posts: 1

Participants: 1

Read full topic

Shell command error

$
0
0

@shaneypoopers wrote:

Having an issue running a shell command service, the error is:

Error running command: find ./share/camera -mtime +0 -type f -delete, return code: 1

NoneType: None

The shell command runs fine in console but causes an error when I call it from Home Assistant, any ideas?

Posts: 1

Participants: 1

Read full topic


[Solved] Ikea Tradfri Binding - No State

$
0
0

@marrold wrote:

Hi, I’m trying to use zigbee2mqtt’s binding feature to bind an Ikea E1743 Switch to a LED1624G9 Bulb. To do so the Switch is bound to a group with the bulb in.

The binding works and pressing the switch toggles the bulb, but I don’t see any state updates in HA or being published to MQTT.

Am I doing something wrong? Is this working for anyone else?

Posts: 2

Participants: 1

Read full topic

Needing help with script (noob guy)

$
0
0

@jsantos wrote:

So I’m doing my first steps with HA and I want to create a way to choose a radio station to play on my soundbar using TuneIn. I’ve got a rest service configured like this (using the station parameter):

rest_command:
  change_station:
    url: http://xx.xx.xx.xx:55001/CPM?cmd=giantCommand...{{ station }}restOfGiantCommand
    method: GET

If I execute this service with developer tools it works great.
Using some information I got from these forum I added this to configuration

input_select:
  radio_station:
    name: 'Select Radio Station:'
    options:
      - Option1
      - Option2

And this script

radio_script:
    alias: Play Radio on Soundbar
    sequence:
      -  service: rest_command.change_station
         data:
           station: >
            {% if is_state("input_select.radio_station", "Option1") %} 3
            {% elif is_state("input_select.radio_station", "Option2") %} 4
            {% endif %}

And this lovelace entity

entities:
  - entity: input_select.radio_station
  - entity: script.radio_script
show_header_toggle: false
title: Teste
type: entities

This doesn’t work. If i change the script to have a fixed value like bellow it will work but I can’t control the station

radio_script:
    alias: Play Radio on Soundbar
    sequence:
      -  service: rest_command.change_station
         data:
           station: 3

I’ve searched online but can’t find out what i’m doing wrong. Thanks

Posts: 6

Participants: 3

Read full topic

Google Calendar - "Birthday"-calendar missing?

$
0
0

@exetico wrote:

Hi

I’ve just added the Google Calendar integration, and almost every calendar shows up…

However, the Birthday-calendar are missing. (Which actually was the first reason why i would like to integrate my Google Calendar to HA)

entity_id: calendar.afmeld_tjeneste,calendar.arbejde,calendar.begivenheder,calendar.contacts,calendar.familie,calendar.helligdage_i_danmark,calendar.weather,calendar.week_numbers

Anyone? :slight_smile:

My “auto Google generated birthday-calendar” is called “Fødselsdage” in danish. Could that be the problem? Or, is it a question about the birthday calendar arn’t integrated in the Google Calendar API :smiley:?

Update:
Oh, damn. Is it the one called calendar.contacts? Lol… If so, my bad :smiley:

Posts: 1

Participants: 1

Read full topic

Access Web Ui from LAN without SSL

$
0
0

@Dreamoffice wrote:

Hello
i installed duckdns with let s encrypt and now i can access the Ui from outside. i opened the port 443 to 8123, it is running.
BUT i cannot reach the UI from my LAN with the IP of the Raspi. And i can not reach it with VS Code. i get this Error:


does anyone has an idea how to get access from my LAN to HA?

Posts: 5

Participants: 3

Read full topic

Help to display a valve 2 two decimal places

$
0
0

@ladaowner wrote:

- alias: 'Test'
  trigger:
  - platform: mqtt
    topic: 'zigbee2mqtt/ikea_sound'
  condition:
  - condition: template
    value_template: "{{ 'action' in trigger.payload }}"
  action:
  - service: input_number.set_value
    data_template:
      entity_id: input_number.test
      value: '{{ trigger.payload_json.brightness | float / 255 }}'
  - service: media_player.volume_set
    data_template:
      entity_id: media_player.tv_sonos
      volume_level: "{{ states.input_number.test.state }}"

What is the correct code to display value: '{{ trigger.payload_json.brightness | float / 255 }}' to just 2 decimal places?

Posts: 2

Participants: 2

Read full topic

Viewing all 109015 articles
Browse latest View live


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