Debian is the official supported Linux for HA + Supervised version. Thats the only reasons.
People seem attracted to node red because you can click and drag things, but before long you need to use scripts and fiction nodes anyway and it becomes a lot harder, complex and messy than using automations natively in ha.
I even advise to leave out NR. This way you’ll get a deeper understanding of what is really going on when writing the code for automations by yourself. This forum with its fine user base but also the net is full of examples you can use as skeletons for your own scripts.
Any idea on the Debian version I need to download and use to run on my Raspberry ?
I’ll follow your advise (leaving NR).
But, first, I need Richard’s help with the right Debian version to install
The version working well for the Pi4:
Build Date: 2021.02.10
Release: 10 (Buster)
Tested Hardware: Pi4 (4GB)
you’ll find here.
Just note to run
sudo apt-mark hold linux-image-arm64
immediately after the first Login and before running
apt update && apt upgrade -y as I described here
and you should be good.
Also I advise you to strictly follow this excellent guide.
After the base installation of HA as per instructions install Samba, Portainer and MQTT by following @kanga_who guide again at https://github.com/Kanga-Who/home-assistant/blob/9f437fb0043daaa6ed450ed0eec7da479cb1ff93/Install Samba%2C Portainer and MQTT.md
I have used above guides a couple of times and they are working like a charm.
You can try my scripts https://github.com/tirtadji-com/rpi_debian_ha_supervised
Make sure you follow my guide on the README.md
@DominiqueGEORGES I really don’t get it why you make this so complicated,
I about the same age, also working with IT and VMware and I’m not a linux guy myself either, but I started up HA from an image abt 1.5 years ago and it was a ‘set it and forget it’ experience for me, which took less then an hour.
Initially i used a raspberrypi, but needed it for something else, so i moved it to HyperV. I installed a new image, copied the snapshot and everything was as it used to be within 30 minutes, again a ’set it and forget it’ experience.
And I also use MQTT, NodeRed amd Zigbee.
Most time i use on ‘configuration’, as that can become complex, currently still trying to write my own custom integration, for which i need to adept HA’s python structure, but that is because i want to do it, and really hasn’t anything to do with HA itself
I don’t work in it. Never used Linux, and also installed an up and running in no time at all. No real issues in two years. Text
I totally get that, I have it installed myself. So far it has just been to play around a bit as I haven’t really needed it since pretty much anything can be done with normal HA automations, especially since the
choose: function came out.
I just don’t get why Dom is so determined to make things hard for himself on his first HA adventure… Given the length of this thread with his troubles one wonders why he doesn’t just jump into HassOS. A Raspberry Pi is not exactly a beast of a machine, so why try and jam Debian and whatever else on it as well… FFS, I’d just but a second one for all that nonsense, they are that cheap!
Anyway, I’ll let him go…
Best way to learn is teach others. Maybe you can make a walk through to help the next guy…
And FYI, theres pretty much a written guide or youtube for everyone of those. But it seems like your asking for something written specifically for you, your exact purpose, your exact use case that you need to make no modifications for. Sorry to tell ya but your not gonna find that.
thanks for your post.
Here some answers
- I installed Hassio (on its time) and felt into trouble with connection and update issues.
I had no means to connect to the OS and try to understand what was the root cause.
- I re-organized my LAN forcing MAC address linked to IP address (good / not good, no matter, it is how I set my Wifi) - but there had no impact on HA
- I have had many issues with upgrading HassOS, … and finally decided to test another way to install it.
Problem is that docker version does not offer same services (Supervisor not present) … and the nightmare began.
My “old Hassio-> HassOS” is still up and running, but installing different add-ons, modules is not as easy as it should.
OK, you can find doc, YouTube, … but again, on Internet you find everything, once you have the correct keywords, if not, you find always the same articles written by people positionned by their vues and not by thee quality of the content.
After this, I wanted to make my ZigBee devices to communicate with HA … (using Tuya), Murphy came in the game.
In parallel, to preserve my SD cards, I moved to a SSD … at least I tried.
I felt in many issues : faulty SSD - Dead On Arrival, bluddy stupid MAC address randomization with NetworkManager imposed preventing DHCP to do its job, …
This means 2 ways of working :
- Continue pure HAssOS, with docker modules and a second Raspberry like now for RFX 433, Z-Wave, …
- Debian with supervised version, using other soft on the same Raspberry
Last point, I want to create a small box for my brother, something easy to manage and simple to use.
Voilà, that’s mainly the reason of that post
Many thanks, till now, for all your help and advises, I will follow them, and work with two environment in parallel.
For what concerns the documentation, I think, a central repository would be appreciated.
https://www.home-assistant.io/ has a link at the top, “documentation”
Ok, I’ll bite… despite having said otherwise
Hence I said:
Don’t muck around with YouTube videos which in many cases are years old, before HassOS even existed in it’s current form (old HassIO days).
Just use ZHA. It’s a core HA Integration and works great. It doesn’t matter that the ZigBee devices might be Tuya branded, you can use ZHA.
Oh, you mean this?
I hate to sound nasty here but you are clearly struggling and you shouldn’t be given how easy HA is. Prior to starting with HA roughly 4 years ago I had next to ZERO Linux experience and I’ve since setup multiple HA instances-> Originally HassIO on a RPi3B, then migrated that to a low spec NUC, then Ubuntu/Docter/HassOS on a new NUC, then straight HassOS on that same NUC (since I found no need for running a Linux OS underneath).
With your claims of 40 years I.T. experience, one wonders why you are having such difficulties with a basic system. Please just take the advice of many and start with HassOS. Try again following the OFFICIAL docs (as I linked above) and go from there.
I’ll give another clue:
Yep 160 posts and no installation yet.
It’s frustrating when people are struggling because they just don’t take advice that is offered. I feel bad for them struggling, but at the same time…
Quite right. Most of those 160 posts were pretty good advice.
And all the struggles seem to have started with him trying to use wi-fi
Not true !
HassOS is running since 2 years on Raspberry 4.
I have had issues with stability reason of my move to SSD, then with DHCP, and making devices recognized, having to use another Rasp 4 for MQTT, RFX, …
I never used ethernet cabling with any of my home devices !
For HA, I want to make everything running in only one entity, fully equipped !
In my professional live, I trust only what I fully control, and reject all what runs “by accident” !
A problem has always a root cause, and that root cause must have a dedicated solution.
If not it is not trustable as it is not stable, it becomes an issue and I refuse to validate it on my infrastructure.
Same at home and with everything which is non-human.
In other words you are saying that software which is not written by yourself is not trustworthy?? Because in my professional live most software that i use is not in my control, and i need to rely on other developers.
However, since HA is open source and has a big community i trust it more then most other software…
The time that IT people are 100% in control has long gone, there is too much software and it has become too big and too complex. Therefor it requires a huge community, preferably open source to check and improve it