@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.