1
63
2
25

Curious to see how many people here are using Wyoming Satellites, and if so, what are you doing to build/house them?

I have a sample one working on an old pi and a computer speaker hooked up, with my primary Blue mic. Obviously this isn't long term, and I'm looking at building a few of these.

So, what do you use? Raspberry pi? Some sort of hat on it? What sort of casing do you use? Any really cool implementations? I'll take all ideas and suggestions!

3
7

Hey guys,

I made an automation that powers off my bluetooth speaker (using IR blaster) when ChromeCast is powered off for more than 10 s. Automation is working fine, but sometimes ChromeCast changes state from OFF to Unavailable and back to OFF in just a few seconds. I have no idea why is that happening, but it triggers automation and turns ON the speaker (it is the same IR button for ON and OFF) and gets it out of sync.

What condition or trigger should I use to make it work only when ChromeCast state changes from ON to OFF and ignores Unavailable to OFF?

There is my automation:


alias: Turn off JBL
description: if CC is off for 10 sec
trigger:
  - platform: device
    type: turned_off
    device_id: bc1049ea43a53092952d364749c3fb4c
    entity_id: ae0ea35649746ed5cea16f8d6ca54dd3
    domain: remote
    for:
      hours: 0
      minutes: 0
      seconds: 10
condition: []
action:
  - service: remote.send_command
    metadata: {}
    data:
      num_repeats: 1
      delay_secs: 0.4
      hold_secs: 0
      device: jbl
      command: "off"
    target:
      device_id: 4f1f3a13324e03646ff6b03aed27f2fe
mode: single

thanks in advance

4
51

It even has a demo right there on the phone. Also nice to see the version of the latest release at the top. This is the home page at https://www.home-assistant.io/

5
20
submitted 2 days ago* (last edited 2 days ago) by tifriis@sh.itjust.works to c/homeassistant@lemmy.world

Hello,

I'm looking for a ZigBee keypad and RFC tag for my alarm. I'm using zigbee2mqtt and alarmo. Any suggestion ? Thanks !

6
17
submitted 2 days ago* (last edited 2 days ago) by sabreW4K3@lazysoci.al to c/homeassistant@lemmy.world
7
113
8
21
Shelly relays for energy monitoring (forum.uncomfortable.business)

I'm wanting to add a bunch of energy monitoring stuff so I can both track costs, and maybe implement automation to turn stuff on and off based on power costs and timing.

I'm using some TPlink based plugs right now which are like, fine, but I'm wanting to add something like 6 to 10 more monitoring devices/relays.

Anyone have experience with a bunch of shelly devices and if there's any weird behavior I should be aware of?

Assume I have good enough wifi to handle adding another 10 devices to it, but beyond that any gotchas?

9
6
submitted 2 days ago* (last edited 2 days ago) by mike_wooskey@lemmy.thewooskeys.com to c/homeassistant@lemmy.world

Thanks to Smart Home Junkie's video (invidious link), I had my Atom Echos as voice recognition boxes with all audio output redirected to a media player of my choice (because the audio on the Echo is super quiet).

Whenever ESPHome updated, I updated my Echos to get the recent ESPHome updates, and then reinstalled the custom yaml for audio redirection.

However, with ESPHome's recent 2024.6.4 update, trying to install the yaml triggers errors that don't seem to make sense. For example, here's a section of the yaml:

microphone:
  - platform: i2s_audio
    id: echo_microphone_kitchen
    i2s_din_pin: GPIO23
    adc_type: external
    pdm: true

speaker:
  - platform: i2s_audio
    id: echo_speaker_kitchen
    i2s_dout_pin: GPIO21
    dac_type: external
    mode: mono

voice_assistant:
  id: va
  microphone: echo_microphone_kitchen
  speaker: echo_speaker_kitchen
  noise_suppression_level: 2
  auto_gain: 31dBFS
  volume_multiplier: 2.0
  vad_threshold: 3
  on_listening:
    - light.turn_on:
        id: led
        blue: 100%
        red: 0%
        green: 0%
        effect: "Slow Pulse"
  on_stt_vad_end:
    - light.turn_on:
        id: led
        blue: 100%
        red: 0%
        green: 0%
        effect: "Fast Pulse"
  on_tts_start:
    - light.turn_on:
        id: led
        blue: 100%
        red: 0%
        green: 0%
        brightness: 100%
        effect: none
  on_tts_end:
    - homeassistant.service:
        service: media_player.play_media
        data:
          entity_id: media_player.${media_player}
          media_content_id: !lambda 'return x;'
          media_content_type: music
          announce: "false"
  on_end:
    - delay: 100ms
    - wait_until:
        not:
          speaker.is_playing:
    - script.execute: reset_led
  on_error:
    - light.turn_on:
        id: led
        red: 100%
        green: 0%
        blue: 0%
        brightness: 100%
        effect: none
    - delay: 1s
    - script.execute: reset_led
  on_client_connected:
    - if:
        condition:
          switch.is_on: use_wake_word
        then:
          - voice_assistant.start_continuous:
          - script.execute: reset_led
  on_client_disconnected:
    - if:
        condition:
          switch.is_on: use_wake_word
        then:
          - voice_assistant.stop:
          - light.turn_off: led

external_components:
  - source: github://pr#5230
    components:
      - esp_adf
    refresh: 0s

esp_adf:

On lines 3 and 10 I define unique IDs for the device's microphone and speaker.

But ESPHome won't compile, telling me:

  • on line 46: Too many candidates found for 'id' type 'speaker::Speaker' Some are 'echo_speaker', 'echo_speaker_kitchen'.
  • on line 57: Too many candidates found for 'id' type 'speaker::Speaker' Some are 'echo_speaker', 'echo_speaker_kitchen'.
  • on line 77: Too many candidates found for 'id' type 'microphone::Microphone' Some are 'echo_microphone', 'echo_microphone_kitchen'.
  • on line 90: Too many candidates found for 'id' type 'speaker::Speaker' Some are 'echo_speaker', 'echo_speaker_kitchen'.

There are no other occurrences of the word "speaker" or "microphone" in the conf yaml (and I'm not including other yaml files).

I'm assuming most of this config is default, and the only things I care about are forcing pin 21 for the speaker (line 11) and redirecting audio to my media player (lines 45-52).

10
13

I am talking about this kind of livestream.

It looks nice, with all the different layouts and so on.

11
40
12
18

I have been using the Kasa (TP-Link) branded smart switches around my house, but now that I have a few third reality zigbee sensors for my doors and so on, I am seeing the value of using more outlets/switches that act as zigbee repeaters. Do any of you have pretty reasonable (and cheapish) smart light switches or outlets I can invest in? The Amazon offerings are in the $50 each one which is pretty steep, though I guess I could just do one each room and do the rest with Kasa stuff.

I would like to expand the zigbee mesh network so I can use the devices where I actually want them without using smart outlet devices plugged into real outlets all over the place. If there was something that was $20 or less each item that would be super excellent. The wife and I plan to move in the not too distant future and I'd like to replace the "in the wall" stuff so that HA works throughout the house and I don't have plugs / dongles / wall warts all over the place.

Thanks in advance for any insight!

13
13

Hi,

Is there anyone using Amcrest IP4M-1041B with Home Assistant? I've a few questions about software and integration.

  1. From what I hear, this camera can be setup 100% offline, connected via cable to any computer and by using a built in WebUI the camera has, is this true?

  2. It offers pan, tilt or zoom. Does it work really good with HA? Can it be operated without any Amcrest software / internet connection?

  3. The features above allow you to set preset locations, can that be done on HA / WebUI / without the Amcrest app as well?

  4. Does it really operate all features offline and is it reliable? Eg. motion detection works as expected / doesn't miss events?

  5. What's your overall experience with the camera? Does it compare to let's say a TP-Link tapo?

Thank you.

14
16

I'm looking to replace a few in-wall light switches for lights that are not easily replaced with smart bulbs. I currently use Home Assistant with z2m for all my smart lights and switches, so zigbee switches would be preferred. Does anyone have recommendations for smart in-wall switches?

15
48

Hey guys. Im running Home Assistant in docker container for few years and I'm super happy with it. The only way I access my server when not home is wireguard VPN. I noticed that I'm still receiving notifications even when not connected to VPN. I wonder how is that possible?

I don't have sub for HA Cloud or Nabu Casa. I also don't own a domain, using duckdns for wireguard connection and reverse proxy (npm). I thought I have 100% local setup, but I guess there is a Google or HA server in between. I don't want to disable the feature, I just want to know where is my data being sent

Thx

16
24

Looking for a solution on how to determine when to close and open skylight blinds. I can just do hours of the day but would like it to be a bit more intelligent.

Anyone looked at using something like the math used for solar panels? I was thinking that when max solar power was generated in the summer that is when they are closed to keep heat out.

Ideas?

17
67

They've improved the Everything Presence Lite.

18
50
submitted 2 weeks ago* (last edited 1 week ago) by solidgrue@lemmy.world to c/homeassistant@lemmy.world

I missed it in the release notes, but there's a breaking change in the ota component in ESPHome 2024.6.0. I figured I'd save folks some time and share the fix here.

If your OTA config looks like this;

...

ota:
  password: "*************"
  num_tries: 3
  safe_mode: on

...

Now you'll need to add a platform key to start a list, and either comment out the other option or move them to a new component.

...

ota:
  - platform: esphome
    password: "*************"
  #num_tries: 3
  #safe_mode: on

...

edit: Here's the PR introducing this change https://github.com/esphome/esphome/pull/6459

19
54
submitted 2 weeks ago* (last edited 2 weeks ago) by limelight79@lemm.ee to c/homeassistant@lemmy.world

No major question here, just thought you might find this interesting. It's an example of the kind of (off-the-wall) things you can do with HA that aren't immediately obvious. When I was starting out with HA, I enjoyed reading these examples, because it gave me ideas for my own setup. And, I wrote many automations that should really be scripts, so hopefully this will help someone avoid that and recognize the power of scripts early.

At home, my laptop from work sits (closed) on a stand under the monitors. I have a docking station for it, but the docking station doesn't have a power button to start the laptop (the official Dell docking stations have a power button, but other brand of docking stations don't). So, since I got that stand a few weeks ago, I've been pulling the laptop out and opening juuuuuuust enough that I could reach the power button, then closing it and sliding it back into the stand. There had to be a better way that didn't involve buying an expensive Dell docking station.

The docking station power is on a Sonoff S31 outlet (flashed with Tasmota, not that that's important here) that is remotely controllable. Long ago, I set up HA automations that turned on the S31 when the laptop was detected on the network, and shut off the S31 after the laptop dropped off the network at the end of the day (leaving in a time delay so it didn't shut off if there was a momentary network glitch). So, I'd boot the laptop, and a moment later the docking station would kick on and connect the mouse and monitors to it. And the end of the day, I shut down the laptop, and a few minutes later the docking station shuts off automatically.

I recently discovered the Wake on LAN integration. So, after setting that up, I wrote a script that turns on the S31, waits a while*, then triggers the Wake-on-LAN for the laptop...and it boots up! With HA, I can start the boot process while I'm still relaxing in the living room before starting work; in theory I'll go into the office and it'll be ready for me to log in.

Heck, if HA knew for certain it was a workday, it could boot the laptop for me.....hmmm. Maybe something to think about for the future.

*How long? Well, 30 seconds seems to be too short; the laptop doesn't respond to the WoL command after just 30 seconds with power applied. It did work this morning when I waited several minutes to try it again. I just changed the delay to 1 minute and will see how that works tomorrow.

I also added a repeat loop (starting after that 1 minute timer) with three components:

  • A condition that looks for the laptop being "Away" on the network. (If it is "Home" on the network, the condition will end the script.)
  • If it is, then it tries the WoL command again.
  • Then waits 30 seconds and repeat.

The repeat loop counter is set to 3, for a total of 4 attempts to start the laptop. I'll check the traces and see when it starts working, and set the initial delay accordingly, so that in general it shouldn't need the repeat loop.

If people want, I can post (sanitized) YAML. But I do like explaining the process rather than just posting code.

20
43

It's been written by a self_admitted noob at integrations, but it effortlessly pulls in all data from my Sleep As Android alarm clock and even introduced me to features of the app I didn't know existed, and I've been using it for years.

By following his instructions (I skipped the watch bit) Home Assistant now know when I'm sleeping and awake.

I've been considering some kind of bed load esp board for a while but now I don't have to. I know when I fell asleep last night and even when I was snoring.

More importantly, Home Assistant knows these things and I can now have a more reliable Good Night automation that knows when I'm sleeping, even when I get kicked out of bed and have to sofa sleep.

21
32

HACS has a problem with hitting the GitHub rate limit when you first install it. It’s not really that big of a deal. You usually just need to wait an hour for the local database to populate.

It used to be optional to link your GitHub to HACS to bypass the rate limiting but now it seems the installation requires it.

I’m not a fan of this as somebody who uses Homeassistant for its privacy values and am kind of frustrated HACS removed the ability to install without a GitHub API key.

Is there a manual way to override the API linking process?

22
24

Working on the @homeassistant setup this weekend now that the pantry is getting closer to being finished.

Trying to setup an automation to run the robot vacuum in the utility room every third time the litter box goes off. Cannot seem to get the zones working though.

Any thoughts?
#homeassistant #smarthome #homeautomation

23
71
24
49
25
33
view more: next ›

homeassistant

11417 readers
90 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS