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

MM emulator?

Scheduled Pinned Locked Moved Forum
6 Posts 5 Posters 947 Views 4 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.
  • L Offline
    leoliao1980
    last edited by Sep 2, 2020, 8:52 AM

    Hi there, it there any Magic-Mirror emulator that can simulate my developing MM-modules? I would prefer to develop the code on Windows-based before actually running it on the MagicMirror environment. Or, how you guys develop the modules if you are new to MM like me?

    C S 2 Replies Last reply Sep 2, 2020, 9:25 AM Reply Quote 0
    • C Offline
      Cr4z33 @leoliao1980
      last edited by Cr4z33 Sep 2, 2020, 9:25 AM Sep 2, 2020, 9:25 AM

      @leoliao1980 either a VM with Debian or a dedicated (Debian) partition looks already fine to me.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by Sep 2, 2020, 9:34 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User Sep 2, 2020, 10:59 AM Sep 2, 2020, 10:53 AM

          @hango with Windows based,it’s very very limited.
          complex module will not works (sample any module with voice [assistant])

          @Cr4z33 idea is really an alternative ;)

          Note: Raspbian is a debian version made for RPI

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @leoliao1980
            last edited by sdetweil Sep 2, 2020, 12:15 PM Sep 2, 2020, 12:14 PM

            @leoliao1980 install winscp or bitvise ssh client on your pc,

            then you can double click edit files on your pi, start and stop mm from the ssh window

            and use your browser to see the mm page ( w address:“0.0.0.0”, and ipWhitelist:[]
            set in the pi mm config.js

            it’s the best of both worlds

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Sep 2, 2020, 12:32 PM Reply Quote 0
            • S Away
              sdetweil @sdetweil
              last edited by Sep 2, 2020, 12:32 PM

              @leoliao1980 also, the process is the same.
              you don’t edit IN mm, you edit the files used, then launch mm.

              you can do that in windows, as long as I don’t need access to any pi hardware.

              install process
              git clone like normal
              cd MagicMirror
              npm install
              cd …\fonts
              npm install
              cd …\vendor
              npm install
              cd …
              npm start

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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