MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. htilly
    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

    htilly

    @htilly

    1
    Reputation
    292
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    htilly Unfollow Follow

    Best posts made by htilly

    • 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

    Latest posts made by htilly

    • [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
    • 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
    • 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
    • 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
    • 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