homeassistant

12360 readers
197 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 2 years ago
MODERATORS
76
57
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/homeassistant
77
11
submitted 4 months ago by aleq to c/homeassistant
 
 

I have three different calendars syncing using caldav, one on fastmail and two on icloud. When I open the calendar view it's often the case that one or more of these timeout (all of them are afflicted by this), so it seems that these calendars are not actually stored on the server but polled everytime I want to view them.

Are there any alternative integrations that will periodically sync the calendars and keep them on the server? Or can I self-host an app that does this and will never time out because it's on my local network?

78
79
 
 

Does anyone know if the 2024.5 Companion App update for iOS removed the ability to control entities from the widget? I've read the release notes but there's no mention of any features being removed.

I could absolutely swear that I had a working widget with most of my lights on it, a solitary button for each light, that I could single tap to toggle said light.

Then, a few months or so back, I noticed the widget didn't seem to be working. The entity icons had change to black, round shadows, and tapping them did nothing.

I deleted the widget, thinking it got corrupted somehow and have never been able to get it back exactly as described above.

Now, it seems that only thing I can do with widgets is use Actions. Some Actions have been auto-created by the Companion App for each scene on my server, and I can obviously create my own Actions, to trigger automations.

But, I don't want to have to frig around with Actions (using input_booleans and automations) to do something as simple as turning a light on or off.

Am I dreaming? Did the iOS widgets never have this ability? Or am I missing something really obvious to configure entities onto a widget?

Thanks in advance for any useful advice.

80
 
 

Not sure why but my mqtt broker I installed from the addons is not working. Any help here should be nice. When I look at the settings the password says "password_not_changed" wuth username "homeassistant".

81
 
 

I currently use Frigate as an NVR for my outside cameras. I would like something that integrates with that. I really just care that it is fully local. I don't want a chance of someone on the internet being able to access a camera in my baby's bedroom.

82
 
 

Just got a new water cooler and the jug sits at the bottom. I want to track how full the bottle is and I have a spare esp32.

I was thinking about using the weight of the water jug but I'm not sure yet.

There is also a low water led but it seems to be lit all the time. Possible defect? The manual says it turns on when the water is low.

83
 
 

cross-posted from: https://mander.xyz/post/16531247

I have tried to follow several tutorial to setup using either ip or nmtui:

However, the bridge inherits the MAC address of host after enslaving the host hardware enp1s0.... This causes my router to give both the host and the bridge the same ip address, making the ha instance inaccessible.

The red hat tutorial clearly show that the bridge and the host have different IP, so I was wondering if I am doing something wrong.


alternatively, I can set the home assistant vm to run in NAT and port forward from host, but I have several device that communicate over different ports. So it would be annoying to forward all these ports. Not to mention, many appliances don't have documentation about the ports they use.

I can also potentially use virtualbox, but it is not well supported on silverblue, especially with secureboot enabled.

84
85
 
 

Has anybody on here had an experiment with the supermarket tags?

My understanding is that you get a bunch of the tags, somehow get a base-station/transceiver working with them, and push data as images.

I'd love to hear from anyone who's had a go. I quite fancy having some little displays around the house with useful info for the room.

86
266
submitted 5 months ago* (last edited 5 months ago) by TetchyOyvind to c/homeassistant
 
 

I got myself an ESP32 with an integrated e-ink display. This little project shows when the next bus to the city leaves, and the current time. I get the live bus data from Skyss through the Entur integration in Home Assistant. Might have to get a few more of these to tinker with.

87
 
 

I have all the usual Home Assistant stuff, including a Goodnight Routine.

I also have 3 cats, one of which has only known the house with automation.

Now these cats seem to have a hierarchy, and the Top Cat sleeps in the bedroom with us. This is now the Cat that only knows automation.

So when I say "Hey Google, Goodnight" she meows, she's genuinely excited.

Now a lot of the time my Wife falls asleep on the sofa while I watch TV or game, and I have to wake her up to go to bed. It's "Goodnight" then wake up the wife.

Last night I had a brainwave. What if I can get the cat to do it? She wakes my wife up at 4am by cleaning her face already, maybe I can get her to wake her up on the sofa too.

So last night I did the usual "Hey Google, Goodnight" then started saying "Goodnight" to the cat, then softly calling my wife, "Wifey, goodnight, goodnight" until she woke up.

When she woke up the cat put her front paws on the sofa and sniffed my wife's face and meowed.

So I plan on waking the Wifey up this way in the future in the hope that the cat will cotton on, and instead of just meowing in excitement, actively participate in the going to bed process.

Thereby giving me a Biomech automation.

She's an intelligent kitty so I have confidence it'll work. Today she (indoor cat) managed to get out while I gave a delivery guy directions and she sat outside in the garden meowing to be let back in, and another of my cats was inside the door meowing too.

88
 
 

Based on https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.39.1

For the record, this seemingly broke my presence sensors somewhat.

89
 
 

This might be tangential to HomeAssistant but Im currently thinking about a household renovation and one thing I am considering is wiring.

I have some POE devices along with many other that run with a 12v DC supply.

I'm lookin at putting in a relatively straightforward 12v battery UPS with a small solar panel to charge. I probably only have space for 1500W of panels so putting in a whole grid tied solution is overkill. Primarily this is to provide backup as we sometimes lose power.

Networking wise I think I will put RJ45 into each room as we are concrete reinforced construction and so signal quality is an issue.

My query was how feasible it is to run both standard PEO devices and 12v devices (1-2w) all over POE.

I thought the alternative would be to run separate 12v cables with USB connectors at the end into each room as well as Rj45

Is anyone else doing this in their home?

90
 
 

I'm finding it really difficult to tell whether a particular air conditioner is supported by Home Assistant, since all the ones I've seen in stores don't seem compatible. I mean, I'm probably wrong in that, I'm sure that with enough work anything will work, but I didn't see any integrations with Midea air conditioners, for example.

All my windows in my house slide sideways, so most of the in-wall air-conditioners won't work, and I rent the place, so I can't make large alterations. This pretty much limits me to portable ACs, which don't tend to have much smart home functionality.

Any help would be appreciated, as I'm pretty new to using Home Assistant in general, and I'm still trying to figure out how things work. I only bought my Home Assistant Yellow last year, and I don't yet have any smart appliances to connect it to.

91
32
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/homeassistant
 
 

UPDATE: well, I've belatedly realised I've left out a key piece of information. I need to buy a pair of locks - one for a regular wooden entrance door, and one for a security screen door in front of it.

Turns out hardly anyone (reputable) makes a decent smart lock for screen doors, except the Yale Unity range, but those aren't Z-Wave compatible.

Guess we're sticking with keys for a while longer...


Hey folks - the time's come for me to consider diving into smart locks.

I've been running HA for many years now, and have resisted the urge so far, but a few recent incidents have me thinking smart locks are the next upgrade I need to think of.

My requirements, equal in priority, are:

  • Must be usable via HA (automating my locks is the primary reason I'm considering this move)
  • Key lock backup (I'm petrified of flat batteries stopping me from entering)
  • Ability for HA to report on battery level (see above)
  • Local network only (prefer IP, but will consider Z-Wave - anything that calls home in the cloud is a hard no)
  • Code and/or fingerprint entry (unique code per person, at least 6 codes)

I say "consider Z-Wave" as I don't currently utilise any Z-Wave devices. The main reason for this is that I run HA (Home Assistant) on a (heh!) HA (high availability) Proxmox setup, and I hadn't sat down to think through how that would work with a Z-Wave USB hub across two nodes.

But, after some cursory research, it seems there's enough options out there that will let me control Z-Wave remotely via MQTT, so I can use one of my RasPis to host a Z-Wave hub just fine.

There's been plenty of positive comments on other posts regarding Schlage's locks, so I'll probably start my research there. But I'm very keen to hear of anyone's experiences with any smart lock brands - good or bad - to help guide my research.

While I'm at it, I'm open to recommendations on a Z-Wave hub. I have zero Z-Wave experience, but I gather it's reasonably straightforward to use. Simple enough requirements:

  • Usable on a RasPi running Rasbian
  • Decent enough range - has to reach the smart locks through a couple of internal walls, from the garage to the front door (about 6m/20ft)

Cheers in advance for any advice offered!

92
 
 

Windows and macOS have similar clients (Hass.Agent for Windows and Home Assistant for macOS).

I've found these kinds of clients useful because I can remotely wake-up or sleep computers, track how long they are turned on for, and automatically pause my lights and music when my webcam turns on.

93
 
 

I still get updates for things I have installed, but I haven't seen any new integrations or themes added in some time.

94
 
 

I hope I can explain this correctly; I am only somewhat familiar with docker.

I have a script that I run after Home Assistant OS updates; it updates the alpine operating system with some extra packages and creates three symlinks in /usr/local/bin for three scripts in /config/shell_scripts. Up until now, it's run perfectly when I run it manually over ssh.

Then I decided to create an automation to run it automatically after an HAOS update, and while the package updates work, the script says those symlinks exist already so it doesn't create them; they do not exist, HAOS deletes them after an update (and Core updates might too, but I usually update them together so never checked).

After a lot of frustration, I logged into Home Assistant with root on the 22222 port and found it's checking and finding the previously created symlinks from earlier HAOS updates inside /mnt/data/docker/overlay2/../usr/local/bin and /var/lib/docker/overlay2/../usr/local/bin. At least, that's my guess; googling docker and overlays has been a trip.

So my question: how do I structure the script so that the symlink check is within the docker container's version of /usr/local/bin so it will create the symlink?

I get the answer is probably super obvious, but I am not seeing it. The only other thing I can think to do is export /homeassistant/shell_scripts to PATH but while that works over ssh, I haven't tested that running as a shell script service and I really want to automate this process.

Screenshot of full script attached; here's the short version I'm using for testing. This has been checked with and without variables for paths.

#!/bin/bash

# variables
bin_home="/usr/local/bin"
shell_home="/homeassistant/shell_scripts"

# add packages
pkgs="coreutils figlet iproute2 iw jq procps-ng sed util-linux wireless-tools"
apk add $pkgs
echo "Packages Updated"

ln -s "$shell_home/lib_comp" "$bin_home/lib_comp"
ln -s "$shell_home/ipa_status" "$bin_home/ipa_status"
ln -s "$shell_home/ssh_text" "$bin_home/ssh_text"

echo "Done"
95
 
 

I'd like to use my smartphone WiFi SSID to determine if I'm home or not. When I'm home the alarm (kinda, just notifications from some sensors) needs to be shut off and a light needs to be turned on. Since the sensors update can be forced at maximum 1 minute (but I'd prefer to leave it at 15 minutes to preserve battery) and since 1 minute is too much, is there a way to send an intent to HA companion app to send a sensors update? I would use Tasker to send the intent.

96
14
Discover devices in VLAN (self.homeassistant)
submitted 5 months ago by peregus to c/homeassistant
 
 

I've a VLAN dedicated to IoT devices and, of course, HA can't discover them. Is it possible have them discovered by HA via MQTT? Create them manually it's a pita because they're a lot and I would have to create sensors/switches + battery level + RSSI Thanks!

97
43
submitted 5 months ago by rouxdoo to c/homeassistant
 
 

I love playing with my HA and associated devices. I suspect that most of you reading this get a bit of a jolt every time you add and incorporate a new sensor, camera, integration and get to play with it.

I have all the door/window sensors and locks/covers, every angle of my exterior covered with cameras, alarm, network devices, appliances, sprinklers, household devices covered.

Any ideas for a new thing I can play with?

98
37
submitted 5 months ago* (last edited 5 months ago) by Heavybell to c/homeassistant
 
 

So I'd like to have a video doorbell set up so that it communicates locally with my HA, raising an event when the button is pressed, allowing me to watch its audio and video stream live, and speak back to whoever is at the door. Ideally either from the browser or my phone, when I'm at home or not.

I don't care about motion sensing or AI or even NVR functions really. What software do I need? Should I bother going through the process of setting up Frigate or is there something simpler that would do the job?

99
 
 

Sorry if this is a newb question; I'm coming in cold. I've had HAOS running on an RPi4 for months, but I haven't invested in any smart devices to connect yet.

I'd like to start with some (ideally open source) smart gauges just to check the temp out front and back. Any recommendations?

Thanks!

100
25
submitted 6 months ago* (last edited 6 months ago) by corroded to c/homeassistant
 
 

I have been using the BlueIris NVR integration (from HACS) for quite some time, and it works great for triggering BI from HA. I've trying to do the opposite now: Fire off automations in HA whenever BI detects motion on one of my cameras.

I've never used MQTT before, so I'm learning as I go, but I think I have most of my setup configured properly. I've installed Mosquitto and the MQTT integration in HA. I've configured BI to connect to HA, and running "Test" in the "Edit MQTT Server" menu in BI shows a good connection and no errors. I've set my cameras to post an MQTT event when the alert is triggered (and I've verified that the alerts are in fact being triggered).

Nothing happens in HA, though. The "Motion" sensor for my camera in HA stays at "Clear." In fact, the history shows no change at all, ever.

I have the events in BI set up as follows: On Alert: MQTT Topic - BlueIris/&CAM/Status and Payload - { "type": "&TYPE", "trigger": "ON" } On Reset: Exactly the same, but change ON to OFF.

I've tried change the MQTT autodiscovery header in HA from "homeassistant" to "BlueIris," and it made no difference. The Mosquitto logs show a login from HA, so I feel like I'm close, but I'm not sure where else to look.

Edit: I installed MQTT explorer, and I've verified that the messages are making it to Mosquitto, and they appear to be correctly formatted.

UPDATE: I set the MQTT integration to listen to the MQTT messages coming from BI, and sure enough, they were coming through just fine. For some reason, the BI integration just wasn't seeing them. Digging through the system logs, I saw some errors "creating a binary sensor" coming from the BI integration. The only thing I can think is that because I didn't have MQTT set up when I first installed the BI integration, something went wrong with the config (although I had already rebooted the system several times). I re-downloaded the BI integration and re-installed it, and now everything works perfectly.

view more: ‹ prev next ›