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

different ports

Scheduled Pinned Locked Moved Feature Requests
4 Posts 2 Posters 2.1k Views 1 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
    Shampooman
    last edited by Jun 27, 2016, 2:59 PM

    Is it possible to use a different (additional) port to show a different page? I would like to use it to make a backend, so that I do not allways have to change the files via ssh. And I want to do a module to send messages to the mirror. Or would it be better to use a webservice or something like this?

    Thanks for your help! :)

    1 Reply Last reply Reply Quote 0
    • K Offline
      KirAsh4 Moderator
      last edited by Jun 27, 2016, 4:31 PM

      Anything is possible, you just have to write the code to do that as it doesn’t exist at the moment.

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 0
      • S Offline
        Shampooman
        last edited by Jun 28, 2016, 1:19 PM

        I’ve got another idea, that I’m just working on. It doesn’t have to be another port. As I saw in the description you could make a module named backend and put a website inside the public folder. I’m going to try this and will keep you up to date. I’ve got another question. I don’t know, if I should ask it here or make a new Thread.
        Is there any database on the rpi3 installation that would be prefered to use?

        1 Reply Last reply Reply Quote 0
        • S Offline
          Shampooman
          last edited by Jun 28, 2016, 7:32 PM

          ok i just found something new (for me)
          you could do this “port-thing” if you put this:
          this.expressApp.listen(3000)

          I allready read a lot in this forum, but found that this page i another great source of information:
          https://github.com/MichMich/MagicMirror/issues?page=2&q=is%3Aissue+is%3Aclosed

          It’s a little bit of Topic. I know and I’m sorry… :)

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