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.

    Mobile app (bachelor thesis)

    Scheduled Pinned Locked Moved Development
    116 Posts 31 Posters 184.2k Views 31 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.
    • lolobyteL Offline
      lolobyte @strawberry 3.141
      last edited by paviro

      @strawberry-3.141

      Hi, thank you for this.

      Very IMPORTANT!!!

      As i put the Module “MMM-Mobile” at the very last module on the end of the config.js, all my module were started in a new order so that the modules was on different locations.

      My config.js was modified like this sample:

       /* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = {        port: 8080, //      address: "192.168.178.45",  ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/24", ], language: 'de', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', classes: 'small bright', // Add your own styling. Optional. disabled: false, }, { .......
      

      and so on. That means, the hole config structure was damaged and in one line.

      Has anyone else this issue?

      After restoring the old config.js from the backup that your module was creating, the right module order was again ok.

      After that i put the “MMM-Mobile” module at first module in my config and my mirror works like before.


      Note from admin: Please use Markdown on code snippets for easier reading!

      in_a_daysI 2 Replies Last reply Reply Quote 1
      • in_a_daysI Offline
        in_a_days @lolobyte
        last edited by

        @lolobyte

        Same issue! Attempting your solution now. Thank you!

        What ship would bear me ever back across so wide a Sea?

        1 Reply Last reply Reply Quote 0
        • in_a_daysI Offline
          in_a_days @lolobyte
          last edited by

          @lolobyte

          Looks to me like the config.js rebuild is happening when the user runs npm install, regardless of where I place the MMM-Mobile module.

          What ship would bear me ever back across so wide a Sea?

          lolobyteL cowboysdudeC 2 Replies Last reply Reply Quote 0
          • lolobyteL Offline
            lolobyte @in_a_days
            last edited by

            @in_a_days

            ohh, reallly.

            But is it necessary to run npm install again?

            in_a_daysI 1 Reply Last reply Reply Quote 0
            • lolobyteL Offline
              lolobyte
              last edited by

              Has anyone reached a mail from apple?

              1 Reply Last reply Reply Quote 0
              • in_a_daysI Offline
                in_a_days @lolobyte
                last edited by

                @lolobyte said in Mobile app (bachelor thesis):

                @in_a_days

                ohh, reallly.

                But is it necessary to run npm install again?

                That is exactly what I am struggling with. I’ve only managed to generate a QR code on screen twice, both times after running the npm install. So basically right now I can only get a QR code after scrambling my config.js file. But it’s totally possible I’m doing something wrong too.

                What ship would bear me ever back across so wide a Sea?

                strawberry 3.141S 1 Reply Last reply Reply Quote 0
                • strawberry 3.141S Offline
                  strawberry 3.141 Project Sponsor Module Developer @in_a_days
                  last edited by

                  @in_a_days @lolobyte

                  There is a preinstall script (which gets executed right before npm install) which reorders the modules by region, but the display module order keeps the same, to enable easy reordering in the app.

                  Formatting of the config will reoccur in the next version.

                  The only possible way to reshow the qr-code is by deleting the mobile.json file (this will make all pairings obsolete) or you scan the qr image in the module directory.

                  About 10 iOS users have installed the app, so if you didn’t receive a mail by apple you can send me your mail again via pm and i will add you to the beta testing.

                  Please use github issues as it is the better tracker and overview for others with the same issues as you have done already

                  Please create a github issue if you need help, so I can keep track

                  lolobyteL 1 Reply Last reply Reply Quote 1
                  • lolobyteL Offline
                    lolobyte @strawberry 3.141
                    last edited by

                    @strawberry-3.141

                    Sorry, pm is what?

                    The App run only with ios10?

                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                    • strawberry 3.141S Offline
                      strawberry 3.141 Project Sponsor Module Developer @lolobyte
                      last edited by

                      @lolobyte personal message

                      it requires at least iOS 8 just wanted to say that 10 people have received the mail by apple

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 0
                      • morozgrafixM Offline
                        morozgrafix Moderator
                        last edited by

                        Filled out survey this morning. Good luck with your thesis, hope my answers help you. (one thing is that my answer about frequency of config.js modifications may screw up your results, due to me playing around with hacking and developing modules) Would love to get on beta of the iOS app.

                        1 Reply Last reply Reply Quote 0
                        • lolobyteL Offline
                          lolobyte
                          last edited by paviro

                          @strawberry-3-141

                          hi, Your app is successfully loaded from apple.

                          Little issue.

                          Can you tell me whats wrong here?

                          pi@raspi3-MM2:~/MagicMirror/modules/MMM-Mobile $ sudo npm install
                          npm WARN lifecycle mmm-mobile@1.0.0~preinstall: cannot run in wd %s %s (wd=%s) mmm-mobile@1.0.0 node scripts/preinstall.js /home/pi/MagicMirror/modules/MMM-Mobile
                          mmm-mobile@1.0.0 /home/pi/MagicMirror/modules/MMM-Mobile
                          ├─┬ async@2.1.4
                          │ └── lodash@4.17.4
                          ├── moment@2.17.1
                          ├── qr-image@3.2.0
                          └── simple-git@1.65.0
                          

                          after a git pull

                          pi@raspi3-MM2:~/MagicMirror/modules/MMM-Mobile $ sudo git pull
                          Aktualisiere 2e56f84..41dd1aa
                          Fast-forward
                           MMM-Mobile.js        | 5 +++--
                           translations/es.json | 3 +++
                           2 files changed, 6 insertions(+), 2 deletions(-)
                           create mode 100644 translations/es.json
                          pi@raspi3-MM2:~/MagicMirror/modules/MMM-Mobile $ sudo npm install
                          npm WARN lifecycle mmm-mobile@1.0.0~preinstall: cannot run in wd %s %s (wd=%s) mmm-mobile@1.0.0 node scripts/preinstall.js /home/pi/MagicMirror/modules/MMM-Mobile
                          

                          it remain. Same failure!


                          Note from admin: Please use Markdown on code snippets for easier reading!

                          strawberry 3.141S 1 Reply Last reply Reply Quote 0
                          • strawberry 3.141S Offline
                            strawberry 3.141 Project Sponsor Module Developer @lolobyte
                            last edited by

                            @lolobyte the problem was that his config.js file was locked to root access

                            Please create a github issue if you need help, so I can keep track

                            lolobyteL 1 Reply Last reply Reply Quote 0
                            • lolobyteL Offline
                              lolobyte @strawberry 3.141
                              last edited by

                              @strawberry-3.141

                              That’s happened since i restored the reformatted config.js. ;-)

                              1 Reply Last reply Reply Quote 0
                              • cowboysdudeC Offline
                                cowboysdude Module Developer @strawberry 3.141
                                last edited by

                                @strawberry-3.141 said in Mobile app (bachelor thesis):

                                Everyone should have received an email with the App (Android, Windows Phone).

                                iOS users should receive a second mail from Apple themselves with an invite for beta testing.

                                Never got an email from Apple… so I’m kinda stuck. I installed the mirror app but that’s as far as I can go…

                                cowboysdudeC 1 Reply Last reply Reply Quote 0
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @in_a_days
                                  last edited by

                                  @in_a_days Mine just put a .032 in my config.js and that was it LOL

                                  1 Reply Last reply Reply Quote 0
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer @cowboysdude
                                    last edited by

                                    @cowboysdude said in Mobile app (bachelor thesis):

                                    @strawberry-3.141 said in Mobile app (bachelor thesis):

                                    Everyone should have received an email with the App (Android, Windows Phone).

                                    iOS users should receive a second mail from Apple themselves with an invite for beta testing.

                                    Never got an email from Apple… so I’m kinda stuck. I installed the mirror app but that’s as far as I can go…

                                    I did get the email…check the ‘junk’ folder… ;)
                                    And Thanks to Strawberry it’s up and running!!

                                    VERY nice work!! Deserves an A+ for sure!!!

                                    1 Reply Last reply Reply Quote 0
                                    • lolobyteL Offline
                                      lolobyte
                                      last edited by

                                      @strawberry-3-141;

                                      your new MagicMirror² 1.0.2 (4) for iOS is out and ready for testing. :-) :airplane:

                                      1 Reply Last reply Reply Quote 0
                                      • strawberry 3.141S Offline
                                        strawberry 3.141 Project Sponsor Module Developer
                                        last edited by

                                        I just send out the mails,

                                        Everyone should have got an email with instructions.

                                        iOS users should have received their mail from Apple about an hour ago.

                                        First of all I highly recommend to uninstall the app on your phone before
                                        installing the new version to avoid conflicts, because I made changes to
                                        the Storage and Pairing System.
                                        
                                        Don't forget to reinstall the module or updating it.
                                        
                                        Changelog:
                                        - Added config options to the module.
                                        - Tour is only skipable when already paired.
                                        - Settings added (Multilingual).
                                        - Most modules can be installed through the app.
                                        - Most modules can be updated through the app.
                                        - Most module dependencies can be installed through the app.
                                        
                                        - Fixed: Config in one line
                                        - Fixed: Freezing by trying to sync without connection
                                        - Fixed: Overlapping of status bar with skip button in the tour
                                        

                                        Please create a github issue if you need help, so I can keep track

                                        1 Reply Last reply Reply Quote 0
                                        • strawberry 3.141S Offline
                                          strawberry 3.141 Project Sponsor Module Developer
                                          last edited by

                                          A message that you sent could not be delivered to one or more of its
                                          recipients. This is a permanent error.
                                          

                                          If you got no email by now please contact me

                                          Please create a github issue if you need help, so I can keep track

                                          1 Reply Last reply Reply Quote 0
                                          • strawberry 3.141S Offline
                                            strawberry 3.141 Project Sponsor Module Developer
                                            last edited by

                                            I’m sorry, there is a bug in the module, which will override the pairing process each time you start the mirror. I made a bugfix over my phone which hopefully fixes it. Please update the module. It can be that you have to redo the pairing process.

                                            Please create a github issue if you need help, so I can keep track

                                            tosti007T 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              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