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

Posts

Recent Best Controversial
  • [MMM-RTSP] Module is only showing half of the stream?

    Hi!

    First of, thanks for a great module. I finally got it running with VLC.
    However, I have one issue that I just can´t solve.
    The module is only showing half of the picture/stream.

    When viewing the stream thru VLC it looks ok and from the info I can verify that the size is:
    640 x 360. And the stream thru VLC looks just fine.

    No matter how I try to tweak the config, this module has decided that it should be enough to show me the left part of the stream. I,e. 50% of the picture is gone?!

    Config as follow:

    module: "MMM-RTSPStream",                                                                                                                                                                                                             
                           position: "middle_center",                                                                                                                                                                                                            
                           header: "CAM",                                                                                                                                                                                                                        
                               config: {                                                                                                                                                                                                                         
                                               autoStart: true,                                                                                                                                                                                                  
                                               rotateStreams: false,                                                                                                                                                                                             
                                               rotateStreamTimeout: 10,                                                                                                                                                                                          
                                               moduleWidth: 640,                                                                                                                                                                                                 
                                               moduleHeight: 360,                                                                                                                                                                                                
                                               localPlayer: 'vlc',                                                                                                                                                                                               
                                               remotePlayer: 'none',                                                                                                                                                                                             
                                               showSnapWhenPaused: false,                                                                                                                                                                                        
                                               remoteSnaps: false,                                                                                                                                                                                               
                                               shutdownDelay: 12,                                                                                                                                                                                                
                                                   stream1: {                                                                                                                                                                                                    
                                                                       name: 'CAM',                                                                                                                                                                              
                                                                       url: 'rtsp://USER:PASSWD@IP:10554/udp/av0_1',                                                                                                                             
                                                                       frameRate: 'undefined',                                                                                                                                                                   
                                                                   //    hdUrl: 'rtsp://USER:PASSWD@IP:10554/udp/av0_1',                                                                                                                         
                                                                       width: 'undefined',                                                                                                                                                                       
                                                                       height: 'undefined',                                                                                                                                                                      
                                                                       },                                                                                                                                                                                        
                                               }                                                                                                                                                                                                                 
               },                                    
    

    I have tried setting the width and height in “stream1” to the same pixel… Same result… have also tried to doubble the width… Same issue…

    What am I missing?!

    Ping: @shbatm

    BR
    Tilly

    posted in Troubleshooting
    H
    htilly
    Apr 8, 2019, 11:43 AM
  • RE: Opening hours for stores/places thru Google API

    I tried it and it seems to be something strange with the PlaceID.
    Try this ID instead:
    ChIJl7ycbxZYn0cRqZwkVTJ3Rzw

    Should be the same place.

    /Tilly

    posted in Requests
    H
    htilly
    Mar 29, 2019, 7:26 PM
  • RE: Opening hours for stores/places thru Google API

    Hi,

    Regarding yarn or npm is just a matter of package managers. As far as I understand you could probably happily do what you described using npm if that feels better.

    now, for the data. I installed it and had the same problem as you describe. First of, make sure that you do have a Google API registered and working. Assuming that you have this, my installation started to work after a reboot of the Raspberry Pi.
    I guess that it will not initiate a new API call after changing the config for MagicMirror.

    And to be clear, I have not coded this. I’m the one that requested the feature, and I simply love the delivery. Exactly what I wanted!!

    BR
    Tilly

    posted in Requests
    H
    htilly
    Mar 29, 2019, 10:02 AM
  • RE: Opening hours for stores/places thru Google API

    Awesome!!! :rocket:

    Installing today to try it out.
    Look really nice!

    :folded_hands:

    posted in Requests
    H
    htilly
    Mar 26, 2019, 2:48 PM
  • Opening hours for stores/places thru Google API

    Hi!

    I would like to be able to enter a list of my favorite stores/places and get a simple list of current opening hours.

    I.e., if the list contains:
    McDonald “My localtion”, Library “My location”, Restaurant_name.

    An API call to google:
    https://developers.google.com/places/web-service/details#PlaceDetailsResults
    … and the result from:
    opening_hours

    The module would then present a list with the following results:

    Name - Status
    McDonald - “Open Now”
    Library - “Closes in 30 min”
    Restaurant_name - “Closed”

    Wouldn´t that be nice?! :-D

    Example of data pulled from a classic google search.

    0_1549223649197_MMMOpeninghours.png

    BR
    Tilly

    posted in Requests
    H
    htilly
    Feb 3, 2019, 7:47 PM
  • 1 / 1
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