@BKeyport
That works great! Thank you!
Read the statement by Michael Teeuw here.
Best posts made by DDE12
-
RE: Module is changing width of position
-
RE: MMM-AlexaControl not changing MMM-Carousel pages anymore
@sdetweil Thank you for taking a look at this. I was getting odd info from MMM-Notifications so I changed all the OnOff 's to false in the notification section and it started working.
-
RE: Delay loading of one instance of a module and not another
@sdetweil Seems to be working great! Thank you very much for taking the time to make this a multi-instance module! Also great that you eliminated the need for npm install node-fetch@2. Even though I don’t know very much about java script, I understand it much better than these horoscopes :grinning_squinting_face:
Latest posts made by DDE12
-
RE: Delay loading of one instance of a module and not another
@sdetweil Seems to be working great! Thank you very much for taking the time to make this a multi-instance module! Also great that you eliminated the need for npm install node-fetch@2. Even though I don’t know very much about java script, I understand it much better than these horoscopes :grinning_squinting_face:
-
RE: Delay loading of one instance of a module and not another
Thank you for the advice. I looked at your module and some others that allow for multiple instances but could not get it to work. I looked at some of the requests for multiple instances in the original (https://github.com/morozgrafix/MMM-horoscope) and the author commented that it would require rebuilding the entire module.
As a work around, I cloned a second MMM-horoscope module and renamed the folder to MMM-horoscope2. Then renamed MMM-horoscope.js and MMM-horoscope.css to MMM-horoscope2.js and MMM-horoscope2.css. Then renamed all the .MMM-horoscope in the css to .MMM-horoscope2. Finally, I ran npm install in MMM-horoscope2 folder followed by npm install node-fetch@2. -
Delay loading of one instance of a module and not another
I am trying to use two instances of https://github.com/philking98/MMM-horoscope to display the horoscope for Gemini and Sagittarius. I get the different signs displayed but the Gemini horoscope is duplicated under Sagittarius. I tried adding a delay but both of the instances appear to load at the same time. Is there a trick to slow one of them down so that hopefully it will pull the correct data? Thank you for taking a look at this.
{ // MMM-horoscope Gemini module: 'MMM-horoscope', position: 'top_right', config: { initialLoadDelay: 5000, sign: 'gemini', // Zodiac sign useTextIcon: false } }, { // MMM-horoscope Sagittarius module: 'MMM-horoscope', position: 'top_right', config: { sign: 'sagittarius', // Zodiac sign useTextIcon: false } },
-
RE: MMM-AlexaControl not changing MMM-Carousel pages anymore
@sdetweil Thank you for taking a look at this. I was getting odd info from MMM-Notifications so I changed all the OnOff 's to false in the notification section and it started working.
-
MMM-AlexaControl not changing MMM-Carousel pages anymore
MMM-AlexaControl was working great changing pages of Sbatm’s MMM-Carousel but stopped a couple of months ago. The Wemo devices are present in the Alexa App and show as connected but tapping the power button or speaking the command does not result in a page change anymore. I’m using a Raspberry Pi for the Magic Mirror. Here is my MMM-AlexaControl config. I would really appreciate some help in troubleshooting this. Thanks!
{ // MMM-AlexaControl module: 'MMM-AlexaControl', //disabled: true, position: 'top_center', config: { deviceName: "Magic Mirror", image: false, width: 100, height: 100, pm2ProcessName: "mm", vcgencmd: "vcgencmd", monitorToggle: true, notifications: [ { name: 'CarouselNext', port: 11101, OnOff: true, notification: ["CAROUSEL_NEXT"] }, { name: 'Main', port: 11107, OnOff: true, notification: ["CAROUSEL_GOTO", 1] }, { name: 'Calendar', port: 11108, OnOff: true, notification: ["CAROUSEL_GOTO", 2] }, { name: 'Weather', port: 11109, OnOff: true, notification: ["CAROUSEL_GOTO", 3] }, ] } },
-
RE: MMM-Gas
@sdetweil That fixed it! Thank you! Looking back, I see that the module css has .xxsmall and the font size is determined by .xsmall. My brain glossed over that extra ‘x’. Maybe’s it’s a typo in the css because changing it does not seem to affect anything?
-
RE: Electron screen becomes blank after a period of time
@karsten13 You might have something there. I changed the source in MMM-Wallpaper from the HD NASA to regular NASA and it took several hours or more for it to go blank. I have had the same problem with other modules as well that seem to resolve when I make the update interval longer. I’ve stopped using the MMM-Wallpaper at this point but I’m hoping there is some further troubleshooting to identify if the Pi is the problem and explore for a solution.
-
RE: MMM-Gas
@sdetweil There are two of them: MMM-Gas.css and MMM-Gas1.css. MMM-Gas did not seem to do anything and I was able to make some changes with MMM-Gas1 but not to the font size. Both css files have:
.MMM-Gas .xxsmall{ font-size: 12px;
Changing it has no effect.
In dev mode, changing.xsmall { font-size: var(--font-size-xsmall); }
from main.css does change the font size. I assume that this will affect any other module that uses the xsmall font.
Is there a way through my css to set the font size for this module only? -
Region, module, and module content alignment
I am struggling to get region right, the modules, and the module content in it aligned to my liking. In the image, the orange outline is region top right. The green outline is the weather module (only the bottom is visible since it lines up nicely with the region). I would like to get region right moved over so it is just right of region center and the content inside the weather module right justified. Also, if someone could explain what the horizontal position of the regions mean- left: 0-834, center: 630-204, and right: 834-0; that might help me going forward. Please let me know if I can provide some more code to help to help with my formatting. I appreciate the help.
In my custom.css:root { --color-text: #ccc; --color-text-dimmed: #999; --color-text-bright: #fff; --color-background: black; --font-primary: "Roboto Condensed"; --font-secondary: "Roboto"; --font-size: 20px; --font-size-small: 0.75rem; --gap-body-top: 10px; --gap-body-right: 10px; --gap-body-bottom: 10px; --gap-body-left: 10px; --gap-modules: 15px; --highTempColor: rgb(115,30,30); --lowTempColor: blue; --My-zoom: 100%; } body { /* zoom: var(--My-zoom); /**/ } .region.left { width: 420px; margin-right: 6px; } .region.center { width: 420px; margin-left: 3px; margin-right: 3px; } .region.right { width: 420px; margin-left: 6px; }