Hello,
Given the efforts to extend the community, I am considering creating a plugin for unraid. And I also really want to be able to run gladys directly from unraid.
However, I am encountering an error that seems strange to me since the command seems correct. Do you have any ideas?
The goal of these lines is to map the docker daemon, USB ports to Gladys, but here you are mapping folders, are you sure that’s what you want to do here? (I don’t know unraid)
I managed to run Gladys without any issues in my NAS under Unraid about a year ago.
So it is possible!
However, I stopped because my USB dongles took up space on the NAS and it wasn’t very practical as my NAS is in a corner of the house.
Well, actually, I don’t really understand each of these paths and their usefulness, so I kind of tinkered with it.
So after putting in the appropriate values, the instance runs, it’s great, I’ll test it for a few days, especially to see if it’s not a hassle with the USB dongles, we hope not, and I’ll ask after the release.
I stopped because my USB dongles were taking up space on the NAS
So I’ll tell you that I have a real computer running unraid, so I don’t really have that problem!
Is it possible to suggest a donation link, do you have one?
Well, I just have to create a GitHub repository, put an XML file in it, and send the link to someone who will add (the repository) as an application provider for the community. If we want to do something very clean, we can create a repository via the official Gladys Assistant repository and I will make a MR in it.
The last point is that a support page must be created in case of user issues during installation. The question is, is it better to create it on the Unraid forum or on this forum?
And a short description of the application will be missing, and probably a link to a presentation video in English. If you recommend a particular video, otherwise I can put a direct link to the homepage of the site, which is also a good option.
The last point is that the Docker network is of type host, which is not great on a NAS. Most people prefer to be able to put it in bridge or a specific network, but for now this is not supported. Is it complicated to do or not?
Actually, I already have this subscription and personally I would like to be able to support your work more. Is there a way to set up something else?
I admit that I would prefer to make one-off donations (for nothing other than the pleasure of being able to use Gladys for free) rather than having a subscription… I’ve always had a block with recurring payments that have a negative connotation in my subconscious
You have the TZ variable duplicated and I think it should be done differently for unraid (the timezone). We need to see if we can directly fetch the value from the OS (with the idea of internationalizing the plugin).
For this port number, will Unraid users know how to access Gladys?
This might be simpler and more sustainable in the long term
I can create a repo and give you the rights.
What is their Unraid apps system called? To know the name of the repo.
Maybe it’s simpler to put a link to this forum? On the Unraid forum side, it will be interesting to post once the app is released to do a bit of advertising for Gladys
What size is the description?
For the introductory video, I don’t have a video in English. The homepage of the site might be more suitable for now.
You can run Gladys without network=host, but some integrations that do network scans or listen to network broadcasts (Philips Hue, Xiaomi, etc.) will not work. You can test if it works in bridge mode.
That’s nice I had a PayPal donation link and crypto donations in the past, but they weren’t very popular.
If there is demand, I can bring these links back.
That’s perfect!
And if you had the means to buy a year of Gladys Plus as a one-time payment, would that make you less « afraid »? ^^
Otherwise, I can restore a donation system. What payment method would be best?
Exactly, thanks I will correct it.
I agree with @VonOx, would it be possible to automatically retrieve the host’s timezone? or to be able to change the parameter in gladys? (I found this)
Yes very easy they will just have to click here:
And then we can combine this with a proxy manager to have in the url bar something very clean like http://gladysassistant/login
Ok that’s fine with me, I suggest: unRAID-Gladys-templates
My github identifier is the same jgcb00
Description of Domoticz on the unRaid store:
Domoticz(https://www.domoticz.com) is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.
If that gives you some inspiration
Ok, better to leave host by default for users, personally I will not be able to test Philips Hue, Xiamoi etc…), I tried quickly but in bridge, I had not managed to get gladys to work, I will try my luck again.
Good idea, I think if it doesn’t cost you anything…
No idea Paypal is not bad right? Otherwise utip, tipee, patreon, buy me a cofee, I don’t know…
I created the repo, I put it in lowercase, I find it cleaner:
I created a « unraid » team in the Gladys organization, I added you @jgcb00 as well as @VonOx just in case (@VonOx is our system/Docker specialist :D), you all have write/read rights on the repo.
@jgcb00 Now that you are part of the Gladys Assistant organization, I advise you to secure your GitHub account well: strong password (ideally in a password manager) + 2FA.
Description for Gladys:
Gladys Assistant (https://gladysassistant.com) is a privacy-first, open-source home assistant. Gladys helps you centralize your connected devices, visualize data on your dashboards and build automations to make your daily life easier.
I created a « Buy Me a Coffee », it seems much better than PayPal and it allows you to make a nice page. There are plenty of different payment methods (including Apple Pay, Google Pay, etc.), it’s quite powerful:
I put it in the footer of the site, we’ll see how it goes it doesn’t cost me anything to try!
Don’t hesitate if you need more information for unRaid!
For their store, do you need to create an account? How does it work?
I’m back, I received my first Zigbee devices and I wanted to test them on Unraid to see if they worked correctly before publishing this to everyone and bingo, I have some beautiful bugs that are easily and not easily resolvable.
Here are my containers and the associated maps and indeed it doesn’t match.
gladys-z2m-mqtt cannot find its configuration file, same for zigbee2mqtt, in short the zigbee2mqtt module does not work directly.
For this to work, I see 2 possibilities:
Change the base path /mnt/user/appdata/Gladys to the default value recommended by the installation guide which is /var/lib/gladysassistant. Problem: this is not a common practice in Unraid, plugins should rather be on appdata so we risk having difficulties in validating the plugins, and the second obstacle for me is that I’m not sure if lib is on the USB key containing the NAS OS or on the server disks and if it’s the USB key it’s really not great. (I will do a test to check)
We add a variable at the start of the docker which indicates the host path containing the host path of /var/lib/gladysassistant and we correctly configure the mqtt dockers when we launch them.
Or docker allows us to retrieve this information, I don’t know enough about it and we then use this path (which would be even better)
That’s it, I’d like your feedback!
In any case, great for the rest, I saw for the repos, for the publication I will just have to pm someone on the Unraid forum
Yes, that’s a good idea. I had the same feedback from a friend who just installed Gladys on a Synology; he has the same issue.
Edit: I’m editing my message; what I propose doesn’t work. The SQLITE_FILE_PATH comes from inside the container. I think we don’t have a choice: either we extract the path from the volume, but we have to go through the Docker API on the current container (not necessarily simple), or we add an environment variable.
@VonOx I don’t understand, you perfectly found the solution, right?
In what I read, I see that you manage to retrieve the paths and the correct path is the one with container /var/lib/gladysassistant, right?
I didn’t understand why we needed a variable after that
Gladys creates containers and the configuration of these containers (persistent files)
But from the container, we don’t know what the mount point is on the host.
Until now, we only had Linux/Mac, so in the code it’s hardcoded as /var/lib/gladysassistant
Unraid is a Linux but a bit particular…
The solution would be to indicate to Gladys container at creation, in a variable, what is the mount point on the host and use it to create the containers.