Hello,
A quick question about testing: I don’t want to test Gladys on my computer for space reasons and to get as close as possible, so directly on the RPI3.
I’m just starting to test the Arduino module. I’ve (roughly) understood the clone and install steps.
My question 1: Can we put 2 Gladys on the Raspberry SD card, knowing that I have all my setups on my personal GLADYS and I want to work in parallel on the fork with the Arduino module.
My question 2: It was really practical to import and test a module in your personal environment, you just had to import a folder. Isn’t there a way to not have several complete versions of gladys by piece developed? It’s a lot of versions in the end I’m not even sure I have the official one (gladys-4-playground?).
I might still need a bit of advice to understand how everything works.
Last question while I’m at it: if someone wants Gladys modules or really very specific programs for themselves (for example, I would like to run programs like a music player, install everything we do on the RPI these days, Plex, smart mirror, etc.) how do we integrate them?
In my opinion, the easiest way to run multiple Gladys instances on your Pi is to use Docker images in a docker-compose file. You just need to declare different folders for the mounted volume and change the shared port. Here is an example:
I re-flash Gladys with the latest image on my SD card. (I have the tasmota module inside I think I have the right version but since I don’t know what to delete I have to start from there)
I install docker
I install the Gladys version I want to test with docker (the one with the 433 module)
then I imagine I can’t modify anything, just test.
I’d be happy to provide feedback on https://community.gladysassistant.com/t/test-image-raspbian-beta but it’s too vague it will take me a week just to install the mess. I’ll go take my developer’s master and I’ll be back!
It seems to work! However, on port 8040, I then get the RFLINK version that was previously installed.
I created a docker-compose file, but the folders in SSH do not seem to allow writing.