@robiv8 yes, the original is broken, use my fork
Read the statement by Michael Teeuw here.
Posts made by sdetweil
-
RE: Replacement for MMM button due to Node-Abi error.
-
RE: MMM College top 25
@Wenike config/config.js
not config.sys
and not in the root of the MagicMirror folder -
RE: MagicMirror install on proxmox LXC Container?
@wishmaster270 never had one disconnected w &
-
RE: Display monthly calendar and entries
@betinaj what module are you trying to use?
not clear from your post
-
RE: MagicMirror install on proxmox LXC Container?
@kusselin when u disconnect a terminal session any app still running is terminated…
u can spinit off in the background with & at the end of the command
npm run server &
-
RE: MMM College top 25
@JGSteelerFan01 yes sometimes it’s a lot
the list of module configuration definitions is
modules: [ ]
[] means list/array
{} means collection
{ module:... position:... config: { ... ... } }
what goes inside the config:{} collection for each module is unique to that module
lists []
can be numbers, strings, collections or other lists
etc etc.blank lines are ok, extra commas are ok, lack of a comma is fatal!.. lol.
get one of the ssh clients (winscp or bitvise) that provide file system access and u can edit on your windows machine with and editor like vscode or notepad++, which do brace{} and bracket[] matchingalways use indentation.
see the two topics in my signature below, they will help.
I didn’t write them… -
RE: MagicMirror install on proxmox LXC Container?
@kusselin if u are running container on pi, AND displaying on pi, then it’s the same. if u are running container on windows, displaying on pi, it’s the same.
if displaying on windows, then have to turn windows portrait mode
-
RE: MagicMirror install on proxmox LXC Container?
@kusselin well that becomes much more troublesome…
the container doesn’t have display, so u can’t force it there
also, server mode doesn’t know orientation of display system .so this would typically be done on system w browser. full system in portrait or landscape.
I don’t know how you would do it just for one browser/tab…
-
RE: MagicMirror install on proxmox LXC Container?
@kusselin yes, to help keep this organized for you
think of a container as a pi/nuc/laptop/extra machine with no display, running in text mode
and the only way to get to it is thru a proxy machine (your container host)and then some other machine, laptop, phone, tablet that wants to display info…
so other machine, phone, tablet connects to proxy, who forwards request to pi, and returns response back.
the proxy doesnt DO anything but transport the info . -
RE: MagicMirror install on proxmox LXC Container?
@kusselin remember, a container is a ‘system’
with its own IP address different than than the container hosting system (typically 172.xx.yy.zz)also, localhost means ONLY apps INSIDE this same ‘system’, can access… so that means a browser running IN the container… oops… not possible
SO, you have to change the MM config.js to allow apps OUTSIDE the container to access the MM app
and THEN on the container setup , map the container MM port to some host port … (so u can access from another pc, phone, tablet, outside the container hosting system )address:“0.0.0.0”.
ipWhitelist:[],you didn’t have to reinstall mm… one install runs three ways
full (ui on same ‘system’), npm start
server (ui on some OTHER system (have to change config) npm run server
client (just the UI part), npm run client