Hey guys!
I need to use enviromental variables process.env in the config.js. However I am unable to do so in the server only mode.
The config.js is used in the “Webinterface”, this obviously don’t have access to the enviromental variables of Node.js.
I am using balena-MagicMirror (made by me) to have multiple remotely managed MagicMirrors which all contain basically the same config, but differ in a few things that should be defined as enviromental variables.
Anyone know how I can “inject” enviromental variables in the browser with some MagicMirror Module?
Edit: I just created a module that will do this
[card:idoodler/MMM-ENV-Provider]
I have great news. I finaly had time to work on this again. It is currently working with some caviets. I will push my changes as soon as I resolved them. This is a huge improvement for me, as it enables easy remote management of many MagicMirror installations:)
Hi there!
I just finished a new module, that allows you to control the LEDs of your Raspberry Pi.
My MagicMirror is located in my bed room, and the LEDs disturbed me, so I decided to turn them of:)
[card:idoodler/MMM-RPI-LED]