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.

    Need help - New programmer

    Scheduled Pinned Locked Moved General Discussion
    23 Posts 5 Posters 4.2k Views 5 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
      smart_user @sdetweil
      last edited by

      @sdetweil Thank you so much! I will use this module and let you know how it goes!

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

        @smart_user ok. Timer is in the node_helper.
        It is a one time timer, setTimer, vs repeating, setInterval.

        Doesn’t need to be in the node_helper, but did that to show the structure and communication between the parts

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil It still isn’t working. I had configured for the alert to show up in 10 seconds but it didn’t

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

            @smart_user you changed the 15000 in node_helper to 10000, right?

            And u had a position: set in config.js, right?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil Yes

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

                @sdetweil Is it possible for you to send me a picture of the .js file so I can double check?

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

                  @smart_user u can look on the github site

                  View code. Then click on file.

                  If you used git clone, then u can do

                  git diff node_helper.js
                  to see the differences

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil Hello. I did and still am not receiving any alert on the screen

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

                      @smart_user show me the config block. Minimum is this. MUST have a position

                      {
                           module:"SampleModule",
                           position:"middle",
                       },
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User
                        last edited by

                        euh … position needed ONLY if you have to show something on the mirror (getDom).
                        If you have nothing to show THEN position is not needed

                        Note: verified in my lasted module (position is not needed because no visual)

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