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

Konnected Integration DS18B20 Digital Sensor

$
0
0

@Bill_Sweeney wrote:

Getting the following info in the log and DS18B20 is not showing up as an device

2020-04-11 12:45:30 ERROR (MainThread) [homeassistant.util.logging] Exception in async_add_ds18b20 when dispatching ‘konnected.ds18b20.new’: ({‘pin’: ‘9’, ‘addr’: ‘28:41:D2:A6:2F:14:01:63’, ‘temp’: ‘12.625’, ‘device_id’: ‘840d8e9652cd’, ‘temperature’: ‘12.625’},)
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/konnected/sensor.py”, line 66, in async_add_ds18b20
initial_state=attrs.get(“temp”),
File “/usr/src/homeassistant/homeassistant/components/konnected/sensor.py”, line 86, in init
self._zone_num = self._data.get(CONF_ZONE)
AttributeError: ‘NoneType’ object has no attribute ‘get’

Posts: 1

Participants: 1

Read full topic


Flic buttons mystery

$
0
0

@berniedp wrote:

Hi all,

Being relatively new to Home Assistant I’m trying to integrate with flic buttons.

So far, I’ve been able to get them to work (without the hub) by installing the flicd add-on and I do see the clicks are being registered in the logbook:

1:09:25 PM flic_80e4da76e199 turned off
1:09:25 PM flic_80e4da76e199 turned on

and when I double click it registers that same sequence twice…

However the automation I created doesn’t trigger:

- id: '1586622168118'
  alias: Flic_switch_on_Duvel
  initial_state: true
  description: ''
  trigger:
  - event_data:
      button_name: flic_80e4da76e199
      click_type: single
    event_type: flick_click
    platform: event
  condition: []
  action:
  - device_id: 26a9f08a49dc4a4ea46c984fc835d206
    domain: light
    entity_id: light.duvel
    type: turn_on

Would anybody have any ideas what I’m doing wrong?

Thank you in advance,
Bernard

Posts: 1

Participants: 1

Read full topic

How to group notification devices? Receiver of notify.notify?

$
0
0

@membersound wrote:

Hi,

is it possible to set the receivers of the default notify.notify notifications? Or will just anyone connected via HA App receive those and I must send explicit to notify.my_device?

This is what I tried in configuration.yaml:

notify:
  - name: Family
    platform: group
    services:
    - service: notify.mobile_app_john
    - service: notify.mobile_app_doe

When I load this, I’m getting a log that the both services are invalid. But, in automations I can send notifications to eg the servcie notify.mobile_app_john.
So, how can I group notification devices?

Maybe somebody could also tell where the default notification service notify.mobile_app_john comes from, or where it is configured? Because by default I did not configure anything, just installed HA on my phone. Is this name configurable?

Posts: 2

Participants: 2

Read full topic

MyQ door opener with camera - how to detect camera?

$
0
0

@peterclark wrote:

I have a liftmaster 88503 door opener.

it works great with HA, except the entities it detects are:

  • the door opener cover, as expected
  • amusingly the flap of the webcam

… but not the actual camera.

for example I can see that the state of my camera is

friendly_name: Hub 2 Camera
supported_features: 3
device_class: garage

and it’s state is open but there doesn’t appear to be a way to actually render what the camera is seeing?

any ideas?

Posts: 1

Participants: 1

Read full topic

Integration with IR Tuya

$
0
0

@Joao_Felipe_Vieira wrote:

Hello my friends,
I integrated Tuya with Home Assistant.
However, the IR was not detected. Only the switches and the scenes.
Could someone help me to recognize IR?

Posts: 1

Participants: 1

Read full topic

How to unhide entity?

$
0
0

@membersound wrote:

I accidentally clicked on “Enable entity” on a Toggle input_boolean. Now it is not shown anymore. And I cannot find it in the yaml files. But HA still knows it, because if I recreate this entity, the name is “my_toggle_2”. And cannot change to “my_toogle”, complaining the entitiy already exists.

But how can I access it if it is disabled?

Posts: 3

Participants: 2

Read full topic

Issue with history_stats

$
0
0

@Rui_Duarte wrote:

Hello!
I have been looking over the last few days for information on how to make a history_stat sensor that would have the start period based on the information coming from an input_date field and the end on “now()”. I read a lot of posts here and none were matching exactly what I needed.

What I want to do?

I want to measure the time since the power consumption on that particular plug raises to a certain level (Have a TP Link HS110 for it) and I created a binary switch for that, as I know that roughly after 90 minutes the washing machine is supposed to finish its work. But there can exist interruptions in the middle of the cycle as I have a routine that stops some equipment when the usage of the main power is too much ( which drives my wife crazy…) and will resume it later. Also, when she is away, it will leave the last 10 minutes to when she is here, so that the clothing does not get all wrinkled… Finally, I will most likely not have just a single cycle during the day which would make the “normal” parameters for history stats not to fit what I want.

Everything is working properly, except for the history_stats sensor that has the following code:

  - platform: history_stats
    name: tempo a lavar 
    entity_id: binary_sensor.maq_lavar_roupa_lavar
    state: 'on'
    type: time
    start: '{{(states.input_datetime.inicio_lavagem_roupa.attributes.timestamp) | timestamp_local}}'
    end: '{{ now() | timestamp_local}}'

So, this configuration is giving me the following issues in the LOG, although the Check Config is OK:

2020-04-11 18:50:19 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.tempo_a_lavar fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 461, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  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/history_stats/sensor.py", line 180, in update
    self.update_period()
  File "/usr/src/homeassistant/homeassistant/components/history_stats/sensor.py", line 294, in update_period
    if start > dt_util.now():
TypeError: can't compare offset-naive and offset-aware datetimes

So , I checked this last statement and it seems that all has to do with date time formatting. I tried to force the same for start and end, but still the problem remains. What I am missing?
Looking forward to here from you!

Posts: 1

Participants: 1

Read full topic

Dark Theme missing something

$
0
0

@wakeskate wrote:

I have this Dark them listed below and after I upgraded to 108.3 I lost the menu bar.
Found a thread about how to fix that and it is the last section on the listing below.
But have had a issue for a while with not being able to see anything when clicking
on Conifguration/Devices or Entities and most things in that menu.
Anyone know what is missing from this theme.

Thanks…

midnight:
  # Main colors
  primary-color: '#5294E2'                                                        # Header
  accent-color: '#E45E65'                                                         # Accent color
  dark-primary-color: 'var(--accent-color)'                                       # Hyperlinks                                         
  light-primary-color: 'var(--accent-color)'                                      # Horizontal line in about
                                                                             
  # Text colors                                                                  
  primary-text-color: '#FFFFFF'                                                   # Primary text colour, here is referencing dark-primary-color
  text-primary-color: 'var(--primary-text-color)'                                 # Primary text colour
  secondary-text-color: '#5294E2'                                                 # For secondary titles in more info boxes etc.
  disabled-text-color: '#7F848E'                                                  # Disabled text colour
  label-badge-border-color: 'green'                                               # Label badge border, just a reference value   

  # Background colors                                                            
  primary-background-color: '#383C45'                                             # Settings background
  secondary-background-color: '#383C45'                                           # Main card UI background  
  divider-color: 'rgba(0, 0, 0, .12)'                                             # Divider 
  
  # Table rows                                                                
  table-row-background-color: '#353840'                                           # Table row
  table-row-alternative-background-color: '#3E424B'                               # Table row alternative
                                                                             
  # Nav Menu                                                                   
  paper-listbox-color: 'var(--primary-color)'                                     # Navigation menu selection hoover
  paper-listbox-background-color: '#2E333A'                                       # Navigation menu background
  paper-grey-50: 'var(--primary-text-color)'                                   
  paper-grey-200: '#414A59'                                                       # Navigation menu selection
                                                                             
  # Paper card                                                               
  paper-card-header-color: 'var(--accent-color)'                                  # Card header text colour
  paper-card-background-color: '#434954'                                          # Card background colour
  paper-dialog-background-color: '#434954'                                        # Card dialog background colour
  paper-item-icon-color: 'var(--primary-text-color)'                              # Icon color
  paper-item-icon-active-color: '#F9C536'                                         # Icon color active
  paper-item-icon_-_color: 'green'           
  paper-item-selected_-_background-color: '#434954'                               # Popup item select                      
  paper-tabs-selection-bar-color: 'green'

  # Labels 
  label-badge-red: 'var(--accent-color)'                                          # References the brand colour label badge border
  label-badge-text-color: 'var(--primary-text-color)'                             # Now same as label badge border but that's a matter of taste
  label-badge-background-color: '#2E333A'                                         # Same, but can also be set to transparent here

  # Switches
  paper-toggle-button-checked-button-color: 'var(--accent-color)'
  paper-toggle-button-checked-bar-color: 'var(--accent-color)'
  paper-toggle-button-checked-ink-color: 'var(--accent-color)'
  paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'
  paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'
  paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'  

  # Sliders
  paper-slider-knob-color: 'var(--accent-color)'
  paper-slider-knob-start-color: 'var(--accent-color)'
  paper-slider-pin-color: 'var(--accent-color)'
  paper-slider-active-color: 'var(--accent-color)'
  paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'
  paper-slider-secondary-color: 'var(--secondary-background-color)'
  paper-slider-disabled-active-color: 'var(--disabled-text-color)'
  paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'
  # Google colors
  google-red-500: '#E45E65'
  google-green-500: '#39E949'
##Sidebar
  sidebar-background-color: "var(--paper-listbox-background-color)"
  sidebar-icon-color: "rgba(255, 255, 255, 0.70)"
  sidebar-selected-icon-color: "var(--primary-color)"
  sidebar-selected-text-color: "var(--primary-text-color)"
  sidebar-text-color: "var(--primary-text-color)"
  slider-bar-color: "var(--disabled-text-color)"
  slider-color: "var(--primary-color)"
  slider-secondary-color: "var(--light-primary-color)"

Posts: 1

Participants: 1

Read full topic


No media_player after reinstall

$
0
0

@RoadkillUK wrote:

I’m having issues with media_players after changing my setup to SSD, they are all showing unavailable, also I notice remotes are also unavailable.

Here is a section of my log file

2020-04-11 22:18:16 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration cast - received exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 50, in async_setup_component
    return await task  # type: ignore
  File "/usr/src/homeassistant/homeassistant/setup.py", line 129, in _async_setup_component
    await async_process_deps_reqs(hass, config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 291, in async_process_deps_reqs
    hass, integration.domain
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 55, in async_get_integration_with_requirements
    hass, integration.domain, integration.requirements
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 99, in async_process_requirements
    if pkg_util.is_installed(req):
  File "/usr/src/homeassistant/homeassistant/util/package.py", line 44, in is_installed
    return version(req.project_name) in req
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3145, in __contains__
    return self.specifier.contains(item, prereleases=True)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains
    item = parse(item)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse
    return Version(version)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 200, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object

If you require more info, please let me know.

Thanks.

Posts: 1

Participants: 1

Read full topic

Inovelli LZW42 - Modified manufacturer_specific.xml

$
0
0

@hoyt wrote:

I just got 2 of these RGB bulbs and paired them to HA. I see them and can modify the color, brightness, and turn them on/off, but there is nothing showing in the Configuration section of the zwave entity. Under the Node Information page I see this:

manufacturer name   Inovelli
product name        Unknown: type=0005, id=0001

I edited my manufacturer_specific.xml because type of 5 wasn’t listed, so I added a few lines, and it now looks like this:

    <Manufacturer id="031E" name="Inovelli">
        <Product type="0002" id="0001" name="LZW30-SN Switch Red Series" config="inovelli/lzw30-sn.xml"/>
        <Product type="0004" id="0001" name="LZW30 Switch" config="inovelli/lzw30.xml"/>
        <Product type="0001" id="0001" name="LZW31-SN Dimmer Red Series" config="inovelli/lzw31-sn.xml"/>
        <Product type="0003" id="0001" name="LZW31 Dimmer" config="inovelli/lzw31.xml"/>
        <Product type="0005" id="0001" name="LZW42 Multi-Color Bulb" config="inovelli/lzw42.xml"/>
        <Product type="0006" id="0001" name="LZW41 Multi-White Bulb" config="inovelli/lzw41.xml"/>
        <Product type="0007" id="0001" name="LZW40 Dimmable  Bulb" config="inovelli/lzw40.xml"/>
    </Manufacturer>

I also added a lzw42.xml file to the inovelli folder that I found on this forum, which looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Product xmlns="http://code.google.com/p/open-zwave/">
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" type="list" size="1" index="2" label="Default State" min="0" max="2" value="0">
      <Help>
      When Power is restored
      Range: 0-2
      Default: 0
      </Help>
      <Item value="0" label="Previous"/>
      <Item value="1" label="On"/>
      <Item value="2" label="Off"/>
    </Value>
    <Value genre="config" type="short" size="2" index="81" label="Color Adjustment (Warm White)" min="1387" max="4999" value="2700">
      <Help>
      Changes the Kelvin from 2700k (1387) to 4999k (4999)
      Range: 1387-4999
      Default: 2700
      </Help>
    </Value>
    <Value genre="config" type="short" size="2" index="82" label="Color Adjustment (Cool White)" min="5000" max="6500" value="6500">
      <Help>
      Changes the Kelvin from 5000k (5000) to 6500k (6500)
      Range: 5000-6500
      Default: 6500
      </Help>
    </Value>
  </CommandClass>

  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="1">
      <Group index="1" label="Lifeline" max_associations="1" />
    </Associations>
  </CommandClass>
</Product>

Do I need to do something else to have these config options show up in HA now? Is it not showing because I added the bulbs before updating the XMLs? Do I need to manually update my zwcfg file to reflect the names that I want? Thanks!

Posts: 1

Participants: 1

Read full topic

VMware ESXi 7.0 USB compatibility

$
0
0

@D85rNxd wrote:

Just a heads up for this thinking of migrating to the latest to ESXi 7.0, USB, passthrough for USB based Aeotec controller doesn’t currently work. USB passthrough probably affects other USB based devices so just be aware before jumping in. I’ll follow-up if I find a solution.

Posts: 1

Participants: 1

Read full topic

Why doesn't the condition with "and" work?

$
0
0

@Jaques-Ludwig wrote:

Hi,

I have this automation, but it doesn’t work. I don’t know why. Both conditions are true at my tests. This means, it was 21:30 o’clock and the switch was “on”.

What’s strange: If I programm these two conditions without “and” it seems to work.

So my question is, what is the difference between two conditions which stands one after another and two conditions combined with “and”?

The second question is, what can I do to make my automation runable?

- id: '1586202398633'
  alias: Nachtlicht EG Flur
  description: ''
  trigger:
  - device_id: 0c6fc392c2944669b6154b98a341f33c
    domain: light
    entity_id: light.eg_flur_2
    platform: device
    type: turned_on
  condition:
  - condition: and
    conditions:
    - after: '20:00:00'
      before: 06:00:00
      condition: time
    - condition: state
      entity_id: input_boolean.nachtlicht_eg_flur
      state: 'on'
  action:
  - device_id: 0c6fc392c2944669b6154b98a341f33c
    domain: light
    entity_id: light.eg_flur_2
    type: turn_off
  - brightness_pct: 10
    device_id: dc0b66f453714c4f9335ba568c1624f9
    domain: light
    entity_id: light.eg_flur_1
    type: turn_on

Thanks,

Jaques-Ludwig

Posts: 2

Participants: 2

Read full topic

Certain Z-Wave devices not appearing in Google Home App

$
0
0

@talldrin wrote:

Hi,

This is my first post here so if this is in the wrong section please let me know. I recently started using Home Assistant installed in a docker container on my Ubuntu home server. I signed up for the Home Assistant Cloud and was able to easily integrate my Home Assistant instance with my Google Account. I also integrated a Aeotec Z-stick to run a couple Z-wave dimmers/switches. Two out of the three switches appear in Google Assistant and I can successfully use voice commands to turn them on and off. The third one, however, doesn’t appear at all in my Google Home app. It is a Everspring AD126 Dimmer Module. It appears in the device list in Home Assistant along with the other switches and I can control it normally through the online UI. The only issue is it doesn’t appear in the Google Home app. Anyone else using this particular dimmer module or had a similar issue?

Posts: 1

Participants: 1

Read full topic

HELP Nedded: automation to notify before set time

$
0
0

@yuvalabou wrote:

Hi, I have a timestamp from another sensor (jewish_calendar integration) and I want to get notified before that time which is changing every day - but a set time before, like 10 minutes before that time stamp.
How can I achieve that?

Thanks

Posts: 1

Participants: 1

Read full topic

Detect flow in main water line

$
0
0

@chkaloon wrote:

I rent a house that I only use a few months of the year. I would like a way to detect water flow when I am gone. Not a leak detector for the floor, but rather ANY usage of water when I’m gone. I can’t install a flow sensor in the line because I don’t own the place. At my other residence we have a well/pump, so I put a detector on the relay there so I know when the pump turns on. Here we are on city water so there is no pump.

What about a vibration sensor or microphone strapped to the water main line? Anyone do that sort of thing? Thanks.

Posts: 1

Participants: 1

Read full topic


Home Assistant doesn't get out of Connection Lost state after updating to 0.108.3

$
0
0

@inky10129 wrote:

My Home Assistant instance after updating keeps saying Connection Lost. This has happened for the previous 0.108.x updates

Posts: 1

Participants: 1

Read full topic

Going beyond basic SMS with HA and Twilio

$
0
0

@Mr_Flibble wrote:

I got the basic SMS integration up and running with Twilio --> Home Assistant. What I have today works, but I would like to get much more advanced than this simple automation below.

We give out the Twilio SMS number to guests, and they can send a text to the Twilio number, which then triggers an automation that opens the gate to drive up to our house. The second part of the automation also texts us that someone used the service, so we know in advance if someone is coming.

This works great, but it will open the gate regardless of who sends the text, or what the message is.

Here is that current automation:

- id: '1582915285777'
  alias: 5502 - Open Gate
  description: Open Gate Automation
  trigger:
  - platform: webhook
    webhook_id: gate_open_trigger
  condition: []
  action:
  - data: {}
    entity_id: switch.gate
    service: switch.turn_on
  - data:
      message: Someone opened the gate with a text message.
      target:
      - '+11235551212'
      - '+11235551234'
    service: notify.twilio_sms

What I would like to do:

  • Capture the body of the message, and parse it with a Home Assistant Template.
  • Capture the number that sent the message, and use it to look at a list of known numbers
  • Use the known numbers list to send a message of who just opened the gate
  • Create a whitelist of allowed numbers to use the gate
  • parse the message body, and look for open gate and reply hello $user!

What I have been able to do so far:

- id: ‘8172926285707'
  alias: 5501 - Twilio Testing
  description: Testing Twilio Contents
  trigger:
  - platform: webhook
    webhook_id: gate_open_trigger
  condition: []
  action:
  - data_template: 
      message:  '{{ trigger.data }}'
    service: persistent_notification.create

This works, when I send an SMS to the number, with the text open gate I get the following as a notification in Home Assistant:

<MultiDict('ToCountry': 'US', 'ToState': ‘CA', 'SmsMessageSid': 'SM8472411245123412, 'NumMedia': '0', 'ToCity': ‘LOS ANGLES’, 'FromZip': '90001’, 'SmsSid': 'SM6777828241aea122’, 'FromState': ‘CA’, 'SmsStatus': 'received', 'FromCity': ‘LOS ANGLES, 'Body': ‘open gate, 'FromCountry': 'US', 'To': '+11235551212’, 'ToZip': '90005’, 'NumSegments': '1', 'MessageSid': 'SSM6777828241aea122, 'AccountSid': 'AC42013259609123526’, 'From': '+11235551234, 'ApiVersion': '2010-04-01')>

So all the data I want is there, I need the ‘Body’: ‘open gate and the ‘From’: ‘+11235551234’ from this message, but it isn’t JSON, and I have not yet been able to figure out how to parse it and use it.

It would be really cool if I could parse and leverage this data.

So far I am guessing it is going to be something along the following lines:

        value_template: >-
          {% if state_attr(‘message.text‘, ‘Body’)|regex_search(‘Open Gate’, ignorecase=TRUE) %}
            open gate
          {% else %}
            closed

Am I headed in the right direction? Any pointers about how I can best approach this problem? (I know I am going to have to break each line item into pieces)

Posts: 1

Participants: 1

Read full topic

Any Possibility To Overclock HA

Picture-elements card with input_number and/or input_datetime

$
0
0

@tormagj wrote:

Hi,

Anyone knows a good solution to have input_number and/or input_datetime in the picture-elements card? I mean to be able to change the values on the card. Only solution I’ve found so far is to use custom-cards such as time-input-row since it seems like all custom cards can be added. However, that specific card is deprecated, and also I would like to hide the icon and title, just showing the datetime as input.

Greatful for any advice! Thx.

Posts: 1

Participants: 1

Read full topic

Error found in ONVIF at 108.3

$
0
0

@nuaawmy wrote:

Hi guys,

I upgraded my HA to 108.3 and found the onvif did not work. And the error is :
It worked well in 107.8. Is any solution o fix it? THX.

Logger: homeassistant.components.camera
Source: components/onvif/camera.py:416
Integration: camera ([documentation](https://www.home-assistant.io/integrations/camera), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+camera%22))
First occurred: 上午8:34:00 (1 occurrences)
Last logged: 上午8:34:00

Error while setting up onvif platform for camera

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 145, in async_setup_platform await hass_camera.async_initialize() File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 204, in async_initialize await self.async_obtain_snapshot_uri() File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 416, in async_obtain_snapshot_uri self._snapshot = snapshot_uri.Uri AttributeError: 'NoneType' object has no attribute 'Uri'

Posts: 1

Participants: 1

Read full topic

Viewing all 101246 articles
Browse latest View live


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