Install Gladys on the same machine as Home Assistant

Hello,

I’m looking for a simple program to manage my initial home automation setup.

For now, I have about thirty devices on Zigbee2mqtt, and a few devices on Tuya.

I installed Gladys Assistant under Docker and, from what I’ve seen, I like it. But I’m not ready to remove Home Assistant.

I installed HAOS on a mini PC and I’m trying to find out if it’s possible to install Gladys on the same PC

1 Like

Hello @Papashultz!! And welcome!!

I hope you’ll find here everything you like and, above all, that makes your life easier. Gladys is betting on that ^^

Apparently, to install Glafys from an HAOS, we’ll need to go through an add-on in HAOS. Which will probably have to be developed and validated by HAOS.

I think @pierre-gilles will quickly look into this. I’ll take a look this evening as well because he’s on vacation this week :wink:

Edit: Checked with ChatGPT, here’s its answer which seems consistent with the comments on a YouTube video:
image

Hi @Papashultz and welcome to Gladys!

We should be able to help you but you’ll need to tell us more about your current setup :wink:
Basically, what protocols and integrations are you using and which ones are essential?

EDIT : of course, if you scatter them everywhere and I don’t read the posts fast enough, I’m screwed

From what I’ve seen about Gladys, I don’t have much that’s out of the ordinary, or that couldn’t be ported to Gladys.

Some zigbee2mqtt, Tuya and 3 or 4 automations to turn on lights, the air conditioning or radiators, and another to open the front gate (which I can’t get to work).

I then plan to add security: fire alarm, intrusion detection, cameras.

All behind a reverse proxy.

So I’d like to have both systems on the same machine before switching definitively to one or the other, or to have both side by side in a Docker, for example.

By the way, is there a Gladys app?

Gladys is a PWA (Progressive Web App — I don’t remember what that stands for), so there’s no need for a dedicated app; you access it with your phone and it takes the form of a web app.

It means Progressive Web App. Basically, it’s like a website enhanced with features that bring it closer to a native application.

I just watched the online tutorials on YouTube. Gladys does indeed seem easier to install and manage than Home Assistant. The automatic installation of zigbee2mqtt also makes it less demanding in terms of knowledge than on Home Assistant.

So I’m going to:

  • reformat my HAOS on my mini PC
  • install Debian 13 without a desktop environment (because my OMV is on Debian).
  • install Docker
  • install a Portainer BE (because I can have 3, and I still have 2 valid licenses).
  • install Gladys (which will be called GlaDOS :rofl: )
  • install zigbee2mqtt
  • install Adguard-home
  • reinstall all the Zigbee devices :scream:
  • reinstall Tuya
  • maybe install Home Assistant in Docker (I presume it’ll be a pain to install HACS)

So, a bit of work ahead then.

3 Likes

That’s quite a project, indeed! Let us know how it turns out!

Good luck to you, don’t hesitate if you need help.

For info, HACS installs very well with Docker, I have it on my test instance where I have Home Assistant.

The initial installations are done and the NUC has been returned to its place in its IT cabinet.

This afternoon’s installation didn’t go without hitches. If you stray off the beaten path, you always end up getting branches in the face. Here’s a short summary of my day:

Downloading Debian 13.3.0 image
Site: Index of /debian-cd/current/amd64/iso-dvd

Downloading BalenaEtcher
Site: https://balenaetcher.fr.softonic.com/telecharger
Installing BalenaEtcher

Flashing the 8GB USB stick with BalenaEtcher.

Taking the NUC out of its cabinet
Installing Debian 13 on an Intel NUC7i3DNK from 2018.

During installation, answer my wife’s question correctly (important for the WAF (Women Acceptance Factory)): « qu’est-ce que tu fait ? »

No desktop environment
Don’t forget to enable SSH
End of installation, note the NUC’s IP

Put it back in its cabinet in the garage.

Install Putty
Switching to Putty (cheating here because the NUC has a fixed IP in the router)

Follow the tutorial: Comment installer Docker pas à pas sur Debian 13 ?
Realize that no command works.
Start all over again

Reinstall Debian 13
Realize it still doesn’t work
Tell yourself that maybe something is missing?
Find a tutorial to install Debian tools: Configuration de base d'un serveur Debian 13 - Solutions informatiques

When that works, go back to the IT-connect tutorial
Install Docker

Install Portainer BE following: Install Portainer BE with Docker on Linux | Portainer Documentation

Install Gladys assistant and watchtower using the docker-compose from: Installer Gladys Assistant avec Docker Compose | Gladys Assistant
Modify port 80

First start of Gladys-assistant.
Grant sudo to the user glados: Comment ajouter un nouvel utilisateur « sudo » sous Linux ? | IT-Connect

Shut down the machine and put it back in the garage.
Restart
Set up an SSH key on Windows (Allows access with VS Code)

Create a macvlan network (MacConfig MyMacVlan)

Create an Adguard-home stack in Portainer.
Install, configure adguard-home
Update the router’s DNS

Honestly, if I hadn’t wanted to keep Debian, I would have switched to Ubuntu Server without hesitation. But what’s done is done.

A bit of exercise tonight won’t be too much before getting back at it tomorrow.

3 Likes

Out of curiosity, why did you want to keep Debian?

because Debian is life :rofl:

3 Likes

Because I’m on Debian with OMV and I can’t be bothered to change environments.

During the installation I noticed that OMV had done a lot of work to make users’ lives easier.

1 Like

I’ve observed Proxmox

I’m now considering taking everything down. The three stacks will need to be removed to switch to the Portainer agent (one Portainer to manage them all).

For my current setup:

  • Synology NAS with Container Manager and Portainer CE installed on it
  • Proxmox cluster with 3 hosts for high availability of my VMs and LXC containers
  • Portainer Agent installed on each LXC I create to allow me to manage all containers via Portainer CE with great ease

As crazy as I may be, it’ll always be just me. :joy:

1 Like