• Notice regarding image hosts and attachments. See here.

Home Assistant beginners

I've got a pir sensor and I think I've got an automation working. When person detected lights turns on. When no detection, hue bulb turns off. But what's happening here is the light slowly fades then turns off. If it detects movement in that fade, goes to full brightness. I can't figure how to stop the fade.
 
Hue integration ? There is a transition time value I've used intentionally before, maybe it's not zero by default. How slow is 'slowly' ?
I think that did the trick, thanks. But the light does turn on and off for a split second. Is there a way to get it so the automation runs between sunset and sunrise?
 
Short answer, yes :p

And because it's HAOS there are many ways. You can manually refer to the sun position, the HAOS docs. I'm doing all sorts with my lounge Hue lights and am in the middle of using Adaptive lighting integration, things like:
  • If I change something using the Hue app like the brightness, pause HAOS automations for them until all lights go off and back on
  • If there's enough light during the day, don't turn on any lights just because my presence was detected
  • If it's during the day/sun up, don't turn on side (mood) lamps
  • Every two minutes, smoothly adjust the colour balance to match the time of day if a light is on
 
Actually fairly recently i have been having issues where all my ZHA entities go unreachable.
I have this morning rolled back the SLZB to the previous OS to see if that helps, 3.2.4 i think. I dont know why but it seems the SLZB goes down as i cant access the webpage until i cycle the POE power then everything comes back online.

Read a couple of things saying POE power is not ideal so i may also try USB power next, but this is a fairly recent issue, say the last month or two.

Ah, now that makes sense. I did have some issues with my SLZB when it was on the same VLAN as my Sonos kit (in error) but it's been rock solid since I moved it to the correct VLAN.
 
How easy is Proxmox to use? Guy in work said it would suite me and just run Plex and Home Assistant in that. Plex seems easy but Home Assistant looks more involved.
 
Last edited:
It’s not easy and there’s a noticeable learning curve. I haven’t used Proxmox for a few months now as I found it unnecessary. The big issue for me was sorting out additional storage and assigning it to containers and VMs - that was something I never found the time to work out.
Proxmox itself was very stable and reliable. There’s a website out there - https://community-scripts.org/ - which is extremely useful both for getting started and installing things which may help. There’s a whole section for home automation including HA there
 
To be fair Home assistant is pretty much set and forget once you get it configured. The backups are easy to configure and very simple to restore from. Point Gemini to relevant resource on Git to translate it to plain English and definitely do able by most people who have a passing interest in computers.
 
The scope and complexity of what it does vs. something like plex can't be overstated either. Compared to how things looked early days or using other solutions, it has gotten a lot better too! I still completely suck and making a halfway decent dashboard though :cry:
 
Adding proxmox into the mix is something a bit more though. You go from slapping a pre-imaged SD card into a raspberry pi (or equiv) and waiting for something to appear on the network with a GUI to setting up a linux virtualisation platform (which does have an easy enough GUI to walk you through a lot) and provisioning VMs or linux containers and hooking them up to storage, resources, network adapters etc.

/edit the community helpers make it nice and simple though assuming you're happy running through a next > next > complete type process (if the defaults work for you)
 
Last edited:
To be fair Home assistant is pretty much set and forget once you get it configured. The backups are easy to configure and very simple to restore from. Point Gemini to relevant resource on Git to translate it to plain English and definitely do able by most people who have a passing interest in computers.
I agree, but run it alongside other stuff isn't as easy. Half tempted to just buy another mini PC and desperate the two things.
 
Adding proxmox into the mix is something a bit more though. You go from slapping a pre-imaged SD card into a raspberry pi (or equiv) and waiting for something to appear on the network with a GUI to setting up a linux virtualisation platform (which does have an easy enough GUI to walk you through a lot) and provisioning VMs or linux containers and hooking them up to storage, resources, network adapters etc.

/edit the community helpers make it nice and simple though assuming you're happy running through a next > next > complete type process (if the defaults work for you)
I have it working now on Windows 11 inside VMware Workstation. But windows continues to annoy me.
Didn't like the raspberry pi route had many issues.
 
I have it working now on Windows 11 inside VMware Workstation. But windows continues to annoy me.
Didn't like the raspberry pi route had many issues.
Yeah, I wouldn't recommend a raspberry pi for anything beyond trialing it out (unless you go with a ssd hooked up as the logging kills the cards quick in my experience). If you've already got a mini pc with a half decent CPU and enough RAM, I would give proxmox a go and use the community scripts. They give you all the stuff you need and the defaults OoTB for proxmox will probably be fine for networking, storage, etc. I think home assistant gets set up as a full VM and plex is an LXC but if you just paste in the command, it'll talk you through the options (usual thing of being careful what you paste into a terminal, especially with just running scripts from github but community scripts has been fairly well curated).

Only thing that might be complicated is probably plex if you need to hook it up with storage via nfs or something as that can have headaches in lower permission containers. So long as you have free reign to have a bit of an experiment on that mini PC without losing anything, should be up and running fairly quickly I'd say.
 
Yeah, I wouldn't recommend a raspberry pi for anything beyond trialing it out (unless you go with a ssd hooked up as the logging kills the cards quick in my experience). If you've already got a mini pc with a half decent CPU and enough RAM, I would give proxmox a go and use the community scripts. They give you all the stuff you need and the defaults OoTB for proxmox will probably be fine for networking, storage, etc. I think home assistant gets set up as a full VM and plex is an LXC but if you just paste in the command, it'll talk you through the options (usual thing of being careful what you paste into a terminal, especially with just running scripts from github but community scripts has been fairly well curated).

Only thing that might be complicated is probably plex if you need to hook it up with storage via nfs or something as that can have headaches in lower permission containers. So long as you have free reign to have a bit of an experiment on that mini PC without losing anything, should be up and running fairly quickly I'd say.
Yeah I struggled with Plex permissions last time, media is all on a NAS.

It's the fear of starting, until I get it running again, nothing will work and the family will go nuts without Plex.
 
Last edited:
Yeah I struggled with Plex permissions last time, media is all on a NAS.
Yeah, that can make things a bit complicated. In proxmox things have gotten a bit easier in 9.x though I think, you can do a lot more through the GUI rather than the conf files. I think that a lot of the community scripts now have prompts for whether you want NFS support etc. You'll still need to manually edit the fstab in the container to add the mount point but shouldn't have the same headaches about getting it actually working (assuming nfs-common gets installed)
 
I agree, but run it alongside other stuff isn't as easy. Half tempted to just buy another mini PC and desperate the two things.

I have it working now on Windows 11 inside VMware Workstation. But windows continues to annoy me.
Didn't like the raspberry pi route had many issues.

I have it running on Unraid - relatively simple once you get the hang of it. For me the key was to direct Gemini to official documentation for guidance on how to install it and ignore Youtube channels as they can and did (for me) send you down the wrong paths!
 
I think Debian or Ubuntu with VMware is probably my easiest choice. I think with ChatGPT helping get the permission sorted Plex will be easy.
Home Assistant on VMware I've done before so that should be easy as well.
Just need to find the time and pluck up the courage to do it.
 
The problem with relying on AI or some 3rd part scripts to get something like Proxmox up and running is that if something goes wrong, you are setting yourself up for a very frustrating time because you don't really know what you are doing.

The alternative is to pick up Home Assistant Green and it's all pre-built into a handy box.
 
Hmmmm maybe I should slap my Proxmox HAOS script on github would be useful to those trying to easily run HA on proxmox

What is does is creates a VM template with the HAOS version of your choice. You can then clone it to run as many instances of HA you require

Current configurables

Bash:
#!/bin/bash

# when booted pulls the latest core
# to downgrade use the console and execute
# ha core update --version 2026.1.3

v="16.3" # HAOS version
#interface="vmbr0"
interface="net10"
disk_size="52G" # Resizes default 32G image

# snip
 
Last edited:
Back
Top Bottom