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

Confused when to, or not to use show_header_toggle: false

$
0
0

@Mariusthvdb wrote:

Please see below configs. I don’t want a header toggle to show. Why do I need to set that in the top entities card, and not in the second?

  - type: entities
    title: Intercom settings
    show_header_toggle: false
    entities:
      - input_select.intercom
      - input_number.intercom_volume
      - input_boolean.announce_intercom
      - input_select.intercom_language
      - input_boolean.radio_paused
      - sensor.intercom_volume

  - type: entities
    title: Soundbites
    entities:
      - input_select.sound_bite
      - input_select.sound_bite_player
      - input_number.sound_bite_volume
      - input_boolean.loop_sound_bite
      - script.play_sound_bite
      - script.play_sound_bite_loop

or in this one for that matter, would have expected the automation to force it, but no toggle in sight:

  - type: entities
    title: Notifications
    entities:
      - sensor.filed_notifications
      - automation.forward_notifications_to_filed_notifications

Posts: 1

Participants: 1

Read full topic


Average lux over 24 hours - is the statistics sensor what I need?

$
0
0

@Matt_Barnes wrote:

I have some plant sensors and see the light levels they get at every minute of the day is not that useful. I would like to know the average lux level they get over a 24 hours period.

Should I be using the statistics sensor:

or some other method? I didnt want to create some hideously memory intensive process, the docs give an example of:

sensor:
  - platform: statistics
    entity_id: sensor.cpu
  - platform: statistics
    entity_id: binary_sensor.movement
    max_age:
      minutes: 30

I would need

hours: 24

and as there is no method of setting the number of points to take that average from was not sure if it would use lots of compute calculating from data points every 10 seconds?

Posts: 4

Participants: 2

Read full topic

Syncronyze light

$
0
0

@emimart wrote:

Hi, I’m new to this forum and I hope I’m writing in the right section.
I just installed Home Assistant, and connected it to my new lights https://www.zigbee2mqtt.io/devices/LED1537R6.html
All works fine.
To connect to the Zigbee network I use a CC2431 prepared using the guide on the site above. Sorry, I can’t post the link due the board’s limitation for new user.
Then I configured the remote following the instruction in the page ( https://www.zigbee2mqtt.io/devices/E1524_E1810.html#note ).

I can control all the lights from HA and all works pretty fine but if I use the remote controller something goes wrong.
First of all, if I use the remote to do something, for example switch the lights on and off, the state of the lights in HA doesn’t change.
Second (and maybe bigger) problem is this:
I use the remote control, switch the lights on, control the brightness, switch them off and all is fine. If I try to control the color temperature something strange happens. On first click on the remote 3 of 5 light change the color temperature, on second click all the light change color temperature. In this way the first 3 lights have always a different color temperature than the last two.

Posts: 1

Participants: 1

Read full topic

Graphs after recent upgrade

$
0
0

@vb216 wrote:

Hello,
I was aware the old history graphs id used were being deprecated, but took the plunge.
It looked like history cards were the replacement, but they’re showing no history data available? But I can see it logged in the DB

Also the feature of being able to click on the little icons along the top for each sensor, and see the associated graph has disappeared, which I always thought was quite a neat feature.

Is it config on my side I’m missing, or a way to get back the old functionality?

Thanks

Posts: 1

Participants: 1

Read full topic

Google Assistant only showing entities if expose_by_default is set to true

$
0
0

@dvanderb wrote:

Trying to setup google assistant integration(self hosted… not nabu casa) and am running into an issue where entities don’t show up unless expose_by_default is set to true. This isn’t ideal since it imports a bunch of entities to google assistant that I don’t want there. My expectation with the following config is that it imports the specified light and fan, but it actually doesn’t do anything when expose_by_default is false. Any help is appreciated.

My config looks like:

google_assistant:
  project_id: dvanderb-ha
  service_account: !include assistant_key.json
  report_state: true
  expose_by_default: false
  exposed_domains:
    - fan
    - light
  entity_config:
    fan.0x0022a3000027439a_fan:
      name: Office Fan
    light.0x0022a3000027439a_light:
      name: Office Light

Posts: 1

Participants: 1

Read full topic

DialogFlow only works for me, not other people

$
0
0

@CyberJacob wrote:

Hi, I’m trying to set up DialogFlow with Google Assistant to add some custom commands.

The new commands work for me when I accept the implicit invocation (“do you want to talk to Home Assistant?”)
But for other people they don’t work and can’t be triggered either implicitly or explicitly (“talk to Home Assistant”)

Is there a way to fix this so other people can use the custom commands?

Posts: 1

Participants: 1

Read full topic

How to use triggers for thermostat automation (I think i'm doing it wrong)

$
0
0

@alexdodd wrote:

I’m having loads of fun here, but it’s taking a real concerted effort to understand sometimes. I’m doing my best to pour over documentation and forum posts before I do ask questions. So appolgies in advance!

I have an automation as below:

main_room_heater_control.yaml

# Use the inputs from frontend to
# turn the heater plug on and off 
# if set to auto

-  id: '82734629756294'
   alias: Main Room Heater Control Off
   trigger:
     platform: numeric_state
     entity_id: sensor.temperature_7
     above: "{{ states('input_number.living_room_target_temp')|float }}"
     for:
       minutes: 30
   condition:
     condition: state
     entity_id: input_select.living_room_heater
     state: 'Auto'
   action:
     service: switch.turn_off
     entity_id: switch.salus_smart_plug_meter_1
     
-  id: '102301247234'
   alias: Main Room Heater Control On
   trigger:
     platform: numeric_state
     entity_id: sensor.temperature_7|float
     below: "{{ states('input_number.living_room_target_temp')|float }}"
     for:
       minutes: 30
   condition:
     condition: state
     entity_id: input_select.living_room_heater
     state: 'Auto'
   action:
     service: switch.turn_on
     entity_id: switch.salus_smart_plug_meter_1

I usually get pretty far by validating my errors as I go, but when I check config, this now shows:

Configuration invalid
Invalid config for [automation]: expected float for dictionary value @ data['trigger'][0]['above']. Got None. (See ?, line ?). 
Invalid config for [automation]: expected float for dictionary value @ data['trigger'][0]['below']. Got None. (See ?, line ?). 

I’m not too sure what I need to change now :thinking:

I also think I should be using templates, but i thought i’d try and make this work first before diving in even deeper :smiley:

Posts: 2

Participants: 1

Read full topic

Alarm Re-Arming to Incorrect State After Trigger


Homekit broken on latest update

$
0
0

@brunoamaral wrote:

My TV was showing up as a media player on the iOS home app, and it stopped working with a recent update.

The TV shows up, without any of the input sources available, and the sources show up as switched outside of the TV Controls. It also shows up as being turned on, when it’s not, and won’t turn on.

Were there any breaking changes? I read the changelog but it seemed that homekit only got some bug fixes and stability improvements.

My HomeKit configuration is just the following:

filter:
  include_domains:
    - media_player
    - light
    - sensor
    - switch
    - webostv
  # include_entities:
  #   - light.hue
  exclude_entities:
    - switch.bed_light
entity_config:
  media_player.living_room_tv:
    feature_list:
      - feature: on_off
      - feature: play_pause
      - feature: play_stop
      - feature: toggle_mute

And webostv.yaml has this:

host: 192.168.1.11
name: Living Room TV
turn_on_action:
  service: wake_on_lan.send_magic_packet
  data:
    mac: "XX:XX:XX:XX:XX:XX" # wired
customize:
  sources:
    - Plex
    - Spotify Music - Listen free on LG TV
    - YouTube
    - HDMI 1
    - Photo & Video

Posts: 1

Participants: 1

Read full topic

Worx Landroid integration

$
0
0

@jeppper wrote:

-Someone knows if there is going to be an direct integration to the newer Worx models?
Only two older models are mentioned in the docs.
-If yes will the Landroid be controllable or will only information be available?
-Does Worx have an open API?

Posts: 1

Participants: 1

Read full topic

Lux sensor - sonoff SV

$
0
0

@Woody1 wrote:

Hi,
Fairly noobie question.

I have a Light Sensor module with a GL5528 photoresistor and a LM358 chip, the board has only 3 pins to connect to which I have connected to GPIO14 (VCC,GND, SIG) on a SonoffSV but unable to get any readings, is it possible to use this module and if so how do I set it up on the SV (flashed with tasmota).

Any help would be greatly appreciated.

Posts: 1

Participants: 1

Read full topic

Rhasspy intent and siteId

$
0
0

@lilbuh wrote:

hey all

i m trying to write an intent to control groups of lights with rhasspy
my intent works as intented for individual lights but to reduce lenght of the voice command i d like to use the siteId ( e.g. “turn on the lights” siteId = bedroom -> it will turn on the lights on the bedroom only )

intent_script:
  ChangeLightState:
    action:
      - service_template: 'switch.turn_{{state}}'
        data_template:
          entity_id: 'switch.{{room}}_{{objet}}'

here is the MQTT from the intent:

{
    "input": "on lumière",
    "intent": {
        "intentName": "ChangeLightState",
        "confidenceScore": 1
    },
    "siteId": "salon",
    "id": "8986546d-9468-4723-b849-d4a41585ee02",
    "slots": [
        {
            "entity": "state",
            "value": {
                "kind": "Unknown",
                "value": "on"
            },
            "slotName": "state",
            "rawValue": "allume",
            "confidence": 1,
            "range": {
                "start": 0,
                "end": 2,
                "rawStart": 0,
                "rawEnd": 6
            }
        },
        {
            "entity": "objet",
            "value": {
                "kind": "Unknown",
                "value": "lumière"
            },
            "slotName": "objet",
            "rawValue": "lumière",
            "confidence": 1,
            "range": {
                "start": 5,
                "end": 12,
                "rawStart": 10,
                "rawEnd": 17
            }
        }
    ],
    "sessionId": "8986546d-9468-4723-b849-d4a41585ee02",
    "customData": null,
    ...
}

the problem is: i cant get the value of siteId anyone has a clue ?
{{ siteId }} doesnt work :confused:

Posts: 1

Participants: 1

Read full topic

Rest Sensor Output

$
0
0

@Eldudemeister wrote:

Hi, I was hoping to get some help to make the below output look a little more user friendly. This is shown in an entities card when I’ve added a Rest sensor but I’d like to break the statuses out individually as their own headings?

{“state”:“running”,“status”:“Up 2 weeks”,“image”:“linuxserver/plex”}

The yaml is

 - platform: rest
   resource: http://192.168.68.110:8126/container/plex
   name: Plex Stats

Posts: 1

Participants: 1

Read full topic

Thoughts on switching lights off after X minutes

$
0
0

@samtwilliams wrote:

Hi All,

Before I start writing the config for a solution that switches lights off after X amount of minutes from last motion in a room I want to get peoples thoughts on how they would approach it before i create something complicated.

I’m going to have a input slider to control the number of minutes a global level. I have a PIR in each room and I want to switch of th lights in that room 10 minutes after last motion.

I’m calling it money save mode :slightly_smiling_face:!.

My head is saying have a timer for each PIR that keeps getting reset everytime motion is detected? It feels like the only way but feels resource intensive?

Thoughts?

Sam

Posts: 1

Participants: 1

Read full topic

Need help with tts template and alexa

$
0
0

@dirtdiver1977 wrote:

So i’m trying to incorporate CCostan’s greeting automation into my own. It works for the google devices but not my echo i just got today. This is what I currently have…thanks

- id: '1588627574447'
  alias: Test Greeting
  description: ''
  trigger:
  - entity_id: device_tracker.big_daddy
    from: not_home
    platform: state
    to: home
  condition: []
  action:
  - data:
      data_template:
        type: tts
      message: '{% set person = state_attr(trigger.entity_id, "friendly_name")%} {%-
        macro greeting_sentence(person) -%} {{ [ "Welcome back home " ~ person, "Guess
        who is home?" ~ person +" is!", person + " is now in the house.", "Welcome
        Home " ~ person + ".  We have missed you. Or at least Molly did.", "Welcome
        home "~person+"! Having sex is like playing bridge. If you don’t have a good
        partner, you’d better have a good hand", "Welcome home "~person+"! War does
        not determine who is right , only who is left", "Welcome home "~person+"!
        Politicians and diapers have one thing in common. They should both be changed
        regularly, and for the same reason", "Welcome home "~person+"! If sex is a
        pain in the ass, then you’re doing it wrong", "Welcome home "~person+"! If
        you think nobody cares if you’re alive, try missing a couple of payments",
        "Welcome home "~person+"! Women will never be equal to men until they can
        walk down the street with a bald head and a beer gut, and still think they
        are sexy", "Welcome home "~person+"! The voices in my head may not be real,
        but they have some good ideas", "Welcome home "~person+"! Laugh at your problems,
        everybody else does", "Welcome home "~person+"! Artificial intelligence is
        no match for natural stupidity", "Welcome home "~person+"! Crowded elevators
        smell different to midgets", "Welcome home "~person+"! Why do Americans choose
        from just two people to run for president .... and 50 for Miss America?",
        "Welcome home "~person+"! My psychiatrist told me I was crazy .... and I said
        I want a second opinion .... He said okay .... you’re ugly too", "Welcome
        home "~person+"! I always take life with a grain of salt .... plus a slice
        of lemon .... and a shot of tequila", "Welcome home "~person+"! Jesus loves
        you .... but everyone else ..... thinks you’re an asshole", "Welcome home
        "~person+"! Did you know that, Squirrels are nature’s speed bumps?", "Welcome
        home "~person+"! Being in a nudist colony .... probably takes all the fun
        out of Halloween", "Welcome home "~person+"! Everyone has the right to be
        stupid, but you are abusing the privilege", "Welcome home "~person~"! If Wal-Mart
        is lowering prices every day, why isn’t anything in the store free yet", "Welcome
        home "~person~"! What has four legs and an arm? A happy guard dog", "Welcome,
        to the, Hotel, California, ~ person~", "Welcome home "~person+"! Employee
        of the month is a good example of how somebody can be both a winner and a
        loser at the same time", "Welcome home "~person+"! My drug test came back
        negative. My dealer sure has some explaining to do", "Welcome home "~person+"!
        I have 3 kids and no money, why I can’t I have no kids and 3 money", "Welcome
        home "~person+"! Circumcision is popular because ......... Jewish girls won’t
        touch anything ..... that’s not at least 15% off", "Welcome home "~person+"!
        I have a lot of growing up to do ........... I realized that the other day
        inside my fort" "Our home is now complete, Rest your head and relax your feet!
        Welcome Back " ~ person, "Life is like a song, you’re back where you belong.
        Welcome home " ~ person, "Hey there " ~ person + " Welcome Home!", "Knock
        Knock. Who is There, "   ~ person +" is!", "Welcome home "~person~"! Sex is
        not the answer. Sex is the question. Yes, is the answer.", "Welcome home "~person~"!
        Light travels faster than sound. This is why some people appear bright until
        you hear them speak", "The garage door opener just told me that "   ~ person
        +" is home.", person + " can not hide from the system. Welcome home.", person
        ~ "! You are home!", "I know a secret! "  ~ person +" is home!", "Hey "  ~
        person +". Your arrival has been recorded by the Smartest house on the block.",
        "Take note kids! "  ~ person +" is home.", "I am sensing a disturbance in
        the force. "  ~ person +" must be home!", "And the house becomes a home. Welcome
        back " ~ person, person + " is now here.  Hash tag Welcome Home.", person
        + " is now here.  Hash tag Home.", person + " is now here.  Hash tag Smart
        Home.", "Just a quick announcement. " ~ person +" has arrived!", "Pardon the
        interruption but " ~ person +" is home!", "My systems are picking up the presence
        of additional humans. " ~ person +" has been identified as home.", "Welcome
        home "~person~"! It is nice to see you again!", "It looks like "~person~"
        is finally home!" ] | random }} {%- endmacro -%} {{greeting_sentence(person)}}

        '
    service: notify.alexa_media_martin_s_echo_dot

Posts: 1

Participants: 1

Read full topic


Manual edits in core.entity_registry do not persist

$
0
0

@nfh wrote:

I still prefer to make changes to the the entity registry by doing manual edits, mainly because it is easier to change entity names on a text editor rather than having to do it one by one on the GUI.

Nonetheless, my hassio (latest version) is somehow restoring the core.entity_registry file when I restart it, thus loosing my changes.

Does hassio store entity information somewhere else besides the core.entity_registry file?

Posts: 2

Participants: 2

Read full topic

Reverse Proxy External Server

$
0
0

@gvargas99 wrote:

I am planning to set up the following:

Internet —> (-1) Proxy (Internet) 1-1 -------------------------1-1 Home --> (1-) Servers

Basically I have a small server on the Internet, where I can connect and then that server will call the local home server. I think this way I dont need to open any ports at home and I can use the Fix IP to set up SSL and all other interfaces. I am not sure if anyone has done anything like that, or even if it is a good idea.

One option would be to set up a dedicated VPN from Internet proxy server to home (vpn) server. I am not sure if there are other ways. Any advice?

Posts: 1

Participants: 1

Read full topic

Help with connecting a Sonoff/Tasmota DIY, please

$
0
0

@karlg wrote:

Hello,

I have a mini Sonoff DIY and want to add it to Home Assistant.
I did the following:

  • Flashed it with Tasmota 8.2. (I can access its web page for configuration etc.)
  • Followed the instructions with the Mosquitto broker from the add-on store, adding it and a user which I entered into the Sonoff. (The log says it has connected to the Sonoff, giving IP address and client name.)
  • The MQTT integration appeared and I added that.

This all seems to be fine, but I don’t see the Sonoff device in the Devices or Entities list.

Is there something I’m missing?

Thanks in advance!

Karl

Posts: 1

Participants: 1

Read full topic

Home assistant with conned line access

$
0
0

@DukeNuken wrote:

Hi guys
I am using HA installed on my Rastbery pi 4B and connect to it with keyboard and HDMI cable. It works as should be and those commands works fine https://www.home-assistant.io/hassio/commandline/
but I have few questions here

  1. When I install add-on from cli for example “ha addons install core_duckdns” how I can edit config file of that add-on? How to edit HA core configuration.yaml without “docker exec -it bash”?

  2. When I run some commands like “ha supervisor info” it return too long text which can’t be shown on one screen but there are no way scroll page up/down. Why?

  3. When I do login with “root” and then type “login” it allow me use linux os. How i install some packages there? For example some file manager like “midnight commander”?

  4. I saw there are docker installed and it run those containers for HA and other addons. Can i install some other docker containers like ubuntu. Is it break something?

Duke

Posts: 1

Participants: 1

Read full topic

MQTT Entities In Areas

$
0
0

@seandavidson wrote:

I am looking at putting my MQTT entities in areas created for my Home Assistant setup. I can’t seem to figure out how or if I can do this

Posts: 1

Participants: 1

Read full topic

Viewing all 108915 articles
Browse latest View live


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