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

Using a Smartthings Hub with HA

$
0
0

I see a number of posts about the best Zwave or Zigbee device to add to a Home Assistant instance and I had been looking at the Aeotec Z stick to plug into my RPi so I can control some smart locks (specifically Tuya and Yale) but wouldn’t a better option be a 2nd hand Smartthings hub? This would then also give me Zigbee functionality as well so 2 birds one device and for about £25-30. Any drawbacks to this?

1 post - 1 participant

Read full topic


How to extract info from cURL to sensor

Control my heating pump with a temp sensor

$
0
0

Hey!
Ok so I have a Daikin heating pump, and it controls itself towards its internal temperature sensor. But since I want it to heat more than the room it’s located in I need to raise the set temp.
But wouldn’t it be possible to control the set temp of the heatingpump based on the temp inside the house of a temp sensor there? That way I could automate HA to lower the set temp when the temperature reaches what I set inside the house.
How would I do this? I guess I have to test the set temp around but if the temp inside the house reaches a good temp that I set I would save energy if HA then set the temp lower making the pump go lower.

Appreciate all help! (New to HA)

1 post - 1 participant

Read full topic

Any progress with the bug that's preventing lots of us using SSL?

$
0
0

This one just seems totally stale and it’s a really crippling issue.

Sorry - just don’t know who/where else to turn to!

1 post - 1 participant

Read full topic

Bypass Sensor by button press

$
0
0

Hello @ all !

I am pretty new to Home Assistant and spent a week now, setting up my home to be smart… :slight_smile:

I was reading forums a lot to setup everything, but now, I reached a point, where I don’t find any solution… I have integrated contact sensors from SwitchBot via ESD32 and MQTT. These have a button, which is recognized as a button entity (binary sensor) in the devices setup, so I can read out its state with on (pressed) and off (released) .

As I have these sensors now on all doors and windows, I would like to set up HA that if the alarm is armed and if I would press the button on the sensor, that the sensor will be inactive for lets say 5 minutes, so that I can open the door without disarming the alarm completely…

Do you have an idea, how to set this up ? - Maybe a piece of code or step by step instructions ?

I am afraid my wife will kill me, if she would have to disable and re-enable the alarm everytime she has to let the dog out for a pee at night… :crazy_face:

HELP !!! :slight_smile:

1 post - 1 participant

Read full topic

Change color after time

$
0
0

I´m new one here, and I want to help from you with change color of bulb in time.
I need after turn on the light, that bulb will 60 second shining with red color and after that will change the color to normal light with 1700K. But only between 6-9 am.
I want to do that for my daughter.
Thank you for help .
I try to do my code, but is not working.

#change color after turn on the light between 6-9 am for 60 second and then change to another color.
id: '1644351825077'
alias: Nová automatizace
description: ''
trigger:
  - platform: device
    type: turned_on
    device_id: cdf2dc283ebf670d0579f05a016cb693
    entity_id: light.tz3000_dbou1ap4_ts0505a_f7dc25fe_level_light_color_on_off
    domain: light
condition:
  - condition: time
    after: '06:00'
    before: '09:00'
action:
  - service: light.toggle
    data:
      color_name: red
      brightness_pct: 41
      transition: 60
    target:
      device_id: cdf2dc283ebf670d0579f05a016cb693
      entity_id: light.tz3000_dbou1ap4_ts0505a_f7dc25fe_level_light_color_on_off
  - service: light.toggle
    data:
      kelvin: 1700
      brightness_pct: 80
    target:
      device_id: cdf2dc283ebf670d0579f05a016cb693
      entity_id: light.tz3000_dbou1ap4_ts0505a_f7dc25fe_level_light_color_on_off
mode: single

1 post - 1 participant

Read full topic

Smart Start inclusion requests ignored because "NWI Home ID not found in provisioning list, ignoring request..."?

$
0
0

I’m trying to see if Smart Start is actually easier than running around entering PINs, and so far… not turning out to be. I’m having some trouble with the camera in the app, so instead used a QR code reader to enter the values as text into ZWave To MQTT’s UI (via copy and paste, so I know the number is right). But now I’m seeing

2022-02-09T03:33:58.975Z CNTRLR   Received Smart Start inclusion request
2022-02-09T03:33:58.975Z CNTRLR   NWI Home ID not found in provisioning list, ignoring request...

… what should I do?

1 post - 1 participant

Read full topic

Installing Z-Wave JS integration after Z-Wave JS 2 MQTT: device already configured, abort

$
0
0

Hello, I have the latest HA on raspberry pi 4.
I am trying to install Z-Wave JS integration with zwave2mqtt addon, basically following this video:

https://www.youtube.com/embed/DbxBHlo6KiQ

I did install/uninstall things back and forth, so now I am facing this:

  1. First I install zwavejs2mqqt addon
  • added correct device path to Z-Wave USB dongle
  • enabled websocket on 3000
  1. Next, I install Z-Wave JS integration, and after choosing NOT to use default Z-Wave JS Superviser Addon, I need to select a web socket to z-wave 2 mqtt, which I do like localhost:3000; and it gives me an error, that “device already configured, aborting”. I might did something, when install/uninstall zwave addons/integration before. How to delete old configs?

1 post - 1 participant

Read full topic


Samsung TV reconfigured every two days

Trane/Nexia XR524 Thermostat

$
0
0

Hey folks,

Migrating to HA (Z-Wave) from X-10 (which I’ve been running for EVER with my own proprietary Python scripts), initially with light switches but I have two Trane XL20i units which I like to control under HA, very basic such as ON/OFF, HEAT/COOL and set temps.
I know that the XR524 is not on the supported list but I see some old posts here where it seems some folks are using these thermostats successfully (?). I’ve not purchased the XR524’s yet and wanted to know if these units are still workable under HA today ???

1 post - 1 participant

Read full topic

Remove focus circle

$
0
0

Hi everyone,
I have a problem that I can’t solve. For example in ‘picture-elements’ card i have an image with connected entity, tap_action: toggle and with configured state_filter. When I click on the image there always a semi-transparent circle appears on it. When I click elsewhere this circle disappears. Could you please help me how to set configuration to completely get rid of that selection circle?

Thanks in advance,
Marcin

1 post - 1 participant

Read full topic

Sonos custom card

$
0
0

Is anyone using the custom-Sonos-card in HACS? I stumbled on it yesterday and am trying to figure out what all the options are. I checked GitHub but the example YAML is not very extensive.

1 post - 1 participant

Read full topic

Help with entity card and labels

$
0
0

Hello all,

I have created a card that is displaying a couple different sensors. The problem I’m running into is that one of the sensors sensor.google_moon_info has a state that is more than 255 characters. Since that is not allowed, I’m getting an unknown state.

I’m wondering if anyone knows of a way to modify the sensor template so that it only displays the first 255 characters.
Here is my sensor config:

- platform: template
  sensors:
    google_moon_info:
      friendly_name: 'Google Moon Info'
      value_template: >
        {{ state_attr('calendar.moon_astro', 'description') }}

If that is not possible, does anyone know how I can instead pull an attribute straight from the original entity calendar.moon_astro?

Here is my card config:

entity: sensor.google_moon
show_icon: false
show_entity_picture: true
show_label: true
show_name: false
show_state: true
label: |
  [[[
    return states['sensor.google_moon_info'].state;
  ]]]
tap_action:
  action: call-service
  service: browser_mod.popup
  service_data:
    large: true
    title: Moon/Astro Info
    card:
      type: entities
      entities:
        - sensor.google_moon_info
styles:
  label:
    - position: absolute
  grid:
    - grid-template-areas: '"n i" "s i" "l i"'
    - grid-template-columns: 1fr 40%
  state:
    - font-size: 2.5em
    - font-weight: bold
    - text-transform: uppercase
    - position: absolute
  card:
    - border: 1px solid rgb(255, 255, 255)
    - padding: 4%
type: custom:button-card

Here is what it looks like:

1 post - 1 participant

Read full topic

Problem with Telegram notification

$
0
0

Hello. Could you please help me with the error I got? I try to set up Telegram notification but for some reason when I try to restart a server I get the following error (see a picture).
These are the configuration I use:

`
telegram_bot:

  • platform: polling
    api_key: **************************************************
    allowed_chat_ids:
    • ID 26**********
    • ID 38**********

notify:

  • name: telegram
    platform: telegram
    chat_id: 26**********

  • name: telegram
    platform: telegram
    chat_id: 38**********
    `

In a telegramm.yalm I put this:
script: send_message_1: alias: Sending via notification service sequence: - service: telegram data: message: "Current time - {{ states('sensor.time') }} . everything is ok"

1 post - 1 participant

Read full topic

Error setting up entry for glances

$
0
0

Since updating to core-2022.2.X I’ve been having the following issue, Glances integration fails to set up:
Screenshot 2022-02-09 at 19.24.37

If I disable and then re-enable the integration it works fine, but after every restart I have the same problem. Here’s the error:

Logger: homeassistant.config_entries
Source: components/glances/__init__.py:126 
First occurred: 13:35:37 (1 occurrences) 
Last logged: 13:35:37

Error setting up entry Scrypted for glances
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions
    yield
  File "/usr/local/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
  File "/usr/local/lib/python3.9/site-packages/anyio/_core/_tasks.py", line 103, in __exit__
    raise TimeoutError
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
    yield
  File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 308, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 244, in handle_async_request
    raise exc
  File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 228, in handle_async_request
    response = await connection.handle_async_request(request)
  File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request
    raise exc
  File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request
    stream = await self._connect(request)
  File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 111, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
  File "/usr/local/lib/python3.9/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp
    return await self._backend.connect_tcp(
  File "/usr/local/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp
    stream: anyio.abc.ByteStream = await anyio.connect_tcp(
  File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions
    raise to_exc(exc)
httpcore.ConnectTimeout

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/glances/__init__.py", line 81, in async_setup_entry
    if not await client.async_setup():
  File "/usr/src/homeassistant/homeassistant/components/glances/__init__.py", line 126, in async_setup
    await self.api.get_data("all")
  File "/usr/local/lib/python3.9/site-packages/glances_api/__init__.py", line 54, in get_data
    response = await client.get(
  File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1736, in get
    return await self.request(
  File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1513, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1600, in send
    response = await self._send_handling_auth(
  File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1628, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1702, in _send_single_request
    response = await transport.handle_async_request(request)
  File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 308, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectTimeout

I don’t know if it’s related, but also since updating to core-2022.2.X, overall Home Assistant has slowed down a lot, UI is slow to load, Zigbee/Zwave devices are very slow to respond. Am seeing the following errors:

Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:568 
Integration: Home Assistant Supervisor (documentation, issues) 
First occurred: 14:10:52 (10 occurrences) 
Last logged: 19:30:23

Can't read Supervisor data:
Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:237 
Integration: Home Assistant Supervisor 
First occurred: 14:10:52 (90 occurrences) 
Last logged: 19:30:23

Timeout on /addons/core_mariadb/stats request
Timeout on /addons/a0d7b954_nodered/stats request
Timeout on /addons/a0d7b954_ssh/stats request
Timeout on /addons/a0d7b954_bitwarden/stats request
Timeout on /addons/15d21743_samba_backup/stats request

Have run the following commands as noted in this issue to attempt to fix, only resolves the problem temporarily:

ha core rebuild
ha supervisor repair

System Health

version core-2022.2.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.96
arch aarch64
timezone Europe/London
Home Assistant Community Store (click for more details) Home Assistant Cloud (click for more details) Home Assistant Supervisor (click for more details) Lovelace (click for more details)

1 post - 1 participant

Read full topic


August lock question

$
0
0

I’m trying to create an automation that will fire if the August lock is locked but only if it’s done by ‘one touch’ which is via the keypad. I’m not sure if there is an entity for this. Right now I see the options for if the lock is locked in general: Image 2022-02-09 at 2.50.40 PM which creates a problem. I don’t want the automation to trigger if someone manually locks the door from the inside for example. According to the HASS docs there is a presence detection like if john smith locks or unlocks the door, so wondering if there is something for detecting if it’s locked by the keypad.
The only other thing I can think of is if maybe I integrate a motion sensor and say if the door is locked and there is no motion after X amount of time then do thing, but that also can create some issues because then I have to outfit a rather large space with motion sensors.
3rd option is possibly detecting if certain lights are off in a zone, because generally when we leave we shut all lights off, especially the front lights near the door. The lights are all Lutron Caseta lights (which I have been unable to to connect the bridge as of late…) so perhaps using that as another check… “if front lights are off, and door is locked, do thing”.
But ideally it would be detecting if the keypad was pressed with ‘one touch’ to lock it.
Any suggestions would be great, thanks.

1 post - 1 participant

Read full topic

How to fix home assistant does not record events in UTC

$
0
0

Hi ,
I am using postgresql as recorde DB.
I find the home assistant is not using UTC to store the events. It makes my logbook and history wierd.
I located in +1 time zone.
But time_fired is the same time as my local time. It should be UTC (local time -1 hour)

How to fix this ?

Thanks

1 post - 1 participant

Read full topic

Media stops playing when selecting other view/sheet

$
0
0

Just installed latest version. When I start playing music from media, it stops when I select “overview” . Is that “by design” ?

1 post - 1 participant

Read full topic

Template sensor measuring to much energy

$
0
0

Hi, I have various Plugwise circle plugs, which are read through a Plugwise Stretch 2 with the Plugwise integration. This works basically as expected. Both the actual power in watts are coming through and also the watts per hour (Wh) are created as a sensor.

For the Energy dashboard you need kWh sensors, so therefore I created a template sensor with the new type of configuration:

 sensor:
  - name: "Datacenter energy consumption"
    unit_of_measurement: "kWh"
    state_class: total_increasing
    device_class: energy
    state: >
      {% set value = states('sensor.datacenter_electricity_consumed_interval') | float %}
      {{ float(value) / 1000}}

The output of the sensor unfortunately is way less than

These are the plugwise readings per hour:
afbeelding

The readings from the interval sensor which was created by the Plugwise plugin are all lower then the measured ~85 - 88 Watts used per hour

afbeelding

If I sum those up in Excel, I get 1847,43 Watts used, but the template sensor reports only 1,15kWh. Off course this is incorrect. I think the spikes should be higher dan 80, which they aren’t.

Anyone any idea how to solve this? The current Scan interval is 60 seconds, should this be lower?
Thanks in advance!

1 post - 1 participant

Read full topic

Zigbee end devices and slow to update lovelace sensor entities?

$
0
0

Im in the midst of moving everything to zigbee, and it’s a great deal faster. Although i’m not yet convinced on the wireless range (wifi seems to greatly win, especially with all the extenders/bulbs/zigbee routers i need to place for zigbee) but at least i have local control so not relying on a app or the internet.

i guess speed is the great advantage (if power goes down i have no internet, but i also have no bulbs, so zigbee is really only helping with locks, and other battery powered end devices (the zigbee routers are down ofcourse). So i guess the advantage of zigbee in a nutshell is local device control, speed and not relying on internet. I guess all valid points. But i still wish wifi would just allow for local control rather then having to rekit the house with zigbee. Anyway i digress.

Now with tuya and lovelace the sensors were always updating slow. But with zigbee i had somehow hope the sensors would update quick if i physically turned off a switch. But it’s taking minutes, if at all. Maybe i configured something wrong ? Is it setting in zigbeemqtt ?

1 post - 1 participant

Read full topic

Viewing all 105738 articles
Browse latest View live


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