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

ViCare Installation fails

$
0
0

Hi, I failed to get ViCare running in Home Assistant (Synology docker installation)
I can add ViCare module successfully, but immediately after installation I get the error in log below:

Logger: homeassistant.config_entries
Source: components/vicare/__init__.py:128 
First occurred: 14:45:51 (1 occurrences) 
Last logged: 14:45:51

Error setting up entry PyViCare2 for vicare
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 98, in async_setup_entry
    await hass.async_add_executor_job(setup_vicare_api, hass, entry)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 128, in setup_vicare_api
    device = vicare_api.devices[0]
IndexError: list index out of range

When I tried the first time, my Viesmann heating module was detected successfully and all data were accessible, unfortunately I ran in the API limitations and had to install again (after two days). From that moment on I had tis error.
I deleted the db and reinstalled home assistant, but w/o any success.
Anybody an idea what that means?

1 post - 1 participant

Read full topic


Homeassistant Container crashes

$
0
0

Hello,

I get this exception in docker-compose and i cant explain why. It worked for weeks now and I only adjusted something at the config for other compose service and not on homeassistant itself…
Anyways, It seemed I heavily screwed up and possible lost everything in homeassistant - maybe somebody can help with this… but it seems quite hopeless…

The homeassistant container was the most stable container I’ve ever used…

image: homeassistant/home-assistant:stable

services:
homeassistant:
container_name: homeassistant
image: homeassistant/home-assistant:stable

depends_on:

- proxy

networks:
  - hass_network
dns:
 - ${IP_DNS}
 - 8.8.8.8
environment:
  - VIRTUAL_HOST=${SUBDOMAIN1}.DOMAIN.de
  - LETSENCRYPT_HOST=${SUBDOMAIN1}.DOMAIN.de
  - LETSENCRYPT_EMAIL=qheroqwy@anonaddy.me
volumes:
  - ./proxy/certs:/config/ssl
  - /hass/homeassistant:/config
  - /etc/localtime:/etc/localtime:ro
  - /library:/media
  - /hass/homeassistant/hass-brematic/custom_components/brematic:/config/custom_components
ports:
  - 8123:8123
restart: unless-stopped
File "/usr/src/homeassistant/homeassistant/__main__.py", line 64, in get_arguments

import homeassistant.config as config_util

File "/usr/src/homeassistant/homeassistant/config.py", line 15, in <module>

from awesomeversion import AwesomeVersion

ImportError: cannot import name 'AwesomeVersion' from 'awesomeversion' (/usr/local/lib/python3.9/site-packages/awesomeversion/__init__.py)

[finish] process exit code 1

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] done.

[services.d] starting services

[services.d] done.

Traceback (most recent call last):

File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main

return _run_code(code, main_globals, None,

File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code

exec(code, run_globals)

File "/usr/src/homeassistant/homeassistant/__main__.py", line 331, in <module>

sys.exit(main())

File "/usr/src/homeassistant/homeassistant/__main__.py", line 281, in main

args = get_arguments()

File "/usr/src/homeassistant/homeassistant/__main__.py", line 64, in get_arguments

import homeassistant.config as config_util

File "/usr/src/homeassistant/homeassistant/config.py", line 15, in <module>

from awesomeversion import AwesomeVersion

ImportError: cannot import name 'AwesomeVersion' from 'awesomeversion' (/usr/local/lib/python3.9/site-packages/awesomeversion/__init__.py)

[finish] process exit code 1

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] done.

[services.d] starting services

[services.d] done.

Traceback (most recent call last):

File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main

return _run_code(code, main_globals, None,

File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code

exec(code, run_globals)

File "/usr/src/homeassistant/homeassistant/__main__.py", line 331, in <module>

sys.exit(main())

File "/usr/src/homeassistant/homeassistant/__main__.py", line 281, in main

args = get_arguments()

File "/usr/src/homeassistant/homeassistant/__main__.py", line 64, in get_arguments

import homeassistant.config as config_util

File "/usr/src/homeassistant/homeassistant/config.py", line 15, in <module>

from awesomeversion import AwesomeVersion

ImportError: cannot import name 'AwesomeVersion' from 'awesomeversion' (/usr/local/lib/python3.9/site-packages/awesomeversion/__init__.py)

[finish] process exit code 1

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] done.

[services.d] starting services

[services.d] done.

Traceback (most recent call last):

File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main

return _run_code(code, main_globals, None,

File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code

exec(code, run_globals)

File "/usr/src/homeassistant/homeassistant/__main__.py", line 331, in <module>

sys.exit(main())

File "/usr/src/homeassistant/homeassistant/__main__.py", line 281, in main

args = get_arguments()

File "/usr/src/homeassistant/homeassistant/__main__.py", line 64, in get_arguments

import homeassistant.config as config_util

File "/usr/src/homeassistant/homeassistant/config.py", line 15, in <module>

from awesomeversion import AwesomeVersion

ImportError: cannot import name 'AwesomeVersion' from 'awesomeversion' (/usr/local/lib/python3.9/site-packages/awesomeversion/__init__.py)

[finish] process exit code 1

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

1 post - 1 participant

Read full topic

Trying to get my first blueprint going >.

$
0
0
blueprint:
  name: ZHA - Lidl 4Button Remote Switch
  description: Automate your Lidl/LivarnoLux 4Button Remote Switch using ZHA events.
  domain: automation
  input:
    Lidl_4Button_Remote_switch:
      name: Lidl 4Button Remote Switch
      description: Lidl 4Button Remote Switch to use
      selector:
        device:
          integration: zha
          manufacturer: _TYZB01_bngwdjsr
          model: TS1001

    button_one_short_press:
      name: Single Press
      description: Action to run on button 1 single press
      default: []
      selector:
        action: {}

    button_two_short_press:
      name: Single Press
      description: Action to run on button 2 single press
      default: []
      selector:
        action: {}

    button_three_short_press:
      name: Single Press
      description: Action to run on button 3 single press
      default: []
      selector:
        action: {}

    button_four_short_press:
      name: Single Press
      description: Action to run on button 4 single press
      default: []
      selector:
        action: {}

mode: restart
max_exceeded: silent

trigger:
- platform: event
  event_type: zha_event
  event_data:
    device_id: !input 'Lidl_4Button_Remote_switch'

action:
- variables:
    command: '{{ trigger.event.data.command }}'
    args: '{{ trigger.event.data.args[0] }}'

#Here we choose which button is pressed by the details we got from the event
- choose:
  
  #Here we handle the Off Button
  - conditions: "{{ command == 'off' }}"
    sequence: !input 'button_one_short_press'

  #Here we handle the On Button
  - conditions: "{{ command == 'on' }}"
    sequence: !input 'button_two_short_press'
    
  #Here we handle the Up button
  - conditions: "{{  command == 'step' and args == 0 }}"
    sequence: !input 'button_three_short_press'
    
  #Here we handle the Down button
  - conditions: "{{  command == 'step' and args == 1 }}"
    sequence: !input 'button_four_short_press'

i’m having trouble with it, and i have no idea why xD

Executed: December 28, 2021, 3:25:54 PM
Error: UndefinedError: 'dict object' has no attribute 'event'

but i cant for the live of me find out where its wrong :frowning:

1 post - 1 participant

Read full topic

Tweak Trend sensor without restarting Home Assistant

$
0
0

I wanted to add a Trend sensor to keep track of a temperature sensor.
From what I can see I need to restart all of Home Assistant to add it, but do I also need to restart it while tweaking the values?
The reason I ask is it takes quite a while for ZHA to heal and all Entities to come back online after a restart so I try to avoid restarting to much.

1 post - 1 participant

Read full topic

TFA 30.3233.01 rain sensor

$
0
0

Hi,
Is anyone here using the TFA 30.3233.01 rain sensor?
I am using this with the RFXcomm integration. Total rail seems to work - however this is a cumulative total over time.

Rain rate is always shown as “unknown” - even when there has been rain. I would expect this to be 0mm/h if no rain, or some positive number if there had been rain

Does anyone else have this working?

1 post - 1 participant

Read full topic

HomeMatic Addon - Not possible to add CCU2 LAN Gateway

$
0
0

Hi,

Been bashing my head on the wall all afternoon around this…

Background: I am in the process of moving to a Home Assistant / HomeMatic Addon based configuration from a physical Homematic CCU3 configuration that has a wired CCU2 configured as a LAN Gateway to extend range to distant outdoor devices (This is confirmed working in the old setup).

The add-on is installed and working perfectly fine - I have a number of HomeMatic devices connected and working.

Problem: I am unable to configure and connect the CCU2 Gateway using the same steps I use successfully on the Physical CCU3. In particular, the last step is to use the CCU Maintenance menu to trigger a restart of the CCU. (This dialog appears “grey” in the Home Assistant Homematic add-on). When I restart the HomeMatic add-on from the Home Assistant Supervisor menu, and return to the Homematic add-on configuration, I find that the gateway details have not been saved.

The screenshot below is taken from the HomeMatic add-on web-gui before the config is lost after the restart of the add-on. Note that in the Physical CCU3, the gateway appears with the status Active when the connection is properly established.

  • The CCU2 has been updated with latest available firmware
  • The CCU2 was converted to a gateway mode according to this information
  • The CCU2 is no longer connected to the CCU3 when trying to connect to the HomeMatic add-on

Anyone out there with a CCU2 gateway working in the HomeMatic Add-on?

Thanks in advance!

1 post - 1 participant

Read full topic

Scan Interval for specific sensors

$
0
0

Hi,

Would like to set scan_interval for 2x BLE sensors temp/humidity + 2x smart socket. They’re spamming in database. I have tried adding scan_interval in core.entity_registry but it’s not working.
Any advice?

1 post - 1 participant

Read full topic

Camera using ffmpeg platform and drawtext overlay showing on snapshot but not recording

$
0
0

I have a camera:

camera:
  - platform: ffmpeg
    name: security_camera
    input: -rtsp_transport tcp -i rtsp://securitypi.local:8554/unicast
    extra_arguments: >-
      -vf "hue=s=0, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf:text='%{localtime\:%Y-%m-%d %T}':fontcolor=white@0.8:x=10:y=10"

I’ve added the drawtext filter recently (in extra_arguments). What stumps me is that snapshops (and the live still view) contain the overlay, but the recordings (and live stream) don’t. The only thing I can imagine is that the snapshot and record services follow different code paths or that there is a bug in the underlying haffmpeg library. I’ve been reading the code to understand this better, but my current knowledge falls short in order to put all the pieces together. I can see the extra_arguments is supported by the haffmpeg library. What am I missing that this isn’t working as expected?

Screenshot 2021-12-28 at 16.24.25

These are my scripts:

security_camera_record_clip:
  mode: queued
  sequence:
    - service: camera.record
      data:
        entity_id: camera.security_camera
        filename: '/tmp/camera.security_camera_{{ now().strftime("%Y%m%d-%H%M%S") }}.mp4'
        duration: 10
    - delay: "00:00:15"
    - service: shell_command.copy_last_video_clip
    - service: input_datetime.set_datetime
      entity_id: input_datetime.security_camera_last_clip
      data:
        datetime: "{{ now() }}"

security_camera_create_snapshot:
  mode: queued
  sequence:
    - service: camera.snapshot
      data:
        entity_id: camera.security_camera
        filename: '/tmp/camera.security_camera_{{ now().strftime("%Y%m%d-%H%M%S") }}.jpg'
    - service: input_datetime.set_datetime
      entity_id: input_datetime.security_camera_last_snapshot
      data:
        datetime: "{{ now() }}"
    - service: shell_command.copy_last_snapshot_image
    - condition: state
      entity_id: group.security_automations
      state: "on"
    - service: notify.family
      data:
        title: Security Camera
        message: "Motion detected!"
        data:
          group: "security-camera-snapshots"
          attachment:
            url: !secret security_camera_last_snapshot_url

A second observation is that the ffmpeg camera state is never anything but idle (even when recording). It seems like the ffmpeg platform never sets the state in code (not explicitly). If this gets supported, I can get rid of the delay I’m using above.

1 post - 1 participant

Read full topic


Problem checking config and restarting HASS

$
0
0

Hello,

I currently have a wired problem I can not find a point to search for the root cause.

Since I upgraded to 2021.12.6, I have wired issues restarting the server from UI and also checking the config. It always tells me, that it encounters an invalid domain custom_components.nodered and is not restarting. It simply adds this new log entry (counts up the occurences):

Logger: aiohttp.server
Source: loader.py:580
First occurred: 16:41:47 (9 occurrences)
Last logged: 16:54:51

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/core.py", line 29, in post
    errors = await async_check_ha_config_file(request.app["hass"])
  File "/usr/src/homeassistant/homeassistant/config.py", line 938, in async_check_ha_config_file
    res = await check_config.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 129, in async_check_ha_config_file
    integration = await async_get_integration_with_requirements(hass, domain)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 58, in async_get_integration_with_requirements
    integration = await async_get_integration(hass, domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 566, in async_get_integration
    integration = await _async_get_integration(hass, domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 580, in _async_get_integration
    raise ValueError(f"Invalid domain {domain}")
ValueError: Invalid domain custom_components.nodered

I already updated the companion integration, all node-red palettes and also deactivated all node-red tabs. But the problem still persists. I also could not find a working solution searching through the forums and the web.

1 post - 1 participant

Read full topic

MQTT Device Tracker configuration question

$
0
0

Hi Community,

I’m trying to setup some device trackers in order to monitor my phone connecting to a specific Wifi connection that is separate to my HA network. I would use my Unifi router or a ping setup to deal with this but as its a separate network and I need to rely on something else.

I would ideally like to have an automation update a device tracker associated to my person entity based on my phone being connected to a specific SSID. I use owntracks for GPS tracking. I have stumbled onto the MQTT device tracker page (MQTT Device Tracker - Home Assistant) but am confused when it refers to “devices”.

Will this create new devices or update existing devices states when a MQTT payload is published? I’ve tried both new entities and existing but cannot see any difference.

Any advice or examples would be appreciated.

Thanks

1 post - 1 participant

Read full topic

Can someone educate me on resistors used on sensors in ESPhome?

$
0
0

I am planning to use several Dallas temp sensors with ESPhome to monitor a hydronic radiant heat system. The instructions call for a 4.7K resistor between the data and 3.3v wire. Can someone explain to me why that is needed? I tested with and without the resistor and did not get a noticeably different temperature reading.

1 post - 1 participant

Read full topic

TP-Link Kasa devices "unavailable" and not discoverable

$
0
0

Hi!

I just installed a UPS to my system, which means that I had to bring down my router and HA server. But when I turned everything back up, all my TP-Link devices was “unavailable”. Restarted HA severals times but still did not fix.

So I decided to delete the integration (maybe I shouldn’t have?) and tried to redo the whole thing again. But now, I cannot discover any devices. Running the integration (without specifying a host) returns a “Aborted: No device found on the network”. When I specified a host (one of my switch IP address), it says “Failed to connect to host”.

All my TP-Link devices are still controllable via the TP-Link Kasa app.

How can I rediscover the devices?

Thx!

1 post - 1 participant

Read full topic

Slow Xbox Media Status Updates

$
0
0

Hi all -

From both the Media Player card and automations, I’m seeing lagging updates to Xbox media playing state status.

If I hit pause on the Xbox media player card from Lovelace, Xbox will pause, but the card won’t quickly update (30 seconds to a minute?), making the UI an unreliable remote control.

I see similar behavior for automations I create. Even when I force an update (homeassistant.update_entity), it’s quicker, but still in the 30 second range.

Ideally, I’d like to see near instantaneous updates in both the HA UI and automations. Does anyone know how I can get closer to real time updates?

Thanks in advance!

1 post - 1 participant

Read full topic

Statistics sensors throw parsing error on every startup

$
0
0

I’ve found this original issue and the PR that is supposed to fix it while googling around why I get the error on every HA startup.

So I’m not sure if it popped back up and I’m supposed to open a new issue or if it’s something in my config or if I’m experiencing something else. The sensors work afterwards, it’s just on startup when presumably the integrations they pull data from aren’t up yet.

2021-12-28 17:37:24 ERROR (MainThread) [homeassistant.components.statistics.sensor] sensor.temp_stats_outside: parsing error, expected number and received None
  - platform: statistics
    entity_id: sensor.ble_temperature_outside
    sampling_size: 1500
    max_age: 24:00:00
    name: temp stats outside
    precision: 1
    state_characteristic: mean

Any insight welcome, thanks!

1 post - 1 participant

Read full topic

Can't access my home assistant frontend

$
0
0

Hi guys, I can’t acces my home assistant in my RPi 3 B +.
I updated to home assistant 7 last week and it was working nice 4 days.
It is powered on, I can access by samba and see all files correctly.
The supervisor says all ok, even my telegram bot sent me notifications so it is working.
But can’t access over IOS app or my lan desktop over xxxx.duckdns.org:8123
Error not reachable.
I checked duckdns too and it is not down.
Any help please?
Thanks in advance.

1 post - 1 participant

Read full topic


Input number for delay_off in a value template

$
0
0

I have value template setup right now with a delay of 10 minutes, every time I want to change the time I’d have to restart HA, I tried to point the delay_off to an input_number but it didn’t work, what is the right way of doing this? still learning, and this is what I have now

- platform: template
  sensors: 

      motion_in_bathroom:
        friendly_name: Motion in Bathroom
        value_template: >
          {{ is_state("binary_sensor.bathroom_motion", "on")
              or is_state("binary_sensor.shower_motion", "on") }}
              or is_state("input_boolean.bathroom_on", "on") }}

        delay_off: '{{ states(''input_number.bathroom_delay'') | int }}'

1 post - 1 participant

Read full topic

Tasmota RFID reader triggers

$
0
0

I have an ESP32 with a Wiegand and with a RDM6300 reader. I am now trying to integrate them into HA. For this I have followed this tutorial:

But it only works partially. The discovery messages are published by the device and the scanned tags appear in the Tags section in the configuration of HA. But they are not added as possible triggers to the device itself. If I click on “MQTT info” in the device information in HA the trigger section is empty. So it seems HA received the scanned tags but is not able to link them to the appropriate device. From my understanding the “connections” parameter in the discovery message should enable this linking. Is the method like it is described in this tutorial with the MAC address perhaps outdated?

1 post - 1 participant

Read full topic

Unexpected error when adding NZBGet Integration

$
0
0

HASS OS: 2021.12.6

When I try and add NZBGet to Home Assistant I get the following error in the logs.

Is there something specific I need to set up in NZBGet?

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/nzbget/config_flow.py", line 92, in async_step_user
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/nzbget/config_flow.py", line 51, in validate_input
    nzbget_api.version()
  File "/usr/local/lib/python3.9/site-packages/pynzbgetapi/__init__.py", line 60, in version
    return self.__proxy_call(lambda: self.proxy.version())
  File "/usr/local/lib/python3.9/site-packages/pynzbgetapi/__init__.py", line 54, in __proxy_call
    return method_call()
  File "/usr/local/lib/python3.9/site-packages/pynzbgetapi/__init__.py", line 60, in <lambda>
    return self.__proxy_call(lambda: self.proxy.version())
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1116, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1458, in __request
    response = self.__transport.request(
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1160, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1172, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1285, in send_request
    self.send_content(connection, request_body)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1315, in send_content
    connection.endheaders(request_body)
  File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.9/http/client.py", line 974, in send
    self.connect()
  File "/usr/local/lib/python3.9/http/client.py", line 945, in connect
    self.sock = self._create_connection(
  File "/usr/local/lib/python3.9/socket.py", line 823, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

1 post - 1 participant

Read full topic

Date and Time Condition Help

$
0
0

The goal is to only allow automation to run if after the date and time of an date-time helper. I’m thinking it’s only evaluating the time portion and not the date and time??

Here is the value of the helper

Here is the trace.

2 posts - 2 participants

Read full topic

Automation - door sensor and lights

$
0
0

I have a door sensor upstairs and want to know if the door is open by enabling my philips hue light and color it red. The automation I created turns on the red light, but it doesn’t swich back to the original state. which can be either off or at another color.

Is it possible to turn back to the original state of the light when the door is closed?

This is my script:


alias: Light on when door is open
description: enable red light
trigger:
type: opened
platform: device
device_id: bf86fa05a7b6b850d03e3f730e3e90f1
entity_id: binary_sensor.deurcontact_tussendeur_contact
domain: binary_sensor
condition: []
action:
scene: scene.woonkamer_robijngloed
mode: single


1 post - 1 participant

Read full topic

Viewing all 106221 articles
Browse latest View live


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