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

Anyway to check errors after restart?

$
0
0

My pi 3+ running HA on an sd card stopped working today. Could not access it internally or externally so pulled the plug, plugged it back in and it’s started up but the log starts from the reboot so is there anyway of finding out why it died in the first place?

I’ve been on holiday for a week and when I came home it wasn’t working (first time I’d tried it in 7 days) but we’ve had no power cuts so not sure what caused it to be down but would like to resolve.

1 post - 1 participant

Read full topic


Good Way TD14000 / Monprice #36511 RGBW Dimmer - How to

$
0
0

Ok so, I have created a base td14000.xml for OpenZWave using a Qubino ZMNHWD1.xml as the base.
What I am missing is how to configure support for this capability:
Good Way manual:
Good Way TD14000 SWITCH COLOR
Monoprice:


I believe the command class is:
Color Switch Command Class COMMAND_CLASS_SWITCH_COLOR 0x33
so that would be <CommandClass id="51"> but what to put into the XML?
The only other device that mentions command class “51” is a fibaro:
  <CommandClass id="51">
    <!--  The Fibaro doesn't report immediate color values, so we need to verify the value -->
    <Value genre="user" index="0" instance="1" label="Color" type="string" units="#RRGGBBWW" value="#00000000" verify_changes="false"/>
    <Compatibility>
      <ColorIndexBug>true</ColorIndexBug>
    </Compatibility>
  </CommandClass>

This is what I currently see in openzwave admin which IMO is not correct:
TD14000 Capability

1 post - 1 participant

Read full topic

Why does this error appear on the trigger.entity_id, even when it triggers on that entity

$
0
0

Think I finally find the source for an very frequent error I have been hunting for very long, 'None' has no attribute 'entity_id':

I’ve added an extra condition to test for the existence of trigger.entity_id now so it won’t execute the action block if trigger.entity_id is none:

      - condition: template
        value_template: >
          {{trigger.entity_id is not none and
            trigger.to_state.state is not none and
            trigger.from_state.state is not none and
            trigger.to_state.state != trigger.from_state.state}}

but I dont understand why this helps. If the automations triggers, it will always have an entity_id? How come this automation would trigger and still have the error appear?

  - alias: Presence Tracking
    id: Presence Tracking
    trigger:
      platform: state
      entity_id:
        - group.daughter1
        - group.daughter2
        - device_tracker.daughter4
        - group.daughter3
        - device_tracker.she
        - device_tracker.me
    condition:
      - condition: template
        value_template: >
          {{trigger.entity_id is not none and  # <---- added this line and the error disappeared
            trigger.to_state.state is not none and
            trigger.from_state.state is not none and
            trigger.to_state.state != trigger.from_state.state}}
      - condition: template
        value_template: >
          {% set zones = states.zone|map(attribute='name')|list %}
          {{trigger.to_state.state in ['home','not_home'] or
            trigger.from_state.state in ['home','not_home'] or
            trigger.to_state.state in zones or
            trigger.from_state.state in zones}}
      - condition: template
# https://community.home-assistant.io/t/how-to-check-greater-than-of-last-status/65854/3
        value_template: >
          {{(now() - trigger.from_state.last_changed
            |default(0)).total_seconds() > states('input_number.presence_timer')|int}}
    mode: queued
    action:
      - service: script.intercom_presence
        data_template:
          message_nl: >
            {% set entityid = trigger.entity_id %}
            {% set tostate = trigger.to_state.state %}
            {% set fromstate = trigger.from_state.state %}
            {% set name = state_attr(entityid,'friendly_name') %}

              Hi, op {{as_timestamp(now())|timestamp_custom('%X')}},
            {% if tostate == 'not_home' %}
              vertrok {{-name }} van {{fromstate}}
            {% elif fromstate == 'not_home' %}
              kwam {{-name }} aan bij {{tostate}}
            {% else %}
              vertrok {{-name }} van {{fromstate}} en kwam aan bij {{tostate}}
            {% endif %}

          message_en: >
            {% set entityid = trigger.entity_id %}
            {% set tostate = trigger.to_state.state %}
            {% set fromstate = trigger.from_state.state %}
            {% set name = state_attr(entityid,'friendly_name') %}

              Hi, at {{as_timestamp(now())|timestamp_custom('%X')}},
            {% if tostate == 'not_home' %}
              {{-name }} left {{fromstate}}
            {% elif fromstate == 'not_home' %}
              {{-name }} arrived at {{tostate}}
            {% else %}
              {{-name }} left {{fromstate}} and arrived at {{tostate}}
            {% endif %}

      - service_template: >
          script.{% if is_state('input_boolean.notify_announcement','on') %}announce_presence
                 {% elif is_state('input_boolean.notify_presence','on') %}notify_presence
                 {% else %}dummy
                 {% endif %}
        data_template:
          trigger: Presence tracking
          entityid: '{{trigger.entity_id}}'
          tostate: '{{trigger.to_state.state}}'
          fromstate: '{{trigger.from_state.state}}'

3 posts - 2 participants

Read full topic

Minimum value for derivative

17track has stopped working for me

$
0
0

I have an 17track sensor up and running for a few months, but this week i noticed it is no longer working or updating, the sensor status shows as “unavailable”, i have double checked the logins are correct. there doesnt seem to be anything to change or get wrong in the setup and there dosen’t seem to be any other reports of an breaking change or outage. the 17track website is working as expected (my password is not longer than 16)
setup yaml is

sensor:
  - platform: seventeentrack
    username: EMAIL_ADDRESS
    password: YOUR_PASSWORD

2 posts - 2 participants

Read full topic

Harmony hub loses connection frequently

$
0
0

I have my harmony hub linked in Hawaii bit it looses connection and becomes unavailable multiple times per day.

I have an automation that monitors it and runs the harmony.sync service to try and get it back again. ( I also have a notification fired to the mobile app)
It works, but it’s happening 20+ times per day!

Is this a known bug?
Is there a ‘proper’ fix?
From what I’m seeing in search results I can’t find one?

12 posts - 3 participants

Read full topic

Add ARM NIGHT to Alarm_Control_Panel entity / badge

$
0
0

Hi,

I have a manual alarm alarm_control_panel and have added the entity [alarm_control_panel.home_alarm] as a badge in my lovelace. When you click on this, you can choose 2 options: ARM AWAY and ARM HOME. I would like to add the option ARM NIGHT to the buttons. Is that possible without using the various (custom) alarm panel cards?

AlarmPanel

The code in the alarm.yaml file is the following:

alarm_control_panel:
  - platform: manual
    name: Home Alarm Test
    code_arm_required: false
    arming_time: 0
    delay_time: 60
    trigger_time: 300
    armed_home:
      delay_time: 0
    armed_night:
      delay_time: 0

Cheers,
Johan

2 posts - 2 participants

Read full topic

LG TV state changes on and off constantly

$
0
0

The state of my LG TV in Home Assistant is automatically going from on to off over and over again every few seconds.

The TV stays on though and doesn’t actually turn on or off.

I didn’t do anything to the config code in yaml. I just copied the example template provided from the integrations page. https://www.home-assistant.io/integrations/webostv/

1 post - 1 participant

Read full topic


Automation with multiple Caseta Hubs?

$
0
0

Hi all, new to hass(io), but I did a search to see if this was covered recently.

I am currently building a new house, and the design calls for about 120 Caseta switches / remotes. After conferring with Lutron, they are recommending three hubs across the house (essentially one for each floor). The Caseta system does not seem to be able to handle scenes across multiple hubs, so I am hoping to bridge this with HA (as well as a lot of other cool automation!). The folks at Lutron aren’t sure if this will work:

"I do not know how the user experience with multiple Casetas would be from their end. Like, if you wanted a whole house scene, I would suspect that a scene across three different systems could have somewhat of a popcorn feel to it, but I have never used their gear. I’m also not sure if you can build larger scenes across multiple systems. I would assume so but have never used it.

The other issue that you could run into, if you have three fully loaded Caseta bridges, each system will work on the same frequency. If you have a bunch of sensors and battery shades, this could lead to life degradation. I would not think that you would see a major time delay on basic commands across the system but three fully loaded Caseta systems would be far more devices of the same RF type a frequency than is spec’ed for a single residence. The sensor and battery life of shade issue though would be a real concern depending upon obviously if they are using those devices…I believe the consensus is that this should be able to work with multiple systems, based on the description of the software, but we have no firsthand experience of this because it is user created."

Do folks here have experience with multiple Caseta hubs? How does it work, and is there noticeable delay? And finally, can you use the pico switches to control whole house scenes across multiple hubs?

Thanks, appreciate the help and patience with a noobie.

2 posts - 2 participants

Read full topic

Incorrect ACTION item being deleted

$
0
0

Hello all,

I am trying to delete something from the Action but it deletes the wrong item.
Here is a brief description:

Triggers:
...
...
Conditions: 
...
...
Actions:
Action Type: Delay
...
Action Type: Call Service
...
...
Action Type: Call Service
...
...

So, this is how my Automation is setup. If I try to delete Delay, it keeps Delay intact but deletes the first Action Type: Call Service.

Anyone experienced same thing?
Note: These actions are performed from the front-end.

1 post - 1 participant

Read full topic

Running Local Mp3 File To MPD

$
0
0

My system is running :
Home Assistant Supervisor with Docker on Rpi 3 Raspbian.

I have installed mopidy from https://docs.mopidy.com/en/release-2.2/installation/ and mopidy-mpd https://mopidy.com/ext/mpd/ Configured in configuration.yaml as MPD and I can able to TTS using basic Media play Card and getting VOICE run by tts mp3.
Now I want to Play Mp3 File ( Chime ). Which is the proper way to configure directory ?
mopidy.conf I have set directories, but while running test script to play mp3 , i am getting error
“directory or file not found.” ( or access denied in mpd ). Can anyone show me the proper way to run mp3 file ?

2 posts - 2 participants

Read full topic

External access not working

$
0
0

Hi

I have a problem with external access to my hassio.

If I access xxxx.myduckdns.org connected to my local network, it is successful.
But if I access outside my local network, an error occurs
“ERR_CONNECTION_ABORTED”.

I have a router connected to another router
External Router Config:

Internal Router Wifi Config:

Config:
image

If I access to https://192.168.200.100:8123, it works too.

Can someone help me? Please

8 posts - 4 participants

Read full topic

Hacs and community projects disappeared

$
0
0

Hi. After the update 113 hacs disappeared and none of the components that I create the community work. I read some things. Delete the hacs integration. I re-created it with its new token but it still doesn’t work. Could you help me.
Also download again hacs
. Thank you

Detalles del registro (ERROR)
Logger: homeassistant.config_entries
Source: C:\Users\Mile\AppData\Local\Programs\Python\Python37\lib\site-packages\homeassistant\config_entries.py:249
First occurred: 3 de agosto de 2020 20:43:36 (1 occurrences)
Last logged: 3 de agosto de 2020 20:43:36

Error setting up entry for hacs
Traceback (most recent call last):
  File "C:\Users\Mile\AppData\Local\Programs\Python\Python37\lib\site-packages\homeassistant\config_entries.py", line 220, in async_setup
    hass, self
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\__init__.py", line 30, in async_setup_entry
    return await hacs_ui_setup(hass, config_entry)
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\operational\setup.py", line 61, in async_setup_entry
    return await async_startup_wrapper_for_config_entry()
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\operational\setup.py", line 86, in async_startup_wrapper_for_config_entry
    startup_result = await async_hacs_startup()
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\operational\setup.py", line 165, in async_hacs_startup
    if not await async_load_hacs_repository():
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\operational\setup_actions\load_hacs_repository.py", line 17, in async_load_hacs_repository
    await register_repository("hacs/integration", "integration")
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\helpers\functions\register_repository.py", line 29, in register_repository
    await repository.async_registration(ref)
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\helpers\methods\registration.py", line 37, in async_registration
    await self.async_post_registration()
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\helpers\methods\registration.py", line 42, in async_post_registration
    await async_run_repository_checks(self)
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\validate\__init__.py", line 24, in async_run_repository_checks
    await async_initialize_rules()
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\validate\__init__.py", line 18, in async_initialize_rules
    await hass.async_add_executor_job(_initialize_rules)
  File "C:\Users\Mile\AppData\Local\Programs\Python\Python37\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\Mile\AppData\Roaming\.homeassistant\custom_components\hacs\validate\__init__.py", line 13, in _initialize_rules
    importlib.import_module(rule)
  File "C:\Users\Mile\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.hacsC:\\Users\\Mile\\AppData\\Roaming\\'

1 post - 1 participant

Read full topic

Alarm decoder unable to imitate door chime with binary sensors

$
0
0

I am somewhat new to HA and have the alarm decoder implemented with Honeywell alarm. Seems to work fine for all zones and status and arm / disarm. My goal is to imitate the door chime with automations and notifications. Each door is on separate zone and there are two motion zones. My issue is when a door is left open and another zone is triggered (typically motion) when the motion sensor goes off the door sensor fires again. I am using the state of the door sensor to trigger the
notification. Is there a way to not have the door notification happen after the motion sensor.

alias: Door Notif Patio
  description: ''
  trigger:
  - entity_id: binary_sensor.patio_door
    from: 'off'
    platform: state
    to: 'on'
  condition: []
  action:
  - data:
      data:
        push:
          category: Door
          sound: 3rdParty_DirectionDown_Haptic.caf- id
      message: “Patio Door Open”
    service: notify.mobile_app_jeffs_iphone`

1 post - 1 participant

Read full topic

HA button where hold_action does a 0=>100% brightness & 2nd hold 100=>0%?

$
0
0

Hi

I think the title says it all but to be sure I explain myself: I have seen such a system where holding a physical button would increase brightness as long as you hold.
Tapping would switch off and toggle brings back the previous brightness level.
Holding again would inverse the increase, thus really dimming until released or 0%.

Is this possible, with a automation or a script or any other way?

TIA
Nick

7 posts - 4 participants

Read full topic


Alert integration - is it on the way to be deprecated?

$
0
0

I was on my way to set up some alerts but cannot find Alert as an option in the new GUI administration. Have not read a thing about alert in the blogs lately so wondering if it is on its way to be deprecated?

2 posts - 2 participants

Read full topic

Confused about lovelace resources

$
0
0

Hi.
I have been a HA user for a long time, but for a long time I have just not had a lot of time doing stuff in my installation, and a lot of things has changed.

Today I tried to install the “Button State Card” in HACS, but it is not working.
In the GUI it is added as located in /hacsfiles/,all other old resources are in /community_plugin/
When I look at the yaml file, and the raw editor all three places are different. Can anyone tell me whats up?

1 post - 1 participant

Read full topic

Xiaomi Gateway sensors unavailable after update

$
0
0

Pretty much ago, after one of HA updates, Xiaomi GW sensors are lost on my system
Latest Hassio on Pi4

Integration is working fine, but only couple entities left available
Temperature and Humidity sensors lost, but appeared with new ID, new arm/disarm switch appeared.
Motion sensors, relay, GW light is not available anymore

Is there any way to bring them back somehow?

4 posts - 3 participants

Read full topic

Performance Issues with Ngnix

$
0
0

To support some advanced features that I need for my network, I had to move from the Ngnix add-on to an HAProxy instance running on another server. To my surprise, hassio became much quicker and snapier. I double-checked by reactivating Nginx and the difference is noticeable.

Now I have some questions:

  1. Is the a known thing? I couldn’t find a single person complaining about it.
  2. If it’s not a known thing, can I help the team by providing metrics? If yes, what metrics do you need?

Cheers!

6 posts - 2 participants

Read full topic

Help with template to obtain data

$
0
0

Hello I have a sensor by command that gives me the information on the operating system time, a RaspberryPi with symbian, but I am interested in modifying the result of the data that it offers me the sensor.

These are the data returned by the sensor

Y me gustaría que el resultado fuera como la siguiente imagen…

In other words, it is of the type Xd:Xh:Xm The same as the second image, I suppose that with a sensor template that collects that information, it can be adapted to the way I want it to be displayed

Thank’s!!

6 posts - 2 participants

Read full topic

Viewing all 108251 articles
Browse latest View live


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