MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Welcome Message not shown / Alert not working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 540 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @tabsl
      last edited by

      @tabsl said in Welcome Message not shown / Alert not working:

        {
        	module: "alert",
        	welcome_message: true
        },
      

      yes, this is a config option, so it needs a config:{} block

            {
              module: "alert",
              config:{
              	welcome_message: true
              }
            },
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • T Offline
        tabsl
        last edited by

        ahhh, sorry ;-) not welcome is working, but not my own alert in my module :-(

        4b5de695-577e-4c4a-8f00-745281f6effa-tm2201091935002720.jpg

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @tabsl
          last edited by sdetweil

          @tabsl you should wait til you receive a notification “ALL_MODULES_STARTED”
          before sending notifications…

          function notificationReceived(notification, payload, sender){
          
          if (notification ===  "ALL_MODULES_STARTED") {
            this.sendNotification('SHOW_ALERT', { title:'test', message:'test})
          }
          },
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            tabsl @sdetweil
            last edited by

            @sdetweil thank you …

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @tabsl
              last edited by

              @tabsl did that fix it?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              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