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

SleepIQ integration questions

$
0
0

Hello, hopefully someone with a Sleep Number bed and a FlexFix 3 base can answer these questions for me.

  1. Can the HA integration control both the mattress and the base? (adjust sleep number and also control position of base?)

  2. Can you just use the Flex Fit 3 base by itself with a different mattress and still have HA integration control of the positions?

  3. Bonus Q: I see mixed reviews of the Flex Fit 3 as either having massage vibration and some say it doesn’t have it… Does it do massages? Only reason I ask is because I could then set a vibrating alarm in the morning so I don’t wake up my spouse.

Thanks

1 post - 1 participant

Read full topic


Universal Media Player media name

$
0
0

Hi everyone,

Very new to this, coming from a full Google Home setup and amazed at the customisability.

Hoping someone can help with my Media Player card setup.

I’ve got 3 Media Player cards as children in a universal media player card and on the whole it works great.

media_player:
   - platform: universal
     name: TV
     attributes:
       state: media_player.sony_bravia_tv
       source_list: input_select.tv_source|options
       source: media_player.sony_bravia_tv|source
       is_volume_muted: media_player.sony_bravia_tv|is_volume_muted
       volume_level: media_player.sony_bravia_tv|volume_level
     children:
       - media_player.chromecast
       - media_player.plex_plex_for_android_tv_bravia_4k_ur2
       - media_player.sony_bravia_tv
     commands:
       turn_on:
         service: media_player.turn_on
         target:
           entity_id: media_player.sony_bravia_tv
       turn_off:
         service: media_player.turn_off
         target:
           entity_id: media_player.sony_bravia_tv
       select_source:
         service: media_player.select_source
         data:
           source: '{{ source }}'
         target:
           entity_id: media_player.sony_bravia_tv
       volume_up:
         service: media_player.volume_up
         target:
           entity_id: media_player.sony_bravia_tv
       volume_down:
         service: media_player.volume_down
         target:
           entity_id: media_player.sony_bravia_tv
       volume_mute:
         service: media_player.volume_mute
         data:
           is_volume_muted: true
         target:
           entity_id: media_player.sony_bravia_tv
       volume_set:
         service: media_player.volume_set
         data:
           volume_level: '{{ volume_level}}'
         target:
           entity_id: media_player.sony_bravia_tv

So, if the Chromecast is playing it shows that, if the Plex card is playing it shows that and lastly it shows the Sony Bravia card if that’s playing. Which works great for TV channels but if we’re using an App it just shows “App”.

I also have an integration with Android TV which shows the actual app name, i.e. Disney+.

I’d like to show the Android TV app name only if the Sony Bravia Integration says “App”…

Any thoughts or input welcome!

Thanks,

David

1 post - 1 participant

Read full topic

Xiaomi switch qbkg12lm state after power lost

$
0
0

Hello. I am using the Home assistant and zigbee2mqtt addon. I have some Aqara light switches - Xiaomi QBKG12LM control via MQTT | Zigbee2MQTT

The problem with them is with the state after power loss and restore - state_left and state_right became always “OFF”

{
    "consumption": 74.67,
    "energy": 74.67,
    "linkquality": 87,
    "operation_mode_left": "decoupled",
    "operation_mode_right": "decoupled",
    "power": 0,
    "power_outage_count": 108,
    "state_left": "OFF",
    "state_right": "OFF",
    "temperature": 35,
    "update": {
        "state": "idle"
    },
    "update_available": false,
    "action": null
}

I see in the manual there are exist some settings for “POWER OFF MEMORY” in MiHome, but how to turn it on using zigbee2mqtt addon? I do not see some “power_outage_memory” param which I can turn on.

Duke

1 post - 1 participant

Read full topic

How to use input_number as numeric_state in condition

$
0
0

How can I use the value of a helper to check if an entity is above this value?

Something like this doesn’t work.

condition: numeric_state
entity_id: input_number.test
value_template: 'above: states("input_number.test2")|float '

2 posts - 2 participants

Read full topic

Change the value of a history_stats to minutes

$
0
0

The value is shown as hours in the sensor template. Is it possible to change this to minutes?

  • time: The default value, which is the tracked time, in hours

1 post - 1 participant

Read full topic

Morning briefing

$
0
0

Hello all I have been looking for better ways to create a new morning briefing that will have alexa read off the current sensors in my home and services such as weather (AccuWeather). I know this can be done with templates but that is a topic I am still learning on. Would any one of you have a guide or wiki on how to do this? Any help is appreciated.

Thanks,

Drezin

1 post - 1 participant

Read full topic

Can triggered automations have confirmation before executing?

$
0
0

I would like to know if there is anyway to confirm an automation before running ?

I have setup a telegram bot and with that my trusted friends can unlock my door with a simple command like /door when they enter it at telegram. /door command activates an automation in HA which unlocks the house door.

alias: Telegram - /door
description: ''
trigger:
  - platform: event
    event_type: telegram_command
    event_data:
      command: /door
condition: []
action:
  - service: telegram_bot.send_message
    data_template:
      target: '{{ trigger.event.data.chat_id }}'
      message: Tamam {{ trigger.event.data["from_first"] }}, Sokak kapısı açıldı!
  - type: turn_on
    device_id: 584c23e38e377e02a283a93483e10f32
    entity_id: switch.berko
    domain: switch
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - type: turn_off
    device_id: 584c23e38e377e02a283a93483e10f32
    entity_id: switch.berko
    domain: switch
mode: single

I would like to know if this automation whenever its triggered asks a confirmation before executing ?

2 posts - 2 participants

Read full topic

OZW broken?

$
0
0

I’ve recently done an HA update, and it looks like the OpenZWave (ozw) integration has disappeared. What gives? I knew the zwave integration was being removed (which is why I migrated to ozw some months ago), is the sudden removal unannounced or was this planned and I haven’t realised?

If I have to migrate to something else now, what will not change in future, and how do I easily migrate an in-place zwave network to it?

2 posts - 2 participants

Read full topic


New Sonos Five Question

$
0
0

I just picked up my Sonos Five today!! Sounds great and was happy to get rid of the Alexa [out of sync] group that sounded terrible LOL

Here’s the Dashboard setup but it’s not working for the Sonos… You can see there

- type: custom:mini-media-player
       <<: *card_mod_transparent
       entity: media_player.sonos_five
       name: Home
       shortcuts:
         columns: 3
         buttons:
           - type: SIRIUSXM
             name: Ozzy's Boneyard
             id: play 38 - Ozzy's Boneyard
             icon: mdi:radio
           - type: SIRIUSXM
             name: Octane
             id: play 37 - Octane
             icon: mdi:radio
         artwork: full-cover-fit
         hide:
           volume: false
           power: false
           source: false
           name: true
           info: true
           controls: false
           progress: true
           icon: true
           state_label: true

My excitement is short lived LOL This will not work… Looking for suggestions/help to get this working.

This may just not be the right card for the job…

Thank you

1 post - 1 participant

Read full topic

Z-wave js not showing the correct USB zwave controller

$
0
0

Hi there! I am moving my zwave devices from a Veraplus to HA z-wave js. I started with the Zooz ZST10-700 USB controller, than changed to the Aeotec Z-Stick 7 USB controller.

I started with a small number of zwave devices so I decided to just start over from scratch. I excluded (unpair) each device from the Zooz controller then uninstalled and re-installed z-wave js add-on (and integration) after switching to the Aeotec Z-Stick 7. The zwave devices are operating as expected after switching controllers.

However, the device info for the controller still says ZST10-700 by Silicon Labs. I uninstalled zwave js and re-installed again and no change to the label.

Anyone know if that will cause an issue? I don’t know if there are specific configuration settings and/or commands that zwave js uses based on the controller name?

Below is the device file for the Aeotec Z-Stick 7:

// Note: This device file is shared by multiple manufacturers
{
	"manufacturer": "Silicon Labs",
	"manufacturerId": "0x0000",
	"label": "ZST10-700",
	"description": "700 Series-based Controller",
	"devices": [
		{
			"productType": "0x0004",
			"productId": "0x0004"
		}
	],
	"firmwareVersion": {
		"min": "0.0",
		"max": "255.255"
	}
}

type or paste code here

2 posts - 2 participants

Read full topic

Flat overview (lights, plugs, heating) with home assistant

$
0
0

Dear all,

I want to create a short overview for the Flat, Lights (states: no of on/off - or all off/ at least on is on), Plugs (states: no of on/off - or all off/ at least on is on), Heating (states: all are off, or at least one is on), like know from apple HomeKit on the Apple Watch.

Any ideas on that?

Cheers

Thomas

1 post - 1 participant

Read full topic

Roku remote card

$
0
0

Hoping to hear from someone who uses HA to control their Roku.

I’d like to do this from HA on my phone - especially since my Roku Remote lacks a Mute button, and gets lost sometimes.

I added the Roku integration, connected to my Roku, got 2 entities: Media Player and Remote. And I added corresponding cards to Lovelace. The Media Player card only does a few things.

The Remote card does… nothing. It has no functionality. I was hoping for a bunch of buttons like the physical remote. What am I missing here? Do I have to create my own card with functional buttons that make calls to the Roku API?

1 post - 1 participant

Read full topic

I don't understand the new Statistics in Dev

$
0
0

I’m probably not smart enough to understand how this is supposed to work (correct aberrant data), or if it’s just plain broken.

Observations:

  1. Using the date picker (when it works) it always sends the day before the date I pick to the first windows (see pic below).

  2. When I can get the records to appear, the aberrant record(s) are not present for the time frame in energy (see pic below). I can pick all the hours of the time period and still no aberrant records.

1 post - 1 participant

Read full topic

Tasmota MQTT finds lights but marking them as sensors

$
0
0

I have a problem with my home assistant, MQTT is finding my 10 tasmota bulbs but when I go to entities it only shows sensors and no lights. These bulbs have been connected for a while but I had to remake my home assistant recently and after that they never reconnected correctly.

I have triple checked all my settings and discovery does work as it does find the devices but it does not bring up lights as an entity. I have even tried the setoption20 to 1 to force home assistant to detects lights but still no go.

When I rebuilt my home assistant I restored a backup. I would really like to not have to reinstall home assistant from scratch and set everything back up as my Google Nest stuff was kind of a pain to get set up. Any ideas?

1 post - 1 participant

Read full topic

Is it possible to trigger an automation if an entity goes missing?

$
0
0

As titled, I would like to trigger an automation if an entity disappears, or doesn’t exist in HA anymore, is this possible?

1 post - 1 participant

Read full topic


Energy Dashboard - Sensor cannot be selected

$
0
0

Hello,

I made it to configure my energy dashboard and define several sensors in the configuration:

In total I have 16 power plugs and three strips. But I am not able to select all available sensory. I don’t understand why.

Example: At least one sensor has exactly the same attributes, …
image

… but I am not able to select it.

Is anyone able to help?

Many thanks in advance! Cheers, red

1 post - 1 participant

Read full topic

Fujitsu AC integration - probably a config error

$
0
0

I’ve searched the forum and read this thread

and have installed the Fujitsu integration as detailed here:

I followed those instructions to the letter, copy/paste where possible, and have checked and rechecked multiple times.

When I get HA to check the configuration.yaml prior to a restart I get this error

Platform error climate.fujitsu_general_heatpump - Integration ‘fujitsu_general_heatpump’ not found.

The section in configuration.yaml is as follows:

climate:
  - platform: fujitsu_general_heatpump
    username: xxxxxxx@gmail.com
    password: xxxxxxxxx

I’m very new to HA and have no idea where to look to troubleshoot this. Any suggestions would be very much appreciated.

3 posts - 2 participants

Read full topic

Cannot delete all links in 2nd gen Insteon hub

$
0
0

Hello, I’m using the insteon integration and I’m having some issues with a couple switchlincs. One always turns on at 50%, and the other only turns off. I suspect I forgot to have them both at 100% on when I linked them to my second gen hub. I tried to re-link the all-link and delete the all-link, but it doesn’t seem to me working. Can anyone point me in the right direction?

1 post - 1 participant

Read full topic

Jellyfin REST API sensor

$
0
0

Hi there!
I have installed the Jellyfin integration and am having trouble detecting playback.

The integration itself keeps producing many media_player entities (that’s a different issue), so I decided to try an poll the REST API directly.
The /Sessions endpoint returns a JSON list of objects, one for each session. As I understand it, if that object has the NowPlayingItem key it means playback is active.
See Jellyfin API reference here (and yes, the “X-Emby-Authorization” header is incorrect in the docs, it’s supposed to be “X-MediaBrowser-Token”)

I’m trying to detect that key. Where is wrong with my code?

binary_sensor:
- platform: rest
  name: Jellyfin playing
  device_class: running
  resource_template: "{{ states('input_text.jellyfin_url') }}/Sessions"
  headers:
    X-MediaBrowser-Token: !secret jellyfin_apikey
  value_template: >
    {% set bool = 'false' %}
    {% for item in value_json %}
      {% set bool = 'true' if item.NowPlayingItem is defined %}
    {% endfor %}
    {{ bool }}

I also tried a different condition: if 'NowPlayingItem' in item with no luck.

Just for debugging purposes, I created a REST sensor with the value:

value_template: "{{ value_json[0].NowPlayingItem.Name }}"

…and when there’s playback, I get the media name just fine.

1 post - 1 participant

Read full topic

Conbee 2 devices not available after HA shutdown

$
0
0

Recently I discovered that when I go to host shutdown in HA, next time I turn on the system all entities from conbee 2 are unavailable in the system. This is fixed by restarting HA and once restarted they show again. The whole time though they are visible in conbee 2 (phoscon for example).

Has anyone else experienced this?

1 post - 1 participant

Read full topic

Viewing all 100946 articles
Browse latest View live


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