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

Using Home Assistant Connect ZBT-1 with HA running in Docker on Asustor NAS

$
0
0

Hello,

I’ve been using Home Assistant through Docker on my Asustor AS4004T (ADM 4.3.3.RC92). I’m now trying to add a Home Assistant Connect ZBT-1 to my setup, but I’m struggling to get the Home Assistant container to detect the device.

I’ve looked through what I can find on the web around similar problems, but having seen anything that matches my problem, or resolves it.

I think that the device is recognised, but that the Asustor may be missing the drivers to use it, if someone could confirm this that would be great (especially if you can point me to which drivers I could use to help make this work!)

When I run lsusb, I can see the device:

/volume1/Docker/HomeAssistant $ lsusb
Bus 003 Device 002: ID 0bda:5411 Realtek Semiconductor Corp.:unknown device 5411
Bus 004 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.:unknown device 0411
...
Bus 003 Device 013: ID 10c4:ea60 Silicon Labs:CP210x UART Bridge

However, in dmesg, the logs from immediately affter plugging in the ZBT-1 look like something goes wrong, and that’s why Home Assistant can’t see it:


/volume1/Docker/HomeAssistant $ dmesg
[271122.301308] xhci-hcd f2510000.usb3: Wait for xhci command complete left 1250 ms
[271122.393075] usb 3-1.2: new full-speed USB device number 14 using xhci-hcd
[271122.502525] usb 3-1.2: New USB device found, idVendor=10c4, idProduct=ea60
[271122.509526] usb 3-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[271122.516984] usb 3-1.2: Product: Home Assistant Connect ZBT-1
[271122.522762] usb 3-1.2: Manufacturer: Nabu Casa
[271122.527329] usb 3-1.2: SerialNumber: e20d4c5fcb39ef1196e85ef454516304
[271122.547805] usbip-host 3-1.2:1.0: 3-1.2 is not in match_busid table... skip!

Thanks in advance for any help you can provide!

1 post - 1 participant

Read full topic


Ecobee smartsensor that comes with ecobee premium not showing in home assistant

$
0
0

Could some verify that what I’m seeing is what should be expected. I am using the ecobee integration- the one that uses the api- and for some reason the smartsensors that I have linked to the thermostat didn’t come into home assistant with the thermostat.

Can this be fixed or “it is what it is”. I learned that the ability to use the built in Siri on the thermostat isn’t available if I use the “HomeKit Device” integration to bring the thermostat into home assistant. This method does bring the smartsensors in also though.

Can someone verify what I am seeing is what they saw or am I doing something wrong in the cloud ecobee integration.

1 post - 1 participant

Read full topic

Wake on Lan integration does not provided entities anymore

$
0
0

Hi, recently ive noticed the inbuilt wake on lan integration suddenly stopped working.
This is my configuration.yml

wake_on_lan:
switch:
  - platform: wake_on_lan
    mac: D8:BB:C1:10:07:B6
    name: "NICO-PC"
    host: 192.168.188.31
    turn_off:
      service: button.press
      data:
        entity_id: button.nico_pc_nico_pc_herunterfahren

Am I missing something here?

1 post - 1 participant

Read full topic

Ios Push sounds

$
0
0

Hey. Does anyone know what the available syntax is for a ios push of the sound attribute? For example;

it uses name: “default” What are other options that I could use?
it uses critical: 1? I don’t know what that means
and finally it uses volume: 1.0 which represents 100% volume. But the sound documentation Sounds | Home Assistant Companion Docs doesn’t mention much else.

does anyone know?

1 post - 1 participant

Read full topic

Ventilation automation with bypass

$
0
0

Hi

i am trying to make a ventilation automation based on VOC and Humidity with a bypass button.

i almost got it working :slight_smile:

1 fan on the roof.
I got 3 humidity sensors that starts the fan if one of them goes over 70% and turns off the fan again is all are under 50%

I got 2 VOC sensors that turn on the fan if the value is over 200 and off again if both are under 100. all 5 sensors in same automation :slight_smile:

i only have problems getting my sonoff button SNZB-01 to act as a bypass button for when i want to start a fire in the fireplace.
reason for bypass that i get a backdraft through the chimney and fills the whole house with smoke if the fan is running.

promlem is that SNZB-01 it is not a sensor and it only triggers an event and i cant seem to get it right :frowning:

alias: Fan Control Based on Humidity & Air Quality
description: ""
triggers:
  - entity_id:
      - sensor.bad_climate_01_humidity
      - sensor.bed_climate_01_humidity
      - sensor.kit_climate_01_humidity
    above: 60
    id: turn_on_humidity
    trigger: numeric_state
  - entity_id:
      - sensor.bed_climate_01_voc
      - sensor.hal_up_climate_01_voc
    above: 200
    id: turn_on_air_quality
    trigger: numeric_state
  - value_template: |-
      {{
        states('sensor.bad_climate_01_humidity') | float(0) < 50 and
        states('sensor.bed_climate_01_humidity') | float(0) < 50 and
        states('sensor.kit_climate_01_humidity') | float(0) < 50 and
        states('sensor.bed_climate_01_voc') | float(0) < 100 and
        states('sensor.hal_up_climate_01_voc') | float(0) < 100
      }}
    id: turn_off
    trigger: template
  - trigger: mqtt
    topic: zigbee2mqtt/KAMIN
    payload: action:"single"
    id: bypass
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: turn_on_humidity
        sequence:
          - target:
              entity_id: switch.pro2pm_h_01_switch_0
            action: switch.turn_on
            data: {}
      - conditions:
          - condition: trigger
            id: turn_on_air_quality
        sequence:
          - target:
              entity_id: switch.pro2pm_h_01_switch_0
            action: switch.turn_on
            data: {}
      - conditions:
          - condition: trigger
            id: turn_off
        sequence:
          - target:
              entity_id: switch.pro2pm_h_01_switch_0
            action: switch.turn_off
            data: {}
      - conditions:
          - condition: trigger
            id:
              - bypass
        sequence:
          - target:
              entity_id: switch.pro2pm_h_01_switch_0
            action: switch.turn_off
            data: {}
          - delay:
              hours: 0
              minutes: 0
              seconds: 10
              milliseconds: 0
          - action: switch.turn_on
            metadata: {}
            data: {}
            target:
              entity_id: switch.pro2pm_h_01_switch_0
mode: restart

any ideas where i f… up ?

Greets
Thomas

1 post - 1 participant

Read full topic

Best solution for Remote AND Local Access, to avoid DNS conflicts on Android

$
0
0

Currently I am running HAOS and accessing it remotely using a VPN. Then on the LAN I am using AdGuard Home for DNS. However I am exploring the best options for DNS and access, from the perspectives of both the “local-first” approach and from a unified DNS approach (e.g. Cloudflare public DNS and tunnels).
There seems to be no single DNS setup that can meet both goals. Any suggestions on how to resolve this seeming conflict?

  • access from outside the local network - the best solution seems to be a Cloudflare Tunnel. Here, DNS must always resolve to a Cloudflare proxy IP.
  • access from inside the local network - the best solution is a direct local connection. DNS must resolve to a LAN IP.
  • When you arrive home, your mobile device(s) must switch over from public DNS to private (unless you always want to be on a Cloudflare tunnel, which weakens the purpose of local-first server).

To add to this, I am trying to solve an issue with my Hass mobile app where it loses connection to the server, even when I am on the LAN WiFi and everything is normal. After tests, I suspect the problem relates to constant switching between DNS services (public vs private) and between IP routes on the LAN, when roaming between WiFi APs or between VPN and WiFi. I think Android caches the DNS lookup for a while, leading to a dropped connection… and then when it flushes I am able to connect again. So Cloudflare solves this problem by having a constant DNS - public - and having a “constant” IP route - public as well.

Thanks in advance for DNS and remote access approaches that have worked for you!

1 post - 1 participant

Read full topic

Splitting sensor to two other

$
0
0

Hi,

Templates are a bit new field in HomeAssistant for me and I do not understand them yet. I heavily count on someones help with start in this matter.

I have a sensor (sensor.saj_grid_load_power) that can get negatives and positives numeric values (power exchange with grid). I would like to split it into import and export sensors with template.

import sensor would be easier as it only should copy main sensor value from range 0 to say 14000W and nothing else.

Export sensor is a bit more complex, as it must copy main sensor value from o to -1600W (as here in Western Downunder we do have power export limit to 1500W) and then changing it from negative value to regular one.

If that help I have another sensor (sensor.saj_direction_grid) that have 3 states - -1 when exporting, 0 when idle here and 1 when importing power from the grid.

1 post - 1 participant

Read full topic

Wyoming Protocol for Piper and Whisper is not Auto Discovered

$
0
0

I just got started with HA running on a Pi-4 earlier today. I installed it using the Pi iso tool and then updated it to the latest HA version. I’ve had good luck getting several integrations running and I have control of most of devices in my house. Next I want to add voice control and response to the system.

To the best of my knowledge I have followed the documentation for the various addons correctly but I’m clearly not doing something right. I loaded and started Piper and Whisper. If I’m understanding the documentation correctly, after installing those addons I should be able to go to Integrations under Devices and Services and see Wyoming Integrations for each that have been auto discovered.

I’m not seeing any new Auto Discovered integrations??? I tried adding them each manually using the + Add Integration function and both Piper and Whisper when selected explain that I need to configure Wyoming. However when I click that I get a screen looking for a Host and Port.

I’ve tried entering the HA’s IP address and several different port numbers but nothing seems to work. I thought I had the answer when I tried using port 10200 for Piper and port 10300 for Whisper based on other threads I’ve read here. But still no connection.

Any assistance would be greatly appreciated!
Thanks!!
Tom G.

1 post - 1 participant

Read full topic


New topic for me.. alarm.com on ha green

$
0
0

Hello, I’ve seen several online tutorials and other posts on this matter. Not really caring so much about automation or sensor timing issues. Mostly just to utilize one app for everything.

I have Frontpoint security which uses alarm.com interface. All z-wave devices. I’ve been wanting to dive into this home assistant thing for awhile but was to afraid to convert a laptop or tablet etc.

I broke down and did the easy thing and bought the home assistants green.

So far I’ve added blink (cameras are Hella sketchy at best but can’t see live view) all my Phillips hue devices work as if I was using the native app and a few odd lights and plugs I have seem to work.

Most of my stuff however is z-wave. That’s what Frontpoint/alarm.com uses (window/door sensors, motion sensors, camera which I have many).

I bought a dongle that works for z wave and Zigbee devices and installed that and all seems good.

What I need to figure out is, since I’m using ha on ha green and using via mobile app and various other means. I seen I can download and copy a link of sorts and paste it from what I’m going to call (the ha store for now). Can’t remember the name. But how do I actually add that to the home assistant green to make it show in my integration list? Also, how or is it even possible to just add all my home security devices that are z-wave to home assistant without adding alarm.com.

I’m okay with keeping the native app for when I need to use it. My goal is to have a one source app for everything.

1 post - 1 participant

Read full topic

Can't get SLZB-06 to pair with Ikea Vindstyrka

$
0
0

Hi,

I’m new to Zigbee and just got the SLZB-06 yesterday and have only the Ikdea Vindstyrka currently to test it with. I have setup Zigbee2Mqtt in home assistant and the logs show that add-on and Zigbee coordinator are connected. I can confirm that when logging into he SLZB web interface as well. When I allow pairing and try to pair the Ikea device by pressing the pair button for 3 seconds, I leave it and nothing happens. No devices show up at all and I don’t see anything happening in the logs. What could I be doing wrong? Is there something else I need to configure in order to get Zigbee to connect properly?

1 post - 1 participant

Read full topic

GPU Sensor

$
0
0

Is there a way for home assistant to measure the video card processor (GPU) sensor?

Thanks in advance!

2 posts - 2 participants

Read full topic

Trying to dim lights, then turn them off after a few second delay

$
0
0

Hello, I am trying to make the lights in my bedroom dim, and then check if the occupancy is clear for a few seconds before turning off. This gives me a chance to activate the sensor again if necessary. I previously tried to just add a delay between dimming and turning off the light, but if I tried to activate the sensor during that delay, it raise the brightness, finish the delay, then turn off. However when I try to do this with an if condition it appears that it doesn’t run even after having the occupancy be clear for more than 10 seconds. I am doing this via the UI, and pasted the YAML below. Any help is appreciated, thank you.

alias: Turn Bedroom Lights Off When Unoccupied
description: When no occupancy is detected in the bedroom, the bedroom lights turn off.
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.aqara_presence_sensor_fp1e_occupancy
    from: null
    to: "off"
conditions:
  - condition: state
    entity_id: light.bedroom_lights
    state: "on"
actions:
  - sequence:
      - action: light.turn_on
        metadata: {}
        data:
          brightness_step_pct: -25
        target:
          entity_id: light.bedroom_lights
      - if:
          - condition: state
            entity_id: binary_sensor.aqara_presence_sensor_fp1e_occupancy
            state: "off"
            for:
              hours: 0
              minutes: 0
              seconds: 10
        then:
          - action: light.turn_off
            metadata: {}
            data: {}
            target:
              entity_id: light.bedroom_lights
mode: single

2 posts - 2 participants

Read full topic

Question about history graphs in home assistant- purge time in recorder yaml

$
0
0

Hello all,

Could someone help me with the information I am seeking below.

How long does the information in the history graph stay? Is it indefinite? As in, if I go to look at the graphs 6 months from now, will I have 6 months worth of data?

Does the purge keep days affect this graph in any way-- I currently have it set at “purge_keep_days: 5”? I would like to be able to keep the data related to the 3 temperature sensors for around a year as I am trying to determine if I can hook an area in my basement up to the 1st floor hvac at my home. (i.e. if the temps are reasonably similar throughout the year at ambient- I would be ok with this route even if it’s not the most optimal solution at my home)-- However I would like this decision to be data driven. Worst case, I find out it’s a horrible idea based on the data recorded.

2 posts - 2 participants

Read full topic

How to show the sensor triggered the alarm in homekit

$
0
0

I am trying to set up alarmo to guard my home, which have different sensors in different rooms. I use homekit bridge to display the alarm in homekit

Currently, when the alarm is triggered, Homekit shows " Controller Alarmo was triggered". However, it does not show which sensor triggered the alarm.

Is there a way to pass this information to homekit?

2 posts - 2 participants

Read full topic

Zigbee2MQTT restarting continuously

$
0
0

I updated to the latest version and now it doesn’t work. The error that’s continuously printed out is

Starting Zigbee2MQTT without watchdog.
[2025-02-14 19:13:05] info:     z2m: Logging to console, file (filename: log.log)
[2025-02-14 19:13:05] debug:    z2m: Loaded state from file /config/state.json
[2025-02-14 19:13:05] info:     z2m: Starting Zigbee2MQTT version 2.1.1 (commit #unknown)
[2025-02-14 19:13:05] debug:    z2m: sd-notify loaded
[2025-02-14 19:13:05] info:     z2m: Starting zigbee-herdsman (3.2.5)
[2025-02-14 19:13:05] debug:    z2m: Using zigbee-herdsman with settings: '"{\"network\":{\"panID\":6754,\"extendedPanID\":[221,221,221,221,221,221,221,221],\"channelList\":[11],\"networkKey\":\"HIDDEN\"},\"databasePath\":\"/config/database.db\",\"databaseBackupPath\":\"/config/database.db.backup\",\"backupPath\":\"/config/coordinator_backup.json\",\"serialPort\":{\"path\":\"/dev/ttyUSB0\",\"adapter\":\"zstack\"},\"adapter\":{\"disableLED\":false}}"'
[2025-02-14 19:13:05] debug:    zh:adapter:discovery: Error while trying to match USB adapter (spawn udevadm ENOENT).
[2025-02-14 19:13:05] debug:    zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB0","adapter":"zstack"},"adapter":{"disableLED":false},"databasePath":"/config/database.db","databaseBackupPath":"/config/database.db.backup","backupPath":"/config/coordinator_backup.json"}'
[2025-02-14 19:13:05] info:     zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
Starting Zigbee2MQTT without watchdog.

I’ve tried rolling back to a previous version of Zigbee2MQTT but the same error is being produced. I’ve tried to reflash the firmware on my ZigStar v4 (ZigStar Stick v4 - ZigStar) and still no luck.

Additional information this is running on my unraid server with the docker command

docker run
  -d
  --name='zigbee2mqtt'
  --net='bridge'
  --privileged=true
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="[HIDDEN]"
  -e HOST_CONTAINERNAME="zigbee2mqtt"
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:9442]'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/zigbee2mqtt.png'
  -p '9442:9442/tcp'
  -v '/mnt/user/appdata/zigbee2mqtt':'/config':'rw'
  --device='/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0' 'ghcr.io/imagegenius/zigbee2mqtt'

Z2M Config:

version: 4
frontend:
  enabled: true
  port: 9442
homeassistant:
  enabled: true
mqtt: [HIDDEN]
serial:
  # Could be either USB port (/dev/ttyUSB0), network Zigbee adapters (tcp://192.168.1.1:6638) or mDNS adapter (mdns://my-adapter).
  port: /dev/ttyUSB0
  adapter: zstack
  disableLED: false
advanced:
  log_level: debug
device_options: {}

3 posts - 2 participants

Read full topic


Remote_homeassistant not working with zwave lock

$
0
0

I have remote homeassistant setup, and it works fine with my hue lights.

I have added a zwave Danalock to the remote site, where it works fine.

On the main site I can see the lock, abd the status is update correctly, but when I press lock/unlock i get an Action lock.lock not found.

Any pointers?

1 post - 1 participant

Read full topic

Potential bug with scenes

$
0
0

Hey everyone,

I just want to clarify I’m not the only one getting this before raising it, are lighting effects not working for anyone else with scenes?

Looking at the Yaml it looks like if you save the light with the effect running in scenes as you would any other scene, it keeps the light value but forgets the effect when you next run it.

1 post - 1 participant

Read full topic

Configuration of Infrared-Device as Media_Player

$
0
0

After trying several approaches over the last few days, I am asking for help:

I have a simple Set-To-Box (UKO-Box), which can only be controlled via Infrared. So I am using using Tuya and a Wifi Smart IR controller to connect the STP to the HA.
Tuya is providing me with a couple of scenes (which are workiing):
power toggle, volume_up and volume_down, and channel_up and channel_down.
How can I make these controls available in my HA frontend as a ‘media_player’?

I tried mostly with ‘Universal Media Player’ but also with Media Player Template but run into a lot of problems.

Here my config for Universal Media Player:

media_player:
  - platform: universal
    name: UKO-Box
    device_class: receiver 
    unique_id: media_player.uko_box
    attributes:
      state: media_player.lg_smart_tv_2
    commands:
      turn_on:
        action: scene.turn_on
        metadata: {}
        data: {}
        target:
          entity_id: scene.uko_on
      turn_off:
        action: scene.turn_on
        metadata: {}
        data: {}
        target:
          entity_id: scene.uko_on
      volume_up:
        action: scene.uko_vol_up
        metadata: {}
        data: {}
        target:
          entity_id: scene.uko_vol_up
      volume_down:
        action: scene.uko_vol_down
        metadata: {}
        data: {}
        target:
          entity_id: scene.uko_vol_down
      media_next_track:
        action: scene.uko_channel_nxt
        metadata: {}
        data: {}
        target:
          entity_id: scene.channel_nxt
      media_previous_track:
        action: scene.uko_channel_prev
        metadata: {}
        data: {}
        target:
          entity_id: scene.uko_channel_prev      

There are several issues bothering me:

  • only power_on and power_off are working
  • how can I put the state of the STB as permanentely ‘ON’? (‘on’ is not working)
  • if I linke the state with another device (TV) as shown in the config, the state of the STB changes, but no ‘power_on’ or ‘power_off’ command is sent to the STB. how can I link the ‘state’ to a command ?
  • the controls ‘media_next_track’, ‘media_previous_track’ as well as Play, Pause, Stop never show

Any help to guide me in the right direction is highly appreciated!
Thanks!

3 posts - 2 participants

Read full topic

Apple TV as Thread Border Router – Not Adding to Preferred Network

$
0
0

Hi everyone,

I’ve been trying for days to add my Apple TV 4K (3rd Gen) as a Thread Border Router in Home Assistant as the preferred network, but without success.

I’ve repeatedly tried the following:

  • On my iPhone and iPad, under Settings > Devices & Services > Thread > Configure, I tapped the “Send Credentials to Home Assistant” button.
  • Under Settings > Companion App > Debug > Thread > Apple Keychain > MyHome1695430118, I tapped “Transfer to Home Assistant”.

Despite these attempts, my Apple TV simply won’t appear as the preferred network in Home Assistant.

Has anyone else experienced this issue or found a solution? Any tips would be greatly appreciated!

Thanks!

1 post - 1 participant

Read full topic

Zigbee TRV (internal) Schedules in ZHA

$
0
0

Hello Community,

im using Zigbee TRVs in HA over ZHA. The Ones sold under Names like “Tuya”

“Moes” or “Sonoff”.

Most of them are knüwn to ZHA as “TS0601” from “_TZE200_hue3yfsn”.

Shortly i had to replace one and temporarily bound one to the TUYA Android App. Since then i am wondering if we could see (or even modify) the internal scheduledtails of the TRV in its different modes (none/holiday/frost protect/schedule) in HA?

I hope i made my interesst clear otherwise i apologize in advance.

Cheers, Ernst

1 post - 1 participant

Read full topic

Viewing all 106026 articles
Browse latest View live


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