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

    Posts

    Recent Best Controversial
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm I’ve tried changing the moduleOffset to 0.5, as well as some other experimental values, but unfortunately that didn’t do the trick.

      The configuration itself should work, as I had it working with a different RTSP cam previously.

      posted in Utilities
      K
      kasperb
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm Thanks for clarifying. I’ve removed protocol: 'tcp' from the config.

      When executing the default command in Terminal, the video displays properly on my screen.

      The MM logs indicate that the stream is started accordingly as well (see below), but unfortunately still nothing is visible on my Mirror.

      0|mm       | Starting stream stream1 with args: [
      0|mm       |     "--avdict rtsp_transport:tcp",
      0|mm       |     "--win",
      0|mm       |     "379.5, 841.5, 731.5, 1083.5",
      0|mm       |     "--live",
      0|mm       |     "--video_queue",
      0|mm       |     "4",
      0|mm       |     "--fps",
      0|mm       |     "30",
      0|mm       |     "rtsp://admin:admin@192.168.0.130:10554/tcp/av0_1"
      0|mm       | ]
      
      
      posted in Utilities
      K
      kasperb
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      Hello,

      @shbatm thanks for the great module!

      In order to make my camera work in omxplayer, I need to enter the following command before the RTSP streaming URL in Terminal:

      omxplayer --avdict rtsp_transport:tcp 
      

      The RTSP stream works fine with the added command in omxplayer. Full working command for reference:

      omxplayer --avdict rtsp_transport:tcp rtsp://admin:admin@192.168.0.130:10554/tcp/av0_1
      
      

      Is there a way to add the command to the config in order for the camera to work?

      When looking at node helper.js I see the following reference:

          if (this.config[payload.name].protocol !== "udp") {
              args.unshift("--avdict", "rtsp_transport:tcp");
      

      I’ve tried to switch the protocol in the config to ‘udp’ (as well as ‘tcp’) to no avail. I hope you could point me in the right direction in order to solve this issue.

      Full config below for reference:

      
         {
                  module: 'MMM-RTSPStream',
                  position: 'middle_center',
                  config: {
                      autoStart: true,
                      rotateStreams: false,
                      rotateStreamTimeout: 10,
                      showSnapWhenPaused: false,
                      moduleWidth: 354,
                      moduleHeight: 240,
                      moduleOffset: 0,
                      localPlayer: 'omxplayer',    
                      stream1: {
                          name: '360 Cam',
                          url: 'rtsp://admin:admin@192.168.0.130:10554/tcp/av0_1',
                          protocol: 'udp',
                          snapshotUrl: '',
                          snapshotRefresh: 10, // Seconds
                          frameRate: "5",
                          port: 9999,
                      }
                  }  
      

      Thanks in advance!

      posted in Utilities
      K
      kasperb
    • RE: MMM-MyCommute

      @j-e-f-f The issue was resolved after a git pull - thanks for the quick fix!

      posted in Transport
      K
      kasperb
    • RE: MMM-MyCommute

      @j-e-f-f Thanks for your module - it works great! I have one question: one of my trips involves using the light rail, however, the module list this as “(undefined)” opposed to the actual method of transportation. Do you have any suggestions how I could fix this?

      posted in Transport
      K
      kasperb
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @barnosch Having the same issue; only a browser refresh or restart of the MM works. I started to question my camera and thought it was going offline, but looks like it’s related to the current WIP version. :-)

      posted in Utilities
      K
      kasperb
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      Hello all,

      @ianperrin Thanks for the great module!

      I’ve been using MMM-ModuleScheduler successfully for a couple of weeks, however, after a recent update the module is no longer working as designed. It appears that the correct SHOW & HIDE commands are being send (see logs below), however, the modules do not appear or disappear from the MM itself.

      The only command that works well is the HDMI on/off. Any guidance or insight is appreciated.

      Thanks!

        | MMM-ModuleScheduler will next send SEND_NOTIFICATION to REMOTE_ACTION at Thu Apr 20 2017 23:30:00 GMT-0400 (EDT) based on "30 23 * * *"
      0|mm       | Powering off HDMI
      0|mm       | MMM-ModuleScheduler is sending HIDE_MODULE to module_11_MMM-ImagesPhotos
      0|mm       | MMM-ModuleScheduler will next send HIDE_MODULE to module_11_MMM-ImagesPhotos at Thu Apr 20 2017 23:45:00 GMT-0400 (EDT) based on "45 23 * * *"
      0|mm       | MMM-ModuleScheduler is sending SEND_NOTIFICATION to REMOTE_ACTION
      0|mm       | MMM-ModuleScheduler will next send SEND_NOTIFICATION to REMOTE_ACTION at Fri Apr 21 2017 06:00:00 GMT-0400 (EDT) based on "0 6 * * *"
      0|mm       | MMM-ModuleScheduler is sending SHOW_MODULE to module_4_localtransport
      0|mm       | MMM-ModuleScheduler will next send SHOW_MODULE to module_4_localtransport at Fri Apr 21 2017 06:00:00 GMT-0400 (EDT) based on "0 6 * * *"
      0|mm       | MMM-ModuleScheduler is sending SHOW_MODULE to module_6_iFrame
      0|mm       | MMM-ModuleScheduler will next send SHOW_MODULE to module_6_iFrame at Fri Apr 21 2017 06:00:00 GMT-0400 (EDT) based on "0 6 * * *"
      0|mm       | Powering on HDMI with preferred settings
      
      
      posted in System
      K
      kasperb
    • RE: Weatherunderground - currently - hourly - daily - configurable

      @DeanoAus The only thing I can think of is adding the " " to coloricon value:

      coloricon: "true",
      posted in Utilities
      K
      kasperb
    • MMM-ModuleScheduler only refreshing modules after restart

      I’m using the module MMM-ModuleScheduler, but unfortunately the modules on the mirror don’t automatically hide & show based on the configuration in the config.js. When I restart the Mirror, modules are hidden or shown based on the correct schedule though. I’ve checked my config.js, and it seems fine as the log provides the below information with the show/hide commands.

      Has anyone experienced this behavior before? Any suggestions are welcome.

      Thanks in advance!

      MMM-ModuleScheduler is removing all scheduled jobs
      MMM-ModuleScheduler received CREATE_MODULE_SCHEDULE
      MMM-ModuleScheduler is scheduling MMM-ImagesPhotos using "50 9 * * *" and "45 23 * * *" with dim level undefined
      MMM-ModuleScheduler is hiding MMM-ImagesPhotos
      MMM-ModuleScheduler has scheduled MMM-ImagesPhotos
      MMM-ModuleScheduler will next show MMM-ImagesPhotos at Thu Mar 30 2017 09:50:00 GMT-0400 (EDT)
      MMM-ModuleScheduler will next hide MMM-ImagesPhotos at Thu Mar 30 2017 23:45:00 GMT-0400 (EDT)
      Create new news fetcher for url: http://feeds.feedburner.com/TechCrunch/ - Interval: 300000
      Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      Create new news fetcher for url: http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml - Interval: 300000
      MMM-ModuleScheduler is sending SHOW_MODULE to module_10_MMM-ImagesPhotos
      MMM-ModuleScheduler will next send SHOW_MODULE to module_10_MMM-ImagesPhotos at Fri Mar 31 2017 09:50:00 GMT-0400 (EDT) based on "50 9 * * *"
      
      
      
      posted in Troubleshooting
      K
      kasperb
    • RE: Weatherunderground - currently - hourly - daily - configurable

      @RedNax I’ve tried changing this in the main MMM-WunderGround CSS and custom CSS, but neither seem to affect the font size. (note that my goal is to increase the font size):

      .MMM-WunderGround .smaller {
          font-size: 80%;
      }
      

      and

      .MMM-WunderGround .smaller { font-size: 80%; }
      

      Any guidance would be appreciated.

      posted in Utilities
      K
      kasperb
    • 1 / 1