Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Hintergrund Modul

    Development
    2
    4
    172
    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.
    • L
      luwol3 last edited by luwol3

      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?

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @luwol3 last edited by sdetweil

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

        L 1 Reply Last reply Reply Quote 0
        • L
          luwol3 @sdetweil last edited by

          @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

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @luwol3 last edited by

            @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));
            },
            `` `

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy