MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MM on Ubuntu

    Scheduled Pinned Locked Moved Solved Troubleshooting
    90 Posts 4 Posters 42.0k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @goncalovsc
      last edited by

      @goncalovsc said in MM on Ubuntu:

      setting up initial config.js

      from my script

      # Use sample config for start MagicMirror
      echo setting up initial config.js | tee -a $logfile      // < --- this is the message
      cp config/config.js.sample config/config.js
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        goncalovsc @sdetweil
        last edited by

        @sdetweil Should i reinstall? If its the easiest way i dont mind

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @goncalovsc
          last edited by

          @goncalovsno…

          how do you start MM? pm2 or some other script?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            goncalovsc @sdetweil
            last edited by

            @sdetweil Its with auto start activated

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @goncalovsc
              last edited by

              @goncalovsc sorry, don’t understand that…

              if you used my script, it would have asked if you wanted to use pm2 to start on boot… (default answer is no)

              so, what script is executed on ‘autostart’?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                goncalovsc @sdetweil
                last edited by

                @sdetweil ahhh i think i said yes

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @goncalovsc
                  last edited by

                  @goncalovsc so,

                  pm2 status  
                  

                  should show the definition

                  anyhow, if you have copied the confi over, now restart mm again…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    goncalovsc
                    last edited by

                    https://gyazo.com/14d8c30cc49ba12b849877d0b401a638
                    Just restarted, all the same…

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @goncalovsc
                      last edited by

                      @goncalovsc ok, edit the config.js and show me the config for weatherforecast

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        goncalovsc @sdetweil
                        last edited by goncalovsc

                        @sdetweil ```

                        	module: "currentweather",
                        			position: "top_right",
                        			config: {
                        				location: "Matosinhos",
                        				locationID: "2737824", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                        				appid: "b1f305ba796f09f236dfa60e45a8a8d8"
                        			}
                        		},
                        		{
                        			module: "weatherforecast",
                        			position: "top_right",
                        			header: "Weather Forecast",
                        			config: {
                        				location: "Matosinhos",
                        				locationID: "2737824", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                        				appid: "b1f305ba796f09f236dfa60e45a8a8d8"
                        			}
                        		},
                        		{
                        
                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 8 / 9
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy