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

Z-wave – not able to remove node

$
0
0

@koQuarium wrote:

I have extended HA with Z-wave (Rpi4b + AEOTEC Z-wave Stick Gen5), and successfully added:

  • a door sensor (Sensative Strips Guard)
  • a dimmer (Qubino Mini Dimmer Z-Wave Plus)

After a few days the dimmer broke and I have got a new one from my supplier.

Before adding the new dimmer (inclusion) I want to remove the old one (remove).

The dimmer is included in my z-wave network as “node 6”.

I tried to remove it from HA, both with the z-wave stick plugged in the Rpi and with the stick removed from the Rpi.

But all my attempts failed, and the node (device and entities) is / are still there …

Can someone put me on the right track?

Regards, Ko

Posts: 2

Participants: 2

Read full topic


Problem create switch

$
0
0

@Giuseppe_Piscitelli wrote:

Hello, i have a problem with my configuration, id have one remote contron in web interface (NODEMCU ESP8266, with ir sensor). i wish power on and off my climate with home assistant but i don’t know to create the switch.
E.S.:
command_on: “curl -s -X GET http://192.168.1.x/XXXXXX#is the command for power_on the clima
command_off: “curl -s -X GET http://192.168.1.x/YYYYYY#is the command for power_off the clima.
Sorry for my english :slight_smile:

Posts: 2

Participants: 2

Read full topic

Sidebar Background color Hassio V 108.2

$
0
0

@cdikland wrote:

I just upgraded to hassio v108,2 and regardless which of my many frontend themes I chose, my sidebar background color is always white. Given that most of my themes I use have a dark background with light text color, it has now become impossible to see any of the options on the side bar. I have search all over for what attribute I need to specify within any of my themes that applies specifically to the sidebar back/frontground color but cant seem to find anything that works. The default theme I use is below. What do I need to change or add so I can once again see the options on the side bar??


    darkcyan:
      # Main colors that can be changed
      primary-color: "#008cb4"
      disabled-text-color: "#545454"
      divider-color: "rgba(255, 255, 255, 0.12)"
      paper-card-background-color: "#303030"
      paper-grey-200: "#191919"
      paper-item-icon-color: "#d3d3d3"
      paper-listbox-background-color: "#0078a7"
      paper-listbox-color: "#FFFFFF"                  
      primary-background-color: "#101010"
      primary-text-color: "#efefef"                  
      secondary-background-color: "#004d65"
      secondary-text-color: "#04a7bc"
      # Colors based on variables, see above
      label-badge-background-color: "var(--secondary-background-color)"
      label-badge-text-color: "var(--text-primary-color)"
      paper-card-header-color: "#var(--paper-item-icon-color)"
      paper-grey-50: "var(--primary-text-color)"
      paper-item-icon-active-color: "var(--primary-color)"
      paper-item-icon_-_color: "var(--primary-text-color)"
      paper-slider-active-color: "var(--primary-color)"
      paper-slider-knob-color: "var(--primary-color)"
      paper-slider-knob-start-color: "var(--primary-color)"
      paper-slider-pin-color: "var(--primary-color)"
      paper-slider-secondary-color: "var(--light-primary-color)"             
      paper-toggle-button-checked-ink-color: "var(--dark-primary-color)"
      paper-toggle-button-checked-button-color: "var(--primary-color)"
      paper-toggle-button-checked-bar-color: "var(--light-primary-color)"
      paper-toggle-button-unchecked-bar-color: "var(--primary-text-color)"

Posts: 4

Participants: 2

Read full topic

How is HA started with Home Assistant Supervised?

$
0
0

@aming-miyembro wrote:

The Supervised alternative installation got Home Assistant running on my “generic Linux host” and I’ve since redirected the database at a local MySQL. The Recorder documentation recommends ensuring that MySQL is started before Home Assistant at boot time, and provides an example enhancement to one’s custom Systemd service file.

However, I’ve been unable to determine how Home Assistant is actually started. It does start at boot (prior to the MySQL change) without my having done anything. The Supervised install established a number of Systemd service files but I can’t tell from inspection which, if any, is what boots Home Assistant.

Any pointers as to what to modify so that MySQL becomes a dependency?

Thanks.

Posts: 2

Participants: 2

Read full topic

Transfer USB devices with Supervised installation (Docker + Portainer)

$
0
0

@Olympique wrote:

Hi everybody!

I’m starting domotic with a Raspberry and Raspbian buster installed on it.
I installed HA as a Virtual Environment but finally decided to move to the supervised method - With homeassistant and hassio_supervisor dockers.
I replaced in the container the “/usr/share/hassio/homeassistant” folder by the old .homeassistant folder.
This allowed me to found my old configuration (account, Zwave devices, etc).

My problem is that the Z-Wave USB stick is not recognized.
When I go to Supervisor --> System --> Hardware I have the following serial devices :

* /dev/ttyAMA0
* /dev/serial/by-id/usb-0658_0200-if00
* /dev/ttyACM0

On my host system, I renamed my Zwave USB stick in the UDEV file “ttyUSB-ZWave+Stick-5G”.

My questions are :

  • Does the docker system change the devices name in the container compared to the host name ?
  • How can I tell the docker to “transmit” this USB device ?
    I saw that we can use a docker-compose file but I don’t know how.
    The container gets launched automatically and I didn’t achieve to use the code indicated in this page :
$ docker run --init -d --name="home-assistant" -v /PATH_TO_YOUR_CONFIG:/config \
   -e "TZ=Australia/Melbourne" --device /dev/ttyUSB0:/dev/ttyUSB0 \
   --net=host homeassistant/home-assistant:stable

I read some topics saying to use Portainer to manage dockers so I installed it and tried to change the launch commande by adding --device /dev/ttyUSB-ZWave+Stick-5G:/dev/ttyUSB-ZWave+Stick-5G but it didn’t worked :frowning:

Is there an easy way to do it ?
Also, for my information, should the ZWave USB stick be “transfered” to the Supervisor or the Homeassistant docker ?
Thanks in advance for your help!

Posts: 7

Participants: 3

Read full topic

Ikea bulb firmware upgrade fails

$
0
0

@ndfred wrote:

Hi! I just set up my CC2531 USB stick with ZHA, and paired my Ikea bulb. I tried to upgrade the firmware with that guide:

ZHA does get the list of firmwares:

$ cat .homeassistant/home-assistant.log | grep ota
2020-04-10 17:19:18 DEBUG (MainThread) [zigpy.ota] Initialize OTA providers
2020-04-10 17:19:18 INFO (MainThread) [zigpy.ota.provider] Trådfri: OTA provider enabled
2020-04-10 17:19:19 DEBUG (MainThread) [zigpy.ota.provider] Trådfri: Finished downloading firmware update list

But when I go to Config > ZHA > Device > OTA Cluster > image_notify it throws a few errors rather than kicking off an OTA update:

2020-04-10 18:14:54 DEBUG (MainThread) [zigpy.zcl] [0xec3a:1:0x0019] Schema and args lengths do not match in reply
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.zigbee.application] request (0xec3a, 260, 25, 1, 1, 51, b'\x193\x00', False, False)
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] --> SREQ AF dataRequest tsn: 51 {'dstaddr': 60474, 'destendpoint': 1, 'srcendpoint': 1, 'clusterid': 25, 'transid': 52, 'options': 0, 'radius': 30, 'len': 3, 'data': b'\x193\x00'}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.uart] Send: b'\xfe\r$\x01:\xec\x01\x01\x19\x004\x00\x1e\x03\x193\x00\xe4'
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.uart] Frame received: <UnpiFrame type=CommandType.SRSP subsystem=Subsystem.AF command_id=1 data=b'\x00' length=1 fcs=100>
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] <-- SRSP AF dataRequest tsn: None {'status': 0}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] waiting for dataConfirm
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.uart] Frame received: <UnpiFrame type=CommandType.AREQ subsystem=Subsystem.AF command_id=128 data=b'\x00\x014' length=3 fcs=242>
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] payload missmatch
-{'endpoint': 1, 'transid': 10}
+{'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] payload missmatch
-{'endpoint': 1, 'transid': 14}
+{'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] payload missmatch
-{'endpoint': 1, 'transid': 16}
+{'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] payload missmatch
-{'endpoint': 1, 'transid': 18}
+{'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] payload missmatch
-{'endpoint': 1, 'transid': 20}
+{'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] <-- AREQ AF dataConfirm tsn: None {'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.zigbee.application] message ignored: dataConfirm
2020-04-10 18:14:54 DEBUG (MainThread) [zigpy_cc.api] res AREQ AF dataConfirm tsn: None {'status': 0, 'endpoint': 1, 'transid': 52}
2020-04-10 18:14:54 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xec3a](TRADFRI bulb E14 WS opal 400lm): Issued cluster command: cluster_id: 25 command: 0 command_type: client args: () cluster_id: out manufacturer: None endpoint_id: 1
2020-04-10 18:14:54 DEBUG (MainThread) [homeassistant.components.zha.api] Issued command for: cluster_id: [25] cluster_type: [out] endpoint_id: [1] command: [0] command_type: [client] args: [] manufacturer: [None] response: 0

Any idea what I am doing wrong? The bulb is a TRADFRI bulb E14 WS opal 400lm and the current firmware version is 1.2.217.

Thanks!

Posts: 1

Participants: 1

Read full topic

Downgrade Home Assistant with HASSIO in Docker

$
0
0

@ffm777 wrote:

Hi,
I have installed Hass.IO in Docker on an Intel NUC running Ubuntu Server. How can I downgrade my Home Assistant version when Homer Assistant is running in Docker? I’m trying to downgrade from 0.108.2 to 0.108.1 but can’t seem to figure out how this works.

Thanks for the help!

Posts: 2

Participants: 2

Read full topic

How to access Synology camera feeds from HA


Duck DNS add on throws an error during challenge validation while starting

$
0
0

@jontec wrote:

Hi,

I have been trying to setup up Duck DNS with let’s encrypt to remotely access my home assistant without luck today.

Starting the Duck DNS add on throws an error during token validation:

# INFO: Using main config file /data/workdir/config
+ Account already registered!
[19:29:49] WARNING: 
# INFO: Using main config file /data/workdir/config
Processing xxx.duckdns.org
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting new certificate order from CA...
 + Received 1 authorizations URLs from the CA
 + Handling authorization for xxx.duckdns.org
 + 1 pending challenge(s)
 + Deploying challenge tokens...
OK + Responding to challenge for xxx.duckdns.org authorization...
 + Cleaning challenge tokens...
OK + Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: {
  "type": "dns-01",
  "status": "invalid",
  "error": {
    "type": "urn:ietf:params:acme:error:dns",
    "detail": "DNS problem: SERVFAIL looking up TXT for _acme-challenge.xxx.duckdns.org - the domain's nameservers may be malfunctioning",
    "status": 400
  },
  "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/3879570269/mX0-_g",
  "token": "xyz"
})

Duck DNS configuration:

lets_encrypt:
  accept_terms: true
  certfile: fullchain.pem
  keyfile: privkey.pem
token: xyz
domains:
  - xxx.duckdns.org
seconds: 300

In configuration.yaml I have not yet setup the http setting with the base_url. The block is commented out.

#http:
  #base_url: xxx.duckdns.org
  #ssl_certificate: /ssl/fullchain.pem
  #ssl_key: /ssl/privkey.pem

Home assistant has a static IP address. I have setup the following port forwarding rules on my router:

port_forwarding

Accessing the home assistant login page via http://xxx.duckdns.org:8123/ works fine.

What am I missing? - Why does the token validation fail?

Posts: 1

Participants: 1

Read full topic

Translate attribute climate

$
0
0

@Thuurke wrote:

Hello,

I have a Honeywell Lyric and in the states it gives:"

hvac_modes: off, heat
min_temp: 5
max_temp: 35
current_temperature: 20
temperature: 17.5
hvac_action: idle
friendly_name: 333 Honeywell Lyric
supported_features: 1

The hvac_action can have the value’s idle and heating. Those two terms are not translated to Dutch. Is there a way to replace them?

Posts: 1

Participants: 1

Read full topic

Plex template conditions?

$
0
0

@DeanKellham wrote:

Hi everyone,

I’m new to Home Assistant and am after a bit of guidance. I’ve been reading through the wiki and trying to work this out but it’s eluding me.

Basically what I’m trying to create is for the living room light to switch off when I begin a Plex movie on either my living room TV (Android TV app) or living room ChromeCast. I then want the light to come back up to ~25% brightness when the movie finishes or is paused. Finally I only want this to happen after sunset (as why would I want my lights coming up during the day?).

I currently achieve this using Plex’s built-in webhook, which sends playback information in a JSON payload to a PHP script I’ve written, which does the relevant checks (client ID, media type, and time of day). If the checks pass the relevant command is then sent as a webhook to IFTTT, which then either switches off or on the light. It’s become apparent that this could all be replaced by Home Assistant, and would also be kept local (reducing points of failure and latency).

So far I’ve got everything recognised on HA, and can successfully use it’s webhooks in place of IFTTT to keep things local, however would be interested in replacing the Plex webhook and my PHP script with HA’s built-in functionality.

I’m able to bind an automation event to the relevant Plex clients state change, however I’m struggling with the conditions. How specifically do I extract and check the attribute data of a given device in HA? Ideally I’d need to check “media_content_type” from the relevant device to ensure the content being played back is a movie. I’ll also need to use this further when isolating ChromeCast streams, but I suspect doing so will be much simpler once I crack how to use attribute data as a condition.

From what I’ve read on the wiki a template condition of the following should work:
value_template: "state_attr('media_player.plex_plex_for_android_tv_living_room_tv', 'media_content_type') == 'movie'"
But it doesn’t. Can anyone shed any light as to what I’m missing here?

Thanks,
Dean

Posts: 1

Participants: 1

Read full topic

Bring alexa glass break guard to Ring Alarm?

$
0
0

@henry8866 wrote:

I have Ring Alarm and echo dot device. Since Ring alarm doesn’t have glass break sensor but Alexa guard has glass break, is it possible to bring Alexa glass break guard to Ring Alarm system? Both Ring Alarm and Echo dot are connected to my Home assistant. What I like to have is: when ring alarm is set to home/away, set Alexa guard to home/away too. When Alexa guard detects glass break, it will trigger Ring alarm.

Thanks.

Posts: 1

Participants: 1

Read full topic

Automate Harmony device command

$
0
0

@Barak_Michaeli wrote:

Hi all,
I want to create an automation that a trigger from my camera will pause my AppleTv VIA the harmony remote, in the automation menu I have started to create it but on the Action part I had issue, I cant trigger that action
I can use some help here

Thanks a lot friends

Posts: 1

Participants: 1

Read full topic

Unit of measurement - help

$
0
0

@pete252 wrote:

Just reinstalled hassio after a break of 6 months - must admit it was so much easier this time round.

I’m struggling with one of my RFXTRX sensors - the owl electricity monitor is showing but I can’t seem to give it a UoM.
I’ve tried customize.yaml and added device_class: power, unit_of_measurement: W
Also tried adding the above to config.yaml
Also tried using the set state function
All I need is a graph card to work

Any help much appreciated - I have spent many hours trying to do this!

Peter

Posts: 13

Participants: 3

Read full topic

Humidifier control 0-10V

$
0
0

@Komonec wrote:

Hi,

I have sensor - sensor.multi_sensor, this is humidity sensor (0-100%) in room. And light.qubino_goap_zmnhvdx_flush_dimmer_0_10v_level_14 (0-255) - this is Qubino dimmer 0-10V (connected to humidity control 0-10V).

I want to do automation:
trigger:
value sensor.multi_sensor change
action:
set light.qubino_goap_zmnhvdx_flush_dimmer_0_10v_level_14 = (sensor.multi_sensor * 255/100)

How to write it right?

- alias: Humidity
  trigger:
    platform: state
    entity_id: sensor.multi_sensor
  action:
    service: light.turn_on
    entity_id: light.qubino_goap_zmnhvdx_flush_dimmer_0_10v_level_14
    ?

Posts: 2

Participants: 2

Read full topic


RGBW led strip: Issues on Homekit

$
0
0

@andrepia wrote:

I’ve just set a RGBW light strip, controlled by a NodeMCU (ESP8266) using ESPHome.
On Home Assistant it works great, but on my apple devices (HomeKit) I can only control the RGB LEDs (no control for the white LED).

It seems I have no control on the HomeKit for the HA Entity Attribute “white_value”.
Any help to get full control on apple devices???

Posts: 1

Participants: 1

Read full topic

Template sensor color

$
0
0

@buntix wrote:

Hello,
have an ‘issue’ with template sensor, i’d like to make my sensor colorized like a switch power on
i’d like to have my sensor ‘on’ on 2 day only : Lundi & Jeudi

- platform: template
   sensors:
     jour_poubelles:
       friendly_name: "jour_poubelles"
       value_template: " {{ is_state('sensor.current_day', 'Jeudi') or is_state('sensor.current_day', 'Jeudi') }} "
       icon_template: >-
         {% if is_state("sensor.current_day", "Lundi") %}
            mdi:delete
         {% elif is_state("sensor.current_day", "Jeudi") %}
            mdi:recycle
         {% else %}
            mdi:delete-off-outline
         {% endif %}

my current_day sensor is :

 - platform: template
   sensors:
     current_day:
       value_template: " {{  ['Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi','Dimanche'] [now().weekday()] }} "
       friendly_name: "current_day"

someone can help me ? thanks :slight_smile:

Posts: 3

Participants: 3

Read full topic

Template Switch

$
0
0

@Auto101 wrote:

Hi
I am new to HA .I am trying to create a template switch . With the below code, I am able to get the switch in UI but when I toggle it to ON , it turns on the soundbar and toggle icon just goes back to its previous state (off) . The soundbar doesn’t turn off though .

Any help is appreciated .

   - platform: template
    switches:
      bose:
        value_template: "{% if is_state('media_player.bose', 'on') %}on{% else %}off{% endif %}"
        turn_on:
          service: media_player.turn_on
          data:
            entity_id: media_player.bose
        turn_off:
          service: media_player.turn_off
          data:
            entity_id: media_player.bose

Posts: 5

Participants: 3

Read full topic

Animated weather icons on iPhone stopped animating?

$
0
0

@Mariusthvdb wrote:

all of a sudden all places which use the animated icons for weather states in my config stopped animating… On buttons, in the weather cards, as badges, all stay static.

The identical spots on desktop show animation just fine.
HA107.5, iOS companion app and chrome browser for iOS using the web address of the server. Seems an iOS thing?

Posts: 1

Participants: 1

Read full topic

Notifications based on presence in wifi?

$
0
0

@membersound wrote:

I want to create a “washing machine finished” automation. When finished, I want to send notifications if:

  • nobody is at home: to all persons
  • otherwise only to persons logged into the home wifi

As long as the washing machine has not been opened (this could be a binary sensor detecting 0 W power), I want to repeat the notifications every X minutes.

Question: should I use nodered for those cases (I have no experience in nodered)? Or is that possible directly in HA? If yes, how could I automate this rather complex cenario??

Posts: 1

Participants: 1

Read full topic

Viewing all 101221 articles
Browse latest View live


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