@i-xul Great! One more local provider without an API key! It will be in the next release :)
Module Developers
You have developed a module for the MagicMirror? Join the group and get a “Module Developer” badge!
Posts
-
RE: New weather provider: FMI Open Data for the built-in weather module
-
RE: Limit API calls by deactivating the modul based on time?
@Kastore You have to be in the module directory when you run
git checkout withsuspend, so you dogit clone https://github.com/sdetweil/MMM-TomTomCalculateRouteTrafficthen run
cd MMM-TomTomCalculateRouteTrafficthen
git checkout withsuspend -
RE: MMM-Neko — a classic animated cat for your mirror
@bwente Nice :D Don’t forget to add it to the module list: https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules
-
RE: New weather provider: FMI Open Data for the built-in weather module
@i-xul Nice. We already have other regional providers in the core. So, from my perspective, we could also integrate this one into the weather module. Would you like to create a PR? :)
-
RE: MMM-NowPlayingOnSpotify: surviving Spotify's 6-month refresh-token expiry (a maintained fork)
Dear @raazalghul ,
first of all: sorry for the delay - I’m pretty busy these times.
As you can see above I’ve stopped to use ths module but
your detailed report made it easy to spot.The culprit is the placement of updatesEvery in your config. It sits outside the config: {} block
(next to module, position, classes), so MagicMirror never passes it to the module. The value is
silently ignored and the module falls back to its default of 1 second — so despite updatesEvery: 5
it’s actually polling the Spotify API once per second (~3,600 calls/hour), which is what
eventually trips Spotify’s rate limit.Move the line one level down, into config:
{ module: "MMM-NowPlayingOnSpotify", position: "top_right", classes: "page1", config: { updatesEvery: 5, showCoverArt: true, clientID: "...", clientSecret: "...", redirectURI: "http://127.0.0.1:8888/callback" } },At 5 s that’s ~720 calls/hour, well within limits. Each poll cycle makes exactly one API request,
so the interval maps directly to your API rate. No update or code change needed.This should resolve your problem.
Have fun!Warm regards,
Ralf -
RE: MMM-PublicTransportHafas
I work in IT, but programming is mainly a hobby - I rarely code at work. I enjoy contributing to open-source projects and figuring out code-related issues. I actually got active here through MMM-PublicTransportHafas; the module had stopped working, and the original developer was no longer responding, so I forked it and implemented a fix. That’s what sent me down the rabbit hole :)
Your STM32 project sounds interesting, but I’m not really on good terms with C++. So, I can’t really help you with that - sorry.
-
RE: MMM-PublicTransportHafas
@Mati_93 Nice that you solved the umlaut problem out! I just made a bigger change for the query part (in MMM-PublicTransportHub). So I recommend to update the module and test
node --run query:) Feedback would be nice. -
RE: MMM-WorldClockMap – world clocks with a day/night map
@bwente Looks nice! Don’t forget to add it to the module list: https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules :)
-
RE: MMM-NowPlayingOnSpotify: surviving Spotify's 6-month refresh-token expiry (a maintained fork)
@eddiebrok OK, seen that you’ve edited your posting and empasizes the “free brat generator”.
Overseen this but this is far away from my use case :-)Warm regards,
Ralf -
RE: MMM-NowPlayingOnSpotify: surviving Spotify's 6-month refresh-token expiry (a maintained fork)
@eddiebrok Yes, you’re absolutely right.
That’s the reason why I’ve used a module like that from the beginning of my implementation.
As stated above my use case at home is mainly a Volumio instance and for whatever reason this collides with Spotify’s “ideas” of Digital Rights Management.
So I switched to Tidal (which is supported by Volumio in another path)This results in another way gathering information on “what is played currently” and for now I’m even able to display some artist background information (which currently IS implemented) and (currently only on Volumio’s screen) - lyrics and additional cover-views.
Warm regards,
Ralf
Member List
|
144
Posts
85
Reputation
|
|
460
Posts
134
Reputation
|
|
19
Posts
8
Reputation
|
|
0
Posts
0
Reputation
|
|
0
Posts
0
Reputation
|
|
0
Posts
0
Reputation
|
|
0
Posts
0
Reputation
|
|
0
Posts
0
Reputation
|
|
12
Posts
2
Reputation
|