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

    Posts

    Recent Best Controversial
    • RE: Wrong size of window (part of screen covered by black something)

      In startChromium.sh

      posted in Troubleshooting
      L
      Lahim
    • RE: Wrong size of window (part of screen covered by black something)

      I finally found the solution on the other place -

      chromium-browser --window-size=7000,7000 --start-fullscreen
      

      If the monitor is smaller than 7000px, the system will detect the height and width.

      posted in Troubleshooting
      L
      Lahim
    • Wrong size of window (part of screen covered by black something)

      Can anybody point me what can be wrong?
      After one of update the right size of screen is invisible - like something is on top of MM hiding everything under.
      I made fresh installation - same thing.

      Everything is Ok with console but after MM starts - there is problem with right part.
      Changed the background for orange but on the right you see mouse pointer changed to cross.

      0_1537820531839_screen.jpg

      posted in Troubleshooting
      L
      Lahim
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @asaxena11

      1. sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
      2. sudo dpkg -i node_latest_armhf.deb
      3. sudo apt-get install npm

      My problem:
      I made fresh installation of whole magic mirror about 2 weeks ago because I had a problem with screen size - have huge black part of screen which is “covering” right modules.
      I tried electronOptions, modifiyng the /boot/config.txt and without luck.
      I am running 2.4.1 on fresh installation of Stretch Lite

      posted in Tutorials
      L
      Lahim
    • RE: How to change icons

      Thank you very much - I have it working now!!!

      I used this post
      https://github.com/MichMich/MagicMirror/pull/1345
      to add font-awesome5 but I am not able to get all of them working. Anyway, now I understand all.
      Thank you.

      posted in Custom CSS
      L
      Lahim
    • RE: How to change icons

      Thank you for helping me but I changed config.js to

      defaultSymbol: "calendar",
      

      And icons are same, nothing changed. Does not matter if it is holiday or event 1 or event 2 - icons are same.

      I still do not understand - how to define icon for the specyfic event?

      posted in Custom CSS
      L
      Lahim
    • RE: How to change icons

      Can somebody write down how to change them?
      I changed the config.js to symbol: ‘fa fa-calendar’ and nothing changed.

      @nobita you wrote "you can change in other icon such as "calendar-plus-o " but what is this? A set of icon or what?

      I am sorry, but I have no idea how to make it working.

      By the way - there is nothing like step by step tutorial - in README.md there is only a link to fontawsome page but there is nothing written how to use it.

      posted in Custom CSS
      L
      Lahim
    • RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

      @janth - thanks I also used pm2 but your way is better.

      But I have other problem - I do not see right modules on the mirror. There is no problem from the local net.
      I checked top_right and bottom_right - same result.
      I moved clock module from top_left to top_right and it became invisible.
      Any clue?

      posted in Tutorials
      L
      Lahim
    • RE: remoteFile in compliments module

      I found it in the meantime but now I tested it - yes, it works!!!
      Thank you!

      posted in Troubleshooting
      L
      Lahim
    • RE: remoteFile in compliments module

      Will you be able to find the solution to the problem I described above?

      posted in Troubleshooting
      L
      Lahim
    • RE: remoteFile in compliments module

      Ok, I found where was the problem and where is the problem now.
      Because I am using Pi0 with Midori, with oryginal file the compliments were not show on the mirror but I was able to see them thru LAN.
      So I found the solution to change:

      if (this.config.remoteFile != null) {
                      this.complimentFile((response) => {
                              this.config.compliments = JSON.parse(response);
                      });
              }
      

      to:

               if (this.config.remoteFile != null) {
                      this.complimentFile(
                              function(response){
                                      this.config.compliments = JSON.parse(response);
                      });
              }
      

      and yes, that make my compliments shown on mirror but in same time the text is only from compliments.js file.
      So now, to see the compliments I have to copy own text to .js file :(

      That is the problem.

      posted in Troubleshooting
      L
      Lahim
    • RE: remoteFile in compliments module

      I tried to change

      remoteFile: null,
      

      for remoteFile: ‘compliments.json’ previously but, as you know, did not help.
      Now I came back to the oryginal file, saved your compliments as json file in Notepad++ as you wrote, and…
      IT IS WORKING!!!

      Thank you so much!!!
      F…ck, so many time I spent tring different solutions and finaly it works.
      One more time thank you for attention and help!
      The module - great job!!

      posted in Troubleshooting
      L
      Lahim
    • RE: remoteFile in compliments module

      Thank you for trying and helping but I copied your setup but still the same thing.

      Does compliments.json file has to be somehow written as json file? Or I can create new text file in nano and save it as compliments.json file? Does it need any special rights?
      Can you attach your .json file here so I can download and place it in the /compliments/ folder?

      Here is list of my files in compliments folder
      0_1513976348645_prt.jpg

      posted in Troubleshooting
      L
      Lahim
    • RE: remoteFile in compliments module

      I have “ in oryginal file so I just copied it. I also tried with ' but without luck.

      The compliments.json file looks like:

      {
          "anytime" : [
              "Dziala!"
          ],
          "morning" : [
              "Good morning, sunshine!",
              "Who needs coffee when you have your smile?",
              "Go get 'em, Tiger!"
          ],
          "afternoon" : [
              "dfadfafa",
              "dffffffff",
              "fsssss!"
          ],
          "evening" : [
              "2",
              "1",
              "3333"
          ]
      }
      

      In compliments.js

      Module.register("compliments", {
      
              // Module config defaults.
              defaults: {
                      compliments: {
                              anytime: [
                                      "Hey there sexy!"
                              ],
                              morning: [
                                      "Good morning, handsome!",
                                      "Enjoy your day!",
                                      "How was your sleep?"
                              ],
                              afternoon: [
                                      "Hello, beauty!",
                                      "You look sexy!",
                                      "Looking good today!"
                              ],
                              evening: [
                                      "Wow, you look hot!",
                                      "You look nice!",
                                      "Hi, sexy!"
                              ]
                      },
                      updateInterval: 30000,
                      remoteFile: null,
                      fadeSpeed: 4000
              },
      
      
      

      I see the “anytime” are without "
      so I also tried this in …json file but does not work.

      posted in Troubleshooting
      L
      Lahim
    • RE: remoteFile in compliments module

      Guys where can be mistake:
      config.js looks like:

      {
      module: “compliments”,
      position: “lower_third”,
      config: {
      remoteFile: “compliments.json”
      }
      },

      Remote file placed in ~/MagicMirror/modules/default/compliments
      but it still does not work.
      I made all following above written steps and nothing - still oryginal compliments are one the mirror.
      I have no idea what is wrong.

      posted in Troubleshooting
      L
      Lahim
    • 1 / 1