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

Adjustable brightness in automation - from UI

$
0
0

@ferdo wrote:

Hi i try to adjust brightness value in automation from UI widget.
But i make sometihing worng. can someone help please. thanks

here my action:

service: yeelight.set_color_scene
entity_id: light.yeelight_color1_34ce0090fa2a
data:
  data_template:
    brightness:'{{ states('input_number.chodba_gateway_br') | int }}'
  rgb_color:
    - 255
    - 100
    - 100

or

service: yeelight.set_color_scene
entity_id: light.yeelight_color1_34ce0090fa2a

brightness: {{ states('input_number.chodba_gateway_br') | int }}
rgb_color:
  - 255
  - 100
  - 100

Posts: 2

Participants: 2

Read full topic


[Zigbee2mqtt] Single click with Aqara Opple, two events in Home Assistant

$
0
0

@frankynov wrote:

Hello everybody !

Using home assistant and zigbee2mqtt for several months and very happy with it !
I have received my Aqara Opple (6 buttons) and paired it with my system, all good.

But I have noticed with Node Red, when I put a call to notification service on a single click of one of the Opple buttons, I am getting 2 notifications instead of one.

Here is the Zigbee2mqtt log when I click the button :

zigbee2mqtt:info  2020-05-02 15:59:14: MQTT publish: topic 'zigbee2mqtt/opple_6_buttons', payload '{"battery":100,"voltage":3113,"linkquality":99,"action":"button_6_single"}'
zigbee2mqtt:info  2020-05-02 15:59:14: MQTT publish: topic 'zigbee2mqtt/opple_6_buttons', payload '{"battery":100,"voltage":3113,"linkquality":99,"action":""}'
zigbee2mqtt:info  2020-05-02 15:59:14: MQTT publish: topic 'zigbee2mqtt/opple_6_buttons/action', payload 'button_6_single'

So apparently, the event “button_6_single” is sent two times in the mqtt topic.
I have put the value in config for homeassistant_legacy_triggers: false, thinking it would be related but sadly not.

My Zigbee2mqtt config :

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://192.168.1.40:1883'
  user: *
  password: *
serial:
  port: /dev/ttyACM0
  disable_led: true
advanced:
  pan_id: 6754
  channel: 11
  network_key:
    - * .....
    - *
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false
homeassistant_legacy_triggers: false

Does someone have an idea ? Is it normal behaviour ? Or should I fine tune my automations in Node Red ?

Thank you !

Posts: 1

Participants: 1

Read full topic

Card-mod : Css popup

$
0
0

@RenzoBeux wrote:

Hi, first time here, i dont know if i selected the right topic.
Basically, i need help…
I want to access to this (the blue cirle) style section using card-mod but i only can access to the red circle section.
Please , i spent hours looking for this and i didnt find anything.
Thank you in advance, and i apologize beacse i am not a native english speaker.

Posts: 1

Participants: 1

Read full topic

Newbie: MacOS config question

$
0
0

@tbbrightman wrote:

I know very little about HA but I’ve installed it (sort of) and I obviously have a misconfigured something or other.

I have tracked down ~/.homeassistant/configuration.yaml and it’s mostly empty.

I have also tracked down ~/homeassistant/lib/python3.7/site-packages and it contains all the ‘integrations’ that I need to use.

How do I enable access to site-packages for the application?

Posts: 1

Participants: 1

Read full topic

RFlink and webhook issue related?

$
0
0

@awesterhoff wrote:

Hi!

it looks like my rflink via my network not usb, on my hassos is not working any more.
I get the following message:

Logger: homeassistant.components.webhook
Source: components/webhook/init.py:108
Integration: Webhook (documentation, issues)
First occurred: 4:40:08 PM (4 occurrences)
Last logged: 4:40:09 PM

Can this be related ?

Kind regards, Arjan

Posts: 1

Participants: 1

Read full topic

Integration error after update!

$
0
0

@AlexanderPCT wrote:

Hi,

since the last update i got the notification:

Invalid config

The following integrations and platforms could not be set up:

* xiaomi_aqara

Please check your config.

BUUUUT i dont even set it up - there is no xiaomi_aqara in the configuration.yaml.

however i set up a aqara hub as HomeKit device MONTH ago, it never realy worked so i deleted it (month ago also) - maybe thats some remeainings from back then ?

Posts: 1

Participants: 1

Read full topic

Dropbox integration

Lovelace (Dwains Theme) Problem RED ERROR (mod-card not exist)

$
0
0

@JohnJay77 wrote:

hallo
sorry again :smiley:
do you maybe know what i am doing wrong ?
i just installed all and didn’t even touch any config till now.
its that dwain theme.
i got that error on every site

and that is the plugins i installed like from the instruction

the error say element “mod-card” not exist.
i have a card-mod but there is no mod-card to download. but i guess it is the same.
and that one is up to date.

so you know what the problem is ?

PLEASE Help

Posts: 2

Participants: 2

Read full topic


Custom command to Google to read HA sensor

$
0
0

@montaste wrote:

Hi,
i’m quite noob on HA, i have configured all sensors and now i start working on scripts.

My goal is to create a custom question like “ok google, tell me the humidity in bedroom” and get response with data read from the hum sensor.

I did something like that with IFTTT, where i can choose what to say (with some alternatives too) and i can choose which response i will get, but im not able to read sensor.

Is it possible to do in HA without IFTTT?
Where i can find some examples?

I searched but i found nothing.

Thanks all

Posts: 1

Participants: 1

Read full topic

Home Assistant supervisor not available

$
0
0

@Tina_De_Feyter wrote:

Hi,

I would like to use add-ons from the store. According to the home assistant website you need to go to supervisor. I do not have this feature on my frontend.

Home Assistant was installed via Docker on a Synology NAS.
I want to add Duckdns, any other way to add this without the add-on store?

thank you!
#Stay Safe

Posts: 1

Participants: 1

Read full topic

Homeassistant:8123 url stopped working

$
0
0

@stain3565 wrote:

I was working on the GUI yesterday and all was fine using the homeassistant:8123 url.

SInce then, I have rebooted my pi with hassio installed on it, and now the dns will not work. However, it will work if I use the pi ip address instead. I assumed my router may have assigned a different ip address so I ensured that this one was set as static. However, this has not fixed the issue with homeassistant:8123.

Is there something I need to change in the gui or vi ssh to get this working again?

I know I could continue with just the ip address locally but as I have a duckdns, I thought this may have a knock on effect.

Posts: 1

Participants: 1

Read full topic

Integration platform and calculation

$
0
0

@vormsty wrote:

Hello,
I have many pzem devices. These device mesure power consumpsion. I parametred espHome to have twice mesures per minutes (every 30 sec).
For information I will have the watter heater, the Tesla and the spa as pzem devices.
I would like to have integration per day and per month for knowing the consumpsion.

I don’t understand how the integration platform work. Is the result dependant of the frequency of acquisition (fomr me 30 sec) How can I adjust result ?

And, how can I display the history in term of days and in term of months (examples)?

Many thanks for your help and best regards
Thierry

Posts: 1

Participants: 1

Read full topic

Light group unavailable: MQTT lights discovered from zigbee2mqtt

$
0
0

@c0revin wrote:

Hi guys,

I have a bunch of zigbee lights that are discovered by HA from zigbee2mqtt.

When I group them into a light group the group shows up as unavailable.

light:
 - platform: group
    name: mylightgroup
    entities:
      - light.friendlyname1
      - light.friendlyname2
      - light.friendlyname3
      - light.friendlyname4
      - light.friendlyname5
#      - light.0x00deadbeef
#      - light.0x00deadcafe

I tried using their friendly name, and I tried using their zigbee2mqtt native name (IEEE Address based). Neither worked.

I do not get any error messages. mylightgroup is just unavailable.

Any ideas?

Posts: 1

Participants: 1

Read full topic

Setting a scene for home automation

$
0
0

@exiledyorkie wrote:

Hello

I’ve got a light set up with some leds, so that the colours can be changed and different effects can be run.

I’ve then added an automation for the light to enable an hour before sunset. Works fine. Then I realised I wanted an effect to commence, when the light turns on. Although I can not get this to work. The automation works but only cones on as a single colour, rather than the Rainbow Effect.

I put this into the sceme yaml file and then added this to the automation. Any ideas please?


- name: Theos Stars Rainbow
  entities:
     light.theos_stars:
     state: 'on'
     brightness: 255
     effect: Rainbow Effect

Posts: 2

Participants: 2

Read full topic

Tuya endpoint does not return all owned devices

$
0
0

@arkimedes wrote:

Hello everyone,
I have an aroma diffuser integrated with TuyaSmart that I can view and control without problems even with Google Home. I know that this type of device is not included in the Home Assistant integration and for this reason I wanted to write the necessary code myself. Unfortunately I realized that the endpoint “https://px1.tuyaeu.com/homeassistant/skill
does not return all my registered devices in fact his answer is:

"{'header': {'code': 'SUCCESS', 'payloadVersion': 1},
     'payload': {'devices': [], 'scenes': []}} "

How come this happens?
Who manages that endpoint?
Is the endpont filtered a-priori?
Why not let everything pass and then leave it to the HA modules to select the configurable devices?

Posts: 1

Participants: 1

Read full topic


Changing the value of a sensor

$
0
0

@23rewtghfn wrote:

Hi!
I am new to home assistant and have been working on a few projects. One of them is a sensor on my garage door. It is a wyze door switch (binary_sensor.wyzesense_77a3502d). Right now when the garage door is Closed the sensor displays Open on the UI. When it is closed it displays open. It is set to on = closed and off = open.

How do I swap the values? I have tried different things, but I am not a programmer so I struggle-fumble my way through a lot of this. Thanks in advanced!

Posts: 1

Participants: 1

Read full topic

Create a list of rooms for which a detector triggered since alarm started

$
0
0

@kalhimeo wrote:

Hi,

I am a beginner with automations and I am looking to create something like this :

  1. once my alarm is activated (ringing), monitor rooms where motion detectors turn ‘on’ and add those rooms into a list without duplicate (if 2 detectors are in the same room, do not add the room twice).
  2. every 10 seconds, or whenever a new room is added to the list, i run a TTS on all my speakers with the list of rooms
  3. once the alarm is stopped, I reset the list of rooms.

I thought about using 3 automations for that :

Automation 1) : trigger once a detector state change to ‘on’, with a condition that alarm_ringing is ‘on’. I would then need to create and store the list of rooms in order to pass it to Automation 2). I thought about using an ‘input_text’ to store this list, but maybe there are better solutions.

Automation 2) : trigger every 10 seconds or when the list of rooms is changed (state of input_text), with condition that alarm_ringing is ‘on’. The action is then to run a TTS with the list of rooms on all speakers.

Automation 3) : trigger once alarm_ringing is ‘off’. Reset the list of rooms to an empty list.

I struggle with the creation of the room list in Automation 1), I have tried this but it does not work :

    - service: input_text.set_value
      data_template:
        entity_id: input_text.room_list_text
        value: >
          {% if is_state('input_text.room_list_text', '') %}
            {% set room_list = [] %}
          {% else %}
            {% set room_list = state('input_text.room_list_text').split(',') %}
          {% endif %}
          {% if 'Kitchen' not in room_list and (is_state('binary_sensor.detector_kitchen1', 'on') or is_state('binary_sensor.detector_kitchen2', 'on')) %}
            {{ room_list.append('Kitchen') }}
          {% endif %}
          {% if 'Bedroom' not in room_list and is_state('binary_sensor.detector_bedroom', 'on') %}
            {{ room_list.append('Bedroom') }}
          {% endif %}
          {{ room_list | join(',') }}

Unfortunately the .append function does not seem to work with home assistant.

Do you have any suggestion on how to achieve this functionality ?

Thank you very much in advance.

Posts: 1

Participants: 1

Read full topic

Command Line Cover default state unknown after 0.109.0 upgrade

$
0
0

@m13kern wrote:

Hi,
my command line cover configuration was working fine prior to 0.109.0 upgrade.

My issue is that now after a reboot the state of each cover is unknown, which greys out the up / down buttons. This was never an issue as I had never configured the command_state variable.

After upgrade it now defaults to unknown and causes the problem. I have tried:

command_state: 50

but this does not work. When manually adjusting the state to 50 everything works fine until the next reboot.

Any thoughts.

Appreciate your replies.

Markus

Posts: 3

Participants: 3

Read full topic

Need help to get Google Maps device_tracker working

$
0
0

@mkanet wrote:

I just followed the directions here:

https://www.home-assistant.io/integrations/google_maps/

I followed the directions, after I rebooted, HA created a file called, known_devices.yaml. When I inspected the file contents, it created 3 entries, except one of them didn’t look like it worked correctly… so, I deleted the known_devices.yaml file and rebooted.

After I restarted, the file never got recreated again. I restarted a couple times… no luck.

I really wish I hadn’t deleted that file. So, what’s the trick to get the file to generate this file again? I couldn’t find any information on what to do if something like this happens.

I would really appreciate help to get me going with this.

Thanks in advance!

Posts: 2

Participants: 1

Read full topic

How do I use the results of a kodi service call in an automation?

$
0
0

@Swiss72 wrote:

I am fairly new to Home Assistant, so please excuse me if I am missing something obvious. I’m running Home Assistant 0.107.7 on docker.

I am trying to have Home Assistant change the lens memory of my projector automatically while playing media on Kodi. I have successfully used kodi.call_method to get the correct aspect ratio from Kodi. I see the restult from the service call on the kodi_call_method_result event. Here is the result:

{
    "event_type": "kodi_call_method_result",
    "data": {
        "entity_id": "media_player.kodi",
        "result": {
            "VideoPlayer.VideoAspect": "1.78"
        },
        "result_ok": true,
        "input": {
            "method": "XBMC.GetInfoLabels",
            "params": {
                "labels": [
                    "VideoPlayer.VideoAspect"
                ]
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-05-03T04:19:28.041848+00:00",
    "context": {
        "id": "f23970eeb6034300856c9e3afed0a613",
        "parent_id": null,
        "user_id": null
    }
}

The value I want to use is in the result (1.78 above), but I am stuck with trying to use that to trigger/action the automation. I plan on using the Harmony Elite integration to send a device command to my projector to change the lens memory.

So what I need is a way to interpret the result on the event from the service call, and depending on the result send the correct command via Harmony.

Any thoughts on how I could make this work?

Any help is appreciated. Cheers.

Posts: 1

Participants: 1

Read full topic

Viewing all 108671 articles
Browse latest View live


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