I recently added the MMM-NowPlayingOnSpotify to my magic mirror. It works but I want to try to make the pause icon functional.
I binded a eventListener click to the icon but here is the problem. Because of the fact (if I got this right) that the Dom is recreated every second (Every second the module asks the new data from spotify) the click event listener does not work properly. Sometimes the event is not triggerd because of the fact that the icon is not ready or binded.
Sometimes I trigger it, sometimes I don’t. Someone who knows how to solve it? I thought to update the dom every second instead of recreating it but that is a lot of adjustments I have to make.
If you have a idea, let me know please. Thanks!
ps: I know the module is meant to have a non-functional pause button but I would like to be able to pause music by touching the button on my mirror just because of the fact I don’t know if i’m going to implement voice control.
Re: MMM-ScreenLogic - see data from your Pentair pool equipment
I just reactivated my MM and installed your ScreenLogic Module. I love it and worked out of the box.
If I could be so bold to make a few enhancement requests? I dont have a touch screen MM so i dont show controls, its more just a status board for me.
For the Pool Temp and Spa Temp status, perhaps turn the background green when on (Like the Nest turns blue).
Add a little flame to the right of the temp to show heater on.
below temp show: Heat Mode: Heater (85*)
I’ll try to upload a pic but it keeps erroring out.
Anyway love the module and stay safe in this pandemic.
Can anyone help me figure out how to get MMM-SmartWebDisplay to change absolute position? I tried the following CSS (which works for all my other modules) without success
left : 100px;
top : 50px;
I add US holiday calendar to mine and it shows with 2 lines. The holiday name and United States as the word below. Is there a way to remove the word “united states” so that it only shows 1 row with just the holiday name?
I had previously tried that to no avail.
I will give it another look tomorrow
Fool that I am !!
// Private Methods
self.socket = io("/" + self.moduleName);
was the fix right enough
When I initially tried it I added , at the end of the line instead of ;
I’m kicking myself
@lavolp3 Thanks for that.
Out of curiosity I will give it a try
I have just this minute managed to get what wanted by positioning the module newsfeed by changing it to center instead of bottom bar
and the complimentets I changed to center. Although this is top center, I am happy with that
@Bugsounet - Thanks for the prompt response
Can kick myself for that one ! - fairly new still - done it now - should i be see it loading in the log as i use too ? - [MK2} recipe is loaded : …
because i don’t.
Haven’t done a test on the mirror as I’m sorting my mic.