Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Timer module?

    Idea of new modules ?
    5
    43
    641
    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.
    • R
      ricotte Donators last edited by

      Ok merci
      Est ce je modifie dans le module ou dans le recipes car il y a 2 MMM-StopwatchTimer.js?
      Peux tu me dire ce que je dois modifier ou ajouter ?
      désolé merci à toi pour ton aide

      R 1 Reply Last reply Reply Quote 0
      • R
        Ray BetaTester @ricotte last edited by

        @ricotte Go into the directory of MMM-StopwatchTimer
        you should have 2 files
        one is MMM-StopwatchTimer.js
        the other one will be popup.css

        then

        rename the popup.css to MMM-StopwatchTimer.css
        if you haven’t already done so

        Modified the MMM-StopwatchTimer.js
        so it looks like this

        Module.register("MMM-StopwatchTimer", {
        defaults: {
        	animation: true
        },
        /* I change the following to prevent a conflict
        between StopwatchTimer and notificationFX.css  <----this is my added text
        if you use the settings notificationFX.css
        then changed the name. */
        /* Original is: return ["notificationFX.css", "font-awesome.css"] */
        
        getStyles: function() {
        	return ["MMM-StopwatchTimer.css", "font-awesome.css"]; <----change it so it looks like this
        },
        
        

        Then you can do whatever you want in MMM-StopwatchTimer.css
        without it affecting anything else
        When you run the program. It will always look for that file

        1 Reply Last reply Reply Quote 0
        • R
          ricotte Donators last edited by

          Hello

          tu es au top merci , thank you so much!!
          Il manque plus que le son 😉

          Merci encore

          1 Reply Last reply Reply Quote 0
          • R
            Ray BetaTester last edited by

            I’m glad I was able to help
            the owner of the module did not include sound. Unfortunately

            1 Reply Last reply Reply Quote 0
            • R
              Ray BetaTester last edited by

              Hey I just got a message back from the owner of MMM-StopwatchTimer
              It now has sound but haven’t tested it yet so I don’t know how well it works. He’s waiting for my input on
              And Is Going to Fix the Conflict

              bugsounet 1 Reply Last reply Reply Quote 0
              • bugsounet
                bugsounet Main Coder @Ray last edited by bugsounet

                @ray by reading source code … some part of sound is coded but very badly
                It will not works natively (it send a notification to all modules)
                It need another module for working (don’t know really what module needed)

                Really, I Don’t understand why i will not do it natively

                • One new line in main core for open audio on demand (create an embed sound module)
                • and Other line for read sound when needed (execute sound reading)
                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by

                  Do you want that i create de PR with needed modifications ?

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Ray BetaTester @bugsounet last edited by

                    @bugsounet I’m sorry there’s a misunderstanding
                    there are 2 gentlemen on here they’re using the same module. I am using it is a MMM-StopwatchTimer which is owned by a completely different person that has nothing to do with GA I was just relaying the message from the owner to these other 2 gentlemen

                    If I overstep my authority on this forum. I apologize

                    1 Reply Last reply Reply Quote 0
                    • bugsounet
                      bugsounet Main Coder last edited by

                      this issue

                      1 Reply Last reply Reply Quote 0
                      • R
                        Ray BetaTester last edited by

                        There is a minor bug problem in MMM-StopwatchTimer and it causes a conflict with notification on magic mirror
                        I found the problem and reported it back to the owner . He said he was going to fix it

                        that’s all this is about
                        again, if I overstep my authority on this form. I apologize

                        1 Reply Last reply Reply Quote 0
                        • bugsounet
                          bugsounet Main Coder last edited by

                          I have done writing native sound play 🙂

                          again, if I overstep my authority on this form. I apologize

                          no problem 😉

                          1 Reply Last reply Reply Quote 0
                          • R
                            Ray BetaTester last edited by

                            You guys have helped me out quite a bit. I don’t want to get you guys upset
                            I just like to give back what people have given me

                            1 Reply Last reply Reply Quote 0
                            • bugsounet
                              bugsounet Main Coder last edited by

                              don’t worry @Ray … keep cool 🙂

                              PR is sended

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                Ray BetaTester @bugsounet last edited by

                                @bugsounet 👍

                                1 Reply Last reply Reply Quote 0
                                • bugsounet
                                  bugsounet Main Coder last edited by bugsounet

                                  @Ray… if I make my hand in this module… i will remake all 😁

                                  That why i prefer make some little change

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    Ray BetaTester @bugsounet last edited by

                                    @bugsounet I know the feeling. My friend, I can’t tell you how many times I’ve done that everything works perfectly. But then I have to change it make it better. I’m writing some scripts right now. Get them all done and it works fine and then I find a better way to do it😀

                                    1 Reply Last reply Reply Quote 0
                                    • bugsounet
                                      bugsounet Main Coder last edited by

                                      I will make @bugsounet’s school coding 😉

                                      R 1 Reply Last reply Reply Quote 0
                                      • R
                                        Ray BetaTester last edited by

                                        Yeah I suppose that’s the 1st thing they teach you. I enjoy writing scripts. It’s a lot of fun

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Ray BetaTester @bugsounet last edited by

                                          @bugsounet Oh by the way, thanks for having my back with the owner. Of that module

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            ricotte Donators last edited by

                                            Good evening,
                                            I have just read your exchanges but I do not think I have understood everything for the sound adjustment.
                                            I updated the module and updated config.js but I can’t seem to get sound at the end of the Timer.
                                            If you have the solution … maybe this is not the right discussion board?
                                            Thank you.

                                            R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | @bugsounet ©2022