administrators

Private

Posts

  • RE: remote control help needed

    @tommyk ok, I just added the QR to mine,

    what is the address shown under the QR code??
    mine shows

    http://192.168.2.106:8090/remote.html
    

    which is my server address, and port
    here is those values in my config.js

        address: "0.0.0.0",
        port: 8090,
        ipWhitelist: [],
    

    the app opens on my phone correctly
    same view as on my computer

  • RE: remote control help needed

    @tommyk only anyone on your home network… not anyone in the world…

    I don’t know on the phone app… I didnt install the app…

  • RE: remote control help needed

    @tommyk mm is meant to be a closed system on the wall…

    no one needs to access this, as its output only… SO

    the default config says ONLY apps INSIDE this SAME machine can access the MM server
    localhost is the name of the network connection (loop back)

    now, it so happens one could add controls to limit JUST ONE (or a few) machines too…
    this is the ipWhitelist

    but as we’ve seen that (output only with no external access) doesn’t work for a number of use cases.
    remote control, my mmm-config, …

    SO, changing the config
    address means listen for incoming requests on A network adapter, wifi OR ethernet…
    address=“192.168.2.106” (for my desktop ethernet address)
    but what if you have both? or more than one…
    you can ONLY put ONE address there…
    so there is a shortcut , “0.0.0.0”, means listen on ALL adapters, regardless their address…

    now… i’ll just make an example, not implying anything…

    you built this thing, and if ANYONE in your house could get in and fiddle with the MM parts, or others,
    they might take the system down or something else…
    kids that don’t know, but LOVE to explore…!!
    how can i keep THEM out…

    we I could limit access to ONLY MY phone, laptop,… then they couldn’t get in…
    so you could put your phone and laptop ip addresses in the ipWhitelist:[] list
    and then only YOU can get into the MM app system …

    the RemoteControl readme, mentions this change in the config…

  • RE: How to upgrade a Linux "server" with minimal modules?

    @ember1205 understand… please advise your results when you can

  • RE: Electron Error

    @FrostByte cool…

    we try to stay in sync with electron, because there is a scenario for some modules, where

    mm running
    npm run server generates one binary version, need node rebuild to match current node binary
    and
    npm run start:…
    requires a different binary , fixed with electron rebuild (which we don’t ship, but I add in the scripted install

    AND when the module ships from the author, it may have a DIFFERENT binary than BOTH those choices…
    (SOOOOO much fun)

    anyhow, we have tried to keep from having that problem rear is head all the time…

    also, starting with node 24, there are no more 32 bit nodejs pre-compiled binaries… which means it won’t run on older 32 bit (smaller memory footprint) systems…

  • RE: How to upgrade a Linux "server" with minimal modules?

    @ember1205 said:

    package-lock.json
    package.json

    erase those and git pull again

  • RE: How to upgrade a Linux "server" with minimal modules?

    @ember1205 upgrade of the core code is

    cd  MagicMirror_folder
    git pull
    npm install
    

    if it will run… needs at least node 22.22.1

    let me know how I can help

    you can fall back to a prior version by switching to one of the earlier releases, thru the git tag we created.
    if you try the upgrade (manual) and it fails and want to try this, let me know i’ll provide the commands needed

  • RE: How to upgrade a Linux "server" with minimal modules?

    @ember1205 you can attempt to upgrade modules…

    each is separate

    cd module_folder
    git pull
    if successful, npm install

    restart mm… to load the new modules…

    only a few have latest as dependencies… which would force all the above work

  • RE: How to upgrade a Linux "server" with minimal modules?

    @ember1205 the difficulty is that the core has been kept up to date, and it requires new system parts that require new system parts…

    you MUST upgrade nodejs if not on node 22
    upgrading on older systems fails, the next node upgrade, 24 or above, drops support for 32bit systems completely… we are holding off as long as we can… but the clock is ticking…

    my install and upgrade scripts enforce the systems path… if they fail now, there is no manual way to get there from where you are… (without rebuild)

    and if you use my installer script, its a copy/paste… not a lot of work

    make the backup regardless

  • RE: How to upgrade a Linux "server" with minimal modules?

    @ember1205 I recommend

    make a backup, store to github
    make a new SD card, latest OS
    install MM, verify it starts (full service, UI etc)
    run restore from github to restore your configuration and modules…
    restart and verify

    old system is untouched