MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. rudibarani
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 12
    • Posts 111
    • Groups 1

    Topics

    • rudibaraniR

      No autoplay for videos in v2.14 & v2.15

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      9
      0 Votes
      9 Posts
      2k Views
      rudibaraniR
      @sdetweil No - I need to click on the “play” button on the stream.
    • rudibaraniR

      Electron Browser outdated?

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      25
      2
      0 Votes
      25 Posts
      8k Views
      karsten13K
      there is already a pull request which includes the update to 11.3.0, should be merged within the next days into develop
    • rudibaraniR

      Is hidden the same as disabled?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      10
      0 Votes
      10 Posts
      2k Views
      ?
      @rudibarani Prepare two config - config.snowon.js and config.snowoff.js. Make a code to copy one of both to config.js when your trigger is activated. The next time rebooted, it will be applied. Instead of copying file, you can read config.js and rewrite it directly. but a bullet-proof-parsing js code is not so easy for unexperienced one.) However, MMM-Snow has no node_helper.js to refer. You have to build node_helper.js to do your job. (In MMM-Snow.js itself, approaching filesystem is limited.)
    • rudibaraniR

      Electron Error: Cannot open display :0

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      6
      0 Votes
      6 Posts
      8k Views
      S
      @rudibarani i only do npm start from my ssh session do u have a keyboard on the pi? if so, ctrl-alt-t will open a shell window… then u should be able to get to the previous command with up arrow…
    • rudibaraniR

      Access control

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Feature Requests
      3
      0 Votes
      3 Posts
      2k Views
      rudibaraniR
      @retroflex Thanks for the idea. I think this is a possible option for many - but I already have the company VPN on my devices and unfortunately cannot add another VPN. Do you think it would be difficulty to implement the token-idea I described above? This would bring much more security to a lot of users without difficult changes…
    • rudibaraniR

      Server <> Client communication

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Feature Requests
      3
      0 Votes
      3 Posts
      1k Views
      rudibaraniR
      @sdetweil Thanks for pointing me at MMM-RemoteControl. I will try this as a first unidirectional approach. In the long run, it would be great if we had two-way module / MM core capability that could communicate with node clientonly instances. I think the need for this will increase, as more and more MM-instances might be hosted within a Docker image.
    • rudibaraniR

      black screen with "node clientonly"

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      2
      0 Votes
      2 Posts
      2k Views
      rudibaraniR
      I think I found the solution: When starting MM inside Docker, I cannot add the true address (172.1.0.9) into the config file but leave it like this: address: "", // Localhost I can open this Docker-hosted Magic Mirror Website directly using a browser without problem. I am not yet versed in JS, but I had a look at the config.js in the clientonly-folder: There is this section, where the config from the remote server is received and passed along as environment variable: getServerAddress(); (config.address && config.port) || fail(); // Only start the client if a non-local server was provided if (["localhost", "127.0.0.1", "::1", "::ffff:127.0.0.1", undefined].indexOf(config.address) === -1) { getServerConfig(`http://${config.address}:${config.port}/config/`) .then(function (config) { // Pass along the server config via an environment variable var env = Object.create(process.env); var options = { env: env }; config.address = config.address; config.port = config.port; env.config = JSON.stringify(config); It seems, that the address information received from the server (which is empty in my case) overwrites the config.address variable I passed along when starting node clientonly --address 192.0.0.95 --port 9090. I changed the code manually and it worked :slightly_smiling_face: @MichMich I have added a pull request on Github to help others with the same problem (https://github.com/MichMich/MagicMirror/pull/1403) PS: The error message describe above remains, but the Magic Mirror shows up without problem.
    • rudibaraniR

      Limit access to module generated sub-sites

      Watching Ignoring Scheduled Pinned Locked Moved Requests
      1
      0 Votes
      1 Posts
      1k Views
      rudibaraniR
      Hi @ItayXD and @Jopyth, I have a question relevant to the modules MMM-AdminInterface and MMM-Remote Control you developed: Is there a way to limit access to the Admin Interface/Remote Control panel independent of the global whitelist? I would like to limit access to both sites to my own devices while keeping a longer whitelist for the screen itself. Thanks a lot for your work and ideas to go forward.
    • rudibaraniR

      One-line switch to enable / disable modules

      Watching Ignoring Scheduled Pinned Locked Moved Feature Requests
      14
      0 Votes
      14 Posts
      8k Views
      michael5rM
      @sean said in One-line switch to enable / disable modules: @rudibarani @michael5r Here is my version. No need to list all modules. const pre_disabled = { "UNLISTED": true, // default value for unlisted other modules. "alert":false, "clock": false, "MMM-Remote-Control":false, } var DISABLED = new Proxy(pre_disabled, { get (receiver, name) { return name in receiver ? receiver[name] : receiver["UNLISTED"] } }) Lovely :thumbs_up_light_skin_tone:
    • rudibaraniR

      Adding new modules leads to irreversible error

      Watching Ignoring Scheduled Pinned Locked Moved Bug Hunt
      13
      0 Votes
      13 Posts
      7k Views
      J
      Top Google results ftw :) Your suggestion would have been helpful to know though. Thanks for the info!
    • rudibaraniR

      Error during installation of MM2

      Watching Ignoring Scheduled Pinned Locked Moved Bug Hunt
      5
      0 Votes
      5 Posts
      3k Views
      strawberry 3.141S
      @rudibarani the command you used to install MM is deprecated. Use bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)" instead.
    • 1 / 1