#AMD
1 messages · Page 1 of 1 (latest)
If you want add-ons then you'll need to run HAOS in a VM
If you're comfortable with Docker you don't need add-ons
Thanks for the feedback:
"Add ons" determine whether to go native, docker or VM?
Does Docker somehow have all add-ons?
https://www.home-assistant.io/addons/
No, Docker has no add-ons, add-ons only exist with HAOS
Add-ons are really just modified Docker images, tweaked for HAOS
So, if you already know and love Docker, it doesn't bring you anything you can't do for yourself
When I installed HA via Ubuntu Snap, is this Home Assistant Supervised installation method? If not, I think that add-ons are not possible?
@loud locust Is the smart play, at this point, to install a VM or docker on the Ubuntu box so that add-ons are possible?
Thank you for commenting. I arrived at a similar conclusion. In your experience, did you find add-ons to be a "must have"?
Worthwhile?
I am sensing this would be silly not to have.
Reviewing your blog: https://blog.ceard.tech/2021/12/how-should-i-install-home-assistant
Never used add-ons...
I will follow the guidance of your blog. It would seem that "bring your own OS" is making it harder than it needs to be?
How did you decide whether to use VM or Docker?
Docker all the way for me
Interesting! What adavantage was there with Docker over VM? I appreciate your guidance / experience
Well, I have "some" Linux expertise ... I've been administrating *nix boxes for most of my career
HA actually got me into Docker, which turned out to be handy work skills too
A VM is great for isolation, but you have to dedicate a fixed slice of the computer to it
Docker is simple, convenient, and avoids having to pre-parcel your system
If you want the easy button then add-ons in a VM are convenient, but if you want flexibility then Docker is the One True Way (one of them, anyway 😛 )
I have used *Nix and VMs since 2005. Never used Docker. You have convinced me to add Docker to my skillset. I would prefer long term flexibility over short term easy setup
Docker is awesome
Using it via compose files is easy - YAML that defines your containers
Learning to build your own containers is also not hard if you've got any *nix experience
Almost my entire home stack runs in Docker now
I am not a UNIX ninja, however, I can usually follow any discussion and troubleshoot a system.
Any thoughts / URLs / resources / procedures you would recommend for getting started with HA-Docker?
Lesson-learned (stuff to avoid) is also appreciated.
The official docs are a good start
- Install Docker + Compose following the official Docker docs
- Install HA
- Set up backups
Perfect. Thank you for taking the time to chat with me. I am sure you have plenty to do at work.
I would suggest you pick a folder (eg /docker or /data/) and put everything under there
I have
/data/docker - compose and environment files
/data/homeassistant - HA config folder
/data/rclone - rclone config folder
etc
then I back up /data and get everything
Copy. Will do that: very sensible. One and done!
@loud locust Pleasantly surprised at ease of HA "Platform Setup" (Docker). https://www.home-assistant.io/installation/generic-x86-64
I installed it to ~/data/docker:
sudo docker run -d
--name homeassistant
--privileged
--restart=unless-stopped
-e TZ=America/New_York
-v /home/user/data/docker/config
--network=host
ghcr.io/home-assistant/home-assistant:stable
I found it necessary to use sudo or else an error was returned:
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=homeassistant": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
I do not understand the first two lines. FTW = for the win?
Yes
A compose file is a piece of YAML describing the container config
It is trivial to back up
It is trivial to restore
It is trivial to change
If you want to modify that command line, you have to ensure you don't mistype anything since it entirely replaces the previous command
Also, updates to containers are a lot easier with a compose file
pull & up vs pull, stop, delete, start
Thanks for the insight: hopefully the learning curve is not steep. Docker tech has really proliferated and I expect to experience first hand now why it is so popular that it has surpassed VMs.
I suspect that the configuration is partitioned away from the execution / engine.
@loud locust I appreciate your advice: there is no substitute for experience. I thought it would please you to know that the Container / Docker was successful: the initial thermostat integrations were successful. The 3rd screenshot shows the results of the Docker install: https://community.home-assistant.io/t/new-ha-install-initially-to-manage-radiothermostat/519910
The link indicates I would like to add charting and scheduling functionality for the thermostat fleet: my instinct tells me that I am not the first and that this has been done for many a thermostat in HA. Possibly in with the Radiothermostat CTXX series. The question in my mind is: How do I go about using resources (Google / Discord / Forum / ??? other) to find existing solutions?
Search?
I Googled for 30 minutes last night: no solution found. I think that I am not using the right keywords. Is the charting / scheduling functionality a "automation" or some other keyword?
Scheduling is also an integration
(Obviously) it would be best if I knew what I was doing search-wise to find solutions without bugging others. So I appreciate your input.
Automations are how you do things
Integrations connect you to devices, services, or provide functionality
So, you'll use an automation to make something happen, and that will use information from integrations to decide when to do that something, and the services for those integrations to do the thing
Should I think of Integrations as the pipes / connections that allow the HA platform to retrieve data / send commands?
If that works for you, sure
So maybe some type of scheduling (an Automation?) for each thermostat is the solution?
Well, schedule with the scheduler
The automation is how you do things when a schedule starts/stops/is currently in place
Good. Your input provides me direction so that I can read / learn how to make a schedule object and then enact it upon the thermostat. My gut tells me somebody has already done this for the Radiothermostat models. I chose this thermostat because it has one of the few thermostats where you can send commands directly to the device (no cloud intermidiary).
Well, ignore the hardware for a minute
The whole point of HA is that it abstracts all that away
The only thing that matters is that it's a thermostat you want to interact with
Doesn't matter who makes it, whether it's WiFi, Zigbee, cloud based, or connected by wet string
I like that! If the details of a thermostat are abstracted away, then is it reasonable to hypothesize someone has already created an integration that charts and schedules thermostat temperatures for a "canonical" smart thermostat? I pose the question because if it is reasonable, then maybe it makes sense to search for this unicorn?
Well, they probably didn't use those terms
Agreed. I need to learn the local lingo
There are likely many posts about heating/cooling schedules
Well, ditch the lingo, keep to the basics
If you worry about the fine details you're missing the world
Copy. I think the light-bulb is going off now. Now that HA has integrated the basic thermostat functionality, I need to think of the charting / scheduling functions as a separate "block" in a block diagram. I used the term charting to indicate graphing the temperature (maybe there is a better term). I did run across the "card" object and for assimilation into the mind.
https://community.home-assistant.io/t/thermostat-card-and-history-history-graph-card/121833
There's many cards for showing things, but HA's automations don't use those cards, they're 100% for you
See https://www.home-assistant.io/dashboards/ and the #frontend-archived channel for some of the things that exist
Are you indicating that the automations are for my charting / scheduling? or the cards?
Given that I already have the Radiothermostat integration, there is no need for the thermostat card? https://community.home-assistant.io/t/thermostat-card-and-history-history-graph-card/121833
Charting is cards
Cards are not automations, or related to automations
https://www.home-assistant.io/dashboards/thermostat/ is useful if you want manual control in the UI, but is irrelevant to automating things on a schedule
I should have requested a list of HA Classes. I found a good list labele as "concepts": https://www.home-assistant.io/getting-started/concepts-terminology/