@Bugsounet I noticed in my pihole logs that there were at least 10 DNS queries for Spotify per second, something is not right. The actual refresh rate for the module is set to 3000 ms. I had to disable the module.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Spotify
-
RE: MMM-NotificationReceived
-
RE: MMM-NotificationReceived
@bhepler Interesting take on the location tracking. I created something similar where I use geofencing apps that support webhooks. A simple php script converts the calls to MQTT payloads and a small web page acting as an MQTT over websockets client shows icons depending on the person and the location. In my MagicMirror display said web page is embedded using an iframe module.
I also use OwnTracks but for me it is not as reliable as other apps.
-
RE: MMM-NotificationReceived
@Bugsounet Great, this opens many options. I may be in the minority but for me a bridge from notifications to MQTT would be awesome.
I use a workaround where external events can turn modules on/off. This is done by bridging from MQTT via Node RED to MMM-Remote-Control’s API.
-
RE: MMM-Spotify
@Bugsounet Very interesting. This also looks promising. I’ll comment in the other topic.
-
RE: MMM-Spotify
@Bugsounet Cool additions and fixes. I need to find out more about the notifications to learn how to disable other modules when music is streaming.
-
RE: MMM-Spotify
@Bugsounet Take your time.
Currently, the module already has awareness about playback activity. An API call to an endpoint of my choosing on state change would already solve it for me. The endpoint could also be MMM-Remote-Control’s API.
I guess I can sift through the module’s code and see if with my humble skills can insert a simple request at the proper place. We’ll see how it goes.
-
RE: MMM-Spotify
What would the best approach to hide other specific modules when this module is active, i.e. when music is being played?
It may be to early to ask this since @Bugsounet just volunteered a few minutes ago to take over this project so take your time with your feedback.
-
RE: [WANTED] new ownership of modules.
@Sean, using some of your modules and enjoying your high-quality and quick support I always wondered about the high level of your commitment. I fully understand that it became too much.
Regrettably, I lack the skills to take over any of your projects but I felt I needed to join this thread to express my gratitude. Thank you for the work you have done! I wish you good luck for your future endeavors, and, above everything else, abundant health!
-
RE: MMM-Spotify
@Sean Is there a way to make the connection watchdog more forgiving/resilient? Even though I set the refresh rate to 5 seconds I see API connection timeouts and recently also this:
[SPOTIFY] API Request fail on : /v1/me/player [2020-05-05 16:43:27.591] [LOG] { Error: socket hang up at createHangUpError (_http_client.js:332:15) at TLSSocket.socketOnEnd (_http_client.js:435:23) at TLSSocket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET' } undefined -
RE: missing custom.css file
@sdetweil Thanks for the hint. I installed it manually. I guess the assumption is if you know how to clone you also know how to touch. : )
-
RE: missing custom.css file
Sorry for resurrecting this but I think an empty custom.css should be part of the default install. There are errors in the console log when it is missing.
-
RE: MMM-CalendarExt2
I found a workaround. I made the background of the lower part black. : )
In the last screenshot Thu. 28 takes up so much space, even when I enable hideOverflow. I think have to remove some hardcoded 150px in .slotContent but I can’t get to it.
-
RE: MMM-CalendarExt2
@Sean
Thanks for the remark. Stacking in the same position but with a different (additional) class for the column kinda works but there is still overlap (in this instance I am not limiting the slot height and count in the column, I would like to have as many entries as possible in the column):
-
RE: MMM-CalendarExt2
@Sean
Thanks for the constructive help. I was already using different positions. Stacking within the same position doesn’t really work:
Slot limiting (and two different positions) seems to be (closer to) what I want to accomplish:

Another workaround would probably be to work with separate instances of the module.
-
RE: MMM-CalendarExt2
@Sean said in MMM-CalendarExt2:
@mmmmh
can u tell me more details? even picture would be a help to understand your expect.Here’s an example (I disabled other modules).

-
RE: MMM-CalendarExt2
@Sean That works nicely for skipping days without events, thanks.
What can I do about the overlap of the content. I can’t limit the view height in the config file or in the class style.
-
RE: MMM-CalendarExt2
I have two views in one scene and need some layout/styling help. One row view shows the next 7 days and a column should show as many events as possible from 8 days onwards (a preview). For more precise placement, I created my own regions and added them to the index.html template.
The next-7-days daily view is at the bottom of the screen and behaves nicely. The preview column is in the center of the screen and regrettably runs over the next-7-days view.
In a daily column view, how can I skip days without events?
Which style element do I need to modify in custom.css to have the column content to stop at precise coordinates and not spill over other modules?
I tried limiting the region either with a bottom-margin or height value, both do not apply.
Here’s the style that doesn’t work
.region .preview { border: 1px #831e4d solid; position: absolute; left: 480px; width: 400px; top: 390px; height: 550px; } -
RE: Big 'core' file (1.3G)
Thanks for the quick reply. I looked at the file details and the creation date. It’s from a while back and knowing now that its a core dump I’ll delete it.
-
Big 'core' file (1.3G)
Why is this file so big? Can it be pruned?
$ ls -hs MagicMirror/core 1.3G MagicMirror/core