@mumblebaj Right, but in my design it doesn’t fit in this section. Anyhow, @qistoph made a test fork (https://github.com/qistoph/MMM-MyCommute/tree/issue17) which only makes requests if the data is outdated (=longer than set pollFrequency). See the issue thread (https://github.com/qistoph/MMM-MyCommute/issues/17) for further details
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-MyCommute
-
RE: MMM-MyCommute
This makes it clear why I had about 50.000 requests, which made my $400 starting balance void…well, with the new fork and some config modifications, this is much better.
-
[MMM-RTSPStream] Cannot get vlc to work
Hi,
I have a cheap IP camera.
When I use my stream URL on my windows machine with VLC, it plays alright.When I use omxplayer, I get the video stream rotated by 90 degrees (which I can fix), but totally out of the window, somewhere on the screen.
When I use VLC or ffmpeg, I only get a blank screen. Any idea about this? I’d like to use VLC.
I only use one stream at the moment.Config is as follows:
{ module: "MMM-RTSPStream", position: "upper_third", config: { autoStart: true, rotateStreams: false, rotateStreamTimeout: 10, moduleWidth: 640, moduleHeight: 480, localPlayer: 'vlc', showSnapWhenPaused: false, remoteSnaps: false, stream1: { name: 'Einfahrt', url: 'http://user:pass@IP:Port/videostream.cgi?usr=username&pwd=password', frameRate: '10', width: 640, height: 480, rotateDegree: 90, }, } }
-
RE: MMM-MyCommute
Raised an issue. Seems like the problem comes with the use of MMM-Pages, so on every reload of the page, the module is loaded and the requests are sent again, even if the data is still up to date. @qistoph was so nice to make a fork to address this issue.
-
RE: MMM-MyCommute
Okay, played around a bit. Set the module to show times only from 5am to 5pm. And I added a “pollFrequency: 15 * 60 * 1000,” to my config.
While the first one works (the module disappears at night), the second one does not seem to work:This is the Traffic from the last 2 days. You can see the requests are paused last night. I made changes to the poll frequency yesterday in the afternoon, no change.
The module used up nearly all of my €300 starting balance. I wonder if this will go on like this.
API calls in the last 48 hours:
API calls in the last ONE hour:
Which I do not understand: No errors. Poll Frequency of every 15 Minutes. 2 Mirrors with 4 destinations each. So 4*8=24 API calls/hour would be what I expect to see…
-
RE: MMM-MyCommute
Okay, so no way to limit API calls? Would it be possible to call every 10 minutes or so and only every 60 minutes in the “non-active” time?
-
RE: MMM-MyCommute
Hi,
I have been installing this module on 2 MagicMirrors.
It’s running 24/7 and I check travelling time to 4 destinations (so, 8 with both mirrors).Today I got an email, that after about only 2 weeks or so, there are just 25€ remaining of my testing period and 300€.
I do not have any other projects and I’ve checked the Dashboard, there have been more than 45000 queries to the directions API so far.
First thing I did: Limited the module on both mirrors to run only at daytime. But as I have different work locations and shifts, this is not so good. And, of course, I dont want to generate queries for a real amount of cash…
What should I do? Is this normal?
-
RE: MMM-RAIN-MAP (new: version 2.x)
Okay, for now I will not switch to a 4gb version. So I need to remember this one for “later”. Thanks.
-
RE: MMM-Spotify
Just installed this module, really great.
About multiple accounts: I have Spotify family account (=6 Accounts) and multiple devices. I have run through the auth process, went fine, works.
What I’d like: To show anything that is playing on any account or device.
What I get: Just a single account which is set in “accountDefault: 0”.
When I change it to 1, 2,3 - it works with the respective accounts.
When I delete it, it’s back to default account 0.Do I have to call the module multiple times or is there a way to do this, @Bugsounet?
-
RE: MMM-RAIN-MAP (new: version 2.x)
Hi @jalibu,
I really like this module, but I fear that the memory issue still persists.
Just cloned the repo, the module runs fine for some minutes or up to one hour, then the Raspi freezes. I am running on a 1GB 3B+ with 4 pages.
Anything you can do about it?