@yawns there used to be a ton of documentation on the API which for some reason is now offline. I found a list that was downloaded, here is the link
Read the statement by Michael Teeuw here.
ooom416354
@ooom416354
Database/SQL developer for 18 years in Financial Systems.
Rookie with JavaScript, trying to learn on the fly.
Best posts made by ooom416354
-
RE: Converting an old JS file into a module
-
RE: NYC MTA Subway Times
@yawns you had converted this one for me and yes, it still works :-)
-
RE: Converting an old JS file into a module
@yawns Here’s all of the feeds, the site is down but I have the links:
Full Station Listing with details:
https://traintime.lirr.org/api/Stations-AllSchedules based on Starting Station input (startsta=) and Ending Station input (endsta=) along with date/time (can be future dated)
Actual Train Schedules closest to the current time (passing in the 3 letter station code after loc=). This is different from the other link that I used for the JS file as it doesn’t show the ETA of the train.
-
RE: MMM-MLB
@strawberry-3.141 Def can wait, the season doesn’t start until like 4/1 anyway !
-
RE: Help needed simple API based module
@washichi @yawns this is great work. I am wondering, would this completed code be kind of a base for making other API calls which return data in JSON format?
-
RE: MMM-Rest reading Json
I’m curious about this as well, I currently have a link to some JSON output which I’d want to display some of the results on the mirror. I was wondering if a module that’s currently out there can be tinkered with to perform this kind of thing.
-
RE: Where are you from?
@cowboysdude I’m from NY but I am one of those who is just outside of Manhattan on Long Island. Commute to the city everyday!
-
RE: Help needed simple API based module
@washichi Yea, I am still not even sure how to translate the returned JSON to an actual visual table on the mirror. Not very good at this lol
Latest posts made by ooom416354
-
RE: MMM-MyCommute - API Calls and Quota
@lavolp3 Thanks so much for the details!
-
RE: MMM-MyCommute - API Calls and Quota
@sdetweil that is great, thank you. by chance just for my learning, where is it in the code? thanks again !
-
Remote Control and Module Scheduler Not Turning off Monitor
hi all, I am using the MMM-Remote Control module with the MMM-ModuleScheduler and for some reason I can’t get the monitor to turn off or on automatically. The actual webpage to connect using the remote control works to turn it off and on but it isn’t working in conjunction with the scheduler. Is there something I am missing? I had this working for awhile but had to re-image due to a corrupt SD card.
thanks!
{ module: 'MMM-Remote-Control' }, { module: 'MMM-ModuleScheduler', config: { notification_schedule: [ // Turn the screen on at 05:00 every morning {notification: 'REMOTE_ACTION', schedule: '00 5 * * *', payload: {action: "MONITORON"}}, // Refresh all modules at 11:25 every night {notification: 'REMOTE_ACTION', schedule: '25 23 * * *', payload: {action: "REFRESH"}}, // Turn the screen off at 11:30 every night {notification: 'REMOTE_ACTION', schedule: '30 23 * * *', payload: {action: "MONITOROFF"}} ] } },
-
MMM-MyCommute - API Calls and Quota
Hi i have a question, I’m using the MMM-MyCommute module but have to set to only be shown between 5:45 AM and 6:25 AM using startTime and endTime in my config (also not showing on weekends).
During this time when the module is not shown on the screen does it still run and make an API call adding to my Quota on Google? I just want to make sure that i do not end up getting charged for not showing the module. I have all of the default values set as well:
Here’s my config, can someone let me know if I will be OK with the daily/monthly free API pulls?
{ module: 'MMM-MyCommute', position: 'bottom_left', config: { apikey: 'myAPIKey', origin: 'Garden City, NY', startTime: '05:45', endTime: '06:20', hideDays: [0,6], destinations: [ { destination: 'Ozone Park, NY', label: 'My Commute', mode: 'Driving' } ] } },
-
Word wrap Module?
Hi, i have a quesiton. I have a module which is in the bottom_left and for some reason, the text doesn’t word wrap. I am just wondering if there’s a way to do this with the custom.css file or if I have to add something to my module itself. I basically just want to wrap it similar to as wide as the calendar module is.
Thanks in advance.default
-
RE: MMM-NHL - NHL Score and Schedule module
@ooom416354 said in MMM-NHL - NHL Score and Schedule module:
I have a small issue with the module, wondering if it’s something I screwed up. Basically it will refresh with the realtime scores for any games listed on the mirror. But after the game ends it will not add on any new scores and remove the old scores as the days move forward. for example, I have focus on the NY Islanders and they played Saturday, Sunday and Tuesday. They are scheduled to play tonight as well. On my mirror right now are the 3 previous games but not the next 3. If I reload the entire page it will update with tonights game and any future ones. Is there something I need to do to get it to update automatically without having to refresh the whole mirror?
Hi, I am having this issue again where if I refresh the mirror myself, it will update otherwise it stays static. The scores change but it doesnt retrieve the future games. @Trentent is there anything I can do ?
-
RE: Google maps API key
@banandze Im trying myself and am not able to get it to work. Painful, wish there was some better documentation as to what to do on googles end.
-
RE: NYC MTA Subway Times
@imchrisrein im trying it now, making some sort of attempt to convert to work with the LIRR. The module that @yawns helped is great to track when the next train is. right now i’m also trying to see if there’s an overall service issue as well. sometimes the train is on time but cancelled at jamaica before i get to the station so it would be good to know if that happens before leaving
-
RE: NYC MTA Subway Times
@imchrisrein yea it will only show up if there’s a delay for the LIRR module. The pic above is great - I think you can get the next times using their API. might even be some modules out there now. I was thinking something like this might help you ?
-
RE: RPI Picture Frame?
@madscientist Great, I am going to check it out, thank you so much !