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

Not discovering automatically nor could manually

$
0
0

Hello Team,

I have two smart plugs from Kasa (TP Link). With the integration, I discovered and added one but couldn’t recognise nor manually add the other.

See the images from the Kasa app and the home assistant page.

Any help on how to fix this? Please and thank you.

1 post - 1 participant

Read full topic


Error with blueprint

$
0
0

I created the blueprint as noted below.

blueprint:
  name: Temperatuur
  description:
    Notification when it's cold in a certain room
  domain: automation
  input:
    temp_sensor:
      name: "Temperature sensor"
      selector:
        entity:
          domain: sensor
          device_class: temperature
    trigger_temperature:
      name: "Trigger temperature"
      description: Min temp to trigger
      default: 17
      selector:
        number:
          min: 10.0
          max: 25.0
          unit_of_measurement: "degrees"
          step: 0.1
          mode: slider
    actions:
      name: Actions
      description: What to do when threshold reached.
      selector:
        action:
variables:
  entity_name: "{{ states[trigger.entity_id].friendly_name }}"
  battery_level: "{{ states(trigger.entity_id) }}"
trigger: 
  - platform: numeric_statue
    entity_id: !input temp_sensor
    below: !input trigger_temperature
action: !input actions

It gives me the following error:

invalid automation with inputs OrderedDict([('message', ' {{ entity_name }} battery has dropped to {{ temperature_level }}% '), ('window_entity', 'binary_sensor.deur_kinderkamer'), ('temperature_entity', 'sensor.temperature_kinderkamer'), ('notify_device', '621869ba5dd715a0989efa6d994c05e3'), ('temperature_level', 15.7)]): extra keys not allowed @ data['below']. Got None

I’m not sure what the issue is, could anyone help me?
Side note: I get this in multiple blueprints with the “below:”

1 post - 1 participant

Read full topic

Detecting TrueNAS Volume going offline

$
0
0

I have a disk shelf that keeps crashing, even it crashes it takes my volume offline in TrueNAS, at this point I need to restart the disk shelf and then reset the VM

I have an automation to fix this already (although I really should fix the underlying issue)

But I need something I can use to detect when it fails so I can trigger the automation to fix it.

My thought for this was a commanline sensor that checks if a certain file is available, maybe

“cat /mnt/truenas/online.txt”

And if the command returns a TRUE then it’s online

If the command times out, the file isn’t there as the pool has dropped offline!

But to do that, I would need to mount the NFS share to Home Assistant OS… can I do that?

Help please! :slight_smile:

1 post - 1 participant

Read full topic

Assign value to switch based on input - advanced condition based switching

$
0
0

Hello,

I have a switch entity which I want switched on or off based on ‘simple’ AND or OR statement like in the following pseudo code:

switch.centralheating.state = input_boolean.room1demand or input_boolean.room2demand or input_boolean.room3demand

Is that possible as I don’t want two automations comparing different statuses with AND and OR etc.

1 post - 1 participant

Read full topic

Z-wavejs configure device options don't stick?

$
0
0

using the core integration I try to configure the device:

in this case, toggle off the Basic command. If I go back to the main panel, and after that revisit the device configuration panel, the toggle simply returned to its previous state. Same goes for the other options.

Do we fail a ‘Save’ button here? or should this stick and be set immediately. If so, it certainly doesnt and is probably a bug?

btw, on this specific device, only some of the options are configurable, and the associatons (displayed in the DB) can not be set:

Is this still in the works?
thanks for having a look

1 post - 1 participant

Read full topic

Covers and Cover group show different/incorrect icon and 'unknown'

$
0
0

Still new to the cover platform, please let me ask why the cover group shows a different icon from both identical individual covers making this group:

Schermafbeelding 2021-04-19 om 12.19.32

Schermafbeelding 2021-04-19 om 12.21.40

I realize these are assumed_state, and RTS motors, not IO motors reporting their position. Still, wouldn’t it be expected if the individual covers are displayed identically the group should also show that?

But thats not all. though the icon on the group and individual cover changes when opening/closing

Schermafbeelding 2021-04-19 om 12.24.49 Schermafbeelding 2021-04-19 om 12.26.23

no matter their position, they return to the top image, all three. Even when fully opened/closed.
can this be changed?

1 post - 1 participant

Read full topic

Multiple conditional actions in one automation

$
0
0

I’m trying to create an automation that notifies me and my wife if the coffee maker turns off by itself (the Moccamaster does that after ~ 40 minutes). Basically the notification triggers on the coffee maker power going off, and other conditions check if the coffee maker was on for more than 39 minutes (i.e. I wasn’t the one turning it off), if system state is Home and if my phone is home as well. Then it sends me a notification.

alias: Kitchen - Notify if the coffee maker turns itself off
description: ''
trigger:
  - platform: state
    entity_id: input_boolean.coffeemaker_status
    to: 'off'
condition:
  - condition: and
    conditions:
      - condition: state
        entity_id: input_select.systemmodus
        state: Home
      - condition: template
        value_template: >-
          {{ (as_timestamp(now()) -
          as_timestamp(trigger.from_state.last_changed)) > 2340 }}
      - condition: state
        entity_id: device_tracker.oysteins_phone
        state: home
action:
  - service: notify.mobile_app_sm_g965f
    data:
      message: TTS
      title: 'The coffee maker has turned itself off, and the coffee is getting cold!'
mode: single

What I would really like is to move the device tracker check to the action, so that I can have a action condition for both my phone and my wife’s phone. I don’t want to use the same actions (i.e. use a script file that checks entity names on input), as I plan to move to iPhone while my wife uses Android.

So I’d like the action section to say:
* if my phone is home, then notify my phone using these steps
* if my wife's phone is home, then notify my wife's phone following these different steps

How can I do this?

6 posts - 3 participants

Read full topic

Camera stream to Android TV

$
0
0

Guys, I ran into what I have on the current versions of HA (2021.4.4/2021.4.5) camera stream service stopped working. Up to this point, I had no problems, google streamed my cameras to TV with a script or voice control. Now, no action is visible on TV.

Right now, I can’t do this, after run one of my script I catch this:

my script example:

cast_tambour_to_kitchen:
  sequence:
    - service: camera.play_stream
      data:
        entity_id: camera.tambour
        media_player: media_player.kitchen_tv_2

logs:

Logger: libav.h264
Source: components/stream/worker.py:129
First occurred: 12:50:56 (52 occurrences)
Last logged: 12:57:51

* Missing reference picture, default is 65584
* Missing reference picture, default is 65586
* Missing reference picture, default is 65588
* Missing reference picture, default is 65590
* Missing reference picture, default is 65592

Really don’t quite understand what happens, but, at the beginning of the month, I was installing an update from Xiaomi on my TV. At about 50%, I’m inclined to believe that this problem is caused by an update. But how are u cameras stream working now?

1 post - 1 participant

Read full topic


Adding a shelly device in a different network

$
0
0

Hi,

I have multiple networks in my house and because the discovery feature works only in the network where Hass is, I need a way to manually add a shelly device (maybe through IP) that is in a different newtork.
Is there a way I can do this?

1 post - 1 participant

Read full topic

Using a Python API on Home Assistant

$
0
0

I have used the United Energy integration which is no longer supported. In search of a replacement I have found the following

However this is not a Home Assistant integration but simply a Python API. Looking at the Home Assistant documentation I have found this >> Python Scripts - Home Assistant

I’m not a developer so this question may be innocent. Is it possible for me to enable/integrate this energy Easy script on Home Assistant? How would I go about it?

1 post - 1 participant

Read full topic

Cloud service not loading after recent update

$
0
0

I updated HA to the latest release, recently, and now the Cloud service (Nabu Casa) isn’t launching. I’m seeing the following error in the logs:

Logger: homeassistant.setup
Source: setup.py:244
First occurred: April 16, 2021, 7:16:33 PM (1 occurrences)
Last logged: April 16, 2021, 7:16:33 PM

Setup of cloud is taking longer than 300 seconds. Startup will proceed without waiting any longer

Can anyone suggest how I might go about troubleshooting this?

1 post - 1 participant

Read full topic

Wind speed big difference between now and forecast

$
0
0

I’ve got a chat showing the current wind speed and the forecast. The forecast is a lot smaller than current and then each hour when the firecast becomes the present, you can see the forecast was well out.

If I look at the data:

temperature: 16.1
humidity: 36
pressure: 1021
wind_bearing: 150
wind_speed: 9.25
attribution: Data provided by OpenWeatherMap
forecast:
  - datetime: '2021-04-19T11:00:00+00:00'
    precipitation: 0
    precipitation_probability: 0
    pressure: 1021
    wind_speed: 2.69
    wind_bearing: 154
    condition: sunny
    temperature: 15.5
  - datetime: '2021-04-19T12:00:00+00:00'
    precipitation: 0
    precipitation_probability: 0
    pressure: 1021
    wind_speed: 2.83
    wind_bearing: 159
    condition: sunny
    temperature: 16.1
  - datetime: '2021-04-19T13:00:00+00:00'
    precipitation: 0
    precipitation_probability: 0
    pressure: 1021
    wind_speed: 3.07
    wind_bearing: 162
    condition: sunny
    temperature: 15.8
  - datetime: '2021-04-19T14:00:00+00:00'
    precipitation: 0
    precipitation_probability: 0
    pressure: 1021
    wind_speed: 3.32
    wind_bearing: 165
    condition: sunny
    temperature: 15.6
  - datetime: '2021-04-19T15:00:00+00:00'
    precipitation: 0
    precipitation_probability: 0
    pressure: 1020
    wind_speed: 3.42
    wind_bearing: 165
    condition: sunny
    temperature: 15.3

You can see it’s almost like the current wind speed and forecast are measured in different metrics.

1 post - 1 participant

Read full topic

Good Card for Fan Control

$
0
0

I have a 6 speed fan and been looking at the standard Lovelace UI cards to use for it and not seeing anything that shows the speeds along with the on/off and reverse on the card. In the double-click pop-up window of the card it has a slider labeled speed that has numbers associated with it that are kinda arbitrary and i’d like to update that to reflect the 6 speeds as well.

I was going to use this as an excuse to learn to build a custom card. Before i do that wondering if anyone else has solve for this already with existing cards?

1 post - 1 participant

Read full topic

MQTT Event keeps coming back as 'Retained' - how to turn that off?

$
0
0

I have OctoPi with MQTT. I have turn OFF the retain flag in that config so that ALL event messages have retain=false.
In MQTT Explorer. I connect to my Home Assistant MQTT and delete ALL events for that OctoPi Instance.
I turn on OctoPi, Connect to my 3D Printer and look at all the events from that printer coming into Home Assistant.
All of them have the Retain flag OFF.
I shut down OctoPi and the 3D Printer. Still ALL event messages have Retain flag OFF.
I reboot Home Assistant.
OctoPi
Disconneting event now has Retain ON
Diconnected event now has Retain ON
PritnerStateChanged has Retain ON
But OctoPi is powered OFF!
So obviously Home Assistant MQTT is turning this flag back on.
How do I turn the Retain OFF (FALSE) and keep it that way?
Thank you.

1 post - 1 participant

Read full topic

What raspberry OS is best fot HA dashboard?

$
0
0

I have a 7 inch touch display and a Raspberry 4, thinking to build a dashboard for my HA.

What raspberry OS is the best for kiosk type browser? Something like Fully Kiosk Browser in Android.

Thanks in advance.

1 post - 1 participant

Read full topic


Synology integration stops working

$
0
0

Hi, I have a strange issue with my Synology 412+ (I know, quite an old device, but still running strong). It works fine when I create and configure the integration, but after HA restart it won’t come up again as the initialization runs into a timeout - and also HA start takes significantly longer. Deleting and recreating the integration works, but is not a real option of course.
I don’t have the logs atm, but they are not quite useful anyhow.
Any pointers what the issue might be to dig deeper?

1 post - 1 participant

Read full topic

Philips Hue Automations no longer working

$
0
0

My Philips Hue bulbs no longer respond to automations. This happened with the core_2021.4.1 update.

The integrations for every bulb and the Hue motion detector are present and respond to toggling. I can turn the bulbs on and off manually through Lovelace front end. I can also dim the bulbs. The motion detector detects motion and reports the temperature. But when the automations are triggered nothing happens.

For instance I have 3 bulbs and a lamp on a Kasa smart switch set to turn on when motion is detected in the evening and turn off automatically at a certain time at night. The lamp on the kasa smart switch turns on when motion is detected and off at the predetermined time but the Hue bulbs do nothing. I have to toggle them in the Lovelace frontend.

I haven’t changed/added/deleted any devices/integrations/automations in the last 6 months or so.

I have tried everything from deleting and re-adding the integrations to creating brand new automations. Has anybody had this problem?

1 post - 1 participant

Read full topic

Tasmota integration stopped controlling my device

$
0
0

Hello,
I moved my HA installation to Synology VMM. Everything works without issue. The only thing I cannot figure out is that Tasmota integration stopped controlling my only device - sonoff mini. I do not use mqtt, or let’s say, not intentionally with mosquitto, I use the HA integration.

I can access the sonoff mini over the network and toggle it using its web interface.

The Tasmota integration does not show the entity unvailable but as off, I can toggle the button but it goes back immediately. If I delete the integration, it remembers its previous configuration, so adding it back shows back the entity and its automations. So what is the troubleshoot direction I should go? Thank you.

1 post - 1 participant

Read full topic

Notification error HTTP.BAN

$
0
0

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:116
Integration: HTTP ([documentation] [issues]
First occurred: 1:43:24 PM (6 occurrences)
Last logged: 2:38:02 PM
Login attempt or request with invalid authentication from xx-xx-xxx-149.cable.dynamic.*****.nl (xx.xx.xxx.xxx). See the log for details.

Where xx.xx.xxx.xxx is my own server. How can I prevent this?

1 post - 1 participant

Read full topic

MQTT does not recognise Tasmota sockets

$
0
0

I have activated Mosquitto Broker via the Homeassistant add-ons.
I created an extra user in HomeAssistant and entered it in the Mosquitto Broker Config.
I have entered the IP address of the HA Raspi and port 1883 in the Tasmota sockets and the created HA user.

The logs also show that a device is responding.
Later it says that it will be entered in a Mosquitto DB.

The sockets are neither under entities nor in Loveplace.

Do I need to configure anything else in HA? (configuration.yaml)

I have also in the configuration.yaml simply
#MQTT
IP address
User
Password

… and deactivated the add-on.
But that didn’t work either.

I hope someone has an idea.



1 post - 1 participant

Read full topic

Viewing all 107832 articles
Browse latest View live


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