• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MagicMirror isn't publishing 'user_presence' on start up?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
17 Posts 2 Posters 3.2k 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 Away
    sdetweil @fribse
    last edited by sdetweil Sep 13, 2021, 9:04 PM Sep 13, 2021, 9:03 PM

    @fribse yes, inside… but u are outside (Oh I see, change the module)

    from the doc
    https://docs.magicmirror.builders/development/core-module-file.html#subclassable-module-methods

    ALL_MODULES_STARTED

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    F 1 Reply Last reply Sep 13, 2021, 10:10 PM Reply Quote 0
    • F Offline
      fribse @sdetweil
      last edited by Sep 13, 2021, 10:10 PM

      @sdetweil Ahaaaa, way cooler :-)

      So I guess I should add this to the notiDictionary.js
      I’m unsure of the payloadValue?

      {
        notiId: "ALL_MODULES_STARTED",
        notiPayload: [
          {
            payloadValue: '1',
            notiMqttCmd: ["SCREENON"]
          }
        ]
      }
      
      S 1 Reply Last reply Sep 13, 2021, 10:12 PM Reply Quote 0
      • S Away
        sdetweil @fribse
        last edited by Sep 13, 2021, 10:12 PM

        @fribse sorry, now no idea, don’t know the module internals

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Sep 13, 2021, 10:26 PM Reply Quote 0
        • F Offline
          fribse @sdetweil
          last edited by Sep 13, 2021, 10:26 PM

          @sdetweil Ok, gotcha. I’m trying to figure out the notification, currently the MMM-MQTTbridge doesn’t pick it up.
          I’ve set up MMM-ViewNotifications, but I’m drowning in noti’s.
          I made this config

              {
                module: "MMM-ViewNotifications",
                position: "top_left",
                header: "Notifications",
                config: {
                  excludeModules: ["clock","newsfeed","currentweather","calendar","MMM-News-QR"]
                }
              },
          
          

          What did I do wrong since it still displays noti’s from these?

          S 1 Reply Last reply Sep 13, 2021, 10:35 PM Reply Quote 0
          • S Away
            sdetweil @fribse
            last edited by Sep 13, 2021, 10:35 PM

            @fribse u can filter messages by placing part of the modulename in the filter field

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Sep 13, 2021, 10:37 PM Reply Quote 0
            • F Offline
              fribse @sdetweil
              last edited by Sep 13, 2021, 10:37 PM

              @sdetweil Hey Sam, sorry you lost me, “filter field”?

              @bugsounet If you are still around, do you have any idea about the notification format in notiDictionary.js?

              S 1 Reply Last reply Sep 13, 2021, 10:38 PM Reply Quote 0
              • S Away
                sdetweil @fribse
                last edited by Sep 13, 2021, 10:38 PM

                @fribse sorry, I was using the dev window, console tab

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                F 1 Reply Last reply Sep 13, 2021, 10:48 PM Reply Quote 0
                • F Offline
                  fribse @sdetweil
                  last edited by Sep 13, 2021, 10:48 PM

                  @sdetweil Ahh, yes, and there I do see the

                  sendNotification("ALL_MODULES_STARTED");
                  

                  Going out, hmm, it seems that it’s main sending it out, I wonder if that is supposed to be payload Value, and notiId is supposed to be something like main? Hmm, I hope sergge1 or @bugsounet knows that.

                  S 1 Reply Last reply Sep 13, 2021, 11:38 PM Reply Quote 0
                  • S Away
                    sdetweil @fribse
                    last edited by sdetweil Sep 13, 2021, 11:39 PM Sep 13, 2021, 11:38 PM

                    @fribse notifications don’t have to have a payload

                    I think the source could be null too

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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