/r/homeassistant

Photograph via snooOG

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.

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.

Community

Discord

Getting Started

Integrations

/r/homeassistant

289,160 Subscribers

3

What kind of Zigbee Groups can you make?

I’m trying to setup zigbee groups for my devices rather than through HA to reduce traffic but I only seem to be able to create light bulb groups. Binary sensors, blinds and any other end devices dont seem to want to be added to a group, and I can’t find an answer about this on the docs. Any clarifications out there around how zigbee groups work? Are end devices supposed to be binded to nearby groups instead?

1 Comment
2024/03/31
03:49 UTC

0

Finally Running HAOS

Finally got HAOS up and running and I am just staring at a blank dashboard. Got so use to Google Homes around the house that I have no idea where to start…. And suggestions?

1 Comment
2024/03/31
03:32 UTC

2

Are the TS0601_soil TuYa "Soil Temperature Humidity Testers" just shite?

Is anybody running the "Tuya Smart Zigbee Soil Tester Temperature and Humidity Meter" on their Zigbee network? Are you having problems keeping multiple units working?

This is the unit I'm talking about:

I've now bought six of them. In the first batch of three, two of them would stop reporting within a day. Now, in the second batch of three, all three of them are doing the same thing.

So, out of the six I have, only one is consistently working. And it just so happens to be the first one I paired.

All four of them, being outside, are relaying through a Sonoff S31ZB Plug/Relay (https://www.zigbee2mqtt.io/devices/S31ZB.html#sonoff-s31zb) which connects to a SONOFF ZBDongle-E (https://www.zigbee2mqtt.io/devices/ZBDongle-E.html), which is controlled by Zigbee2MQTT.

What I'm trying to gauge is if these things are just shite, and I should just give up and roll my own with ESP32's, or if I'm just doing something wrong (other than, you know, buying crap off of AliExpress).

Any insight will be appreciated.

0 Comments
2024/03/31
02:50 UTC

0

HUSBZB-1 Only seeing Zigbee integration, not Z-wave

I’m running HA on my unraid server and obviously have the dongle passed through correctly because HA sees Zigbee and allows me to set it up, but Z-wave asks for an address and nothing seems to work. I know you have to start the server first but can’t figure out for the life of me how to do that if I can’t see the dongle.

0 Comments
2024/03/31
02:23 UTC

3

Simple starter setup for home automation noob

Hi, I'd like to give HomeAssistant a try and setup something simple like 2 light bulbs. I have nothing, what light bulbs should I buy? Is there a faq or something? I'd rather keep the devices off the internet completely, What devices do I look for that will work without a connection to the cloud? thanks

1 Comment
2024/03/31
02:15 UTC

1

Location for HA Yellow?

I’m soon to be brand new to Home Assistant. I’ve ordered a HA Yellow server which will be delivered soon. Knowing that there are antennae built into or attached to the server I’m wondering if it matters where I locate it in our home. My router is in the furnace room of our finished basement while most devices it will be talking to wirelessly will be on the main floor. Have you found location to be an issue?

3 Comments
2024/03/31
02:14 UTC

14

Ultimate WLED Scenes Collection: Pre-configured Brilliance to a World of Vivid Light Scenes

Welcome to a World of Vivid Light Scenes!

Dive into my carefully curated repository, showcasing a diverse collection of WLED scenes, complete with their API-Command (JSON configurations) and vibrant images that perfectly capture each scene’s essence. This collection, inspired by the dynamics and diversity of the Phillips Hue app scene images, offers you a palette of colors and effects to transform your home into whatever atmosphere you choose.

I’ve designed each scene with attention to detail, featuring a preset selection of colors and effects that work without specific segment settings. This makes them universally applicable to almost any WLED installation. You have the freedom to adjust the effects’ speed to your liking, creating your own perfect lighting mood.

I invite you to explore this collection, find your favorites, and modify them as you wish. Share your experiences and own creations with the community, to enrich the world of WLED scenes together. Enjoy discovering and creating!

Here is the link to the Github Repository

0 Comments
2024/03/31
01:51 UTC

1

Increasing range of esphome Bluetooth proxy

Hello there!

I took the plunge and have started making my home a little smarter. I'm sure this will be the first of many 'please help I'm a bit of an idiot' posts.

I have a herd of xiami temperature and humidity sensors that I'm wanting to log via home assistant.

I was wondering if there is a setting or a way I could make the esp (an esp32 wroom) have a greater range for detecting devices? I've got the sensors spread around my home and was hoping I wouldn't also have to have multiple Bluetooth proxies - or at least limit the number.

1 Comment
2024/03/31
01:48 UTC

1

Help with excessive notifications from Frigate

Help! I have disabled all automations that send notifications in home assistant and yet I still get notifications along the lines of: 'A car is in the Front-Gate'. Last night when I my car in front of my camera I woke up to 423 notifications from Home Assistant with the message shown above. I am wondering if this is the Frigate HACS integration. Anyways, any help is super appreciated!

PS: The notifications only go to me, no other user account get the alerts.

1 Comment
2024/03/31
01:35 UTC

1

Connecting a tradfri outlet

Hello all, I’m starting my ha journey and got tradfri outlets.

I was thinking I could easily connect them to my ha green that has a sonoff zigbee dongle but they do not appear when I scan.

It seems that I need a button to connect to the outlet and then can connect to the button. Is there any other way?

2 Comments
2024/03/31
01:21 UTC

1

Will this work with Home Assistant

Smart Light Switch, WiFi Switch Touch Wall Switch, Compatible with Alexa Google Home, No Hub Required, One Way Switches App Control from Anywhere, Timing Schedule

https://www.amazon.ca/dp/B07DXDP662?ref_=cm_sw_r_mwn_dp_DRHWMK2P8BHGTBCQGZP2&language=en-CA

1 Comment
2024/03/31
01:08 UTC

2

Reolink Doorbell Camera

I am looking to setup an automation to where when the doorbell button on the doorbell camera is pressed all my google minis ding, and then I have a couple google screens, I would love a video feed to popup on those but a photo is also acceptable. Is this doable, I am looking at the entities for the camera and I cant see any that clearly reference the button being pushed so I dont even know where to start. I am using the native HA integration but I see a HACS one as well that if necessary I can add. I appreciate everyones help here I got the camera based on high praise on here and even in its totally consumer features its been great but I am ready to take it to the next level. Thank you.

8 Comments
2024/03/31
00:56 UTC

2

Tuya PIR light timer

I have a Tuya PIR sensor and am trying to setup an automation to keep the lights on if someone is in the room, otherwise turn them off after 10 min.

It's sort of working... The lights turn on when someone enters the room but after 10 min they go off, even if someone is still in the room (and has been moving) only to turn on again a second later.

Here's my automation yaml:

alias: PIR_DiningRoomLightsOn
description: ""
trigger:
  - type: motion
    platform: device
    device_id: xyz
    entity_id: abc
    domain: binary_sensor
    for:
      hours: 0
      minutes: 0
      seconds: 0
condition:
  - condition: time
    after: "20:00:00"
    before: "07:00:00"
action:
  - type: turn_on
    device_id: lmn
    entity_id: opq
    domain: light
  - delay:
      hours: 0
      minutes: 10
      seconds: 0
      milliseconds: 0
  - type: turn_off
    device_id: lmn
    entity_id: opq
    domain: light
mode: restart
1 Comment
2024/03/31
00:39 UTC

1

Long time Shelly admirer first time installing

So I finally installed a Shelly, it's the Shelly 1 mini gen 3. Once I got it installed onto the network, home assistant picked it up without issue. I have it wired to a switch on the SW leg and the output relay.

When I look in HA I only see the switch and not an output entity.

What am missing, I want them to act independently.

0 Comments
2024/03/31
00:32 UTC

1

Noob question about SONOFF Universal Zigbee 3.0 USB Dongle Plus and HA and compatible devices

I am getting rid of some of my Xiaomi hub devices, and just bought this dongle to use with my old Rapsberry Pi 3 B 1.2 (I plan to upgrade later if I like this software), can I use any of the "zigbee" sensors on aliexpress? Is there anything I have to lookup for knowing its compatible?

0 Comments
2024/03/30
23:12 UTC

3

Free Embrighten Add-On Switch

https://www.amazon.com/dp/B07RR9XBXJ?ref=ppx_yo2ov_dt_b_product_details&th=1

I ordered one of these a few months back.

Then I installed it.

Then I realized that this wasn't the same Zigbee Dimmer switch I was already using elsewhere, and that this wouldn't work for me :)

It's now past the return window for Amazon. I have zero use for this.

tl;dr - Me dumb. If you live in the continental US and want this, I will pay the couple bucks to ship it to you so I can get it off my table.

0 Comments
2024/03/30
23:02 UTC

1

Raspberry PI Docker HA borked

My version of home assistant running on my PI5 seems to be borked. I had everything configured, did a backup and then my PI didn't restart. I re-loaded the image backup and the PI started, but the docker container didn't restart.

Plan A is to just re-install and restore a backup of my HA configuration. But I can't find out how to do that. Any input? Plan B is to fall back to an older PI image and see if it works (I have lots of backups). But that will lose the updates since my last backup.

Here's the contents of my HA log which is part of where I'm thinking a re-install of the container is the right option.

cat docker/homeAssistant/data/home-assistant.log

2024-03-30 18:56:13.872 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-03-30 18:56:13.873 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-03-30 18:56:14.170 ERROR (SyncWorker_5) [homeassistant.loader] Error parsing manifest.json file at /lsiopy/lib/python3.11/site-packages/homeassistant/components/webhook/manifest.json: Input is a zero-length, empty document: line 1 column 1 (char 0)

2024-03-30 18:56:14.174 ERROR (MainThread) [homeassistant.loader] Unable to resolve dependencies for ecowitt: we are unable to resolve (sub)dependency webhook

2024-03-30 18:56:14.175 ERROR (MainThread) [homeassistant.loader] Unable to resolve dependencies for mobile_app: we are unable to resolve (sub)dependency webhook

2024-03-30 18:56:14.191 ERROR (SyncWorker_1) [homeassistant.loader] Error parsing manifest.json file at /lsiopy/lib/python3.11/site-packages/homeassistant/components/webhook/manifest.json: Input is a zero-length, empty document: line 1 column 1 (char 0)

2024-03-30 18:56:14.191 ERROR (MainThread) [homeassistant.loader] Unable to resolve dependencies for default_config: we are unable to resolve (sub)dependency webhook

2024-03-30 18:56:14.193 ERROR (MainThread) [root] Uncaught exception

Traceback (most recent call last):

File "/lsiopy/bin/hass", line 8, in <module>

sys.exit(main())

^^^^^^

File "/lsiopy/lib/python3.11/site-packages/homeassistant/__main__.py", line 209, in main

exit_code = runner.run(runtime_conf)

^^^^^^^^^^^^^^^^^^^^^^^^

File "/lsiopy/lib/python3.11/site-packages/homeassistant/runner.py", line 188, in run

return loop.run_until_complete(setup_and_run_hass(runtime_config))

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete

return future.result()

^^^^^^^^^^^^^^^

File "/lsiopy/lib/python3.11/site-packages/homeassistant/runner.py", line 154, in setup_and_run_hass

hass = await bootstrap.async_setup_hass(runtime_config)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/lsiopy/lib/python3.11/site-packages/homeassistant/bootstrap.py", line 158, in async_setup_hass

await async_from_config_dict(config_dict, hass) is not None

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/lsiopy/lib/python3.11/site-packages/homeassistant/bootstrap.py", line 306, in async_from_config_dict

await _async_set_up_integrations(hass, config)

File "/lsiopy/lib/python3.11/site-packages/homeassistant/bootstrap.py", line 585, in _async_set_up_integrations

for dep in itg.all_dependencies:

^^^^^^^^^^^^^^^^^^^^

File "/lsiopy/lib/python3.11/site-packages/homeassistant/loader.py", line 771, in all_dependencies

raise RuntimeError("Dependencies not resolved!")

RuntimeError: Dependencies not resolved!

2 Comments
2024/03/30
23:02 UTC

2

Controlling Spotify on Echo devices through an automation?

Is there a way to control Spotify (next song, previous song, etc) through home assistant while using an echo device as the output speaker?

I have Alexa Media Player installed along with the official Spotify integration with a premium account.

Basically, my goal is to create an automation where I can use my Aquara T1 Pro cube through Zigbee where when I knock on a side, it pauses or resumes, if I slide it it’ll go to the next song, and if I rotate it left/right, it’ll adjust volume.

Is any of this possible?

2 Comments
2024/03/30
21:52 UTC

4

I think I got a motion warning

3 Comments
2024/03/30
21:30 UTC

3

Task Button with the person name

Hello,

I'm trying to create a button from Node Red to do some action based on the press of a button in HA. But, I wan't to have different actions between the people so I would like to have in the button payload the timestamp and the profile name of who pressed it in the interface.

How could I do that ?

For the moment I have the button show as an entity but it only report the timestamp :

https://preview.redd.it/pg4tt7pzejrc1.png?width=810&format=png&auto=webp&s=ff0f42328cafd21a6aa322a616de6e044db35b75

Any help will be apreciated.

0 Comments
2024/03/30
21:13 UTC

1

Seeking Advice: Smart Relay + Momentary Button Solution for Blinds Control

Hello everybody,

I am new to Home Assistant and would really appreciate some guidance.

I have some "no-name" blinds with a physical control featuring three buttons: Up/Down/Stop, connected to 220V wires.
I'm looking to replace this with a smart relay solution(that can connect to home assistant via wifi), such as the Sonoff Dual R3, and two momentary buttons that will connect to the relay.
These buttons should connect to the relay via RF-433 and operate on small CR2032 batteries. Each button would ideally have only two temporary positions: up and down. I have a preference for physical buttons for tactile feedback, as I'm not a fan of capacitive touch buttons.

Being new to all this, I'm not familiar with all the brands and options available. After several hours of searching, I found Sonoff, which seems to be a decent option. However, it doesn't have the specific buttons I'm looking for, and I'm hesitant to mix buttons from a different vendor.

Could anyone assist me in finding a relay and button pair that meets my requirements?

Thank you very much for your help.

Best regards,

Oby

1 Comment
2024/03/30
20:23 UTC

1

It’s time for my first smart plug

I’m looking around and the Sonoff is $7. The Kasa energy monitor is $10 and the Shelly is $13.

I don’t know if i want HomeAss on my Mac mini, pc or a dedicated machine yet. I don’t know if you can run HA when you want or it is meant to be always running. I’m learning this week.

I just like to watch how much watts things use sometimes. And I don’t know why. But I enjoy it.

Will getting the sonoff be a regret?

13 Comments
2024/03/30
19:56 UTC

5

Unable to finish integration with Google Home Assistant

Hi folks, this is my first time trying to expose my HA instance to the internet.

I found a service online wanted to try it out for a bit and I used it to expose my HA instance to internet. Its been working fine.

Now I'm trying to expose my Home Assistant to Google Home so that my Zigbee devices can be controlled by many google nest speakers i have in my home. I followed all of the instructions to create the Google Actions project and tweak the config yaml file to include the Google Assistant integration. Everything went smooth until this last step.

I find my test project in the Google Home app and got the Login page to my Home Assistant. I checked the URL of the login page at the bottom and its definitely the internet accessible URL. So that means Google is definitely able to reach my HA correct ?

https://preview.redd.it/tvqnjqlp0jrc1.jpg?width=1440&format=pjpg&auto=webp&s=573f3b3c6f16d0b8d90bceb1196b5b332518aff0

But after I put in the login credentials, i get the below error. Not sure where the error could be.

https://preview.redd.it/vfzjz4at0jrc1.jpg?width=1433&format=pjpg&auto=webp&s=0298ed553bb2b353a88611bded3b517647c506d0

I definitely put in the correct values for project ID in config yaml and restarted HA.

Any help would be greatly appreciated.

4 Comments
2024/03/30
19:56 UTC

11

Show remaining days instead of date

This is for the 'RecycleApp' integration (Belgian waste collection), but I don't think that matters much.

What I'm trying to do is have its card show the remaining days until collection, instead of the date (or actually both side by side) . See screenshots: the manual states you can use TIMESTAMP to display relative dates. I thought this would be simple enough to figure out on my own, but here we are. I've tried 30-ish things or something, based on manuals and community examples, nothing worked and I still don't have a clue what I'm doing.

If anyone would be kind enough to help me out here...

https://preview.redd.it/m7mg8r3uxirc1.png?width=592&format=png&auto=webp&s=99909c3ec211fdbb8e428eee4dbb593ab28a3647

https://preview.redd.it/u0ufq692yirc1.png?width=500&format=png&auto=webp&s=8678f333e097b9fac8382afe99e43d16565f8c83

6 Comments
2024/03/30
19:39 UTC

5

Rename

Hey. I am totally new to HA and just added 2 ratgdo to control my 2 garage doors. Sorry if content already asked, I couldn’t find answers yet.

I read things like “device”, “entity”, etc, no clue which one is what.

Problem is, I can rename what I think is the device, but the controls from the overview remain the same, default real device name.

Can I rename somewhere these controls to know which one is what?

See attached photo.

Thanks.

8 Comments
2024/03/30
19:24 UTC

1

Looking for a zigbee sensor that's easy to rewire

I'm looking for a Zigbee sensor (door/window or simple push button) that could be operated by a relay. I had an RF door sensor that was perfect, where I could short across the reed switch to fire the signal. I want to replace the RF with Zigbee, and recently bought a Zigbee door sensor, but there's no obvious reed switch, and I've not been successful in identifying the terminals. (It always fires on a magnet- but no wired connections across the board seem to work).

Can anyone recommend a specific Zigbee switch/sensor that's easy to rewire?

3 Comments
2024/03/30
19:12 UTC

4

How to answer a prompt of a skill called through a custom action in an Alexa routine?

I have a Shark RV2001WRCA robot vacuum. It has a map of the house and I've named the various rooms. I'm trying to follow a guide from Smart Home Solver who has their robot vacuum able to clean a specific room by triggering an Alexa routine.

I've setup the Alexa routine and the automation in HA to call the routine via the Alexa Media Player integration. The trouble is, when I (or the Home Assistant automation) triggers the Alexa routine which says "Alexa, ask Shark to have <vacuum name> clean the entrance" it triggers a follow-up question of "Your robot name please?". It doesn't understand that I gave the robot's name in the initial command, and it wants the name of the robot again. How can I get the response of "<robot name"> to work?

Smart Home Solver uses a Roborock and it seems to understand it all in one go. I don't know how to get the response to answer programmatically, either via HA or as part of the Alexa routine. I've tried adding a few seconds delay and then sending a Custom word of <robot name> but nothing. The Alexa Echo asks twice, then times out.

Thoughts? TIA!

0 Comments
2024/03/30
18:58 UTC

2

Trouble With Stepper Motor / ESPHome

Hey all,
I'm struggling to get a stepper motor working with ESPHome, and would really appreciate some guidance.

HARDWARE:

  • Nema 23 motor
  • DM556S driver
  • ESP32

CONNECTIONS:

  • ESP (STEP / PUL pin) GPIO 12 -> DRIVER PUL+
  • ESP (DIR pin) GPIO 14 -> DRIVER DIR+
  • ESP (EN / SLEEP pin) GPIO 17 -> DRIVER EN+
  • ESP GND -> DRIVER PUL -, DIR-, EN-
  • 36VDC -> DRIVER
  • Laptop USB 5VDC -> ESP32

The manual suggests it can work in a common cathode or anode mode, however, I found that when I use a common 3.3VCC sourced from the ESP, the ESP fails to connect to HA.
I know the motor works with it's PSU, I tried the driver's self test mode, and the motor works.
I also believe 3.3vdc is sufficient voltage (despite most of the data sheets saying it needs 5vdc minimum) for the control pins because I hooked up a benchtop variable PSU set to 3.3vdc and got the motor to move a little when I rapidly opened/ closed the PUL pin circuit through the PSU. I have yet to get the motor to move from the ESP though. The motor just gets hot and has a slight vibration to it.

I followed the ESPHome stepper guide, and have a position slider for the motor. The ESP logs show the variable for the slider changing when I use the slider on my dashboard, but the motor does nothing.

I'll edit in my ESP code in a bit, typing this from mobile is a pain.

Thanks for your help in advance, if I had any hair left, I'd be ripping it out.

0 Comments
2024/03/30
18:54 UTC

19

Cloudflare Tunnel vs Nabu Case - Security

There are tons of posts, but none of them seem to answer this question directly. I didn't want to duplicate a question already answered, but I gave up browsing through tons of posts.

Is Nabu Casa more secure because it's not directly providing access to your HA device?

I use Cloudflare for business websites but have never used the tunnel resource. I know I can block out countries from access, but doing a tunnel still opens up my HA computer directly to the internet. If Nabu Casa does not work this way, I figured it would be more secure, because access to my HA computer would be much harder to find.

38 Comments
2024/03/30
18:38 UTC

15

Is mmWave worth the hype?

I’m thinking about purchasing the Apollo MSR1 to enable room and zone presence detection in the living room and bedroom with the idea that I could turn on and off lights automatically, pause movies when standing up off the couch, and track two people sleeping in a king sized bed. These features are incremental for me, as I am already am estimating when people are sleeping with Bayesian logic and turn off lights when people leave the house. For the most part lights turn off appropriately through prediction logic (time, etc), but the main advantage would be turning them on when entering the room. I imagine it would work well, but the cost is the rub. Should I only buy them for key rooms or every room? Music following you and announcements in target rooms seem cool, but I can already cast to downstairs speakers, etc. I am curious about others long term experiences. I’m a cheapskate by nature, with a growingly expensive hobby!

48 Comments
2024/03/30
18:13 UTC

Back To Top