MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. L_i_v_e
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 26
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: PICAMERA stream

      Ok, so i have to merge those two codes to make stuffs work:
      The idea is to have a stream as wide as the vertical display at the current place of the “message module”. Is anyone with a suggestion on how to make it work? Tomorrow i’ll start the trials.

      php:

      <!DOCTYPE html>
      <html>
        <head>
          <title>RPi Cam Preview</title>
          <script src="script_min.js"></script>
        </head>
        <body onload="setTimeout('init();', 100);">
          <center>
            <div><img id="mjpeg_dest" /></div>
          </center>
       </body>
      </html>
      
      

      js:

      var mjpeg_img;
       
      function reload_img () {
        mjpeg_img.src = "cam_pic.php?time=" + new Date().getTime();
      }
      function error_img () {
        setTimeout("mjpeg_img.src = 'cam_pic.php?time=' + new Date().getTime();", 100);
      }
      function init() {
        mjpeg_img = document.getElementById("mjpeg_dest");
        mjpeg_img.onload = reload_img;
        mjpeg_img.onerror = error_img;
        reload_img();
      }
      

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

      posted in Requests
      L
      L_i_v_e
    • RE: Podcast

      Hi, can i use it to have a direct stream from the picamera?

      posted in Entertainment
      L
      L_i_v_e
    • PICAMERA stream

      Hi i’d like to have a picamera stream in the mirror, under the compliment text. I currently use 2 raspi, one will stream, the other is where i host the server, but i can simply use the same for both recording and creating the server, to be opened from the other pi. As streamer i use RPi Cam Control v6.2.11 but i can use any other. I have no clue of how to do it, can you advice me please? Thanks

      posted in Requests
      L
      L_i_v_e
    • RE: Can't make it work/start

      FIXED
      the issue was in the node packet. By downloading out of the installer i solved the issue

      posted in Troubleshooting
      L
      L_i_v_e
    • Can't make it work/start

      I have a raspi 2 latest raspbian build, all upgraded, i tried with the automatic installation and it did not worked, there was only an empty folder, i tried with the manual one and it downloaded the files but i does not work. With npm install says npm: command not found, with node serveronly says:
      module.js:340
      throw err;
      ^
      Error: Cannot find module ‘express’
      at Function.module._resolveFilename (module.js:338:15)

      and so on with these module: 280:25 364:17 380:17 8:15 456:26 474:10 356:32 312:12 and 364:17

      What should i do? thanks

      posted in Troubleshooting
      L
      L_i_v_e
    • 1 / 1