A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
After adding MMM-GPIO-Notifications, config.js doesn't work...
-
@tomXGames so much fun…
so, looking thru the config…
I think u just have a syntax error
module: 'MMM-GPIO-Notifications', config: { '17': { gpio_state: 1, gpio_debounce: 10, notifications: [ { // see https://github.com/tosti007/MMM-ProfileSwitcher // Switching Profiles // this.sendNotification('CURRENT_PROFILE', 'DESIRED_PROFILE_NAME_HERE'); notification: 'CURRENT_PROFILE', payload: 'Tom' }, { notification: 'SCREEN_ON', payload: { 'forced': false } } ] }, '4': { gpio_state: 1, gpio_debounce: 20, notifications: [ { 'notification': 'SCREEN_TOGGLE', 'payload': { 'forced': true } } ] } } },
at least this works for me
altho he left out an install step…
after git clonecd MMM-GPIO-Notifications npm install
-
@sdetweil
Thanks for your help… I implemented your change and there’s no error anymore. But MMM-CalendarExt is not being shown, even though I put the class to “default everyone”. Do you have an idea, what I’m doing wrong here? -
@tomXGames sorry, don’t know the module at all… just debugged why it didn’t load.
you could open the developers console and see if the notification is sent from the module as u expected