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.

    Are you tired of editing config.js, or have trouble doing it, see my new module

    Scheduled Pinned Locked Moved Utilities
    293 Posts 28 Posters 399.9k Views 31 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 @Dinschal
      last edited by

      @dinschal also have to edit the ipWhitelist.

      I set it to []

      ipWhitelist:[],

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Dinschal @sdetweil
        last edited by Dinschal

        @sdetweil i did it let me check ;)

        okay i got it… but now i only have the "configuration window without the possibility to configure,

        de4ecbf5-59d5-41bd-9d02-30a63f075dbf-image.png

        i tryed it with a new pull and an new installation of your module :(

        S 1 Reply Last reply Reply Quote 0
        • A Offline
          Alyx
          last edited by

          amazing work!!! are users able to make module communicate with each other? Such as using voice commands to use another module via notifications?

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @Alyx
            last edited by

            @alyx I don’t understand your question

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @dinschal is this from the qr?

              or did u enter a url?

              note the url is

              http://mmipaddr:mmport/modules/MMM-Config/review
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @alyx voiceCommander is built on top of MMM-Voice and Hello-Lucy

                so, CAN you, certainly… take a voice audio -> recognizer -> send notification to other modules…

                HOW depends on the module being used…

                sometimes there is some config
                sometimes there is file editing
                sometimes there is coding

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Alyx @sdetweil
                  last edited by

                  @sdetweil No worries I’ll install and play around with this tomorrow, I was wondering if it would help with setting up modules to talk to each other, as you know I’ve been having a few issues with that xD

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

                    @alyx My Module ONLY addresses configuration of EACH module (stuff that goes in config.js)

                    what that stuff DOES/MEANS, my module does not know…

                    I read the source code to figure out the variables defined
                    and merge that with any info from config.js

                    and build a form to collect the data

                    then on save, I take the elements with data and build a new config.js
                    (rename the old and write the new)
                    and if restart , then I restart MM to use that new config

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      Alyx @sdetweil
                      last edited by

                      @sdetweil Sounds great as is Sam cant wait to try it tomorrow!

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Dinschal @sdetweil
                        last edited by

                        @sdetweil ah okay i used the wrong one… i used the one with config.html

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          Dinschal
                          last edited by

                          Is it possible to add a css section in the future? that would be really nice…

                          thanks for your work and thanks for helping me ;)

                          S 1 Reply Last reply Reply Quote 0
                          • D Offline
                            Dinschal
                            last edited by Dinschal

                            @sdetweil your module is running well, but if i changed something and create the config, it deleted the location, the locationid and the weather api from the default weather module :( this is really bad… and if i change the timefomat and the analog size in the same module and push the save, create config button it didnt save the canges.

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

                              @dinschal what do u mean css section?

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              D S 2 Replies Last reply Reply Quote 0
                              • D Offline
                                Dinschal @sdetweil
                                last edited by

                                @sdetweil first off all good morning ;)

                                a section where you can edit the css sections of the modules… like the size or something else…

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

                                  @dinschal did u set the position in the positions section?

                                  can u add debug:true to my module config

                                  copy back the prior config.js

                                  start mm like this

                                  cd ~/MagicMirror
                                  npm start >somefile.txt
                                  

                                  then do the change again
                                  press save

                                  then stop mm (ctrl-q)
                                  and send me the somefile.txt
                                  and the two config file, prior and new
                                  and the defaults.js from the module folder
                                  via email. my email is this same userid at gmail

                                  u will have to rename the .js files to
                                  like .txt as js files are not allowed

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @dinschal ah, I think that would be very difficult.

                                    unless it was a text box w the same thing u would put in custom.css

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @sdetweil one thing on position.

                                      I write them out in the same order by
                                      position:

                                      all the top_left together, then the top_right, etc
                                      using the module position order value, u can adjust the order of a module in a position list
                                      ( I add order: to the module info, so I can continue to keep them that way)

                                      as mm shows them that way

                                      they may NOT be in the same location( line number) in the new file

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      D 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Dinschal @sdetweil
                                        last edited by

                                        @sdetweil you got mail ;)

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

                                          @dinschal I replied

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            Dinschal @sdetweil
                                            last edited by

                                            @sdetweil yeah i have to search the right one :D

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 14
                                            • 15
                                            • 6 / 15
                                            • 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