• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Head first developing MM module for extreme beginners

Scheduled Pinned Locked Moved Development
27 Posts 9 Posters 19.0k Views 12 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 @Dobi
    last edited by sdetweil Mar 7, 2021, 7:44 PM Mar 7, 2021, 7:44 PM

    @dobi view the source in the dev window

    what u showed above is not changed

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Mar 7, 2021, 8:11 PM Reply Quote 0
    • D Offline
      Dobi @sdetweil
      last edited by Mar 7, 2021, 8:11 PM

      @sdetweil
      sorry I only updated it on github

      
      notificationReceived: function (notification, payload, sender) {
      		var self = this;
      		switch (notification) {
      			case "DOM_OBJECTS_CREATED":
      				var timer = setInterval(() => {
      					//this.updateDom()
      					self.sendSocketNotification("DO_YOUR_JOB", self.count);
      					console.log(`self.sendSocketNotification("DO_YOUR_JOB", this.count)`, self.sendSocketNotification("DO_YOUR_JOB", self.count))
      					self.sendSocketNotification("DO_YOUR_JOB", self.count)
      					self.subElementUp.innerHTML = "Count UP:" + self.count
      					self.count++
      				}, 1000)
      				break
      		}
      	},
      
      
      S 1 Reply Last reply Mar 7, 2021, 9:53 PM Reply Quote 0
      • S Offline
        sdetweil @Dobi
        last edited by Mar 7, 2021, 9:53 PM

        @dobi and in the console.log too

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply May 22, 2021, 3:40 PM Reply Quote 1
        • D Offline
          Dobi @sdetweil
          last edited by May 22, 2021, 3:40 PM

          @sdetweil Hey sorry for my quite late response. But I wanted to tell you that I found my error it was quite stupid. I had to restart my raspi. After a restart the node_helper worked fine :)
          I wrote my first module.

          Thanks for your patient

          S C 2 Replies Last reply May 22, 2021, 3:42 PM Reply Quote 2
          • S Offline
            sdetweil @Dobi
            last edited by May 22, 2021, 3:42 PM

            @dobi glad you found it… so much fun!!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • C Offline
              cowboysdude Module Developer @Dobi
              last edited by May 23, 2021, 1:38 AM

              @dobi See you can do it! Great job and glad that it all worked out for you! :) This is what this project is about…learning.

              NOW you can make your mirror your own by showing information that you want and/or need to see…

              1 Reply Last reply Reply Quote 0
              • R Offline
                riich
                last edited by Aug 8, 2021, 8:08 PM

                Anyone have an idea on how to display an image instead of a line. I downloaded a jpeg image of a dog and I would like to display that instead of

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