• 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
  1. Home
  2. Dobi
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
D
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 10
  • Groups 0

Posts

Recent Best Controversial
  • RE: MMM-Losung

    hey,
    I updated the module again, because the fileread create some problemes.
    In the actual version the daily verse gets fetched directly from the web.

    Have fun with the module. :)

    posted in Education
    D
    Dobi
    Dec 26, 2021, 10:42 AM
  • RE: MMM-Losung

    hey,

    I updated my module. Its possible to get the daily text from an online repositiory.
    But it’s still possible to use the xml File

    At the moment the module is only in german:( But I think an english version is already available.

    posted in Education
    D
    Dobi
    Jun 6, 2021, 5:47 AM
  • MMM-Losung

    Hello together,
    I wanted to present you my first module for the magic mirror. So please feel free to add some comments what I can do better :)

    Description:
    The module displays the daily bible verse from ther german “Losungstext” and the additional teaching text.

    Download

    https://github.com/Dobherrmann/MMM-Losung

    Screenshots:
    Example.JPG
    Version 1.0:

    • First release

    Open Topics:

    • Extends the module to more languages
    posted in Education
    D
    Dobi
    May 27, 2021, 2:32 PM
  • RE: Head first developing MM module for extreme beginners

    @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

    posted in Development
    D
    Dobi
    May 22, 2021, 3:40 PM
  • RE: Head first developing MM module for extreme beginners

    @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
    		}
    	},
    
    
    posted in Development
    D
    Dobi
    Mar 7, 2021, 8:11 PM
  • RE: Head first developing MM module for extreme beginners

    @sdetweil I replaced all this. … calls to self. … but I don’t get a change. Is there a way that I can check to check that I can check that the function is loaded correctly from the kernal?

    posted in Development
    D
    Dobi
    Mar 7, 2021, 7:29 PM
  • RE: Head first developing MM module for extreme beginners

    @sdetweil ok, but it dosen’t change something.

    notificationReceived: function (notification, payload, sender) {
    		self = this;
    		switch (notification) {
    			case "DOM_OBJECTS_CREATED":
    				var timer = setInterval(() => {
    					//this.updateDom()
    					self.sendSocketNotification("DO_YOUR_JOB", this.count);
    					console.log(`self.sendSocketNotification("DO_YOUR_JOB", this.count)`, self.sendSocketNotification("DO_YOUR_JOB", this.count))
    					self.sendSocketNotification("DO_YOUR_JOB", this.count)
    					this.subElementUp.innerHTML = "Count UP:" + this.count
    					this.count++
    				}, 1000)
    				break
    		}
    	},
    

    Now i could post a picture of my console
    875c1b85-daa2-4374-b4d3-c833268e7387-grafik.png

    posted in Development
    D
    Dobi
    Mar 7, 2021, 5:54 PM
  • RE: Head first developing MM module for extreme beginners

    @sdetweil I gave it a try but without differences :(
    I made a new git repo : https://github.com/Dobherrmann/MMM-cookbook.git
    Now there I should have the same name in the repo like my module.

    my config. js looks like this (I gave it a position):

     {
          module: "MMM-cookbook",
          position: "middle_center",
          config: {
            header: "My Cookbook",
            foo: "I'm the King of the world!"
          }
        },
    

    I started to debug “my code” a little bit and I found this when I want to send a socket notification:

    self.sendSocketNotification("DO_YOUR_JOB", this.count);
    					console.log("Notfication", this.sendSocketNotification("DO_YOUR_JOB", this.count))
    					this.sendSocketNotification("DO_YOUR_JOB", this.count)
    					this.subElementUp.innerHTML = "Count UP:" + this.count
    

    On my console i get the feedback that “this.sendSocketNotification(“DO_YOUR_JOB”, this.count” is undefined. It looks like that this function is unkown.

    posted in Development
    D
    Dobi
    Mar 7, 2021, 5:34 PM
  • RE: Head first developing MM module for extreme beginners

    @sdetweil ahh thank you for these information I will give it a try.

    posted in Development
    D
    Dobi
    Mar 7, 2021, 3:16 PM
  • RE: Head first developing MM module for extreme beginners

    Hey guys,

    I’m quite new in developing an own module. I was able to change exiting modules on my magic mirror but now I wanted to create my own module, but I’m not able to get socket communication between my “main” module an the “helper-function”

    I uploaded my module here:
    https://github.com/Dobherrmann/MMM_Testmodul.git
    my Module looks like this on my magic mirror:
    8f60324c-9269-4d1c-b5ae-0e337b316361-grafik.png
    maybe someone can find my mistake(s).

    BR

    posted in Development
    D
    Dobi
    Mar 6, 2021, 5:28 PM
  • 1 / 1
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