@OrangeMirror the current docker setup will only work for multiple instances
IF
you use the MM_CONFIG_FILE environment variable to run instances off different config files,
or
the MM_PORT env variable to override the port if using the same config.js
all the files will come from the ONE folder tree ~/magicmirror
so this means you would have to setup multiple entries in the compose.yaml to launch multiple instances (with the different config parms)
You have to change the container name too
this is because all the DATA used by the container is external (on docker host filesystem) and not IN the container
an example NOT using docker, but same idea here
https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples
@hango this way you’ll always have problems updating the respective modules. You would have to reset all of your local changes and fill them in after an update.
How do you deal with that?
@sdetweil
Ahhhh… right… I will defo be giving that a look.
As you say, saves me playing around trying things in CSS and reloading mirror each time before I see if CSS worked or not… very time consuming!
Thanks again Sam… appreciate all your help.
@johnnyboy said in Portrait Mode:
Not sure why, but my preferences show exactly the same options as Strech did… there is no Screen Configuration.
Yeah, that’s a puzzler. Let me do some research and see if I can’t figure out what’s going on. It’s possible that I forgot a step. How embarassing.
@stepan I got lucky, I guess. The circuit boards don’t take up so much room, and they’re in a case that’s way too big for them. If I move the boards a bit, I can get it down to the depth of the monitor itself… of course, that’s playing with stuff that’s at line voltage, and you might not not want to do that.
The mirror in the office has an electrical outlet behind it. It makes for a very clean installation. I put a hardware switch on the outside of the frame to turn the system on & off. I think this is how I’m going to go from now on. Having a switch on the mirror with an external plug is convenient and lets you swap out various lengths of power cord.
[image: 1591705639828-external-plug.png]
All of my mirrors have a power strip inside the frame. It gives me multiple outlets, surge protection and enough juice to power the Pi. Wire the power strip to the power socket, leave the power strip turned on, control the power via external switch.
I was thinking about this abbreviation as well. The reason why I choose for ‘voelt als’, is that it is a complete phrase. This makes it quicker to recognize for a small peek and first time readers.
@MikeBishop I have not seen any tests on the newer node and electron versions… there are breaking changes along the way, and new restrictions (like browser sandbox in this latest release), and cross site scripting restrictions , etc…
you ware welcome to try and give feedback… no guaranties.
I run my installer on all the devices I can get access to
I have pi0(armv6l), pi3, pi4, odroid(armv7l) , jetson nano (arm64), linux on intel, mac on intel
both physical and virtual machines
(my odroid is my production machine in the hall)
the others are development test. in my office.
the project has reduced focus to pi 3 or 4.
Sorry if this is a repeated question, but it is difficult to search for my query, mainly because “2 mirror” kind of clashes with “magic mirror 2” lol
Up until now, I’ve been running a mirror for a few months already without any major issue. I run the server as a Docker image on a rpi4 with one dummy browser attached to it. Now I want to have a second mirror upstairs with a totally different layout, so my question is: I’m I better off creating another Docker instance or can I pass on a configuration file of some sort through the url?
For example:
example.com:8099 => first mirror, picks up the default config
example.com:8099/?conf=upstairs => second mirror, combines default + custom ‘upstairs’ conf.
Is this possible? My preferred solution would be to use the same instance because I’ll be using the same API credentials for some stuff (and the same engine behind it), so I would like to have my configs on 1 place, otherwise I’ll just create another instance listening to another port.
Greetings.
@evroom Yeah, you’re right. It will boot from SD first and then USB if you have enabled USB boot. So there’s really nothing that will screw up by enabling the one time change. Here’s more info:
https://www.raspberrypi.org/forums/viewtopic.php?t=225812
That also says the newer RPi3+ has enabled USB boot by default.
The scrolling is just another challenge, I believe. I imagine either two buttons that can attach as a keyboard and act as arrow keys, or a kind of motion detection, for example using a HC-SR04 or a camera.
It should work for any web page.
@xxLulaBelle alternatively you could use a gesture sensor and run it with the MMM-GroveGestures module. I have one to swipe pages and to start/stop a news podcast with MMM-Podcast2. Works great!