• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. doubleT
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
D
Offline
  • Profile
  • Following 0
  • Followers 4
  • Topics 4
  • Posts 176
  • Groups 1

Posts

Recent Best Controversial
  • RE: Alot of SPAM lately on this forum!

    I’d also welcome a solution that the first few posts are somewhat restricted. For example, if you have a post count below 10, allow the start of only one thread every hour. Should be enough in the beginning.

    And then, would it be possible to implement a solution, that if a thread of someone in this restricted user group is flagged as spam (maybe by two or three people in the unrestricted user group in a short time), it will be unpublished immediately and marked for moderation? This forum is pretty civil and I’d think abuse of this function would be low to zero.

    posted in Forum
    D
    doubleT
    Jan 11, 2018, 1:15 PM
  • RE: Weekly Calendar

    I’d suggest making it show x amount of weeks, set in the module’s config, x being 1 to 4 weeks.

    posted in Requests
    D
    doubleT
    Jan 11, 2018, 8:01 AM
  • RE: Slim, Frameless Bathroom Mirror with a 27" Display

    Wow, that looks classy, nice job!

    @reaper81 said in Slim, Frameless Bathroom Mirror with a 27" Display:

    As I later discovered, neither the PIR sensor nor the radar sensor detects through a mirror. But since the radar sensor does not need a Fresnel cover to detect at wide angle, I kept using it. So that anything can be detected, I had to drill a hole in the mirror.

    Too late now, but I’d have suggested using only two of the three power sockets and building a cover with the PIR sensor for the socket in the middle. You probably get your power for the mirror from a hidden cable in the wall from there anyway? Or under the counter?

    posted in Show your Mirror
    D
    doubleT
    Jan 10, 2018, 2:30 PM
  • RE: reduce bottom margin

    Looking at https://github.com/MichMich/MagicMirror/blob/master/css/main.css, you can see that every .module has a margin-bottom: 30px;

    Try:

    .region.bottom.bar .container .module.newsfeed {
        height: ??px; 		///* height of the module with maximum lines possible */
       margin-bottom: 0px;
    }
    

    Have you started your mirror in developer mode and checked out the elements and the settings? If you start it with “npm start” try “npm start dev” instead. You’ll see “Elemente” where you can go through the whole structure (DOM) and see their CSS settings. Changes to those settings are not stored, so you can play around there.

    posted in Custom CSS
    D
    doubleT
    Jan 10, 2018, 2:17 PM
  • RE: Need help with internet monitor-module

    Might not be the problem (as modern browser are pretty forgiving about this) but the last property of an object (or array) doesn’t get a trailing comma.

    			}
    		}
    	}
    ]
    };
    

    Other than that I don’t see any obvious problems. A black screen is better than a config error because it might load the basic MM but just not the modules.

    Now, what I can suggest and what a developer would do is:

    • Reduce the config.js to the basics or the originally suggested example.
    • Add one module after another, always checking if it works or not.
    • If one doesn’t work or breaks something, note it down, remove it, try the next one. Or figure out directly why it doesn’t work.

    But that way you can easily point to where it breaks. Everything else is guesswork.

    posted in Troubleshooting
    D
    doubleT
    Jan 10, 2018, 1:29 PM
  • RE: reduce bottom margin

    @surger13 said in reduce bottom margin:

    /* height of the module with maximum lines possible */

    That line looks familiar. ;)
    The CSS for the body looks right: 100% - (2 x margin).

    So what you see is probably an issue with the height of the newsfeed module. Keep in mind that:

    • a module will occupy as much space in the region as it needs (and stay at the bottom)
    • if you set a height, it will occupy the specific space as set (and fill up that space from top, leaving space at the bottom, if it needs less than set)

    It’s probably just that 100px is more than the module needs so there is some space at the bottom. But: In the thread where you got that line from, it was the desired effect that the top of the module and the text within it stay at the same place with space at the bottom to fill in case the text needs more lines.

    So these two wishes contradict here. You have to look at your module filled to the max (maximum possible lines) and then figure out the height it needs (maybe less than 100px). Or you remove the height and accept that the module sometimes needs more and its top moves up a bit.

    Hopefully I was able to make this somewhat comprehensible.

    posted in Custom CSS
    D
    doubleT
    Jan 10, 2018, 1:11 PM
  • RE: Need help with internet monitor-module

    And please check the following link: https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners/2

    Right now, the config.js you posted is near-unreadable.

    posted in Troubleshooting
    D
    doubleT
    Jan 10, 2018, 11:11 AM
  • RE: SD Card Backup

    A backup of a running system is a good idea. Keep in mind how often we have trouble with new Raspbian versions. It still seems to run best on Jessi, so at least keep an image of that Raspbian version at hand that works for you (but then again, why not a complete backup image?).

    My Mirror crashed with data loss and corrupted sd card and for weeks, evening after evening I couldn’t get WiFi to run on my RasPi with the new card and latest Raspbian. Finally found my old Jessi image and it worked immediately. If only I had made a backup, it would have been a 10 minute thing.

    posted in General Discussion
    D
    doubleT
    Jan 10, 2018, 6:43 AM
  • RE: Display a .png saved on the raspberry pi hard drive

    Or without a module in custom.css:

    .region.middle.center:before { /* just an example, try with an empty region */
        content: url(../modules/test_png.png);
    } 
    

    Though quick, it’s not a very clean solution and could mess up modules in the same region. With some CSS knowledge you could make something like a logo appear fixed to a corner of the mirror or something like that.

    posted in Development
    D
    doubleT
    Jan 10, 2018, 6:31 AM
  • RE: moving upper slideshow on mirror

    Other regions with modules have different sizes and that makes a generell answer a bit complicated.

    What’s the current position? Where do you want it to be? What other modules do you have and in what positions are they?

    Maybe it’s as easy as changing the position. In config.js, try

        module: 'MMM-ImageSlideshow',
        position: 'upper_third',
    /* or: */
        position: 'middle-center',
    
    posted in Custom CSS
    D
    doubleT
    Jan 9, 2018, 5:44 PM
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy