Read the statement by Michael Teeuw here.
Hintergrund Modul
-
Hallo zusammen, weiß jemand von euch, ob es möglich ist ein Modul zu coden, das auch Läd aber nichts anzeigt also, ohne das man einen Anzeige ort definieren muss da es nur im Hintergrund einen expressserver laufen lassen soll mit dem ich dann verschiedenesverschiedene live konfigurieren kann?
-
@luwol3 sure… you do not HAVE to display anything…
but you might not need to use MagicMirror for that… just javascript, and node
start up your express server…
sicher … Sie MÜSSEN nichts anzeigen …
Möglicherweise müssen Sie dafür jedoch nicht MagicMirror verwenden. Nur Javascript und Node
Starten Sie Ihren Express-Server… -
@sdetweil in der node_helper.js oder denn express server starten? Ich will so nen Config Modul entwickeln wo ich Informationen Meinem mm senden will
-
@luwol3 In Magic Mirror läuft bereits ein Express-Server, und Sie können Ihre eigenen Pfade hinzufügen … siehe das MMM-ImageslideShow-Modul node_helper
`` `
extraRoutes: function () {
var self = this;this.expressApp.get (“/ MMM-ImagesPhotos / photos”, Funktion (req, res) {
self.getPhotosImages (req, res);
});this.expressApp.use (“/ MMM-ImagesPhotos / photo”, express.static (self.path_images));
},
`` `
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login