Home Assistant beginners

Associate
Joined
20 Jul 2007
Posts
2,131
Location
A sunnier or damper area than Ron-ski....
Hi all,

Few threads have asked for this, so quick thread to help anyone getting to grips with home assistant.

No questions too stupid, no thoughts too daft!

Ask away here and I'll try and collate some FAQs

How do I get started
Loads of great youtube videos, but pretty simple instructions on the site and always the most recent.

What are addons, integrations, HACs etc?
  • Addons extend the application - eg add Samba, Zigbee connectors, turn your install into a VLC instance, add MariaDB etc
  • Integrations connect and ingest all your smart devices around the house - this is where the magic happens and you can get access to sensors, entities and controls for your Samsung Washing Machine, your Tesla, your Hue lights, Sonos speakers and literally thousands of other things.
    Have a look here: https://www.home-assistant.io/integrations/
  • HACS - there is also a very capable addon called HACS that allows even further integration - these are basically the non-official ones built by the community. Eventually the best of these become proper integrations.
What can I do with Home Assistant?
It's almost endless and much like saying 'what can you do with Windows', but sites like this give you a very small dip into the full capability:

Best integrations/addons:
This list will never end, but I'll update as people ask questions/make suggestions.
  • ESPHome - if you like a bit of electronics, you can save a fortune here and make your house super smart. Instead of paying £50 for some Hue motion sensor, Samsung Temperature sensor etc, just get an ESP chip (around £10 on Amazon) and follow the really simple guides here:
    All gets managed through Home Assistant and it'll keep everything up-to-date - very cool!
  • ZHA - lets you connect to all your zigbee devices. Suddenly those walled gardens of Hue, Ikea etc become accessible (note you also don't need to buy endless 'hubs' for each, save the money - this does it all!)


Anyway - ask away any questions and we can all help each other - I'll pull stuff together on this first thread also!
 
Last edited:
Mobile App
Again there are options but easiest is:

iOS

Android:

Remember, Home Assistant exposes itself as a web page on your network - so any laptop, tablet or phone will be able to access it just by using the URL. It's mobile responsive, so it'll work great.

I've got tablets around the house and embedded into the walls that basically are just showing the webpage and they work brilliant
 
Hardware
Home Assistant has pointed towards Raspberry Pi as it's standard install, but no reason at all it needs to run on this.

I've got it running on a Raspberry Pi 4 8gb and it runs beautifully well - never any lag or slow down. Also works on Raspberry Pi 3.

You can also run it in a docker or on any NAS, use a mini PC or whatever else you fancy.

Essentially you want to run it as a server, so you want something low power, high up time and a reasonable amount of grunt.
 
Can I suggest some topics to cover?

Coordinators and comms types, could be a post for each and a summary/comparison: ZigBee, WiFi, lightwave etc and 433MHz

Cloud integration/external access

Mobile app/cards setup

Hardware to run it on e.g. virtual machine, dedicated Raspberry Pi, NAS etc

Done! I'll copy/paste them into the main topic if enough detail/more generally useful.

Do you mind expanding on the coordinators/comms types point? (ie what sort of thing are you wanting to share/understand). Pretty broad topics and short answer is 'yes it does all of them'!
 
So worth going over the benefits and weaknesses e.g. ZigBee - no internet access needed, low power, doesn't busy up network IP map, but needs a coordinator somewhere. WiFi - already in your home, easy to access, 2 way communication, may be less secure. Same for 433MHz and lightwave stuff but I'm less familiar :)

FWIW my main goal is to not overcrowd 2.4GHz and to avoid having millions of devices on my WiFi network.
Ah right, that makes sense, so less about Home Assistant (as it'd work with all of them), but more about home automation choices more broadly.

I guess in short:

Wifi - universal and built in as you describe - if you're planning on loads of devices (eg room sensors), then whilst esp8266/esp32 chips are perfectly happy on wifi, can risk clogging up your wifi network. Probably only if you're talking 25+ devices I'd say.

Zigbee - great, really easy to install to home assistant. Various approaches, but I've used a usb Conbee II - just plugs into my raspberry pi and set up the addon. REally low power and high response speed. The Conbee will detect all your Ikea switches, Hue lights and anything else Zigbee based. You can also browse all the home assistant blueprints:

These are just really easy 'templates' for all those 3rd party devices - many of them let you do more than you can do with the original supplier's apps.

Lightwave devices - I have a few of these, these just integrate into HA through an integration - works great, far better than the actual manufacturer's app which has always been buggy as heck!
 
I've been using home assistant for about 5 years now. I set it up initially because I wanted the ability to automate my hue lights. It also allowed me to integrate my home-made boiler controller and have it scheduled in google calendar. My favourite automation is to dim the living room lights when we start playing something on the tv :)

When I started the automations were frustrating for a newbie, it was all done in yaml and home assistant had to be restarted after every change (back then restarting took a loooong time). Eventually I switched my automations to node-red (flow based) which can make complex automations really easy to work with. However, it's a learning curve all in itself, and now that the automations in home assistant are much more user friendly, I don't think there's much need to use node-red.

The home assistant community is very friendly and helpful, and the forums are very active
Spot on - very similar to myself. Agree it was a 'programmers' tool five years ago, it's now almost entirely a UI tool.

Agree regarding node-red too - this is great, but automations are so integrated now, very few use cases in general for node-red - it's all out of the box.

Great point re Scenes/Automations - really neat to be able to do this.
 
NFC Tags

These are great as they're super cheap and require zero batteries - you can buy stickers off any major site as well as printable cards, credit card tags, key fobs etc.

Basically you can then either get a reader and put it somewhere in your house or just use your mobiles.

This means you can tap your phone to a tag as you go into the kitchen to set to a mood lighting, play music play lists, adjust heating etc etc.

We have created a bunch of little cards for the kids to tap to dim their lights and play bed time stories or music in their rooms - allows us to control what they're listening to a bit more and makes it really simple for them.

Likewise I've got stickers in lots of places in the garden that I can tap my phone to turn the outside hose on and off (saves me walking back and forth).

Just another thought!
 
ELI5 though - I have a Hue Hub, several Hue bulbs/sensors. What do I do? Download something to a Raspberry Pi? Does this then connect to my Hue gear?
Spot on - follow instructions in first link and this sets up Home Assistant. Think of it like a router for your smart devices - it detects and connects to them all and then will walk you through everything, so it'll 'discover' your hue bulbs on first boot and ask if you want to integrate them.

Once done you can then start building dashboards with switches, colour controls, usage charts or whatever else you fancy. All done via the front end.

Does this make sense?

You can get ideas just by googling like this:

That search reminded me that we have automations to gradually fade up our bedroom lights in the morning for example!
 
Last edited:
So does it decomm my Hue Hub? Or does my Pi speak ZigBee already?
Whatever you want - by default it'll just seamlessly integrate with your hub, so that's the easiest route.

If you had a ZigBee stick, you could plug it into your pi and it'd be able to talk to your hue devices directly without a hub.

This isn't that useful for you at the moment, so I wouldn't bother - but in future, you could save yourself the money for these hubs and all those connections to your router.

Likewise, if Phillips starts playing silly b*ggers by discontinuing support, charging for hub services, forcing you to upgrade etc etc, then easy enough to detach yourself from their services.

Hue app and service is pretty good, but have a fair few of these devices from other companies that I've been glad to be able to detach from...!
 
Last edited:
Great timing for this thread for me. I just took delivery of a HP T530 slim client in order to install HA on. Currently have an old RPi3 running Domoticz and PiHole from an SD card which has needed resetting every few days, so am wanting to migrate everything over before the SD card gives up the ghost. Mainly use it for automating LightwaveRF bits, and have an RFXcom 433Mhz transceiver connected to it rather than using the Lightwave hub, which is gathering dust somewhere in our garage. How do others use HA with Lightwave bits, still using the Lightwave hub, or another 433MHz transceiver? Any tips on this aspect would be great.
Hi Pudding,

Yes, you can do either basically - you can plug in your RFXcom transceiver and learn all the lightwave commands or plugin your lightwave hub and Home Assistant will integrate it. Either way it removes the need for Lightwave's fairly awful software and works just the same.

I've got mine running with the hub - mainly out of laziness than anything else (already had it set up before I installed HA, so it just integrated automatically).

There's lot of good stuff in the HACS plugin: https://github.com/bigbadblunt/homeassistant-lightwave2

Eg you'll see you can teach to recognise double, triple, quadruple etc presses as distinct commands. This is handy for room lighting so I have one press turns the lights on normally, double press is usually dimmed lighting, triple press is bright (blue light) etc
 
I am also interested in Thread and Matter. I am trying to research a little on them as they seem to be the future, given they also 'unify' the walled gardens into one box, at least that seems to be the idea and can operate a bit like a WIFI Mesh network I think, but from what I can tell are not backward compatible with Zigbee or Zwave.

Obviously Thread is now available in Apple TV, and has been I believe for a while in HomePod and Google Home, but has anyone started to use it? and can offer advice re. benefits and drawbacks? I am investing in HA now and want to future proof myself where I can.

thanks

Yup - whole lot of stuff on this, decent summary here - HA supporting all of it as and when devices start to support (suspect it'll be some time):

I think I'd summarise as Matter/Thread will open up and remove a lot of the home automation noise, but a) companies like Apple, Google, Phillips will not want to give up their dominance so will be 'limited' in their approach and b) they will still not offer the extra features Home Assistant lets you get access to (as they'll want to charge you for it with separate devices and/or services!)

Summary from HA here:
So in short, I think it'll make HA integrations even easier and not much else...
 
Last edited:
I'd advise to keep the hue hub rather than integrate the lights individually. The reason being that it provides some redundancy if your HA goes down for whatever reason, you can at least still control the lights with the hue app.

@dLockers - edit: was meant to say hue app*
Absolutely - if you have it already, no reason not to. Although the reverse is also handy - couple of times the hue app was famously buggy and slow to respond, so I was able to just use HA to instantly control
 
Well I managed to get it up and running on a docker on my Synology and running directly from an external SSD. Not a big deal for a lot of you but this is stretching my knowledge.

That said it couldn't find any of my devices so had to manually add them and create external components folders for some of the stuff.

I'm now thinking "now what?". I've got my devices all in one place which is awesome, I can even see my CCTV in real time which is cool. I just need to work out what I want to do with it.

Haven't connected any solar or battery stuff yet.
Heh, welcome to the club!

Yes, I've got Synology too and I've generally found them a little tricky to do the simple stuff, eg CMS, image management, run docker instances. I suspect this is as much about my lack of skill than anything, but if you e got this far, you're over the hardest bit!

Few ideas:
- play with some graph cards to track when your CCTV is being triggered
- add your phones to it so you can track battery levels, make a button to make your phone ring when you've lost it
- add local traffic cams so you can see what traffic is actually like in the morning
- add weather integrations to show satellite clouds and forecast for your house, work etc
- add your Synology to it so you can track disk levels, CPU usage, network bandwidth etc
- obviously you can add your solar/battery stuff
- add hass.client app to your PCs so you can track their status, CPU usage, temps, send commands to them (eg hibernate, shut down at certain times) and use as media players around the house.
- integrate your tvs

Goodness the list is endless - obviously depends on what other devices you have in the house...
 
One glitch yesterday was my SD card for my Pi was clearly knackered. So a fiver later and a crazy fast delivery from Amazon, I am up and working in seconds (using Hue bridge);

Zdq8pWO.png

Just want to play with getting Hugo/Bright data integrated...
And you're away!

Good fun, eh??

Yes in due course you can migrate to an SSD if you want to ensure long lasting endurance - I used home assistant on an SD for about four years without any problems, but they do have a shelf life for intensive use apparently.

Have a poke at automations at some point - eg you could create a button that turns on your sonos, picks a certain playlist and puts your lighting to a certain mood.

Likewise you could have an automation that turns your bedroom lights to a nice blue light and gradually fades them up in the morning to wake you...!
 
Last edited:
How do you do that one? I’ve been running HA for a couple of years now but this particular automation has always seemed overly complex and beyond my understanding…
I did it manually many years ago (basically automation that starts at X o'clock and then every few seconds increases the lights until reaches full level)

However, these days there's a blueprint for everything:

Not tested, but should do the job!
 
This is badass.

rnyELiQ.png
Great work DLockers! I believe you're hooked, eh?

See if you can add a chart showing average WiFi speed over last 24hrs next

I've added weather satellite map also so I can see cloud patterns etc for my area

Are your lights colour/dimmable? You can add colour selectors/slider controls there too.
 
Back
Top Bottom