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

    rnieto18

    @rnieto18

    2
    Reputation
    20
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    rnieto18 Unfollow Follow

    Best posts made by rnieto18

    • RE: MMM-transitfeed - upcoming departure board for most transit agencies

      @bnitkin said in MMM-transitfeed - upcoming departure board for most transit agencies:

      @rnieto18 Thanks for reporting that! You’re doing everything right; there was a parsing disagreement between my script and Virginia Railway. You should be able to pull from main (or just restart magicmirror; I think it auto-updates?) and be back in business.

      GTFS supports calendars so transit agencies can report different service on weekdays vs weekends or special holiday service. That means a single GTFS trip usually corresponds to M-F service under the same trip ID. MMM-transitfeed looks up the calendar for each trip to generate daily schedules. Virginia Rail has a single calendar called Regular, but the trips reference other calendars like Summer and Day After Thanksgiving.

      My script was looking up those nonexistent calendars and crashing when it tried to extract service from them. I’ve fixed it to not examine calendars that don’t exist.

      Let me know if it works, or if you’re still having trouble!

      – Ben

      Thank You!! works great now

      posted in Transport
      R
      rnieto18
    • RE: MMM-transitfeed - upcoming departure board for most transit agencies

      @bnitkin I am beating my head trying to get the Virginia Railway into this module.

      I went https://transitfeeds.com/p/virginia-railway-express/250 and pulled the link to the latest download. I added it to my config

      		   config: {
      				gtfs_config: {
      				agencies: [
      					{
      					"url": "https://transitfeeds.com/p/virginia-railway-express/250/latest/download",
      					exclude: ['shapes']
      					},
      				],	
      			},
      
      			// Route + station pairs to monitor for departures
      			queries: [
      				{route_name: "Fredericksburg Line", stop_name: "Lorton"},
      			],
      			showStationNames: false,
      			}
      

      I get no trips found yet. Check queries in the config if this persists. I can get this to work with your config in the readme.

      I have even looked at https://www.vre.org/sites/vre/assets/File/pdfs/MobileDevelopersGuideweb.pdf
      and tried http://www.vre.org/gtfs/google_transit.zip

      Any help would be appreciated!

      posted in Transport
      R
      rnieto18

    Latest posts made by rnieto18

    • RE: Amazon shipping

      @plainbroke I have a show as well but never actually look at it 🙃

      posted in Requests
      R
      rnieto18
    • RE: Amazon shipping

      @s-monti-74 Amazon does have an api for shipping which "With these APIs, you can request shipping rates, create shipments, cancel shipments, and track shipments. " This might work for what you were looking for if someone has the want to help build it.

      https://developer-docs.amazon.com/amazon-shipping/docs/shipping-api-v2-reference

      posted in Requests
      R
      rnieto18
    • RE: MMM-CalvinAndHobbes Re-Size for full Sunday Comic Strip

      I know this is an old thread, but I just came across this today. I found you can fix this by putting limitComicHeight: false, in your config

      This is what mine looks like and it works great.

      {
      	disabled: false,
      	module: 'MMM-CalvinAndHobbes',
      	position: 'middle_center',
      	classes: "calvin",
      		config: {
      				invertColors: false, 
      				grayScale: false, 
      				updateInterval: 1000 * 60 * 60 * 12, 
      				limitComicHeight: false,
      			}
      }
      

      I also had to adjust my css because of the zoom, but you may not need to.

      #cahcomiccontent {
      
          zoom: 80%;
      }
      
      
      posted in Entertainment
      R
      rnieto18
    • RE: MMM-transitfeed - upcoming departure board for most transit agencies

      @bnitkin said in MMM-transitfeed - upcoming departure board for most transit agencies:

      @rnieto18 Thanks for reporting that! You’re doing everything right; there was a parsing disagreement between my script and Virginia Railway. You should be able to pull from main (or just restart magicmirror; I think it auto-updates?) and be back in business.

      GTFS supports calendars so transit agencies can report different service on weekdays vs weekends or special holiday service. That means a single GTFS trip usually corresponds to M-F service under the same trip ID. MMM-transitfeed looks up the calendar for each trip to generate daily schedules. Virginia Rail has a single calendar called Regular, but the trips reference other calendars like Summer and Day After Thanksgiving.

      My script was looking up those nonexistent calendars and crashing when it tried to extract service from them. I’ve fixed it to not examine calendars that don’t exist.

      Let me know if it works, or if you’re still having trouble!

      – Ben

      Thank You!! works great now

      posted in Transport
      R
      rnieto18
    • RE: MMM-transitfeed - upcoming departure board for most transit agencies

      @bnitkin I am beating my head trying to get the Virginia Railway into this module.

      I went https://transitfeeds.com/p/virginia-railway-express/250 and pulled the link to the latest download. I added it to my config

      		   config: {
      				gtfs_config: {
      				agencies: [
      					{
      					"url": "https://transitfeeds.com/p/virginia-railway-express/250/latest/download",
      					exclude: ['shapes']
      					},
      				],	
      			},
      
      			// Route + station pairs to monitor for departures
      			queries: [
      				{route_name: "Fredericksburg Line", stop_name: "Lorton"},
      			],
      			showStationNames: false,
      			}
      

      I get no trips found yet. Check queries in the config if this persists. I can get this to work with your config in the readme.

      I have even looked at https://www.vre.org/sites/vre/assets/File/pdfs/MobileDevelopersGuideweb.pdf
      and tried http://www.vre.org/gtfs/google_transit.zip

      Any help would be appreciated!

      posted in Transport
      R
      rnieto18