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.

    Help with the camera

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 3 Posters 7.5k Views 3 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.
    • N Offline
      ninjabreadman @xela
      last edited by ninjabreadman

      @xela Which modules are you using? Did you run npm install in both folders? Do you also have the camera module in your config.js?

      Problem with config or JavaScript? Copy/paste it into JSHint.
      Check out the detailed walkthroughs on install, config, modules, etc.

      1 Reply Last reply Reply Quote 0
      • X Offline
        xela
        last edited by

        thank you very much! it’s working!

        do you know by any chance if it’s possible to have the camera picture as vertically full screen?
        Or is not, is it possible to hide all other modules when the camera picture is on?
        I want to use the camera as my mirror so when I say the magic work everything disappears and only the camera picture stays.

        1 Reply Last reply Reply Quote 0
        • N Offline
          ninjabreadman
          last edited by

          Have a look at MMM-pages. Install it, and you can then send a PAGE_CHANGED notification either when you send the camera notifications (voicecontrol module) or when you receive and process them (camera module). That should page between the camera and everything else.

          Problem with config or JavaScript? Copy/paste it into JSHint.
          Check out the detailed walkthroughs on install, config, modules, etc.

          X 1 Reply Last reply Reply Quote 0
          • X Offline
            xela @ninjabreadman
            last edited by

            Thank you very much! That’s great.
            Do you know by any chance if it’s possible to have the camera image 90 degree rotated and on full screen? I want to use the camera as the mirror instead of applying a glass or a film.

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              ninjabreadman @xela
              last edited by ninjabreadman

              @xela What modules are you using? ¯\_(ツ)_/¯

              Problem with config or JavaScript? Copy/paste it into JSHint.
              Check out the detailed walkthroughs on install, config, modules, etc.

              1 Reply Last reply Reply Quote 0
              • X Offline
                xela
                last edited by

                Sorry… the modules I’m using are:
                Alert
                updatenotification
                helloworld
                clock
                calendar
                MMM-WunderGround
                MMM-Traffic
                MMM-GoogleMapsTraffic
                MMM-ImageSlideshow
                voicecontrol
                camera
                compliments
                newsfeed
                MMM-Remote-Control

                I also intend to use MMM-buttons so when I press a button it will start the image slideshow of artistic pictures (so it will act as a wall art).

                thank you for your help!

                N 2 Replies Last reply Reply Quote 0
                • N Offline
                  ninjabreadman @xela
                  last edited by ninjabreadman

                  @xela It’s not supported natively by webcamjs. See this issue posted here. You can try CSS transforms, but it may be too processor intensive for the RPi.

                  Problem with config or JavaScript? Copy/paste it into JSHint.
                  Check out the detailed walkthroughs on install, config, modules, etc.

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    ninjabreadman @xela
                    last edited by

                    @xela Regarding rotating the camera, you can physically rotate the camera. If you’re directly connecting it to the RPi, consider using a flex cable instead.

                    Problem with config or JavaScript? Copy/paste it into JSHint.
                    Check out the detailed walkthroughs on install, config, modules, etc.

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xela
                      last edited by

                      I am getting the following error:
                      Webcam.js Error: Could not access webcam: NotSupportedError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV). NotSupportedError: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).

                      Do you know by any chance what it means?

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        ninjabreadman @xela
                        last edited by

                        @xela Read through this issue on GitHub. Given you were trying to make the webcam full screen, is it related?

                        Problem with config or JavaScript? Copy/paste it into JSHint.
                        Check out the detailed walkthroughs on install, config, modules, etc.

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