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

Tasmota Dimmer Range

$
0
0

Hello

When I look at the console output in Tasmota, I see a low dimmer Range of 13 and a high of 97. I then run the command “dimmerrange 13,97” without the quotation marks. I’ve installed a light custom card that can control the light and dimmer function.

Issue
Increasing the light card dimmer function doesn’t bring the light to its full brightness. I have to manually increase the brightness at the wall switch. Any ideas on how I can correct this?

Unfortunately I didn’t check the console output when using the light entity card.

Thanks in advance for any help that can be provided.

1 post - 1 participant

Read full topic


Automation with loop help please!

$
0
0

Hi,

I always use the GUI to create my automations, but pasted the yaml below to help.

Basically I want to loop around playing some speech until the alarm is disarmed or triggered but the loop keeps repeating forever, even if I manually change the entity state via developer options.

Any ideas what I have done wrong?

Thanks!!

repeat:
  until:
    - condition: state
      entity_id: alarm_control_panel.house_alarm
      state: disarmed
    - condition: or
      conditions:
        - condition: state
          entity_id: alarm_control_panel.house_alarm
          state: triggered
  sequence:
    - service: rest_command.kiosk_command
      data:
        value: Please disarm alarm
    - delay:
        hours: 0
        minutes: 0
        seconds: 5
        milliseconds: 0

1 post - 1 participant

Read full topic

Getting stuck on "Wait for device trigger"

$
0
0

Hi all.

I have stared at this automation for too long. I cannot figure out what I’m doing wrong. I’m fairly new to my HA automation journey, so please LMK if I’m doing something stupid.

I’m trying to automate lights based on the sun. When the sun is above the horizon, motion triggers it at 65% brightness, and below at 5% brightness. Then after 1 minute of no motion switch off the light.

This should be so simple but for some reason, my automating gets stuck at the last step and stays “Waiting for trigger” and never switches off the lights?

Any help will be greatly appreciated. :slight_smile:

Here is the yaml code:

id: '1644338994620'
alias: Light - Bathroom Downstairs v1 - sun.sun
description: ''
trigger:
  - platform: state
    entity_id: binary_sensor.motion_bathroom_downstairs_occupancy
    from: 'off'
    to: 'on'
condition:
  - condition: device
    type: is_off
    device_id: 6fdd28d5ed372036c37a2546af62c1c7
    entity_id: light.lights_overhead_bathroom_downstairs
    domain: light
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: sun.sun
            state: above_horizon
        sequence:
          - service: light.turn_on
            target:
              entity_id: light.lights_overhead_bathroom_downstairs
            data:
              brightness_pct: 65
      - conditions:
          - condition: state
            entity_id: sun.sun
            state: below_horizon
        sequence:
          - service: light.turn_on
            data:
              brightness_pct: 5
            target:
              entity_id: light.lights_overhead_bathroom_downstairs
    default: []
  - wait_for_trigger:
      - type: no_motion
        platform: device
        device_id: e45615c69b8419deeb2ade195b21ae23
        entity_id: binary_sensor.motion_bathroom_downstairs
        domain: binary_sensor
        for:
          hours: 0
          minutes: 1
          seconds: 0
  - service: light.turn_off
    target:
      entity_id: light.lights_overhead_bathroom_downstairs
mode: single

1 post - 1 participant

Read full topic

Recognition with templates

$
0
0

Hi folks,

I have this automation:

alias: Feueralarm
description: Automatisierung wenn Rauchmelder auslösen
trigger:
  - platform: state
    entity_id: >-
      binary_sensor.rauchmelder_keller_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_hobbyraum_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_wohnzimmer_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_flur_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_treppenhaus_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_obergeschoss_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_martina_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_patrik_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_marc_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_dachgeschoss_smoke_alarm_smoke_detected,
      binary_sensor.rauchmelder_schlafzimmer_smoke_alarm_smoke_detected
    to: 'on'
condition: []
action:
  - device_id: 262b5009af176551a32815815bb1313a
    domain: cover
    entity_id: cover.terrassentuer
    type: set_position
    position: 100
  - device_id: 20017b7aa4e2d5605f1eee541b6e98e3
    domain: cover
    entity_id: cover.wohnzimmerfenster
    type: set_position
    position: 100
  - device_id: aae4c0bd24080b6caa509e56ac03c4c8
    domain: cover
    entity_id: cover.kuchenfenster
    type: set_position
    position: 100
  - device_id: 7bcf658781eeef7ec581979ee6d07a72
    domain: cover
    entity_id: cover.fenster_marc
    type: set_position
    position: 100
  - device_id: 822fd45fddcf3bd7f85ff407182dc9a5
    domain: cover
    entity_id: cover.fenster_patrik
    type: set_position
    position: 100
  - device_id: e3704b350d7cc80ed546dc50cd3785ea
    domain: cover
    entity_id: cover.badezimmerfenster
    type: set_position
    position: 100
  - type: turn_on
    device_id: c1214e48bf2e7a6a71c7e0e69525b6fd
    entity_id: switch.high_volume_siren_95_db_and_led_strobe_light
    domain: switch
  - service: notify.familie
    data:
      message: Rauchmelder {{ trigger.entity_id }} hat ausgelöst
mode: single

Everything works quiet fine, but I want to have the configured name of the node in my recognition message an not the cryptic entity.id

What can I do?

2 posts - 2 participants

Read full topic

Alexa: Problem with roller shutters

$
0
0

When in Alexa I go to the settings of my shutters instead of being written “raise” or “lower” it appears written "turn on" or “turn off” but I want to be able to say “Alexa, raise the shutter” and notTurn on the shutter”… it is not a light that comes on!

I am also attaching the photo, obviously it is in Italian “è acceso” stands for “Is on”

This is the configuration I put in Home Assistant:

alexa:
  smart_home:
    filter:
      include_entities:
        - cover.sonoff_10012b9efa
        - cover.sonoff_10012b9ef5
        - cover.sonoff_10013a244c
        - cover.sonoff_10012b9fdd
        - cover.sonoff_10013b2699
        - cover.sonoff_10012b9efa
        - cover.sonoff_10012b8b18
        - cover.sonoff_10012ba16d

    entity_config:

      cover.sonoff_10012b9ef5:
        name: "Tapparella bagno grande"
        description: "Tapparella del bagno grande"
        display_categories: COVER

      cover.sonoff_10013a244c:
        name: "Tapparella camera da letto"
        description: "Tapparella della camera da letto"
        display_categories: COVER

      cover.sonoff_10012b9efa:
        name: "Tapparella finestra salotto"
        description: "Tapparella della finestra in salotto"
        display_categories: COVER

      cover.sonoff_10012b8b18:
        name: "Tapparella porta finestra cucina"
        description: "Tapparella della porta finestra cucina"
        display_categories: COVER

      cover.sonoff_10012ba16d:
        name: "Tapparella porta finestra salotto"
        description: "Tapparella della porta finestra salotto"
        display_categories: COVER
        
      cover.sonoff_10013b2699:
        name: "Tapparella sgabuzzino"
        description: "Tapparella dello sgabuzzino"
        display_categories: COVER
        
      cover.sonoff_10012b9fdd:
        name: "Tapparella studio"
        description: "Tapparella dello studio"
        display_categories: COVER

(devices are sonoff dualR3)

1 post - 1 participant

Read full topic

DHT Sensor - custom_components

$
0
0

Hello community, I use HA for a year and now I read that the integration DHT22 will be dropped. I have studied a bit in this forum and now I wanted to ask how I can keep the integration. I have read many articles about “custom_components”. Is it really that simple? Can I just copy the files from GIT to this directory and everything will work again? I am using a RPI and this is my configuration - so simple that I don’t want to move to ESPHome :slight_smile: :

sensor:
  - platform: dht
    sensor: DHT22
    pin: 2
    monitored_conditions:
      - temperature
      - humidity

Thank you in advance for your help!

2 posts - 2 participants

Read full topic

Unable to find my mqtt device path to use in zigbee2mqtt

$
0
0

Firstly, I would just like to say, I am very new to HA so sorry if I don’t understand anything you say.

I bought a CC2531 adapter off amazon to try and get my Philips hue light to work, however all the tutorials I have found aren’t helping as they all say I need a device path to put in here:
image
However, no matter what I try, I cant seem to find the device path, I have tried everything from checking the supervisor logs to checking dmesg but I have found nothing, I would really appreciate if someone could help me out, thanks!

I am using HomeAssistantOS

The adapter I bought: CC2531 Zigbee2MQTT Firmware with Antenna for Home Assistant, Open HAB etc. : Amazon.co.uk: Computers & Accessories

1 post - 1 participant

Read full topic

Simplisafe push notifications

$
0
0

I’ve had some odd things happening with Simplisafe after adding it to Home Assistant, for example I don’t seem to be getting push notifications anymore for secret alerts on my iPhone. Could it be that HASS is intercepting the notifications from SS and preventing them from being sent in favor of sending it’s own notifications?

1 post - 1 participant

Read full topic


Help with installing Klik aan Klik uit remote control ZYCT-202

$
0
0

Hi everyone,

I have purchased a remote control ZYCT-202 only i have the problem that it not will be paired with the Zigbee Home Automation.

This is the message what i see on the screen.

[0x7284:1:0x0019] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=159 command_id=1>
[0x7284:1:0x0019] ZCL request 0x0001: [0, 4724, 266, 4, None]
[0x7284:1:0x0019] OTA query_next_image handler for ‘KlikAanKlikUit Socket Switch’: field_control=0, manufacture_id=4724, image_type=266, current_file_version=4, hardware_version=None, model=Socket Switch
[0x7284:1:0x0019] No OTA image is available

Does anyone has a solution for this issue.

best regards,

Cris

1 post - 1 participant

Read full topic

How to remove duplicate device registration

$
0
0

I use the Synology DSM integration and have set up many devices there. I noticed that a device (camera) is duplicated. One device contains an active entity and the other device is empty. This means that one device is a fake.
What is the easiest way to delete the duplicate device?
Perhaps the easiest way would be to delete and recreate the Synology integration?
With regard to this integration, I want to avoid that the many automations I have created no longer work properly afterwards.

BR
Thomas

2 posts - 2 participants

Read full topic

Zha configuration

$
0
0

When I add the zha integration the configuration for this integration some settings are not added in configuration.yaml. For example, searching for the port (9999) doesn’t return anything in the hass configuration directory. So, where is that data stored?

Another piece of configuration is the radio type. In my case that’s ezsp. That’s also something I want to configure via the CLI, not via the GUI.

I would like to be able to deploy my configuration without any clicking in user interfaces. How can I achieve that?

1 post - 1 participant

Read full topic

Platform: time Not Firing in Automation

$
0
0

Hi all -

I created long automation controlling all our various outside lights. I had several automations control this, but I’m trying to consolidate it onto one. It works, but then gets stuck on “Wait for time trigger” waiting for the time trigger.

I’ve scanned the forum and couldn’t figure out what I’m doing wrong.

Any help would be really appreciated.

@rossk - any initial ideas? :slight_smile:

id: '1644347134793'
alias: New Automation
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: '-00:15:00'
condition: []
action:
  - type: turn_on
    device_id: 50845f6ad43abdc59c1570516fe70bc8
    entity_id: switch.lights_front_yard
    domain: switch
  - type: turn_on
    device_id: d982d6d2e105be80261e003562f5f65f
    entity_id: switch.lights_backyard
    domain: switch
  - type: turn_on
    device_id: d9065eafc2b0138545d541c09dcd165a
    entity_id: light.lights_outside_back
    domain: light
  - type: turn_on
    device_id: 9ffa3bbb268fbdc213e3bca68a20a3c6
    entity_id: light.flood_light
    domain: light
    brightness_pct: 15
  - type: turn_on
    device_id: 8f0dc36a61c70fd54857a2c368569d64
    entity_id: light.lights_overhead_frontdoor
    domain: light
    brightness_pct: 50
  - wait_for_trigger:
      - platform: time
        at: '21:00:00'
  - type: turn_off
    device_id: d982d6d2e105be80261e003562f5f65f
    entity_id: switch.lights_backyard
    domain: switch
  - type: turn_off
    device_id: 9ffa3bbb268fbdc213e3bca68a20a3c6
    entity_id: light.flood_light
    domain: light
  - type: turn_on
    device_id: 8f0dc36a61c70fd54857a2c368569d64
    entity_id: light.lights_overhead_frontdoor
    domain: light
    brightness_pct: 15
  - type: turn_on
    device_id: d9065eafc2b0138545d541c09dcd165a
    entity_id: light.lights_outside_back
    domain: light
    brightness_pct: 25
  - wait_for_trigger:
      - platform: time
        at: '00:00:00'
  - type: turn_off
    device_id: 50845f6ad43abdc59c1570516fe70bc8
    entity_id: switch.lights_front_yard
    domain: switch
  - wait_for_trigger:
      - platform: sun
        event: sunrise
        offset: '0'
  - type: turn_off
    device_id: d9065eafc2b0138545d541c09dcd165a
    entity_id: light.lights_outside_back
    domain: light
  - type: turn_off
    device_id: 8f0dc36a61c70fd54857a2c368569d64
    entity_id: light.lights_overhead_frontdoor
    domain: light
mode: single

2 posts - 2 participants

Read full topic

Added conbee II, got a controls switch?

$
0
0

I noticed that when I add my Conbee II, I also got a switch in the Controls section, added automatically by HA. It is set to off.

Where is this switch for? Or Can I just ignore it?

1 post - 1 participant

Read full topic

External sensor via MQTT data stream to HA entity or

$
0
0

Hi,

Got HA OS via RPi installed and running a stream of data via MQTT broker (Ubuntu machine with RPi Zero 2 W as data collector).

I can easily get the values from the Ubuntu Machine (broker) using Node-RED into HA. HA now reads the data in Node-RED, but how do make this data stream like a standard “entity” so that I can further manupulate it in HA (i.e. send it to my existing Home Assistaint/Google Assistant integration or use in an automation)?

thanks

2 posts - 2 participants

Read full topic

Script for light brightness based on sunrise/sunset

$
0
0

I would like to create a script to set light brightness based on sunrise/sunset. Below are the scripts I presently use to change the brightness manually. How can I combine these into 1 script based on sunrise/sunset. I’ll use this as a trigger on my Stream Deck.

office_desk_lamp_on:
  alias: Office Desk Lamp On-Day
  sequence:
  - type: turn_on
    device_id: 49dc7efaec0941a1a9a0470e8424c3f7
    entity_id: light.office_desk_lamp
    domain: light
    brightness_pct: 100
  mode: single
  icon: mdi:lightbulb
office_desk_lamp_on_night:
  alias: Office Desk Lamp On-Night
  sequence:
  - type: turn_on
    device_id: 49dc7efaec0941a1a9a0470e8424c3f7
    entity_id: light.office_desk_lamp
    domain: light
    brightness_pct: 80
  mode: single
  icon: mdi:lightbulb

1 post - 1 participant

Read full topic


Aeotec water sensor 7 pro issues

$
0
0

I’m having issues with the above mentioned sensor. The water detection portion works perfectly however the temperature and humidity do not update ever and only display the readings it had when first paired to the zwave network. I have tried removing then adding it back, checking the configuration and resetting the device. I’ve submitted a ticket with aeotec but wanted to see if anyone had similar issues with this device or other zwave devices similar to this. To me it seems like a fault with the device but I can’t rule out Home Assistant…

1 post - 1 participant

Read full topic

Turn multiple Sonoff Tasmota TX1 wall switches on when motion is detected

$
0
0

Hi,
Im a Home assistant newbie and from Essex so please be gentle.
No one in my house is capable of turning off light switches so I have invested in several Sonoff Light switches and Sonoff zigbee motion sensors. I’ve flashed Tasmota onto the light switches and all appear and are detectable/controllable from home assistant.
I tried to use HomeAssistant automation to turn the light switches and used the Motion Activated Light Blueprint for this purpose. I can select the motion sensor device fine but the light switch does not appear in the Light field.
One further complication is that there are two wall Sonoff Tasmota light switches in the room where I have the motion detector and I want to activate them both when motion is detected.
I would appreciate if anyone could point me in the right direction.
Thanks is advance for your help.

1 post - 1 participant

Read full topic

Is not possible rename, disable or delete entitie

$
0
0

Hello. Can anyone advise me. I’m trying to rename / delete unnecessary / turn off or on an entity. Everything works until the home assistant restarts.
After the restart, all settings will return to the original settings.
Not sure how to fix this problem?

1 post - 1 participant

Read full topic

Problem with sensor entitie

$
0
0
Logger: homeassistant.components.energy.sensor
Source: components/energy/sensor.py:258
Integration: Énergie (documentation, issues)
First occurred: 15:10:14 (1 occurrences)
Last logged: 15:10:14

Found unexpected state_class None for sensor.linky_energy_kwh

But I don’t think I made a mistake.

- platform: template
    sensors:
      linky_energy_kwh:
        friendly_name: 'index KWh'
        unit_of_measurement: 'kWh'
        value_template: "{{ states('sensor.index') | float / 1000 }}"
        icon_template: mdi:gauge
        device_class: energy
        attribute_templates:
          state_class: total_increasing

1 post - 1 participant

Read full topic

"Error doing job: Task exception was never retrieved"

$
0
0

Hello everyone, I don’t understand where this error comes from, could someone please help me.

Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:96
First occurred: 15:55:55 (4 occurrences)
Last logged: 16:01:26

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/asyncio_dgram/aio.py", line 155, in send
    await super()._send(data)
  File "/usr/local/lib/python3.9/site-packages/asyncio_dgram/aio.py", line 109, in _send
    _ = self.exception
  File "/usr/local/lib/python3.9/site-packages/asyncio_dgram/aio.py", line 62, in exception
    raise exc
  File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 1019, in _read_ready
    data, addr = self._sock.recvfrom(self.max_size)
ConnectionRefusedError: [Errno 111] Connection refused
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 273, in _async_state_change_dispatcher
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 526, in async_run_hass_job
    cast(Callable[..., _R], hassjob.target)(*args)
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 1085, in _refresh
    self.hass.async_run_hass_job(self._job, event, updates)
  File "/usr/src/homeassistant/homeassistant/core.py", line 526, in async_run_hass_job
    cast(Callable[..., _R], hassjob.target)(*args)
  File "/usr/src/homeassistant/homeassistant/components/template/template_entity.py", line 362, in _handle_results
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 530, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 654, in _async_write_ha_state
    self.hass.states.async_set(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1357, in async_set
    state = State(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1045, in __init__
    raise InvalidStateError(

1 post - 1 participant

Read full topic

Viewing all 105883 articles
Browse latest View live


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