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.

    Problem server client configuration

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    21 Posts 6 Posters 10.3k Views 5 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
      sdetweil
      last edited by sdetweil

      if you are trying to start over an ssh session, you need to add this before the node clientonly

      if [ -z “$DISPLAY” ]; then #If not set DISPLAY is SSH remote or tty
      export DISPLAY=:0 # Set by default display
      fi

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • bheplerB Offline
        bhepler Module Developer @Akkor
        last edited by

        @akkor - Ugh. Why would you want to use Electron if you didn’t have to? There’s already a web browser on your Pi. Just point it at the MM server and be done with it.

        I’ve learned that you can get Chromium to start in kiosk mode at a particular URL with about an hour of research and testing. Minimal swearing was involved.

        idoodlerI 1 Reply Last reply Reply Quote 0
        • idoodlerI Offline
          idoodler Module Developer @bhepler
          last edited by

          @bhepler Electron is already a premade solution that works great. However using Chromium in Kiosk mode is also a nice and easy solution. And it may solve the issue here.

          @Akkor How to open Chromium in kioksmode on startup: https://raspberrypi.stackexchange.com/questions/40631/setting-up-a-kiosk-with-chromium

          1 Reply Last reply Reply Quote 0
          • A Offline
            Akkor
            last edited by Akkor

            @idoodler @bhepler
            I Have setup chromium to autostart and it’s ok
            But I would like use Electron to use the voice command on client like this one https://github.com/mykle1/Hello-Lucy or https://github.com/joanaz/MMM-MirrorMirrorOnTheWall but I don’t know if it’s doable in server/client mode

            idoodlerI 1 Reply Last reply Reply Quote 0
            • idoodlerI Offline
              idoodler Module Developer @Akkor
              last edited by

              @akkor I don’t think you can use Hello-Lucy in client mode.
              But I bet the developer @Mykle1 knows it.

              Mykle1M 1 Reply Last reply Reply Quote 1
              • A Offline
                Akkor
                last edited by

                ok so wait for @Mykle1

                1 Reply Last reply Reply Quote 0
                • M Offline
                  macnice
                  last edited by

                  This post is deleted!
                  idoodlerI 1 Reply Last reply Reply Quote 0
                  • idoodlerI Offline
                    idoodler Module Developer @macnice
                    last edited by

                    @macnice Hi, is your issue related to the problem described in this thread? You May want to create a new thread if the issue are not related.

                    1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @idoodler
                      last edited by

                      @idoodler said in Problem server client configuration:

                      I don’t think you can use Hello-Lucy in client mode.
                      But I bet the developer @Mykle1 knows it.

                      @Akkor ok so wait for @Mykle1

                      I never even thought about trying it. I just run standard installations. If @idoodler doesn’t think it will work, it probably won’t. However, you could always try for yourself.

                      Create a working config
                      How to add modules

                      idoodlerI 1 Reply Last reply Reply Quote 0
                      • idoodlerI Offline
                        idoodler Module Developer @Mykle1
                        last edited by

                        @mykle1 I am currently unable to test it. I quickly checked your code on my phone, but I didn‘t quite got your code :flushed_face:

                        I am curious, how did you make the voice recognition?

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Akkor
                          last edited by

                          It could be fine if someone really skilled test Hello Lucy server/client mode

                          1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @idoodler
                            last edited by

                            @idoodler said in Problem server client configuration:

                            I am currently unable to test it.

                            I didn’t mean that YOU should test it. I meant that @Akkor should test it as it is he that is looking for that functionality.

                            I am curious, how did you make the voice recognition?

                            I didn’t. MMM-voice was already written by @strawberry-3-141. It’s a fantastic piece of software. I just made some additions/modifications to original so that I could hide/show individual modules, hide/show pages of modules, hide show all modules, turn the display on and off, audio, all through the use of notifications. I use it every day for a year now. It’s stable, very fast and does exactly what I want it to do.

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 2
                            • A Offline
                              Akkor
                              last edited by

                              @Mykle1
                              I could test but I need your assistance 'couse I’m not a programmer
                              I’m just good following guide… :(

                              Mykle1M 1 Reply Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @Akkor
                                last edited by

                                @akkor said in Problem server client configuration:

                                I could test but I need your assistance 'couse I’m not a programmer
                                I’m just good following guide…

                                Why I think it won’t work. You’ll be running MM and MMM-voice on the server machine. The client machine will only have a browser pointed at MM running on the server machine. The client has no way of accepting the voice commands because only the browser is running.

                                Now, if you had a microphone (at the client machine) with a cable that reached all the way to where the server machine is . . . :)

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 1

                                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
                                • 2 / 2
                                • 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