@sdetweil
I was using ctrl - m to stop MM to see what was giving my black screen with a mouse pointer and the only thing I could find that seemed strange was a bunch of electron instances running.
I was just wondering if that could be the cause of the black screen with the mouse pointer… I use pm2 for most every thing that has been explained on here in the past year or so. I use pm2 to restart mm when needed and it is setup to restart mm anytime I make changes to config.js and exit and save.
Read the statement by Michael Teeuw here.
Posts
-
RE: Electron
-
Electron
How many instances of electron are supposed to be running in the background of MM?
I did a ctrl+m and checked the task manager and there are 9 running on my MM and I am curious if that could be what is causing my black screen s. I can VNC into it, use ctrl-m and killing all the electron instances it restarts MM and it works like it should. -
RE: Random_Quotes
@sdetweil
Hey I used that ctrl+shift+i and that was how I found what was causing the width issue. When i put the that in the css it did nothing.
So where am I not seeing how to use that window in MM.
I followed the instructions you gave in the page you linked to, but all it showed me what I had already found in the modules js file. Wait since it is in the modules js file do I need to set the sizing in the config.js of MM instead? -
Random_Quotes
Hello,
I need to set width of this module random_quotes in my custom.css.
Right now the only way I can find to get it to flow the full width of my screen is to edit line 176 of the modules js file. link text
From this:quote.style.maxWidth = '50%';To this:
quote.style.maxWidth = '98%';What would I put in the custom.css to make the same change?
-
RE: MMM-Imageslideshow - centering upright images
@sdetweil
I run pretty much all modules middle_center so they all center up pretty well for me. up and down is my only adjustments usually. I have had to adjust the left or right margin a few times but most everything centers on its own pretty well using the middle_center postion when setting them up… So I am absolutely of no help to him… -
RE: MMM-Imageslideshow - centering upright images
@sdetweil
Oh well, He is out of luck then, right? -
RE: MMM-Imageslideshow - centering upright images
@Bobrae
I use this in my custom.css file to move MMM-ImagesPhotos down below the Date and Time on my mirror..MMM-ImagesPhotos { Margin-top: 35px; }``` You can adjust that to what ever instead of 35 px I use. I have one module (MMM-Bored) that I use 420px as my top margin. It just takes some time to find the perfect placement to center. -
RE: Magic Mirror - RTSP not integrated
@MMRIZE
Darn, I am on a RPi 4 with 8gb ram, it has a 120gb ssd on a x825 expansion board. I think it should have enough umph to run a lot more than it does. Any chance I can get a preview of the module you where working on.?
@BKeyport
Maybe my setup is why RTSPStream seems to work well for my 5 different wyze cams that I am streaming from. I only stream one at a time and only for 45 seconds at a time, but they show up in a few seconds running MMM-Carousel as the page viewer. VLC works ok but takes way too long to populate and then I can’t control the size/zoom not sure which, So I only get part of the cameras view.So I guess I will stick with RTSPStream until one of these guinues coders come up with something that works better…
I appreciate the effort @MMRIZE -
RE: Magic Mirror - RTSP not integrated
-
RE: How to turn off Raspberry Pi LEDs
@Fozi @GuestMirror
Works on my RPi 4
I just copied and pasted to the bottom of the config.txt did a PM2 stop all and then sudo reboot and when it came backup they where on for a few seconds and then went off. @GuestMirror are you in the /boot/config.txt?@Fozi said in How to turn off Raspberry Pi LEDs:
@GuestMirror Try this in bootconfig.txt
# Turn off PWR LED dtparam=pwr_led_trigger=none dtparam=pwr_led_activelow=off # Turn off ACT LED dtparam=act_led_trigger=none dtparam=act_led_activelow=off # Turn off Ethernet ACT LED dtparam=eth_led0=4 # Turn off Ethernet LNK LED dtparam=eth_led1=4 -
RE: Magic Mirror - RTSP not integrated
@MMRIZE
That is great to know. Thanks for the update, no worries.
I actually have RTSPStream up and running now using VLC.
So I am in no rush. -
RE: Magic Mirror - RTSP not integrated
@MMRIZE ,
You get that RTSP module to work yet. I am very interested in it since MMM-RTSPStream has quit working altogether for me.
Not sure what I did different this time but even vlc fails to show a picture… -
RE: Magic Mirror - RTSP not integrated
@BKeyport
I have been looking at both and neither will work with my MM.
I thank you for the information though I thought for a bit I could make it work, but I finally just gave up. My head was hurting from all the reading and searching to get it all to work. You must have the patients of Job to get that to work. More likely you understand code WAY better than I do… All this code is way above my understanding… -
RE: Display the specified picture in the specified location
@sdetweil said in Display the specified picture in the specified location:
@plainbroke I give u the option to fill around the picture, color or a blurred version of the pic.
this module doesn’t support multiple instances
and the copy/rename won’t work eitherBummer Sam.
I installed yours and it worked without changing anything in my config.
I was hoping to fool it into working as a double… -
RE: Display the specified picture in the specified location
What are the differances? Maybe switching to yours would let me run a second one again. I used to have one that shows my grandkids and the other our dogs past and present Now I can only get one to run at a time.
Probably need to do some reading about running multiple versions… -
RE: Display the specified picture in the specified location
@sdetweil
original I think https://github.com/roramirez/MMM-ImagesPhotos
Didnt know you had one. i usually stick with what i know. -
RE: Automatically terminate the process after NPM Run serve
@史新瑞 said in Automatically terminate the process after NPM Run serve:
Hello everyone, after NPM run serve you need CTRL + C or something to stop the process, but I want it to stop automatically, what should I do
Try putting a space then & that works for me on a couple of different projects I am running. Like my DHCP server Hope it helps.
-
RE: Display the specified picture in the specified location
@史新瑞
Here is what I use in my config.js file, for an example:{ module: "MMM-ImagesPhotos", position: "middle_center", config: { opacity: 0.9, animationSpeed: 500, updateInterval: 10000, backgroundColor: "black", maxWidth: "500px", maxHeight: "500px", fill: false } },Hope this is what you where looking for. I find and example really helps me figure out what I am doing wrong or in some cases what I am doing correct.
-
MMM-Cocktails null null null
Hello Again,
Trying to fix some little annoyances like this one where MMM-Cocktails is using null to hold the line spacing, I guess. I left a new issue with the maker a week ago or so, I understand he is not able to communicate at this time with us. I was hoping someone has run into this before and I am just not able to do the correct word search to find the answer.
See the picture for a better explanation… Circled in RED.