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.

    Which Editor do you get for windows

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 4 Posters 3.7k 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.
    • ? Offline
      A Former User @kusselin
      last edited by A Former User

      @kusselin
      I think the error might be caused by ’ and ”. Those are not allowed as quotation marks of javascript language.

      module: ‘MMM-Tankerkoenig’,
      

      should be

      module: 'MMM-Tankerkoenig',
      

      Others are same.
      You can find&replace in your notepad++

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

        @kusselin sorry, I do not understand…

        cut/paste is builtin and not special.

        as per Sean’s post, those appear to be quotes from MS word type documents,.
        MagicMirror needs text quotes, " and ’

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • kusselinK Offline
          kusselin
          last edited by kusselin

          @sdetweil: you Wrote that magic mirror Need " …Sean Said i Must take ’

          What is now right? Sorry For my questions

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

            @kusselin either will work, as long as both ends of the quote use the same type

            this is ok

            "testing"
            'testing'
            

            this is not

            "testing'
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • kusselinK Offline
              kusselin
              last edited by kusselin

              Ah ok i Unterstand.

              Ok the this is Not ok right:

              {
              module: ‘MMM-Tankerkoenig’,
              header: ‘Super (E10)’,
              position: ‘top_right’,
              config: {
              updateInterval: 600,
              maxWidth: “300px”,// die angegeben 200px verursachen unschöne Zeilenumbrüche
              api_key: “xxxxxxx”,
              lat: 49.506240, // das sind die Koordinaten von Heidelberg/Mitte, siehe https://www.latlong.net
              lng: 8.656140,
              type: “e10”, // alternativ “e5” oder “diesel”
              radius: 1, // Suche in 1km Umkreis (in 5km Umkreis passt die Liste nicht mehr auf den Bildschirm)
              }
              },
              

              It Must be " or ’ … right?

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

                @kusselin correct, like this using using

                " or '
                

                (note that these do not lean in any direction and do not have little tails)

                ’ this one leans to the right

                {
                	module: 'MMM-Tankerkoenig',
                	header: 'Super (E10)',
                	position: 'top_right',
                		config: {
                		updateInterval: 600,
                		maxWidth: "300px",// die angegeben 200px verursachen unschöne Zeilenumbrüche
                		api_key: "xxxxxxxx",
                		lat: 49.506240, // das sind die Koordinaten von Heidelberg/Mitte, siehe https://www.latlong.net
                		lng: 8.656140,
                		type: "e10", // alternativ "e5" oder "diesel"
                		radius: 1, // Suche in 1km Umkreis (in 5km Umkreis passt die Liste nicht mehr auf den Bildschirm)
                		}
                },
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • kusselinK Offline
                  kusselin
                  last edited by kusselin

                  Ok thanks… Can you please Cancel the api key thanks

                  1 Reply Last reply Reply Quote 1
                  • kusselinK Offline
                    kusselin
                    last edited by kusselin

                    Ok and when i copy it than is the String Not straight on… Rather Little tails

                    1 Reply Last reply Reply Quote 0
                    • kusselinK Offline
                      kusselin
                      last edited by kusselin

                      Thanks all 👍

                      difficult birth 🙈

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 2 / 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