• 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. BigDanT
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
B
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 8
  • Groups 0

BigDanT

@BigDanT

0
Reputation
1
Profile views
8
Posts
0
Followers
0
Following
Joined Oct 15, 2020, 10:53 AM
Last Online Nov 1, 2020, 9:05 AM

BigDanT Unfollow Follow

Latest posts made by BigDanT

  • RE: Is there a way to temporarily disable a module?

    @wishmaster270

    I’ve had a crack at writing an example config file to show you what im trying to do:-

    I’ve taken out anything that is sensitive.

    In short i want it to show every module, unless the PIR detects motion then it will disable the “Digital-Pictureframe” profile.

    I assume if you use “classes” thats a profile ? and if it doesnt have a “classes” set then its considered default.

    var config = {
        address: '0.0.0.0',
        electronOptions: {},
        ipWhitelist: [],
        modules: [
    
            //Screen on & off timer{
            {
                module: 'MMM-ModuleScheduler',
                config: {
                    notification_schedule: [
                        // TURN THE MONITOR/SCREEN ON AT 07:30 EVERY DAY
                        {
                            notification: 'REMOTE_ACTION',
                            schedule: '00 07 * * *',
                            payload: {
                                action: "MONITORON"
                            }
                        },
                        // TURN THE MONITOR/SCREEN OFF AT 22:30 EVERY DAY
                        {
                            notification: 'REMOTE_ACTION',
                            schedule: '30 22 * * *',
                            payload: {
                                action: "MONITOROFF"
                            }
                        },
                    ]
                }
            }, {
                module: 'alert',
                config: {}
            }, {
                module: 'updatenotification',
                position: 'top_bar',
                config: {
                    ignoreModules: []
                }
            }, {
                module: 'clock',
                position: 'top_left',
                config: {}
            },
    
            // top Right Calenar
            {
                module: 'calendar',
                header: 'Family Calendar',
                position: 'top_left',
                config: {
                    calendars: [{
                            symbol: 'calendar-check',
                            url: 'https://calendar.google.com/calendar/ical/xxx.ics',
                        }
                    ],
                }
            },
    
       
            // Weather Section
            {
                module: 'currentweather',
                position: 'top_right',
                config: {
                    location: 'UK',
                    locationID: 'xxx',
                    appid: 'xxx',
                }
            }, {
                module: 'weatherforecast',
                position: 'top_right',
                header: 'Weather Forecast',
                config: {
                    location: 'false',
                    locationID: 'xxx',
                    appid: 'xxx',
                }
            },
    
            //Screencast
    
            {
                module: 'MMM-Screencast',
                position: 'bottom_right',
                config: {
                    position: 'center',
                    height: 600,
                    width: 800,
                    castName: 'MagicMirror',
                }
            },
    
            
            //PLex Slideshow
            {
                module: 'MMM-PlexSlideshow',
                classes: 'Digital-Pictureframe',
                position: 'fullscreen_below',
                config: {
                    plex: {
                        hostname: '192.168.1.123',
                        port: 32400,
                        username: 'xxx@xxx.com',
                        password: 'password',
                    },
                    transitionImages: true,
                }
            },
    
            //MM Remote Control
            {
                module: 'MMM-Remote-Control',
                header: '',
                config: {
                    customCommand: {},
                    customMenu: 'custom_menu.json',
                    showModuleApiMenu: true,
                    apiKey: ''
                }
            },
    
            //News Headlines
    		{
            module: 'newsfeed',
            position: 'top_bar',
            header: '',
            config: {
            feeds: [{
            title: 'BBC News',
            url: 'http://feeds.bbci.co.uk/news/rss.xml'
            }
            ],
            startTags: [],
            endTags: [],
            prohibitedWords: []
            }
            },
    
            {
                module: 'MMM-GPIO-Notifications',
                config: {
                    '4': {
                        gpio_state: 1,
                        gpio_debounce: 0,
                        delay: 30000,
                        notifications: [{
                                notification: 'SCREEN_ON',
                                payload: {
                                    'forced': false
                                }
                            }, {}
                        ]
                    }
                }
            },
            {
                module: 'MMM-Screen-Powersave-Notification',
                config: {
                    delay: 60,
                    profiles: {
                        "Digital-Pictureframe": 600
                    }
                }
            },
            {
                module: 'MMM-ViewNotifications',
                position: 'bottom_left',
                header: 'Notifications',
                config: {
                    timeout: 0,
                    format: '{time}: "{module}" sent "{notification}" with {payloadData}', // See below for configurable options
                    includeModules: ["MMM-GPIO-Notifications", "MMM-Screen-Powersave-Notification"]
                }
            },
    
        ]
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== 'undefined') {
        module.exports = config;
    }
    
    

    I just need to understand how to add a module to a profile and then using your example PIR code how to transition from one profile to another

    posted in General Discussion
    B
    BigDanT
    Oct 20, 2020, 7:54 PM
  • RE: Is there a way to temporarily disable a module?

    @wishmaster270 Thanks for the link.

    Using your instructions ive gotten the PIR up and running using your example config’s.

    It would be ace to see how you have set-up profiles across a number of modules (doesnt matter which one) and how they are switched using MMM-Screen-Powersave-Notification ??

    I understand the principles but cant for the life of me find ANY examples of how this is set-up in the config file to experiment with.

    Any help/exmaples would be great ?

    Thanks

    D.

    posted in General Discussion
    B
    BigDanT
    Oct 20, 2020, 6:33 PM
  • MMM-PlexSlideshow - any ways to use a plex Auth Token ?

    Hi,

    Is there anyway for MMM-PlexSlideshow to use an Auth token rather than username and password to stop the alert email whenever the magic mirror is rebooted / app restarted ?

    Cheers

    D.

    posted in Troubleshooting
    B
    BigDanT
    Oct 20, 2020, 5:41 PM
  • RE: Is there a way to temporarily disable a module?

    @wishmaster270 this looks great !!!

    I’m going to start to tinker tonight with the PIR thats just arrived.

    I dont suppose you have an example config file you could share that shows how you set-up profiles across the other modules ??

    Cheers

    D.

    posted in General Discussion
    B
    BigDanT
    Oct 19, 2020, 1:58 PM
  • RE: Is there a way to temporarily disable a module?

    Hi @sdetweil,

    That’s great! Any chance you could point me in the direction of some instructions?

    Cheers

    D.

    posted in General Discussion
    B
    BigDanT
    Oct 18, 2020, 7:56 PM
  • RE: Is there a way to temporarily disable a module?

    Hi @sdetweil,

    That’s not really what I mean, but thanks for the explanation/ investigation.

    What I mean is this.

    The MMM-Plexslideshow fills the back ground with an image rather than blank/black background.

    This means the two way Perspex is not a mirror (as there’s an image rather than black background)

    What I want to do is if the pir detects motion to deactivate the “mmm-plexslideshow” whilst the magic mirror is running. Or to select a black/blank background (which ever works)

    That way when someone approaches the mirror the slideshow will stop and The mirror shown (due to the black background)

    When the pir doesn’t detect someone then the slideshow starts up again.

    I hope this makes more sense ??

    Cheers

    D

    posted in General Discussion
    B
    BigDanT
    Oct 18, 2020, 4:55 PM
  • RE: Is there a way to temporarily disable a module?

    Hi,

    Did anyone find a solution to this ?

    I’m looking to use a PIR so that if it detects motion it “Deactivates” the “MMM-PlexSlideshow” module.

    Then when it doesnt detect motion it will reactivate the “MMM-PlexSlideshow” module to create a digital picture frame when someone doesnt step in front of the mirror.

    Cheers

    D

    posted in General Discussion
    B
    BigDanT
    Oct 15, 2020, 2:31 PM
  • RE: MMM-ModuleScheduler - Module Schedules and Notifications

    Bit of a random question!

    Is there anyways to use your module to turn off another module if the Raspberrypi PIR detects motion ?

    What im thinking is using an image module to turn the mirror into a digital picture frame.

    But when the pir sees someone step up to the mirror, it turns off the image module so the no images are displayed and its a simple mirror.

    Someone walks away and the image module is restarted turning the mirror back into a digital picuture frame ?

    Cheers

    D

    posted in System
    B
    BigDanT
    Oct 15, 2020, 11:04 AM
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