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.

    A problem about MMM-BMW-DS

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    25 Posts 4 Posters 11.4k 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 @zokiya
      last edited by sdetweil

      @zokiya number to the right of : should not have quotes… turns them into strings

              lat: '31.318889',
              lng: '121.395',
              css: "1", // 1=default, 2=Clean, 3=Lord of the Rings, 4=handwriting, 5=Julee, 6=Englebert, "" = returns default css
              ownTitle: "Current Conditions", // Use your own language and statement
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      zokiyaZ Mykle1M 2 Replies Last reply Reply Quote 0
      • zokiyaZ Offline
        zokiya @sdetweil
        last edited by

        @sdetweil
        Thank you.I took your suggestion to modify the code, but it doesn’t seem to work.:face_with_cold_sweat:

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

          @zokiya open the developers window, ctrl-shift-i on the keyboard, select the tab labeled console, and scroll up to see any errors, usually red text.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @sdetweil
            last edited by

            @sdetweil said in A problem about MMM-BMW-DS:

            number to the right of : should not have quotes… turns them into strings

            In this case, they ARE stings. The OP’s config example is rife with syntax errors. So, I corrected it, tested it, confirmed its validity and posted it, minus the API key. :thumbsup:

            Create a working config
            How to add modules

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

              @Mykle1 hmmmmm, need to learn, never correct a module author!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @zokiya
                last edited by Mykle1

                @zokiya

                Please follow sdetweil’s suggestion to look for errors. Again, if you copy and paste the following config entry directly into your config it should avoid the syntax errors. Enter your API key EXACTLY. This is very important.

                {
                      disabled: false,
                      module: "MMM-BMW-DS",
                      position: "bottom_bar", // bottom_bar is best
                      config: {
                        apiKey: "YOUR API KEY GOES HERE", // Free API key @ darksky.net
                        tempUnits: "F", // MUST BE CAPITAL LETTER C or F
                        lat: '31.318889',
                        lng: '121.395',
                        css: "1", // 1=default, 2=Clean, 3=Lord of the Rings, 4=handwriting, 5=Julee, 6=Englebert, "" = returns default css
                        ownTitle: "Current Conditions", // Use your own language and statement
                        playSounds: "yes", // yes = weather sounds, no = no weather sounds
                        useHeader: false,
                        header: "Your header",
                        maxWidth: "100%",
                        }
                      },
                

                Create a working config
                How to add modules

                zokiyaZ 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @sdetweil
                  last edited by

                  @sdetweil said in A problem about MMM-BMW-DS:

                  hmmmmm, need to learn, never correct a module author!

                  Feel free to correct me any time you like. :-)

                  I’ve learned much by being corrected. :thumbsup:

                  Create a working config
                  How to add modules

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    TheGeekfather @Mykle1
                    last edited by

                    @Mykle1

                    Your modules are excellent :)

                    • Off topic but does Hello-Lucy still work? I’ve installed it but always starts off with blank screen - even when I put hide all - false. Mic works but no response. I start with saying hello lucy and then Show - your key words like HOROSCOPE. Any help would be GREATLY Appreciated!
                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @TheGeekfather
                      last edited by Mykle1

                      @TheGeekfather said in A problem about MMM-BMW-DS:

                      Your modules are excellent

                      Thank you for your kind words. :thumbsup:

                      Off topic but does Hello-Lucy still work?

                      Yes, in fact I’ve just finished a substantial upgrade. You’ve installed recently?

                      Please paste your config entry in a code block ( </> in menu) so I can take a look at it.

                      Create a working config
                      How to add modules

                      T 1 Reply Last reply Reply Quote 1
                      • T Offline
                        TheGeekfather @Mykle1
                        last edited by

                        @Mykle1

                        {
                        		disabled: false,
                        		module: "Hello-Lucy",
                        		position: "bottom_left",
                        		config: {
                          			keyword: "HELLO LUCY",               // MUST BE CAPITALS to make Lucy start listening
                          			timeout: 15,                        // timeout listening for a command/sentence
                          			defaultOnStartup: "Hello-Lucy",
                          			standByMethod: 'DPMS',              // 'DPMS' = anything else than RPi or 'PI'
                          			sounds: ["1.mp3", "11.mp3"],        // welcome sound at startup. Add several for a random choice of welcome sound
                          			confirmationSound: "ding.mp3",      // when command is accepted. use your own or default, name and extension of sound file
                          			                // startHideAll: false,   if true, all modules start as hidden
                          			pageOneModules: ["Hello-Lucy", "MMM-Astro"],    // default modules to show on page one/startup
                          			pageTwoModules: ["MMM-BMW-DS", "MMM-Events"],     // modules to show on page two
                          			pageThreeModules: ["email"],               // modules to show on page three
                          			pageFourModules: ["MMM-iFrame"],                // modules to show on page four
                          			pageFiveModules: [],                              // modules to show on page five
                          			pageSixModules: [],                               // modules to show on page six
                          			pageSevenModules: [],                             // modules to show on page seven
                          			pageEightModules: [],                             // modules to show on page eight
                          			pageNineModules: [],                              // modules to show on page nine
                          			pageTenModules: [],                               // modules to show on page ten
                        			}
                        	},
                        
                        
                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @TheGeekfather
                          last edited by

                          @TheGeekfather

                          Ok, the config is fine. I just tested it.

                          1. When you say Hello Lucy, the microphone icon does not start pulsing?
                          2. Have you installed and enabled the modules that are named in the config?

                          Create a working config
                          How to add modules

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            TheGeekfather @Mykle1
                            last edited by

                            @Mykle1

                            Hi, Yes, modules are set to disabled: false

                            Also, I don’t see any microphone icon and even with starthideall at false - still blank on boot up screen?

                            i can hear my microphone through my speaker when I talk so mic seems to be working

                            unless, I’m not suppose to hear my voice on speaker?

                            Mykle1M 1 Reply Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @TheGeekfather
                              last edited by Mykle1

                              @TheGeekfather

                              startHideAll: false, if true, all modules start as hidden
                              First, you need to comment out after the comma if you are using this line. The entire line is commented out in your example. If you uncomment that line then the module will error.

                              I don’t see any microphone icon and even with starthideall at false - still blank on boot up screen?

                              Then the module is not loading. You should see the microphone icon along with, Say, ‘Hello Lucy’ on screen.

                              i can hear my microphone through my speaker when I talk so mic seems to be working

                              unless, I’m not suppose to hear my voice on speaker?

                              That seems odd. Mine does not do that. I don’t know if that’s a problem

                              Start your mirror using npm start dev and then click the console tab in the window that opens. Scroll to find any errors in red and report

                              Create a working config
                              How to add modules

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                TheGeekfather @Mykle1
                                last edited by

                                @Mykle1

                                I Just heard “Hello Michael What would you like to see”

                                :)

                                It seems I was missing lmtool which I just installed

                                T 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TheGeekfather @TheGeekfather
                                  last edited by

                                  @TheGeekfather

                                  OK, getting closer :)

                                  says under mic icon

                                  Initializing then undefined so it seems I just have to get mic to work

                                  Mykle1M 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @TheGeekfather
                                    last edited by

                                    @TheGeekfather

                                    Did you not follow the readme on how to install the dependencies?

                                    Create a working config
                                    How to add modules

                                    T 2 Replies Last reply Reply Quote 0
                                    • T Offline
                                      TheGeekfather @Mykle1
                                      last edited by

                                      @Mykle1

                                      OK, that might be the problem because for some reason all the modules were installed in

                                      modules/default

                                      so when I bash dependencies, it says it couldn’t find the /modules/Hello-Lucy folder

                                      I moved the Hello-Lucy folder to modules - ran bash dependencies.sh again but no go :(

                                      Thank you for any help !!! I’m a retired computer science teacher that wont’s to keep on learning :)

                                      Mykle1M 1 Reply Last reply Reply Quote 0
                                      • zokiyaZ Offline
                                        zokiya @Mykle1
                                        last edited by

                                        @Mykle1 I just copied and pasted the code you corrected, reset my API, and copied and pasted it, but it didn’t work. I checked the developer window and there are only two warnings, and they don’t seem to have anything to do with this module. I checked my Dark Sky console and it shows that my API has not been called. Now I suspect that there is a problem with my network.

                                        Mykle1M 1 Reply Last reply Reply Quote 0
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @TheGeekfather
                                          last edited by

                                          @TheGeekfather said in A problem about MMM-BMW-DS:

                                          OK, that might be the problem because for some reason all the modules were installed in
                                          modules/default

                                          I wonder how that happened? I could take a guess. ;-)

                                          The only modules that belong in the modules/default folder are the default modules from the MagicMirror installation. All additional modules should be installed into the modules folder itself, not the default folder. Each repo should have directions for installation. cd MagicMIrror/modules being the most common

                                          so when I bash dependencies, it says it couldn’t find the /modules/Hello-Lucy folder

                                          Because the installer expects to find Hello-Lucy where it belongs.

                                          I moved the Hello-Lucy folder to modules - ran bash dependencies.sh again but no go

                                          No go, meaning what? Errors? Where did you run that command?

                                          Create a working config
                                          How to add modules

                                          1 Reply Last reply Reply Quote 0
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @zokiya
                                            last edited by

                                            @zokiya said in A problem about MMM-BMW-DS:

                                            I just copied and pasted the code you corrected, reset my API, and copied and pasted it, but it didn’t work. I checked the developer window and there are only two warnings, and they don’t seem to have anything to do with this module. I checked my Dark Sky console and it shows that my API has not been called. Now I suspect that there is a problem with my network.

                                            Do you have other modules that are calling an API. Are they working? Please let me know when you’ve confirmed your internet is working and we’ll get MMM-BMW-DS working for you.

                                            Create a working config
                                            How to add modules

                                            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
                                            • 1 / 2
                                            • 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